11.23开发

This commit is contained in:
hejinbo
2023-11-23 17:35:59 +08:00
parent 9ee2e83c7a
commit 607da65dc4
13 changed files with 166 additions and 62 deletions
@@ -19,13 +19,16 @@
<result property="legalPerName" column="legal_per_name" />
<result property="legalPerPhone" column="legal_per_phone" />
<result property="identifyEmail" column="identify_email" />
<result property="deptId" column="dept_id" />
<result property="userId" column="user_id" />
</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,credit_code,legal_per_name,legal_per_phone,identify_email
oper_name,oper_phone,identify_type,credit_code,legal_per_name,legal_per_phone
,identify_email,dept_id ,user_id
FROM dept_identify
<where>
<if test="id != null">
@@ -67,6 +70,8 @@
<if test="legalPerName != null and legalPerName != ''">legal_per_name,</if>
<if test="legalPerPhone != null and legalPerPhone != ''">legal_per_phone,</if>
<if test="identifyEmail != null and identifyEmail != ''">identify_email,</if>
<if test="deptId != null ">dept_id,</if>
<if test="userId != null ">user_id,</if>
del_flag
)values(
<if test="identifyName != null and identifyName != ''">#{identifyName},</if>
@@ -82,6 +87,8 @@
<if test="legalPerName != null and legalPerName != '' ">#{legalPerName},</if>
<if test="legalPerPhone != null and legalPerPhone != '' ">#{legalPerPhone},</if>
<if test="identifyEmail != null and identifyEmail != '' ">#{identifyEmail},</if>
<if test="deptId != null ">#{deptId},</if>
<if test="userId != null ">#{userId},</if>
0
)
</insert>