update 物料消耗请求接口/api/wms/meswms_materialconsume_request接收CHARGE参数,并保存到存储过程MES_CONSUME
This commit is contained in:
parent
1d44722505
commit
549bb6da71
@ -89,6 +89,7 @@ public class MESToWMSServiceImpl implements MESToWMSService {
|
|||||||
String qty = jb.get("qty").toString(); // 消耗数量
|
String qty = jb.get("qty").toString(); // 消耗数量
|
||||||
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();
|
||||||
//判空
|
//判空
|
||||||
if (StringUtils.isBlank(materialSpecName) || StringUtils.isBlank(qty)) {
|
if (StringUtils.isBlank(materialSpecName) || StringUtils.isBlank(qty)) {
|
||||||
result = AjaxResult.me().setSuccess(false).setErrorCode(500).setMessage("料号或数量不能为空");
|
result = AjaxResult.me().setSuccess(false).setErrorCode(500).setMessage("料号或数量不能为空");
|
||||||
@ -118,6 +119,7 @@ public class MESToWMSServiceImpl implements MESToWMSService {
|
|||||||
put("V_FLAG", flag);
|
put("V_FLAG", flag);
|
||||||
put("V_RETURN_CODE", "");
|
put("V_RETURN_CODE", "");
|
||||||
put("V_RETURN_MESSAGE", "");
|
put("V_RETURN_MESSAGE", "");
|
||||||
|
put("V_CHARGE", charge);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
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