feat(wms/attendance): 为考勤排班查询新增员工姓名和部门名称模糊筛选
在WmsAttendanceScheduleBo中新增employeeName和employeeDept字段用于接收模糊查询条件。在WmsAttendanceScheduleServiceImpl中新增resolveEmployeeNameAndDept私有方法,根据姓名和部门条件查询员工ID集合,并自动设置到bo的userIds字段中,实现通过员工姓名和部门名称进行模糊筛选考勤排班数据。
This commit is contained in:
@@ -31,6 +31,16 @@ public class WmsAttendanceScheduleBo extends BaseEntity {
|
||||
*/
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 员工姓名(模糊查询)
|
||||
*/
|
||||
private String employeeName;
|
||||
|
||||
/**
|
||||
* 部门名称(模糊查询)
|
||||
*/
|
||||
private String employeeDept;
|
||||
|
||||
/**
|
||||
* 日期
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user