|
@@ -89,6 +89,23 @@ public class ObjController {
|
|
|
return tableServiceCmdService.objectLogicDelete(baseTableSaveDTO);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 功能描述: 获取单表单数据 默认查所有字段
|
|
|
+ * eg:{
|
|
|
+ * "table": "sys_config",
|
|
|
+ * "fixedData": {
|
|
|
+ * "idList": ["id1", "id2", "id2"]
|
|
|
+ * }
|
|
|
+ * }
|
|
|
+ * @param condition condition
|
|
|
+ * @return com.boman.system.common.ValueHolder
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "获取单表单数据")
|
|
|
+ @PostMapping("/getObject")
|
|
|
+ public AjaxResult getObject(@RequestBody BaseTableSaveDTO condition) {
|
|
|
+ return tableServiceCmdService.getObject(condition);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 功能描述: 获取单表单数据
|
|
|
* eg:{
|
|
@@ -110,16 +127,10 @@ public class ObjController {
|
|
|
* @param condition condition
|
|
|
* @return com.boman.system.common.ValueHolder
|
|
|
*/
|
|
|
- @ApiOperation(value = "获取单表单数据")
|
|
|
- @PostMapping("/getObject")
|
|
|
- public AjaxResult getObject(@RequestBody BaseTableSaveDTO condition) {
|
|
|
- return tableServiceCmdService.getObject(condition);
|
|
|
- }
|
|
|
-
|
|
|
@ApiOperation(value = "获取表单列表数据")
|
|
|
@PostMapping("/queryList")
|
|
|
public AjaxResult queryList(@RequestBody BaseTableSaveDTO condition) {
|
|
|
- return tableServiceCmdService.getObject(condition);
|
|
|
+ return tableServiceCmdService.queryList(condition);
|
|
|
}
|
|
|
|
|
|
|