feat(employee): 添加员工管理模块中的时间范围查询功能
- 在WmsEmployeeChangeBo中新增异动时间范围字段changeStartTime和changeEndTime - 在WmsEmployeeInfoBo中新增入职时间范围字段entryStartTime和entryEndTime - 在WmsEmployeeTransferBo中新增转岗时间范围字段transferStartTime和transferEndTime - 为所有时间字段添加DateTimeFormat注解支持日期格式化 - 在对应的服务实现类中添加时间范围查询条件 - 实现时间段筛选逻辑以支持更精确的数据查询需求
This commit is contained in:
@@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
/**
|
||||
* 员工信息业务对象 wms_employee_info
|
||||
@@ -79,6 +80,20 @@ public class WmsEmployeeInfoBo extends BaseEntity {
|
||||
*/
|
||||
private Date entryTime;
|
||||
|
||||
/**
|
||||
* 入职时间开始
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date entryStartTime;
|
||||
|
||||
/**
|
||||
* 入职时间结束
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date entryEndTime;
|
||||
|
||||
/**
|
||||
* 紧急联系人
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user