maven
8 天以前 07f085de4c97e3eee39dae3107780f46f894d675
src/main/java/com/ruoyi/staff/pojo/StaffOnJob.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.dto.DateQueryDto;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -16,7 +17,7 @@
 */
@TableName(value = "staff_on_job")
@Data
public class StaffOnJob implements Serializable {
public class StaffOnJob extends DateQueryDto implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
@@ -34,7 +35,7 @@
    /**
     * 员工编号
     */
    @Excel(name = "员工编号")
    @Excel(name = "员工编号", type = Excel.Type.EXPORT, cellType = Excel.ColumnType.STRING)
    private String staffNo;
    /**
@@ -56,8 +57,15 @@
    private String nativePlace;
    /**
     * 岗位
     * 部门岗位id
     */
//    @Excel(name = "岗位")
    private Integer deptPositionId;
//    @TableField(exist = false)
//    @Excel(name = "岗位")
//    private String deptPositionName;
    @Excel(name = "岗位")
    private String postJob;