机构、模板管理优化接口
This commit is contained in:
@@ -15,13 +15,16 @@
|
||||
<result property="operPhone" column="oper_phone" />
|
||||
<result property="identifyType" column="identify_type" />
|
||||
<result property="delFlag" column="del_flag" />
|
||||
<result property="creditCode" column="credit_code" />
|
||||
<result property="legalPerName" column="legal_per_name" />
|
||||
<result property="legalPerPhone" column="legal_per_phone" />
|
||||
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectDeptIdentify" parameterType="DeptIdentify" resultMap="DeptIdentifyResult">
|
||||
SELECT id, identify_name ,identify_status , identify_date,is_use,org_id,auth_flow_id,
|
||||
oper_name,oper_phone,identify_type
|
||||
oper_name,oper_phone,identify_type,credit_code,legal_per_name,legal_per_phone
|
||||
FROM dept_identify
|
||||
<where>
|
||||
<if test="id != null">
|
||||
@@ -59,6 +62,9 @@
|
||||
<if test="operPhone != null and operPhone != ''">oper_phone,</if>
|
||||
<if test="identifyType != null">identify_type,</if>
|
||||
<if test="authFlowId != null and authFlowId != ''">auth_flow_id,</if>
|
||||
<if test="creditCode != null and creditCode != ''">credit_code,</if>
|
||||
<if test="legalPerName != null and legalPerName != ''">legal_per_name,</if>
|
||||
<if test="legalPerPhone != null and legalPerPhone != ''">legal_per_phone,</if>
|
||||
del_flag
|
||||
)values(
|
||||
<if test="identifyName != null and identifyName != ''">#{identifyName},</if>
|
||||
@@ -70,6 +76,9 @@
|
||||
<if test="operPhone != null and operPhone != ''">#{operPhone},</if>
|
||||
<if test="identifyType != null ">#{identifyType},</if>
|
||||
<if test="authFlowId != null and authFlowId != '' ">#{authFlowId},</if>
|
||||
<if test="creditCode != null and creditCode != '' ">#{creditCode},</if>
|
||||
<if test="legalPerName != null and legalPerName != '' ">#{legalPerName},</if>
|
||||
<if test="legalPerPhone != null and legalPerPhone != '' ">#{legalPerPhone},</if>
|
||||
0
|
||||
)
|
||||
</insert>
|
||||
@@ -90,6 +99,9 @@
|
||||
<if test="delFlag != null ">del_flag = #{delFlag},</if>
|
||||
<if test="operName != null ">oper_name = #{operName},</if>
|
||||
<if test="operPhone != null ">oper_phone = #{operPhone},</if>
|
||||
<if test="creditCode != null ">credit_code = #{creditCode},</if>
|
||||
<if test="legalPerName != null ">legal_per_name = #{legalPerName},</if>
|
||||
<if test="legalPerPhone != null ">legal_per_phone = #{legalPerPhone},</if>
|
||||
<if test="authFlowId != null and authFlowId != '' ">auth_flow_id = #{authFlowId}</if>
|
||||
</set>
|
||||
<where>
|
||||
|
||||
Reference in New Issue
Block a user