Commit 56e0b47f authored by linpeiqin's avatar linpeiqin

怎么模型管理列表筛选

parent 030e9760
...@@ -101,9 +101,10 @@ public class ModelManageController { ...@@ -101,9 +101,10 @@ public class ModelManageController {
* @return 应答结果对象,包含查询结果集。 * @return 应答结果对象,包含查询结果集。
*/ */
@PostMapping("/listForTree") @PostMapping("/listForTree")
public ResponseResult<List<ModelManageVo>> listForTree() { public ResponseResult<List<ModelManageVo>> listForTree(@MyRequestBody ModelManageDto modelManageDtoFilter) {
ModelManage modelManageFilter = MyModelUtil.copyTo(modelManageDtoFilter, ModelManage.class);
List<ModelManage> modelManageList = List<ModelManage> modelManageList =
modelManageService.getModelManageListWithRelation(new ModelManage(), new ModelVersion(), null, null, ""); modelManageService.getModelManageListWithRelation(modelManageFilter, new ModelVersion(), null, null, "");
return ResponseResult.success(ModelManage.INSTANCE.fromModelList(modelManageList)); return ResponseResult.success(ModelManage.INSTANCE.fromModelList(modelManageList));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment