|
|
@ -988,7 +988,7 @@ public class InstructionServiceImpl extends CommonServiceImpl<InstructionMapper, |
|
|
|
} else if (StrUtil.equals(paramService.findByCode(AcsConfig.AGVTYPE).getValue(), "2")) { |
|
|
|
// NDC agv指令不当场取消指令,需要等agv上报
|
|
|
|
if (!StrUtil.isEmpty(entity.getAgv_jobno())) { |
|
|
|
ndcAgvService.deleteAgvInstToNDC((Instruction)entity); |
|
|
|
ndcAgvService.deleteAgvInstToNDC(new Instruction(entity)); |
|
|
|
} else { |
|
|
|
flag = true; |
|
|
|
} |
|
|
|