修改报名列表报错问题

This commit is contained in:
ly19960718 2021-05-10 11:00:30 +08:00
parent f8f15a1668
commit 4176edbce5

View File

@ -150,8 +150,10 @@ public class ApplyController extends DefaultBaseController {
@GetMapping("listpage") @GetMapping("listpage")
public SuccessResultList<List<ApplyDTO>> listPage(ListPage page) { public SuccessResultList<List<ApplyDTO>> listPage(ListPage page) {
Map<String, Object> params = requestParams(); Map<String, Object> params = requestParams();
if(!StringUtils.isBlank(params.get("applyAuditStates").toString())){ if(null != params.get("applyAuditStates")){
params.put("applyAuditStates",Arrays.asList(params.get("applyAuditStates"))); if(!StringUtils.isBlank(params.get("applyAuditStates").toString())){
params.put("applyAuditStates",Arrays.asList(params.get("applyAuditStates")));
}
} }
page.setParams(params); page.setParams(params);
return applyService.listPage(page); return applyService.listPage(page);