Explorar o código

用户表新增入职时间、X射线操作员开始时间、专业、籍贯等字段

wangxx hai 1 mes
pai
achega
02c2600ba0

+ 75 - 0
airport-common/src/main/java/com/sundot/airport/common/core/domain/entity/SysUser.java

@@ -218,6 +218,36 @@ public class SysUser extends BaseEntity {
218 218
     private Date securityCheckStartDate;
219 219
 
220 220
     /**
221
+     * 入职时间
222
+     */
223
+    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
224
+    private Date entryDate;
225
+
226
+    /**
227
+     * X射线操作员开始时间
228
+     */
229
+    @Excel(name = "X射线操作员开始时间", width = 30, dateFormat = "yyyy-MM-dd")
230
+    private Date xrayOperatorStarttime;
231
+
232
+    /**
233
+     * 专业
234
+     */
235
+    @Excel(name = "专业")
236
+    private String professional;
237
+
238
+    /**
239
+     * 籍贯
240
+     */
241
+    @Excel(name = "籍贯")
242
+    private String nativePlace;
243
+
244
+    /**
245
+     * 民族
246
+     */
247
+    @Excel(name = "民族")
248
+    private String nation;
249
+
250
+    /**
221 251
      * 安检工作岗位
222 252
      */
223 253
     private String securityInspectionPosition;
@@ -833,6 +863,46 @@ public class SysUser extends BaseEntity {
833 863
         this.securityCheckStartDate = securityCheckStartDate;
834 864
     }
835 865
 
866
+    public Date getEntryDate() {
867
+        return entryDate;
868
+    }
869
+
870
+    public void setEntryDate(Date entryDate) {
871
+        this.entryDate = entryDate;
872
+    }
873
+
874
+    public Date getXrayOperatorStarttime() {
875
+        return xrayOperatorStarttime;
876
+    }
877
+
878
+    public void setXrayOperatorStarttime(Date xrayOperatorStarttime) {
879
+        this.xrayOperatorStarttime = xrayOperatorStarttime;
880
+    }
881
+
882
+    public String getProfessional() {
883
+        return professional;
884
+    }
885
+
886
+    public void setProfessional(String professional) {
887
+        this.professional = professional;
888
+    }
889
+
890
+    public String getNativePlace() {
891
+        return nativePlace;
892
+    }
893
+
894
+    public void setNativePlace(String nativePlace) {
895
+        this.nativePlace = nativePlace;
896
+    }
897
+
898
+    public String getNation() {
899
+        return nation;
900
+    }
901
+
902
+    public void setNation(String nation) {
903
+        this.nation = nation;
904
+    }
905
+
836 906
     public String getSecurityInspectionPosition() {
837 907
         return securityInspectionPosition;
838 908
     }
@@ -923,6 +993,11 @@ public class SysUser extends BaseEntity {
923 993
                 .append("politicalReviewSituation", getPoliticalReviewSituation())
924 994
                 .append("startWorkingDate", getStartWorkingDate())
925 995
                 .append("securityCheckStartDate", getSecurityCheckStartDate())
996
+                .append("entryDate", getEntryDate())
997
+                .append("xrayOperatorStarttime", getXrayOperatorStarttime())
998
+                .append("professional", getProfessional())
999
+                .append("nativePlace", getNativePlace())
1000
+                .append("nation", getNation())
926 1001
                 .append("securityInspectionPosition", getSecurityInspectionPosition())
927 1002
                 .append("workRewardsNumber", getWorkRewardsNumber())
928 1003
                 .append("workPenaltiesNumber", getWorkPenaltiesNumber())

+ 58 - 1
airport-system/src/main/resources/mapper/system/SysUserMapper.xml

@@ -63,6 +63,11 @@
63 63
         <result property="politicalReviewSituation" column="political_review_situation"/>
64 64
         <result property="startWorkingDate" column="start_working_date"/>
65 65
         <result property="securityCheckStartDate" column="security_check_start_date"/>
66
+        <result property="entryDate" column="entry_date"/>
67
+        <result property="xrayOperatorStarttime" column="xray_operator_starttime"/>
68
+        <result property="professional" column="professional"/>
69
+        <result property="nativePlace" column="native_place"/>
70
+        <result property="nation" column="nation"/>
66 71
         <result property="securityInspectionPosition" column="security_inspection_position"/>
67 72
         <result property="workRewardsNumber" column="work_rewards_number"/>
68 73
         <result property="workPenaltiesNumber" column="work_penalties_number"/>
@@ -144,6 +149,11 @@
144 149
                u.political_review_situation,
145 150
                u.start_working_date,
146 151
                u.security_check_start_date,
152
+               u.entry_date,
153
+               u.xray_operator_starttime,
154
+               u.professional,
155
+               u.native_place,
156
+               u.nation,
147 157
                u.security_inspection_position,
148 158
                u.work_rewards_number,
149 159
                u.work_penalties_number,
@@ -185,7 +195,9 @@
185 195
         u.subordinate_evaluation_personality_trait, u.subordinate_evaluation_capability_performance,
186 196
         u.subordinate_evaluation_interpersonal_interaction,u.subordinate_evaluation_growth_potential,
187 197
         u.schooling,u.political_review_situation,u.start_working_date,
188
-        u.security_check_start_date,u.security_inspection_position,u.work_rewards_number,u.work_penalties_number,
198
+        u.security_check_start_date,u.entry_date,u.xray_operator_starttime,
199
+        u.professional,u.native_place,u.nation,
200
+        u.security_inspection_position,u.work_rewards_number,u.work_penalties_number,
189 201
         d.dept_name, d.leader from sys_user u
190 202
         left join sys_dept d on u.dept_id = d.dept_id
191 203
         where u.del_flag = '0'
@@ -530,6 +542,21 @@
530 542
         <if test="securityCheckStartDate != null">
531 543
             security_check_start_date,
532 544
         </if>
545
+        <if test="entryDate != null">
546
+            entry_date,
547
+        </if>
548
+        <if test="xrayOperatorStarttime != null">
549
+            xray_operator_starttime,
550
+        </if>
551
+        <if test="professional != null and professional != ''">
552
+            professional,
553
+        </if>
554
+        <if test="nativePlace != null and nativePlace != ''">
555
+            native_place,
556
+        </if>
557
+        <if test="nation != null and nation != ''">
558
+            nation,
559
+        </if>
533 560
         <if test="securityInspectionPosition != null and securityInspectionPosition != ''">
534 561
             security_inspection_position,
535 562
         </if>
@@ -643,6 +670,21 @@
643 670
         <if test="securityCheckStartDate != null">
644 671
             #{securityCheckStartDate},
645 672
         </if>
673
+        <if test="entryDate != null">
674
+            #{entryDate},
675
+        </if>
676
+        <if test="xrayOperatorStarttime != null">
677
+            #{xrayOperatorStarttime},
678
+        </if>
679
+        <if test="professional != null and professional != ''">
680
+            #{professional},
681
+        </if>
682
+        <if test="nativePlace != null and nativePlace != ''">
683
+            #{nativePlace},
684
+        </if>
685
+        <if test="nation != null and nation != ''">
686
+            #{nation},
687
+        </if>
646 688
         <if test="securityInspectionPosition != null and securityInspectionPosition != ''">
647 689
             #{securityInspectionPosition},
648 690
         </if>
@@ -760,6 +802,21 @@
760 802
             <if test="securityCheckStartDate != null ">
761 803
                 security_check_start_date = #{securityCheckStartDate},
762 804
             </if>
805
+            <if test="entryDate != null">
806
+                entry_date = #{entryDate},
807
+            </if>
808
+            <if test="xrayOperatorStarttime != null">
809
+                xray_operator_starttime = #{xrayOperatorStarttime},
810
+            </if>
811
+            <if test="professional != null and professional != ''">
812
+                professional = #{professional},
813
+            </if>
814
+            <if test="nativePlace != null and nativePlace != ''">
815
+                native_place = #{nativePlace},
816
+            </if>
817
+            <if test="nation != null and nation != ''">
818
+                nation = #{nation},
819
+            </if>
763 820
             <if test="securityInspectionPosition != null and securityInspectionPosition!='' ">
764 821
                 security_inspection_position = #{securityInspectionPosition},
765 822
             </if>