update MES-物料消耗请求接口,匹配工单未补0000,和补0000两种

This commit is contained in:
18110972313 2025-05-14 15:10:14 +08:00
parent 3668e489a2
commit 7791eec611

View File

@ -88,7 +88,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(); String charge = jb.get("charge") == null ? "" : jb.get("charge").toString();
String erpLocation = jb.get("erpLocation") == null ? "" : jb.get("erpLocation").toString();//工厂 String erpLocation = jb.get("erpLocation") == null ? "" : jb.get("erpLocation").toString();//工厂
payMentDate = jb.get("payMentDate") == null ? "" : jb.get("payMentDate").toString(); payMentDate = jb.get("payMentDate") == null ? "" : jb.get("payMentDate").toString();
//判空 //判空