修改查询条件
This commit is contained in:
parent
dca3b36fb9
commit
4570a7a1a0
|
|
@ -73,6 +73,7 @@ public class EmployeesApplyController extends JeecgController<EmployeesApply, IE
|
|||
customeRuleMap.put("sex", QueryRuleEnum.LIKE_WITH_OR);
|
||||
QueryWrapper<EmployeesApply> queryWrapper = QueryGenerator.initQueryWrapper(employeesApply, req.getParameterMap(), customeRuleMap);
|
||||
Page<EmployeesApply> page = new Page<EmployeesApply>(pageNo, pageSize);
|
||||
queryWrapper.like(StringUtils.isNotBlank(employeesApply.getParamsTime()),"create_time", employeesApply.getParamsTime());
|
||||
IPage<EmployeesApply> pageList = employeesApplyService.page(page, queryWrapper);
|
||||
return Result.OK(pageList);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -202,4 +202,7 @@ public class EmployeesApply implements Serializable {
|
|||
@TableField(exist = false)
|
||||
private String statusVal;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String paramsTime;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue