|
|
@ -242,6 +242,11 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
case YZ: |
|
|
|
method_param.put("workorder", param.getJSONObject("workorder")); |
|
|
|
method_param.put("vd", param.getJSONObject("vd")); |
|
|
|
JSONObject device = WQLObject |
|
|
|
.getWQLObject("pdm_bi_device") |
|
|
|
.query("device_code = '" + point.getString("device_code") + "'") |
|
|
|
.uniqueResult(0); |
|
|
|
method_param.put("device", device); |
|
|
|
task_code = yzSendMaterialTask.createTask(method_param); |
|
|
|
break; |
|
|
|
case SZ: |
|
|
@ -305,6 +310,11 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
.query("is_delete = '0' AND device_code = '" + device_code + "' AND order_status = '3'") |
|
|
|
.uniqueResult(0); |
|
|
|
method_param.put("workorder", work_order); |
|
|
|
JSONObject device = WQLObject |
|
|
|
.getWQLObject("pdm_bi_device") |
|
|
|
.query("device_code = '" + device_code + "'") |
|
|
|
.uniqueResult(0); |
|
|
|
method_param.put("device", device); |
|
|
|
task_code = yzCallEmptyTask.createTask(method_param); |
|
|
|
break; |
|
|
|
case GTK: |
|
|
@ -772,7 +782,7 @@ public class AcsToWmsServiceImpl implements AcsToWmsService { |
|
|
|
|
|
|
|
String vehicle_code = point.getString("vehicle_code"); |
|
|
|
JSONObject data = null; |
|
|
|
if (!"0000".equals(vehicle_code)) { |
|
|
|
if (StrUtil.isNotBlank(vehicle_code) && !"0000".equals(vehicle_code)) { |
|
|
|
data = WQL |
|
|
|
.getWO("ACS_TO_WMS") |
|
|
|
.addParam("flag", "1") |
|
|
|