fix组盘信息未同步及点位数据未移动
This commit is contained in:
@@ -266,6 +266,7 @@ public class NDCSocketConnectionAutoRun extends AbstractAutoRunnable {
|
||||
//如果是混料区则上送LMS当前点位的字段,同步到st_ivt_structivt仓位库存表
|
||||
JSONObject jsonObject = new JSONObject();
|
||||
jsonObject.put("device_code", device_code);
|
||||
jsonObject.put("point_code", device_code);
|
||||
jsonObject.put("weight", standardInspectSiteSmartDeviceDriver.getWeight());
|
||||
jsonObject.put("product_code", standardInspectSiteSmartDeviceDriver.getProduct_code());
|
||||
jsonObject.put("batch_code", standardInspectSiteSmartDeviceDriver.getBatch_code());
|
||||
@@ -398,6 +399,13 @@ public class NDCSocketConnectionAutoRun extends AbstractAutoRunnable {
|
||||
//(无车id及状态)
|
||||
else if (phase == 0x0A) {
|
||||
if (!ObjectUtil.isEmpty(inst)) {
|
||||
JSONObject jsonObject = new JSONObject();
|
||||
jsonObject.put("point_code", inst.getStart_device_code());
|
||||
jsonObject.put("device_code", inst.getStart_device_code());
|
||||
jsonObject.put("start_code", inst.getStart_device_code());
|
||||
jsonObject.put("next_code", inst.getNext_device_code());
|
||||
jsonObject.put("type", "10");
|
||||
acsToWmsService.lnshApplyTaskToWms(jsonObject);
|
||||
inst.setInstruction_status("2");
|
||||
instructionService.finish(inst);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user