代码更新

This commit is contained in:
2022-12-08 17:56:57 +08:00
parent 3cb3066f38
commit 37987a5a4d
2 changed files with 6 additions and 0 deletions

View File

@@ -108,6 +108,7 @@ public class CrmToLmsServiceImpl implements CrmToLmsService {
String warehouse_code = jo.getString("warehouse_code");
String dateoffginbound = jo.getString("dateoffginbound");
String packageboxsn = jo.getString("packageboxsn");
String container_name = jo.getString("container_name");
HashMap map = new HashMap<>();
if (StrUtil.isNotEmpty(material_code)) {
@@ -146,6 +147,9 @@ public class CrmToLmsServiceImpl implements CrmToLmsService {
if (StrUtil.isNotEmpty(warehouse_code)) {
map.put("warehouse_code", warehouse_code);
}
if (StrUtil.isNotEmpty(container_name)) {
map.put("container_name", container_name);
}
//将查询条件带入查询LMS成品库库存信息
JSONArray rows = WQL.getWO("QCRM_001").addParamMap(map).addParam("flag", "1").process().getResultJSONArray(0);

View File

@@ -22,6 +22,7 @@
输入.dateoffginbound TYPEAS s_string
输入.warehouse_code TYPEAS s_string
输入.customerdescription TYPEAS s_string
输入.container_name TYPEAS s_string
输入.width TYPEAS f_string
@@ -64,6 +65,7 @@
sub.length,
stor.ext_id AS warehouse_code,
sub.date_of_production AS dateofproduction,
sub.container_name,
CONCAT(sub.un_plan_product_property1,sub.un_plan_product_property2,sub.un_plan_product_property3) AS unplanproductproperty
FROM
pdm_bi_subpackagerelation sub