Browse Source

证书管理

wangxx 1 month ago
parent
commit
5d4e4e32d1

+ 0 - 29
airport-ledger/src/main/java/com/sundot/airport/ledger/domain/LedgerCertificateReviewRecord.java

@@ -47,18 +47,6 @@ public class LedgerCertificateReviewRecord extends BaseEntity {
47 47
     private Date reviewTime;
48 48
 
49 49
     /**
50
-     * 复审结果
51
-     */
52
-    @Excel(name = "复审结果")
53
-    private String reviewResult;
54
-
55
-    /**
56
-     * 复审人
57
-     */
58
-    @Excel(name = "复审人")
59
-    private String reviewer;
60
-
61
-    /**
62 50
      * 备注
63 51
      */
64 52
     @Excel(name = "备注")
@@ -96,21 +84,6 @@ public class LedgerCertificateReviewRecord extends BaseEntity {
96 84
         return reviewTime;
97 85
     }
98 86
 
99
-    public void setReviewResult(String reviewResult) {
100
-        this.reviewResult = reviewResult;
101
-    }
102
-
103
-    public String getReviewResult() {
104
-        return reviewResult;
105
-    }
106
-
107
-    public void setReviewer(String reviewer) {
108
-        this.reviewer = reviewer;
109
-    }
110
-
111
-    public String getReviewer() {
112
-        return reviewer;
113
-    }
114 87
 
115 88
     public void setRemark(String remark) {
116 89
         this.remark = remark;
@@ -127,8 +100,6 @@ public class LedgerCertificateReviewRecord extends BaseEntity {
127 100
                 .append("certId", getCertId())
128 101
                 .append("reviewSeq", getReviewSeq())
129 102
                 .append("reviewTime", getReviewTime())
130
-                .append("reviewResult", getReviewResult())
131
-                .append("reviewer", getReviewer())
132 103
                 .append("remark", getRemark())
133 104
                 .toString();
134 105
     }

+ 1 - 11
airport-ledger/src/main/resources/mapper/personnel/LedgerCertificateReviewRecordMapper.xml

@@ -9,8 +9,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
9 9
         <result property="certId"        column="cert_id"         />
10 10
         <result property="reviewSeq"     column="review_seq"      />
11 11
         <result property="reviewTime"    column="review_time"     />
12
-        <result property="reviewResult"  column="review_result"   />
13
-        <result property="reviewer"      column="reviewer"        />
14 12
         <result property="remark"        column="remark"          />
15 13
         <result property="createBy"      column="create_by"       />
16 14
         <result property="createTime"    column="create_time"     />
@@ -20,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
20 18
     </resultMap>
21 19
 
22 20
     <sql id="selectCertificateReviewRecordVo">
23
-        select id, cert_id, review_seq, review_time, review_result, reviewer, remark,
21
+        select id, cert_id, review_seq, review_time,  remark,
24 22
                create_by, create_time, update_by, update_time, del_flag
25 23
         from certificate_review_record
26 24
     </sql>
@@ -31,8 +29,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
31 29
             del_flag = '0'
32 30
             <if test="certId != null"> and cert_id = #{certId}</if>
33 31
             <if test="reviewSeq != null"> and review_seq = #{reviewSeq}</if>
34
-            <if test="reviewResult != null and reviewResult != ''"> and review_result = #{reviewResult}</if>
35
-            <if test="reviewer != null and reviewer != ''"> and reviewer like concat('%', #{reviewer}, '%')</if>
36 32
             <if test="params.beginReviewTime != null and params.beginReviewTime != ''">
37 33
                 and date_format(review_time,'%Y%m%d') &gt;= date_format(#{params.beginReviewTime},'%Y%m%d')
38 34
             </if>
@@ -60,8 +56,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
60 56
             <if test="certId != null">cert_id,</if>
61 57
             <if test="reviewSeq != null">review_seq,</if>
62 58
             <if test="reviewTime != null">review_time,</if>
63
-            <if test="reviewResult != null and reviewResult != ''">review_result,</if>
64
-            <if test="reviewer != null and reviewer != ''">reviewer,</if>
65 59
             <if test="remark != null and remark != ''">remark,</if>
66 60
             <if test="createBy != null and createBy != ''">create_by,</if>
67 61
             create_time,
@@ -71,8 +65,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
71 65
             <if test="certId != null">#{certId},</if>
72 66
             <if test="reviewSeq != null">#{reviewSeq},</if>
73 67
             <if test="reviewTime != null">#{reviewTime},</if>
74
-            <if test="reviewResult != null and reviewResult != ''">#{reviewResult},</if>
75
-            <if test="reviewer != null and reviewer != ''">#{reviewer},</if>
76 68
             <if test="remark != null and remark != ''">#{remark},</if>
77 69
             <if test="createBy != null and createBy != ''">#{createBy},</if>
78 70
             sysdate(),
@@ -86,8 +78,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
86 78
             <if test="certId != null">cert_id = #{certId},</if>
87 79
             <if test="reviewSeq != null">review_seq = #{reviewSeq},</if>
88 80
             <if test="reviewTime != null">review_time = #{reviewTime},</if>
89
-            <if test="reviewResult != null and reviewResult != ''">review_result = #{reviewResult},</if>
90
-            <if test="reviewer != null and reviewer != ''">reviewer = #{reviewer},</if>
91 81
             <if test="remark != null and remark != ''">remark = #{remark},</if>
92 82
             <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
93 83
             update_time = sysdate()