update meswms_materialconsume_request物料消耗接口修改,调用存储过程MES_CONSUME,并增加erpLocation工厂字段
This commit is contained in:
parent
856254fb07
commit
1b96b6f4aa
@ -89,6 +89,7 @@ public class MESToWMSServiceImpl implements MESToWMSService {
|
|||||||
String wo = jb.get("requestName") == null ? "" : jb.get("requestName").toString(); // 工单
|
String wo = jb.get("requestName") == null ? "" : jb.get("requestName").toString(); // 工单
|
||||||
String flag = jb.get("flag") == null ? "" : jb.get("flag").toString();
|
String flag = jb.get("flag") == null ? "" : jb.get("flag").toString();
|
||||||
String charge = jb.get("CHARGE") == null ? "" : jb.get("CHARGE").toString();
|
String charge = jb.get("CHARGE") == null ? "" : jb.get("CHARGE").toString();
|
||||||
|
String erpLocation = jb.get("erpLocation") == null ? "" : jb.get("erpLocation").toString();//工厂
|
||||||
payMentDate = jb.get("payMentDate").toString();
|
payMentDate = jb.get("payMentDate").toString();
|
||||||
//判空
|
//判空
|
||||||
if (StringUtils.isBlank(materialSpecName) || StringUtils.isBlank(qty)) {
|
if (StringUtils.isBlank(materialSpecName) || StringUtils.isBlank(qty)) {
|
||||||
@ -120,6 +121,7 @@ public class MESToWMSServiceImpl implements MESToWMSService {
|
|||||||
put("V_RETURN_CODE", "");
|
put("V_RETURN_CODE", "");
|
||||||
put("V_RETURN_MESSAGE", "");
|
put("V_RETURN_MESSAGE", "");
|
||||||
put("V_CHARGE", charge);
|
put("V_CHARGE", charge);
|
||||||
|
put("V_ERPLOCATION", erpLocation);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Map<String, Object> stringObjectMap = IDMFrameServiceProxy.getSqlTemplate().executeProcedure(procedureName, bindMap);
|
Map<String, Object> stringObjectMap = IDMFrameServiceProxy.getSqlTemplate().executeProcedure(procedureName, bindMap);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user