fix: 修改

This commit is contained in:
ls
2025-12-29 09:47:11 +08:00
parent cd98f7c319
commit c9b1029898

View File

@@ -253,7 +253,12 @@ public class StandardInspectSiteDeviceDriver extends AbstractOpcDeviceDriver imp
dto.setUpdate_by(this.getDevice().getDevice_code());
dto.setStart_point_code(this.getDevice().getDevice_code());
dto.setAgv_system_type(CommonFinalParam.TWO);
dto.setTask_type(CommonFinalParam.ONE);
if (mode == 4) {
dto.setTask_type(CommonFinalParam.ONE);
}
if (mode == 5 ){
dto.setTask_type(CommonFinalParam.TWO);
}
String taskcode = CodeUtil.getNewCode("TASK_NO");
dto.setTask_code("-" + taskcode);
dto.setTask_status("0");