11.23开发
This commit is contained in:
@@ -281,5 +281,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{userId}
|
||||
</foreach>
|
||||
</delete>
|
||||
<select id="selectRoleUserByDeptId" parameterType="long" resultMap="SysUserResult">
|
||||
SELECT u.* FROM sys_user u
|
||||
INNER JOIN sys_user_role ur ON u.user_id = ur.user_id
|
||||
INNER JOIN sys_dept d ON u.dept_id = d.dept_id
|
||||
WHERE upr.role_id = #{roleId} AND d.dept_id = #{deptId};
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -1453,7 +1453,10 @@
|
||||
where id = #{id}
|
||||
</update>
|
||||
<update id="updatePayType">
|
||||
update case_application set pay_type=#{payType} where id = #{caseId}
|
||||
update case_application set pay_type=#{payDTO.payType} where id in
|
||||
<foreach item="caseId" collection="caseIds" open="(" separator="," close=")">
|
||||
#{caseId}
|
||||
</foreach>
|
||||
</update>
|
||||
<update id="updateCaseLockStatus">
|
||||
update case_application set lock_status=#{lockStatus} where id = #{id}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user