| | |
| | | } |
| | | |
| | | /** |
| | | * 删除分类 |
| | | * @param dto 分类对象 |
| | | * @return 处理结果 |
| | | * @throws PLException |
| | | */ |
| | | @DeleteMapping("/deleteActionCls") |
| | | public BaseResult deleteActionCls(@RequestBody PLActionClsDTO dto){ |
| | | try { |
| | | return osActionServiceI.deleteActionCls(dto); |
| | | } catch (PLException e) { |
| | | BaseResult objectBaseResult = new BaseResult<>(); |
| | | objectBaseResult.setCode(Integer.parseInt(e.code)); |
| | | objectBaseResult.setMsg(Arrays.toString(e.messages)); |
| | | return objectBaseResult; |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 获取Action表格数据 |
| | | * dto 查询条件 |
| | | * @return 查询结果 |
| | |
| | | return objectBaseResult; |
| | | } |
| | | } |
| | | /** |
| | | * 查询Action参数列表数据 |
| | | * actionOid 参数主键 |
| | | * @return 保存结果 |
| | | */ |
| | | @GetMapping("/getPLActionParam") |
| | | public BaseResult getPLActionParam(String actionOid){ |
| | | try { |
| | | return osActionServiceI.getPLActionParam(actionOid); |
| | | } catch (PLException e) { |
| | | BaseResult objectBaseResult = new BaseResult<>(); |
| | | objectBaseResult.setCode(Integer.parseInt(e.code)); |
| | | objectBaseResult.setMsg(Arrays.toString(e.messages)); |
| | | return objectBaseResult; |
| | | } |
| | | } |
| | | } |