This commit is contained in:
2022-12-05 18:51:41 +08:00
parent 9da10682a0
commit 42f5504c85
2 changed files with 6 additions and 6 deletions

View File

@@ -105,7 +105,7 @@ public class CrmToLmsServiceImpl implements CrmToLmsService {
String customername = jo.getString("customername"); String customername = jo.getString("customername");
String customerdescription = jo.getString("customerdescription"); String customerdescription = jo.getString("customerdescription");
String width = jo.getString("width"); String width = jo.getString("width");
String struct_code = jo.getString("struct_code"); String warehouse_code = jo.getString("warehouse_code");
String dateoffginbound = jo.getString("dateoffginbound"); String dateoffginbound = jo.getString("dateoffginbound");
String packageboxsn = jo.getString("packageboxsn"); String packageboxsn = jo.getString("packageboxsn");
@@ -143,8 +143,8 @@ public class CrmToLmsServiceImpl implements CrmToLmsService {
if (StrUtil.isNotEmpty(dateoffginbound)) { if (StrUtil.isNotEmpty(dateoffginbound)) {
map.put("dateoffginbound", dateoffginbound); map.put("dateoffginbound", dateoffginbound);
} }
if (StrUtil.isNotEmpty(struct_code)) { if (StrUtil.isNotEmpty(warehouse_code)) {
map.put("struct_code", struct_code); map.put("warehouse_code", warehouse_code);
} }
//将查询条件带入查询LMS成品库库存信息 //将查询条件带入查询LMS成品库库存信息
JSONArray rows = WQL.getWO("QCRM_001").addParamMap(map).addParam("flag", "1").process().getResultJSONArray(0); JSONArray rows = WQL.getWO("QCRM_001").addParamMap(map).addParam("flag", "1").process().getResultJSONArray(0);

View File

@@ -20,7 +20,7 @@
输入.customername TYPEAS s_string 输入.customername TYPEAS s_string
输入.packageboxsn TYPEAS s_string 输入.packageboxsn TYPEAS s_string
输入.dateoffginbound TYPEAS s_string 输入.dateoffginbound TYPEAS s_string
输入.struct_code TYPEAS s_string 输入.warehouse_code TYPEAS s_string
输入.customerdescription TYPEAS s_string 输入.customerdescription TYPEAS s_string
输入.width TYPEAS f_string 输入.width TYPEAS f_string
@@ -89,8 +89,8 @@
OPTION 输入.width <> "" OPTION 输入.width <> ""
sub.width >= 输入.width sub.width >= 输入.width
ENDOPTION ENDOPTION
OPTION 输入.struct_code <> "" OPTION 输入.warehouse_code <> ""
stor.ext_id = 输入.struct_code stor.ext_id = 输入.warehouse_code
ENDOPTION ENDOPTION
OPTION 输入.dateoffginbound <> "" OPTION 输入.dateoffginbound <> ""
sub.date_of_FG_inbound = 输入.dateoffginbound sub.date_of_FG_inbound = 输入.dateoffginbound