多选
This commit is contained in:
@@ -102,18 +102,18 @@ public class AutoCreateInst {
|
||||
String startDriverCode = startdevice.getDeviceDriverDefination().getDriverCode();
|
||||
String nextDriverCode = nextdevice.getDeviceDriverDefination().getDriverCode();
|
||||
if (StrUtil.isNotEmpty(startDriverCode)){
|
||||
DriverDeviceService deviceService = applicationContext.getBean(startDriverCode, DriverDeviceService.class);
|
||||
Boolean checkStartPoint = deviceService.createInstCheckStartPoint(startdevice, acsTask);
|
||||
if (!checkStartPoint){
|
||||
continue;
|
||||
}
|
||||
// DriverDeviceService deviceService = applicationContext.getBean(startDriverCode, DriverDeviceService.class);
|
||||
// Boolean checkStartPoint = deviceService.createInstCheckStartPoint(startdevice, acsTask);
|
||||
// if (!checkStartPoint){
|
||||
// continue;
|
||||
// }
|
||||
}
|
||||
if (StrUtil.isNotEmpty(nextDriverCode)){
|
||||
DriverDeviceService deviceService = applicationContext.getBean(nextDriverCode, DriverDeviceService.class);
|
||||
Boolean checkNextPoint = deviceService.createInstCheckNextPoint(nextdevice, acsTask);
|
||||
if (!checkNextPoint){
|
||||
continue;
|
||||
}
|
||||
// DriverDeviceService deviceService = applicationContext.getBean(nextDriverCode, DriverDeviceService.class);
|
||||
// Boolean checkNextPoint = deviceService.createInstCheckNextPoint(nextdevice, acsTask);
|
||||
// if (!checkNextPoint){
|
||||
// continue;
|
||||
// }
|
||||
}
|
||||
Instruction instdto = new Instruction();
|
||||
instdto.setInstruction_type(acsTask.getTask_type());
|
||||
|
||||
Reference in New Issue
Block a user