| | |
| | | * @return 列表数据 |
| | | */ |
| | | @PostMapping("/dataGridQuery") |
| | | @VciUnCheckRight |
| | | @VciBusinessLog(operateName = "列表数据的查询",description = "${param.btmname}里的${param.tableDefineId}") |
| | | public DataGrid dataGrid(UIDataGridQuery dataGridQuery){ |
| | | return uiDataService.getDataForGrid(dataGridQuery); |
| | |
| | | * @return 表单的数据 |
| | | */ |
| | | @PostMapping("/dataFormQuery") |
| | | @VciUnCheckRight |
| | | @VciBusinessLog(operateName = "表单的查询",description = "${param.btmname}里的${param.formDefineId}") |
| | | public BaseResult<UIFormDataVO> getDataForForm(UIFormQuery formQuery){ |
| | | return BaseResult.success(uiDataService.getDataForForm(formQuery)); |
| | |
| | | * @return 执行的结果 |
| | | */ |
| | | @PostMapping("/addSave") |
| | | @VciUnCheckRight |
| | | @VciBusinessLog(operateName = "添加数据",description = "${param.btmname}") |
| | | public BaseResult<Map<String,Object>> addSave(@RequestBody FormDataDTO formDataDTO){ |
| | | return uiDataService.addSave(formDataDTO); |
| | |
| | | * @return 执行的结果 |
| | | */ |
| | | @PutMapping("/editSave") |
| | | @VciUnCheckRight |
| | | @VciBusinessLog(operateName = "修改数据",description = "${param.btmname}里的${param.oid}") |
| | | public BaseResult<Map<String,Object>> editSave(@RequestBody FormDataDTO formDataDTO){ |
| | | return uiDataService.editSave(formDataDTO); |
| | |
| | | * @return 执行的结果 |
| | | */ |
| | | @DeleteMapping("/deleteData") |
| | | @VciUnCheckRight |
| | | @VciBusinessLog(operateName = "删除数据",description = "${param.dataList.0.btmname}的${param.dataList.${join}.oid}") |
| | | public BaseResult deleteData(@RequestBody DeleteDataDTO deleteDataDTO){ |
| | | return uiDataService.batchDelete(deleteDataDTO); |