diff --git a/wcs/hd/nladmin-system/src/main/java/org/nl/acs/device/wql/task_inst.xls b/wcs/hd/nladmin-system/src/main/java/org/nl/acs/device/wql/task_inst.xls index 1a1098e0..2c352f86 100644 Binary files a/wcs/hd/nladmin-system/src/main/java/org/nl/acs/device/wql/task_inst.xls and b/wcs/hd/nladmin-system/src/main/java/org/nl/acs/device/wql/task_inst.xls differ diff --git a/wcs/hd/nladmin-system/src/main/java/org/nl/acs/instruction/service/impl/InstructionServiceImpl.java b/wcs/hd/nladmin-system/src/main/java/org/nl/acs/instruction/service/impl/InstructionServiceImpl.java index 81558aa7..f5a1225f 100644 --- a/wcs/hd/nladmin-system/src/main/java/org/nl/acs/instruction/service/impl/InstructionServiceImpl.java +++ b/wcs/hd/nladmin-system/src/main/java/org/nl/acs/instruction/service/impl/InstructionServiceImpl.java @@ -205,8 +205,11 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu public Instruction findById(String instruction_id) { WQLObject wo = WQLObject.getWQLObject("acs_instruction"); JSONObject json = wo.query("instruction_id ='" + instruction_id + "'").uniqueResult(0); - final Instruction obj = json.toJavaObject(Instruction.class); - return obj; + if(ObjectUtil.isNotEmpty(json)){ + final Instruction obj = json.toJavaObject(Instruction.class); + return obj; + } + return null; } @Override @@ -635,7 +638,7 @@ public class InstructionServiceImpl implements InstructionService, ApplicationAu @Transactional(rollbackFor = Exception.class) public void update(Instruction dto) { Instruction entity = this.findById(dto.getInstruction_id()); - //if (entity == null) throw new BadRequestException("被删除或无权限,操作失败!"); + if (entity == null) throw new BadRequestException("被删除或无权限,操作失败!"); String currentUsername = SecurityUtils.getCurrentUsername(); String now = DateUtil.now(); diff --git a/wcs/hd/nladmin-system/src/main/java/org/nl/acs/order/service/wql/order.xls b/wcs/hd/nladmin-system/src/main/java/org/nl/acs/order/service/wql/order.xls index 91d6387e..89d456db 100644 Binary files a/wcs/hd/nladmin-system/src/main/java/org/nl/acs/order/service/wql/order.xls and b/wcs/hd/nladmin-system/src/main/java/org/nl/acs/order/service/wql/order.xls differ diff --git a/wcs/qd/src/assets/acs/光.png b/wcs/qd/src/assets/acs/光.png new file mode 100644 index 00000000..8fe3b126 Binary files /dev/null and b/wcs/qd/src/assets/acs/光.png differ diff --git a/wcs/qd/src/assets/acs/区.png b/wcs/qd/src/assets/acs/区.png new file mode 100644 index 00000000..869eda4a Binary files /dev/null and b/wcs/qd/src/assets/acs/区.png differ diff --git a/wcs/qd/src/assets/acs/激.png b/wcs/qd/src/assets/acs/激.png new file mode 100644 index 00000000..d82ddd99 Binary files /dev/null and b/wcs/qd/src/assets/acs/激.png differ diff --git a/wcs/qd/src/views/acs/stage/editor/index.vue b/wcs/qd/src/views/acs/stage/editor/index.vue index 7700dee0..04fa93b0 100644 --- a/wcs/qd/src/views/acs/stage/editor/index.vue +++ b/wcs/qd/src/views/acs/stage/editor/index.vue @@ -231,8 +231,10 @@ export default { { id: 10, name: '墙面竖', img1: '墙面竖' }, { id: 11, name: '区域横', img1: '区域横' }, { id: 12, name: '区域竖', img1: '区域竖' }, - { id: 13, name: '专机', img1: '专机' } - + { id: 13, name: '专机', img1: '专机' }, + { id: 14, name: '激', img1: '激' }, + { id: 15, name: '光', img1: '光' }, + { id: 16, name: '区', img1: '区' } ], arr2: [], stageSelectList: [],