Files
xgy-oa/klp-wms/src/main/java/com/klp/domain/bo/WmsEmployeeTransferBo.java
Joshi 0eba0b5def feat(employee): 添加员工管理模块中的时间范围查询功能
- 在WmsEmployeeChangeBo中新增异动时间范围字段changeStartTime和changeEndTime
- 在WmsEmployeeInfoBo中新增入职时间范围字段entryStartTime和entryEndTime
- 在WmsEmployeeTransferBo中新增转岗时间范围字段transferStartTime和transferEndTime
- 为所有时间字段添加DateTimeFormat注解支持日期格式化
- 在对应的服务实现类中添加时间范围查询条件
- 实现时间段筛选逻辑以支持更精确的数据查询需求
2026-03-21 15:19:13 +08:00

99 lines
1.7 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.domain.bo;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
/**
* 员工转岗记录业务对象 wms_employee_transfer
*
* @author klp
* @date 2026-03-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WmsEmployeeTransferBo extends BaseEntity {
/**
* 转岗记录主键ID
*/
private Long transferId;
/**
* 关联员工信息表的主键ID
*/
private Long infoId;
/**
* 原部门
*/
private String oldDept;
/**
* 原岗位工种
*/
private String oldJobType;
/**
* 新部门
*/
private String newDept;
/**
* 新岗位工种
*/
private String newJobType;
/**
* 转岗生效时间
*/
private Date transferTime;
/**
* 转岗时间开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date transferStartTime;
/**
* 转岗时间结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date transferEndTime;
/**
* 转岗原因
*/
private String transferReason;
/**
* 转岗经办人
*/
private String transferHandler;
/**
* 审批状态0=待审批1=已审批2=已驳回
*/
private Integer approvalStatus;
/**
* 附件(如转岗审批单等)
*/
private String attachment;
/**
* 备注
*/
private String remark;
}