This commit is contained in:
2023-02-06 09:56:48 +08:00
parent b650280c14
commit 55fc37b3f3
2 changed files with 3 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ public class AMHandServiceImpl implements AMHandService {
allow_update = "1";
} else if (device_driver.getDeviceDriver() instanceof StandardInspectSiteDeviceDriver) {
standardInspectSiteDeviceDriver = (StandardInspectSiteDeviceDriver) device_driver.getDeviceDriver();
int move = standardInspectSiteDeviceDriver.getMove();
// int move = standardInspectSiteDeviceDriver.getMove();
TaskDto taskDto = taskService.findByStartAndNextCode(device_code);
if (ObjectUtil.isNotEmpty(taskDto)) {
status = "2";
@@ -594,6 +594,7 @@ public class AMHandServiceImpl implements AMHandService {
instdto.setStart_device_code(taskjo.getString("start_device_code"));
instdto.setNext_device_code(taskjo.getString("next_device_code"));
instdto.setInstruction_status("0");
instdto.setAgv_inst_type("1");
InstructionService instructionService = SpringContextHolder.getBean("instructionServiceImpl");
WQLObject instwo = WQLObject.getWQLObject("acs_instruction");
JSONObject instcheckjson = instwo.query(" instruction_status < 2 and next_point_code= '" + next_point_code + "'" + " and start_point_code = '" + start_point_code + "'" + " and task_id = '" + task_id + "'").uniqueResult(0);

View File

@@ -1017,7 +1017,7 @@ public class TaskServiceImpl implements TaskService, ApplicationAutoInitial {
instdto.setAgv_inst_type("3");
}
} else {
instdto.setAgv_inst_type("4");
instdto.setAgv_inst_type("1");
}
instructionservice.create(instdto);