opt: 贴标捆扎位优化
This commit is contained in:
@@ -322,7 +322,7 @@ public class FinishedProductOutBindLableDeviceDriver extends AbstractOpcDeviceDr
|
|||||||
} else {
|
} else {
|
||||||
this.require_apply_strangulation_time = date;
|
this.require_apply_strangulation_time = date;
|
||||||
Instruction inst = instructionService.findByCodeFromCache(String.valueOf(task));
|
Instruction inst = instructionService.findByCodeFromCache(String.valueOf(task));
|
||||||
if (StrUtil.isEmpty(inst.getVehicle_code())) {
|
if (ObjectUtil.isEmpty(inst) && StrUtil.isEmpty(inst.getVehicle_code())) {
|
||||||
message = LangProcess.msg("one_message8") + ": " + task + LangProcess.msg("one_message11");
|
message = LangProcess.msg("one_message8") + ": " + task + LangProcess.msg("one_message11");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -530,11 +530,11 @@ public class FinishedProductOutBindLableDeviceDriver extends AbstractOpcDeviceDr
|
|||||||
map12.put("value", labelingTemplate);
|
map12.put("value", labelingTemplate);
|
||||||
|
|
||||||
Map map13 = new HashMap();
|
Map map13 = new HashMap();
|
||||||
map13.put("code", "to_leight");
|
map13.put("code", "to_length");
|
||||||
map13.put("value", length);
|
map13.put("value", length);
|
||||||
list.add(map13);
|
list.add(map13);
|
||||||
Map map14 = new HashMap();
|
Map map14 = new HashMap();
|
||||||
map14.put("code", "to_wedth");
|
map14.put("code", "to_width");
|
||||||
map14.put("value", width);
|
map14.put("value", width);
|
||||||
list.add(map14);
|
list.add(map14);
|
||||||
Map map15 = new HashMap();
|
Map map15 = new HashMap();
|
||||||
|
|||||||
Reference in New Issue
Block a user