fix:载具托盘解绑、退货入库回传

This commit is contained in:
zhouz
2026-06-22 16:35:35 +08:00
parent 1bfcd783b6
commit 514a42102b
2 changed files with 8 additions and 9 deletions

View File

@@ -197,9 +197,7 @@ public class StoragevehicleinfoServiceImpl implements StoragevehicleinfoService
jsonVeExt.put("update_time", DateUtil.now()); jsonVeExt.put("update_time", DateUtil.now());
veExtTab.insert(jsonVeExt); veExtTab.insert(jsonVeExt);
} else { } else {
if (StrUtil.isNotEmpty(pcsn)) {
ext_jo.put("pcsn", pcsn); ext_jo.put("pcsn", pcsn);
}
if (StrUtil.isNotEmpty(qty)) { if (StrUtil.isNotEmpty(qty)) {
ext_jo.put("qty", qty); ext_jo.put("qty", qty);
} }

View File

@@ -1131,7 +1131,7 @@ public class InAndOutRetrunServiceImpl implements InAndOutReturnService {
} }
//退货入库 //退货入库
if (StrUtil.equals(bill_type, "0002")) { if (StrUtil.equals(bill_type, "0002") || StrUtil.equals(bill_type, "0013") || StrUtil.equals(bill_type, "0014")) {
// 1.回传sap // 1.回传sap
JSONArray paramSapMstArr = new JSONArray(); JSONArray paramSapMstArr = new JSONArray();
@@ -1162,7 +1162,8 @@ public class InAndOutRetrunServiceImpl implements InAndOutReturnService {
JSONObject jsonSect = sectTab.query("sect_id = '" + json2.getString("sect_id") + "'").uniqueResult(0); JSONObject jsonSect = sectTab.query("sect_id = '" + json2.getString("sect_id") + "'").uniqueResult(0);
if (ObjectUtil.isNotEmpty(jsonSect)) { if (ObjectUtil.isNotEmpty(jsonSect)) {
// jsonDtl.put("LGORT", jsonSect.getString("ext_id")); // 明細储存地点 // jsonDtl.put("LGORT", jsonSect.getString("ext_id")); // 明細储存地点
jsonDtl.put("LGORT", jo_mst.getString("remark")); // 明細储存地点 //jsonDtl.put("LGORT", jo_mst.getString("remark")); // 明細储存地点
jsonDtl.put("LGORT", lgort);
} }
JSONObject jsonSub = subTab.query("container_name = '" + json2.getString("pcsn") + "' AND package_bo x_sn = '" + json2.getString("box_no") + "' AND bill_id = '" + json2.getString("iostorinv_id") + "'").uniqueResult(0); JSONObject jsonSub = subTab.query("container_name = '" + json2.getString("pcsn") + "' AND package_bo x_sn = '" + json2.getString("box_no") + "' AND bill_id = '" + json2.getString("iostorinv_id") + "'").uniqueResult(0);