fix: 路由路线修改、开盖位
This commit is contained in:
@@ -213,7 +213,7 @@ public class UnBoxLableConveyorDeviceDriver extends AbstractOpcDeviceDriver impl
|
||||
if (!applyUnbox(instruction)){
|
||||
if (ObjectUtil.isNotEmpty(instruction)) {
|
||||
try {
|
||||
instructionService.finish(instruction);
|
||||
// instructionService.finish(instruction);
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
@@ -331,6 +331,7 @@ public class RouteLineServiceImpl extends CommonServiceImpl<RouteLineMapper, Rou
|
||||
List<RouteLine> list = new LambdaQueryChainWrapper<>(routeLineMapper)
|
||||
.eq(RouteLine::getDevice_code, dto.getDevice_code())
|
||||
.eq(RouteLine::getNext_device_code, dto.getNext_device_code())
|
||||
.eq(RouteLine::getRoute_plan_id, dto.getRoute_plan_id())
|
||||
.list();
|
||||
if (list.size() == 0) {
|
||||
// wo.insert(json);
|
||||
|
||||
Reference in New Issue
Block a user