修改查询条件

This commit is contained in:
yangjun 2025-09-22 15:50:30 +08:00
parent dca3b36fb9
commit 4570a7a1a0
2 changed files with 4 additions and 0 deletions

View File

@ -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);
}

View File

@ -202,4 +202,7 @@ public class EmployeesApply implements Serializable {
@TableField(exist = false)
private String statusVal;
@TableField(exist = false)
private String paramsTime;
}