From 4176edbce5f2487c76d67353f7a768f4c902bd76 Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Mon, 10 May 2021 11:00:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=A5=E5=90=8D=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tenlion/controller/api/apply/ApplyController.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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);