Commit a58635c9 authored by 鲁鑫's avatar 鲁鑫

物料主数据创建中英文标识

parent 02ebb521
......@@ -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));
......
......@@ -65,7 +65,7 @@ public class ProdApplyToSapVO {
/**
* 英语语言码
*/
@JsonProperty("SPARS_EN")
@JsonProperty("SPRAS_EN")
private String sparsEn;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment