| | |
| | | } |
| | | |
| | | /** |
| | | * 根据查询模板查询数据,返回值按照页面定义 |
| | | * @param treeQuery 树查询对象 |
| | | * @return 树的数据 |
| | | */ |
| | | @PostMapping("/getDataByTemp") |
| | | @VciUnCheckRight |
| | | @VciBusinessLog(operateName = "查询") |
| | | public BaseResult getDataByTemp(UITreeQuery treeQuery){ |
| | | try { |
| | | return uiDataService.getDataByTemp(treeQuery); |
| | | }catch (Exception e){ |
| | | e.printStackTrace(); |
| | | String errorMsg = "数据查询出现错误,原因:"+ VciBaseUtil.getExceptionMessage(e); |
| | | logger.error(errorMsg); |
| | | throw new VciBaseException(errorMsg); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 添加数据。前端使用JSON提交 |
| | | * @param formDataDTO 表单 |
| | | * @return 执行的结果 |