Commit 49f8c059 by liyanlin

fix

parent 6e45a399
...@@ -49,13 +49,13 @@ public class IndexController { ...@@ -49,13 +49,13 @@ public class IndexController {
return result; return result;
} }
@ApiOperation("费用计划列表,condition=lt(小于)/le(小于等于)/eq(登宇)/ne(不等于)/ge(大于等于)/gt(大于)/in(包含)/notIn(不包含),statusList优先级大于status") @ApiOperation("费用计划列表,condition=lt/le/eq/ne/ge/gt/in/notIn(小于/小于等于/等于/不等于/大于等于/大于/包含/不包含),statusList优先级大于status")
@GetMapping("/costPlanList") @GetMapping("/costPlanList")
public Map<String, Object> costPlanList(Integer userid, public Map<String, Object> costPlanList(@RequestParam(value = "userid") Integer userid,
Integer status, Integer status,
String condition, String condition,
@RequestParam(value = "statusList", required = false) List<Integer> statusList, @RequestParam(value = "statusList", required = false) List<Integer> statusList,
Integer limit) { Integer limit) {
List<CostPlanDto> costPlanDtos = null; List<CostPlanDto> costPlanDtos = null;
costPlanDtos = indexService.getCostPlanList(userid, status, condition, statusList, limit); costPlanDtos = indexService.getCostPlanList(userid, status, condition, statusList, limit);
Map<String, Object> result = new HashMap<>(); Map<String, Object> result = new HashMap<>();
...@@ -75,9 +75,9 @@ public class IndexController { ...@@ -75,9 +75,9 @@ public class IndexController {
return result; return result;
} }
@ApiOperation("费用列表,condition=lt(小于)/le(小于等于)/eq(登宇)/ne(不等于)/ge(大于等于)/gt(大于)/in(包含)/notIn(不包含),statusList优先级大于status") @ApiOperation("费用列表,condition=lt/le/eq/ne/ge/gt/in/notIn(小于/小于等于/等于/不等于/大于等于/大于/包含/不包含),statusList优先级大于status")
@GetMapping("/costList") @GetMapping("/costList")
public Map<String, Object> costList(Integer userid, public Map<String, Object> costList(@RequestParam(value = "userid") Integer userid,
Integer status, Integer status,
String condition, String condition,
@RequestParam(value = "statusList", required = false) List<Integer> statusList, @RequestParam(value = "statusList", required = false) List<Integer> statusList,
......
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