hejinbo 2 anni fa
parent
commit
940244f829

+ 3
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/DeptIdentify.java Vedi File

@@ -47,6 +47,9 @@ public class DeptIdentify  extends BaseEntity {
47 47
     /** 机构类型(1 仲裁机构) */
48 48
     private Integer identifyType;
49 49
 
50
+    /** 机构邮箱 */
51
+    private String identifyEmail;
52
+
50 53
 
51 54
     /** 删除标志(0代表存在 2代表删除) */
52 55
     private Integer delFlag;

+ 10
- 6
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/DeptIdentifyMapper.xml Vedi File

@@ -18,13 +18,14 @@
18 18
         <result property="creditCode"     column="credit_code"     />
19 19
         <result property="legalPerName"     column="legal_per_name"     />
20 20
         <result property="legalPerPhone"     column="legal_per_phone"     />
21
+        <result property="identifyEmail"     column="identify_email"     />
21 22
 
22 23
     </resultMap>
23 24
 
24 25
 
25 26
     <select id="selectDeptIdentify" parameterType="DeptIdentify" resultMap="DeptIdentifyResult">
26 27
         SELECT  id, identify_name ,identify_status , identify_date,is_use,org_id,auth_flow_id,
27
-                oper_name,oper_phone,identify_type,credit_code,legal_per_name,legal_per_phone
28
+                oper_name,oper_phone,identify_type,credit_code,legal_per_name,legal_per_phone,identify_email
28 29
         FROM  dept_identify
29 30
         <where>
30 31
             <if test="id != null">
@@ -65,6 +66,7 @@
65 66
         <if test="creditCode != null and creditCode != ''">credit_code,</if>
66 67
         <if test="legalPerName != null and legalPerName != ''">legal_per_name,</if>
67 68
         <if test="legalPerPhone != null and legalPerPhone != ''">legal_per_phone,</if>
69
+        <if test="identifyEmail != null and identifyEmail != ''">identify_email,</if>
68 70
         del_flag
69 71
         )values(
70 72
         <if test="identifyName != null and identifyName != ''">#{identifyName},</if>
@@ -79,6 +81,7 @@
79 81
         <if test="creditCode != null and creditCode != '' ">#{creditCode},</if>
80 82
         <if test="legalPerName != null and legalPerName != '' ">#{legalPerName},</if>
81 83
         <if test="legalPerPhone != null and legalPerPhone != '' ">#{legalPerPhone},</if>
84
+        <if test="identifyEmail != null and identifyEmail != '' ">#{identifyEmail},</if>
82 85
         0
83 86
         )
84 87
     </insert>
@@ -97,11 +100,12 @@
97 100
             <if test="identifyStatus != null ">identify_status = #{identifyStatus},</if>
98 101
             <if test="orgId != null  and orgId != ''">org_id = #{orgId},</if>
99 102
             <if test="delFlag != null ">del_flag = #{delFlag},</if>
100
-            <if test="operName != null ">oper_name = #{operName},</if>
101
-            <if test="operPhone != null ">oper_phone = #{operPhone},</if>
102
-            <if test="creditCode != null ">credit_code = #{creditCode},</if>
103
-            <if test="legalPerName != null ">legal_per_name = #{legalPerName},</if>
104
-            <if test="legalPerPhone != null ">legal_per_phone = #{legalPerPhone},</if>
103
+            <if test="operName != null  and operName != ''">oper_name = #{operName},</if>
104
+            <if test="operPhone != null and operPhone != ''">oper_phone = #{operPhone},</if>
105
+            <if test="creditCode != null and creditCode != ''">credit_code = #{creditCode},</if>
106
+            <if test="legalPerName != null and legalPerName != ''">legal_per_name = #{legalPerName},</if>
107
+            <if test="legalPerPhone != null and legalPerPhone != ''">legal_per_phone = #{legalPerPhone},</if>
108
+            <if test="identifyEmail != null and identifyEmail != ''">identify_email = #{identifyEmail},</if>
105 109
             <if test="authFlowId != null  and authFlowId != '' ">auth_flow_id = #{authFlowId}</if>
106 110
         </set>
107 111
         <where>