代码更新
This commit is contained in:
@@ -99,6 +99,7 @@ public class SapToLmsServiceImpl implements SapToLmsService {
|
||||
jsonMst.put("receiver", json.getString("CONSIGNEE")); // 收货人
|
||||
jsonMst.put("receiptphone", json.getString("TEL_NUMBER")); // 联系电话
|
||||
jsonMst.put("contractno", json.getString("BSTNK")); // 合同号
|
||||
jsonMst.put("cust_code", json.getString("KUNNR")); // 客户
|
||||
|
||||
// 明细
|
||||
JSONObject jsonMater = materTab.query("material_code = '" + json.getString("MATNR") + "'").uniqueResult(0);
|
||||
|
||||
@@ -93,7 +93,7 @@ public class VirtualOutServiceImpl implements VirtualOutService {
|
||||
|
||||
String box_no = whereJson.getString("box_no"); // 箱号
|
||||
|
||||
JSONArray disArr = disTab.query("box_no = '" + box_no + "' and work_status <> '99'").getResultJSONArray(0);
|
||||
JSONArray disArr = WQL.getWO("PDA_ST_01").addParam("flag", "7").addParam("box_no", box_no).process().getResultJSONArray(0);
|
||||
for (int i = 0; i < disArr.size(); i++) {
|
||||
JSONObject jsonDis = disArr.getJSONObject(i);
|
||||
// 更新状态为完成
|
||||
|
||||
@@ -174,4 +174,24 @@
|
||||
pdm_bi_printinfo
|
||||
ENDSELECT
|
||||
ENDQUERY
|
||||
ENDIF
|
||||
|
||||
IF 输入.flag = "7"
|
||||
QUERY
|
||||
SELECT
|
||||
dis.*
|
||||
FROM
|
||||
ST_IVT_IOStorInvDis dis
|
||||
LEFT JOIN st_ivt_iostorinv mst ON dis.iostorinv_id = mst.iostorinv_id
|
||||
WHERE
|
||||
mst.is_delete = '0'
|
||||
AND mst.io_type = '1'
|
||||
AND dis.work_status <> '99'
|
||||
|
||||
OPTION 输入.box_no <> ""
|
||||
dis.box_no = 输入.box_no
|
||||
ENDOPTION
|
||||
|
||||
ENDSELECT
|
||||
ENDQUERY
|
||||
ENDIF
|
||||
@@ -66,6 +66,7 @@
|
||||
WHERE
|
||||
dis.sect_id = '1586913215886004224'
|
||||
AND mst.is_delete = '0'
|
||||
AND mst.io_type = '1'
|
||||
AND mst.bill_status <> '99'
|
||||
|
||||
OPTION 输入.box_no <> ""
|
||||
@@ -117,6 +118,7 @@
|
||||
WHERE
|
||||
dis.sect_id = '1586913215886004224'
|
||||
AND mst.is_delete = '0'
|
||||
AND mst.io_type = '1'
|
||||
AND dis.work_status <> '99'
|
||||
|
||||
OPTION 输入.box_no <> ""
|
||||
|
||||
Reference in New Issue
Block a user