|
|
@@ -13,6 +13,7 @@
|
|
13
|
13
|
<result property="identifyName" column="identify_name" />
|
|
14
|
14
|
<result property="operName" column="oper_name" />
|
|
15
|
15
|
<result property="operPhone" column="oper_phone" />
|
|
|
16
|
+ <result property="identifyType" column="identify_type" />
|
|
16
|
17
|
|
|
17
|
18
|
</resultMap>
|
|
18
|
19
|
|
|
|
@@ -47,21 +48,25 @@
|
|
47
|
48
|
|
|
48
|
49
|
<insert id="insertDeptIdentify" parameterType="DeptIdentify" useGeneratedKeys="true" keyProperty="id">
|
|
49
|
50
|
insert into dept_identify(
|
|
50
|
|
- <if test="deptId != null">dept_id,</if>
|
|
51
|
|
- <if test="userId != null">user_id,</if>
|
|
|
51
|
+ <if test="identifyName != null and identifyName != ''">identify_name,</if>
|
|
52
|
52
|
<if test="identifyStatus != null">identify_status,</if>
|
|
53
|
53
|
<if test="identifyDate != null">identify_date,</if>
|
|
54
|
54
|
<if test="isUse != null">is_use,</if>
|
|
55
|
55
|
<if test="orgId != null and orgId != ''">org_id,</if>
|
|
56
|
|
- <if test="authFlowId != null and authFlowId != ''">auth_flow_id</if>
|
|
|
56
|
+ <if test="operName != null and operName != ''">oper_name,</if>
|
|
|
57
|
+ <if test="operPhone != null and operPhone != ''">oper_phone,</if>
|
|
|
58
|
+ <if test="authFlowId != null and authFlowId != ''">auth_flow_id,</if>
|
|
|
59
|
+ <if test="identifyType != null">identify_type</if>
|
|
57
|
60
|
)values(
|
|
58
|
|
- <if test="deptId != null">#{deptId},</if>
|
|
59
|
|
- <if test="userId != null">#{userId},</if>
|
|
|
61
|
+ <if test="identifyName != null and identifyName != ''">#{identifyName},</if>
|
|
60
|
62
|
<if test="identifyStatus != null">#{identifyStatus},</if>
|
|
61
|
63
|
<if test="identifyDate != null">#{identifyDate},</if>
|
|
62
|
64
|
<if test="isUse != null">#{isUse},</if>
|
|
63
|
65
|
<if test="orgId != null and orgId != ''">#{orgId},</if>
|
|
64
|
|
- <if test="authFlowId != null and authFlowId != '' ">#{authFlowId}</if>
|
|
|
66
|
+ <if test="operName != null and operName != ''">#{operName},</if>
|
|
|
67
|
+ <if test="operPhone != null and operPhone != ''">#{operPhone},</if>
|
|
|
68
|
+ <if test="authFlowId != null and authFlowId != '' ">#{authFlowId},</if>
|
|
|
69
|
+ <if test="identifyType != null ">#{identifyType}</if>
|
|
65
|
70
|
)
|
|
66
|
71
|
</insert>
|
|
67
|
72
|
|