소스 검색

修改用户类型

anderx 2 년 전
부모
커밋
f03a2e9351
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java

+ 3 - 3
ruoyi-common/src/main/java/com/ruoyi/common/core/domain/entity/SysUser.java

@@ -45,7 +45,7 @@ public class SysUser extends BaseEntity
      *  0=兼职,1=全职
      */
     @Excel(name = "全职/兼职",readConverterExp = "0=兼职,1=全职",width = 8)
-    private Integer fullJob;
+    private String fullJob;
     @Excels({
             @Excel(name = "部门名称", targetAttr = "deptName", type = Type.EXPORT),
 //        @Excel(name = "部门负责人", targetAttr = "leader", type = Type.EXPORT)
@@ -251,11 +251,11 @@ public class SysUser extends BaseEntity
     }
 
     @NotNull(message="员工是否全职必须存在")
-    public Integer getFullJob() {
+    public String getFullJob() {
         return fullJob;
     }
 
-    public void setFullJob(Integer fullJob) {
+    public void setFullJob(String fullJob) {
         this.fullJob = fullJob;
     }