Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
a58635c9
Commit
a58635c9
authored
Jul 16, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料主数据创建中英文标识
parent
02ebb521
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
NonProdApplyDeptApplicationImpl.java
...ply/application/impl/NonProdApplyDeptApplicationImpl.java
+9
-3
ProdApplyToSapVO.java
...u/topsun/sap/nonProdApply/domain/vo/ProdApplyToSapVO.java
+1
-1
No files found.
topsun/src/main/java/com/huigou/topsun/sap/nonProdApply/application/impl/NonProdApplyDeptApplicationImpl.java
View file @
a58635c9
...
...
@@ -363,6 +363,12 @@ public class NonProdApplyDeptApplicationImpl extends BaseApplication implements
sapVO
.
setMaktxRemZh
(
baseInfo
.
getMaktxRemZh
());
sapVO
.
setMaktxRemEn
(
baseInfo
.
getMaktxRemEn
());
if
(
StringUtil
.
isNotBlank
(
sapVO
.
getMaktx
())){
sapVO
.
setSpars
(
"1"
);
}
if
(
StringUtil
.
isNotBlank
(
sapVO
.
getMaktxEn
())){
sapVO
.
setSparsEn
(
"E"
);
}
if
(
"0"
.
equals
(
sapVO
.
getXchpf
())){
//批次管理 否 传递空
sapVO
.
setXchpf
(
""
);
}
...
...
@@ -418,9 +424,9 @@ public class NonProdApplyDeptApplicationImpl extends BaseApplication implements
List
<
Map
<
String
,
Object
>>
resultList
=
objectMapper
.
readValue
(
result
,
new
TypeReference
<
List
<
Map
<
String
,
Object
>>>()
{
});
Map
<
String
,
Object
>
returnMap
=
resultList
.
get
(
0
);
//
if ("S".equals(returnMap.get("TYPE"))){
//
returnMap = resultList.get(1);
//
}
if
(
"S"
.
equals
(
returnMap
.
get
(
"TYPE"
))){
returnMap
=
resultList
.
get
(
1
);
}
mapCopy
(
backMap
,
returnMap
);
// resultMap.put("businessType", busiType);
// resultMap.put("parameter", JSON.toJSONString(map));
...
...
topsun/src/main/java/com/huigou/topsun/sap/nonProdApply/domain/vo/ProdApplyToSapVO.java
View file @
a58635c9
...
...
@@ -65,7 +65,7 @@ public class ProdApplyToSapVO {
/**
* 英语语言码
*/
@JsonProperty
(
"SP
AR
S_EN"
)
@JsonProperty
(
"SP
RA
S_EN"
)
private
String
sparsEn
;
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment