diff --git a/src/main/java/cn/com/tenlion/controller/api/apply/ApplyController.java b/src/main/java/cn/com/tenlion/controller/api/apply/ApplyController.java index 1794f07..795959d 100644 --- a/src/main/java/cn/com/tenlion/controller/api/apply/ApplyController.java +++ b/src/main/java/cn/com/tenlion/controller/api/apply/ApplyController.java @@ -150,8 +150,10 @@ public class ApplyController extends DefaultBaseController { @GetMapping("listpage") public SuccessResultList> listPage(ListPage page) { Map params = requestParams(); - if(!StringUtils.isBlank(params.get("applyAuditStates").toString())){ - params.put("applyAuditStates",Arrays.asList(params.get("applyAuditStates"))); + if(null != params.get("applyAuditStates")){ + if(!StringUtils.isBlank(params.get("applyAuditStates").toString())){ + params.put("applyAuditStates",Arrays.asList(params.get("applyAuditStates"))); + } } page.setParams(params); return applyService.listPage(page);