11.9开发
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
<result property="phonenumber" column="phonenumber" />
|
||||
<result property="deptName" column="dept_name" />
|
||||
<result property="sealName" column="seal_name" />
|
||||
<result property="orgId" column="org_id" />
|
||||
<result property="authFlowId" column="auth_flow_id" />
|
||||
<result property="sealId" column="seal_id" />
|
||||
|
||||
</resultMap>
|
||||
|
||||
@@ -28,7 +31,7 @@
|
||||
</select>
|
||||
|
||||
<select id="selectDeptIdentifyBydeptid" parameterType="DeptIdentify" resultMap="DeptIdentifyResult">
|
||||
SELECT d.id ,d.dept_id ,d.user_id
|
||||
SELECT d.id ,d.dept_id ,d.user_id ,d.org_id ,d.auth_flow_id
|
||||
from dept_identify d
|
||||
<where>
|
||||
<if test="deptId != null">
|
||||
@@ -53,8 +56,8 @@
|
||||
</insert>
|
||||
|
||||
<select id="selectDeptIdentifylist" parameterType="DeptIdentify" resultMap="DeptIdentifyResult">
|
||||
SELECT d.id ,d.dept_id ,d.user_id, d.identify_status ,d.identify_date ,d.is_use , d.seal_name, sd.dept_name ,
|
||||
u.nick_name ,u.phonenumber
|
||||
SELECT d.id ,d.dept_id ,d.user_id, d.identify_status ,d.identify_date ,d.is_use , d.seal_name,
|
||||
d.org_id , d.seal_id ,sd.dept_name , u.nick_name ,u.phonenumber
|
||||
from dept_identify d left join sys_dept sd on d.dept_id = sd.dept_id
|
||||
left join sys_user u on u.user_id = d.user_id
|
||||
<where>
|
||||
@@ -90,6 +93,7 @@
|
||||
<if test="isUse != null">is_use = #{isUse},</if>
|
||||
<if test="identifyStatus != null ">identify_status = #{identifyStatus},</if>
|
||||
<if test="sealName != null and sealName != ''">seal_name = #{sealName},</if>
|
||||
<if test="sealId != null and sealId != ''">seal_id = #{sealId},</if>
|
||||
</set>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
Reference in New Issue
Block a user