...
This commit is contained in:
parent
477468b2e5
commit
fe6ee21c7c
|
@ -51,6 +51,9 @@ public class FuseController {
|
||||||
@ApiImplicitParam(name = "district", value = "赋能场景类型", paramType = "query", dataType = "int")
|
@ApiImplicitParam(name = "district", value = "赋能场景类型", paramType = "query", dataType = "int")
|
||||||
})
|
})
|
||||||
public Result<PageData<TbFuseDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params) {
|
public Result<PageData<TbFuseDTO>> page(@ApiIgnore @RequestParam Map<String, Object> params) {
|
||||||
|
if (params.containsKey("orderType")) {
|
||||||
|
params.put("order", params.get("orderType"));
|
||||||
|
}
|
||||||
PageData<TbFuseDTO> page = tbFuseService.page(params);
|
PageData<TbFuseDTO> page = tbFuseService.page(params);
|
||||||
return new Result<PageData<TbFuseDTO>>().ok(page);
|
return new Result<PageData<TbFuseDTO>>().ok(page);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue