Browse Source

修改用户类型

anderx 2 years ago
parent
commit
f03a2e9351

+ 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;
     }