hejinbo 2 лет назад
Родитель
Сommit
940244f829

+ 3
- 0
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/DeptIdentify.java Просмотреть файл

47
     /** 机构类型(1 仲裁机构) */
47
     /** 机构类型(1 仲裁机构) */
48
     private Integer identifyType;
48
     private Integer identifyType;
49
 
49
 
50
+    /** 机构邮箱 */
51
+    private String identifyEmail;
52
+
50
 
53
 
51
     /** 删除标志(0代表存在 2代表删除) */
54
     /** 删除标志(0代表存在 2代表删除) */
52
     private Integer delFlag;
55
     private Integer delFlag;

+ 10
- 6
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/DeptIdentifyMapper.xml Просмотреть файл

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