修改报名列表报错问题

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")
public SuccessResultList<List<ApplyDTO>> listPage(ListPage page) {
Map<String, Object> 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);