捆扎次数修改
This commit is contained in:
@@ -272,16 +272,18 @@ public class FinishedProductOutBindLableDeviceDriver extends AbstractOpcDeviceDr
|
||||
values.add(12);
|
||||
keys.add("to_is_binding");
|
||||
values.add(data.getString("isBinding"));
|
||||
keys.add("to_leight");
|
||||
values.add(data.getString("length"));
|
||||
keys.add("to_wedth");
|
||||
values.add(data.getString("width"));
|
||||
keys.add("to_height");
|
||||
values.add(data.getString("height"));
|
||||
keys.add("to_binding_template");
|
||||
values.add(data.getString("bindingTemplate"));
|
||||
keys.add("to_binding_times");
|
||||
values.add(data.getIntValue("bindingTimes"));
|
||||
if (!data.getString("isBinding").equals("0")){
|
||||
keys.add("to_leight");
|
||||
values.add(data.getString("length"));
|
||||
keys.add("to_wedth");
|
||||
values.add(data.getString("width"));
|
||||
keys.add("to_height");
|
||||
values.add(data.getString("height"));
|
||||
keys.add("to_binding_template");
|
||||
values.add(data.getString("bindingTemplate"));
|
||||
keys.add("to_binding_times");
|
||||
values.add(data.getIntValue("bindingTimes"));
|
||||
}
|
||||
writing(keys, values);
|
||||
this.requireSuccess = true;
|
||||
this.message = "获取捆扎信息成功!";
|
||||
|
||||
@@ -348,7 +348,7 @@ public class BoxStorageManipulatorDeviceDriver extends AbstractOpcDeviceDriver i
|
||||
|
||||
//抓取工位
|
||||
if (ObjectUtil.isEmpty(getDeviceCodeList)) {
|
||||
getDeviceCodeList = this.getExtraDeviceCodes("get_device_code");
|
||||
getDeviceCodeList = this.getExtraDeviceCodes("get_device_code");
|
||||
}
|
||||
//放货工位
|
||||
if (ObjectUtil.isEmpty(putDeviceCodeList)) {
|
||||
|
||||
@@ -175,7 +175,7 @@ public class TaskServiceImpl extends CommonServiceImpl<TaskMapper, Task> impleme
|
||||
public List<TaskDto> queryAllByStatus(String task_status) {
|
||||
List<Task> taskList = new LambdaQueryChainWrapper<>(taskMapper)
|
||||
.eq(Task::getTask_status, task_status)
|
||||
.orderByAsc(Task::getCreate_time)
|
||||
.orderByAsc(Task::getCreate_time,Task::getTask_code)
|
||||
.list();
|
||||
return ConvertUtil.convertList(taskList, TaskDto.class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user