Commit edab80fa authored by tianyiming's avatar tianyiming

feat: bug修改

parent 13cb0e4e
......@@ -112,7 +112,7 @@
AND cru.instance_id <![CDATA[<>]]> ''
</if>
<if test="type == 'enterprise'">
AND (cru.new_use_unit_credit_code = #{dto.newUseUnitCreditCode} or cru.transfer_to_user_ids LIKE concat ( '%', #{currentUserId}, '%' ))
AND (cru.new_use_unit_credit_code = #{companyCode} or cru.transfer_to_user_ids LIKE concat ( '%', #{currentUserId}, '%' ))
</if>
<if test="roleIds != null and type == 'supervision'">
<foreach collection='roleIds' item='role' open='and (' close=')' separator='or'>
......
......@@ -84,11 +84,11 @@
</foreach>
</if>
<if test="dto.type == 'supervision'">
and ( tjsc.receive_org_code = #{orgCode} or tjsc.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
and ( tjsc.receive_org_code = #{companyCode} or tjsc.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
AND tjsc.instance_id <![CDATA[<>]]> ''
</if>
<if test="dto.type == 'company' ">
and (tjsc.use_unit_code = #{orgCode} or tjsc.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
and (tjsc.use_unit_code = #{companyCode} or tjsc.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
</if>
<if test="orgCode != null and orgCode != ''">
AND tjsc.instance_id <![CDATA[<>]]> ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment