|
|
@@ -15,13 +15,16 @@
|
|
15
|
15
|
<result property="operPhone" column="oper_phone" />
|
|
16
|
16
|
<result property="identifyType" column="identify_type" />
|
|
17
|
17
|
<result property="delFlag" column="del_flag" />
|
|
|
18
|
+ <result property="creditCode" column="credit_code" />
|
|
|
19
|
+ <result property="legalPerName" column="legal_per_name" />
|
|
|
20
|
+ <result property="legalPerPhone" column="legal_per_phone" />
|
|
18
|
21
|
|
|
19
|
22
|
</resultMap>
|
|
20
|
23
|
|
|
21
|
24
|
|
|
22
|
25
|
<select id="selectDeptIdentify" parameterType="DeptIdentify" resultMap="DeptIdentifyResult">
|
|
23
|
26
|
SELECT id, identify_name ,identify_status , identify_date,is_use,org_id,auth_flow_id,
|
|
24
|
|
- oper_name,oper_phone,identify_type
|
|
|
27
|
+ oper_name,oper_phone,identify_type,credit_code,legal_per_name,legal_per_phone
|
|
25
|
28
|
FROM dept_identify
|
|
26
|
29
|
<where>
|
|
27
|
30
|
<if test="id != null">
|
|
|
@@ -59,6 +62,9 @@
|
|
59
|
62
|
<if test="operPhone != null and operPhone != ''">oper_phone,</if>
|
|
60
|
63
|
<if test="identifyType != null">identify_type,</if>
|
|
61
|
64
|
<if test="authFlowId != null and authFlowId != ''">auth_flow_id,</if>
|
|
|
65
|
+ <if test="creditCode != null and creditCode != ''">credit_code,</if>
|
|
|
66
|
+ <if test="legalPerName != null and legalPerName != ''">legal_per_name,</if>
|
|
|
67
|
+ <if test="legalPerPhone != null and legalPerPhone != ''">legal_per_phone,</if>
|
|
62
|
68
|
del_flag
|
|
63
|
69
|
)values(
|
|
64
|
70
|
<if test="identifyName != null and identifyName != ''">#{identifyName},</if>
|
|
|
@@ -70,6 +76,9 @@
|
|
70
|
76
|
<if test="operPhone != null and operPhone != ''">#{operPhone},</if>
|
|
71
|
77
|
<if test="identifyType != null ">#{identifyType},</if>
|
|
72
|
78
|
<if test="authFlowId != null and authFlowId != '' ">#{authFlowId},</if>
|
|
|
79
|
+ <if test="creditCode != null and creditCode != '' ">#{creditCode},</if>
|
|
|
80
|
+ <if test="legalPerName != null and legalPerName != '' ">#{legalPerName},</if>
|
|
|
81
|
+ <if test="legalPerPhone != null and legalPerPhone != '' ">#{legalPerPhone},</if>
|
|
73
|
82
|
0
|
|
74
|
83
|
)
|
|
75
|
84
|
</insert>
|
|
|
@@ -90,6 +99,9 @@
|
|
90
|
99
|
<if test="delFlag != null ">del_flag = #{delFlag},</if>
|
|
91
|
100
|
<if test="operName != null ">oper_name = #{operName},</if>
|
|
92
|
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>
|
|
93
|
105
|
<if test="authFlowId != null and authFlowId != '' ">auth_flow_id = #{authFlowId}</if>
|
|
94
|
106
|
</set>
|
|
95
|
107
|
<where>
|