Commit d16c2bf8 authored by lisong's avatar lisong

使用登记、单位变更、维保备案列表修改

parent 120680ad
...@@ -58,7 +58,8 @@ ...@@ -58,7 +58,8 @@
instance_status like concat('%',#{role},'%') instance_status like concat('%',#{role},'%')
</foreach> </foreach>
</if> </if>
and (1=1 or isn.transfer_to_user_ids like concat('%',#{currentUserId},'%')) -- and (1=1 or isn.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
OR (isn.transfer_to_user_ids LIKE concat ( '%', #{currentUserId}, '%' ) )
</where> </where>
ORDER BY ORDER BY
isn.create_date DESC, isn.apply_no DESC isn.create_date DESC, isn.apply_no DESC
......
...@@ -175,8 +175,8 @@ ...@@ -175,8 +175,8 @@
and receive_org_code = #{contractDto.receiveOrgCodeFilter} and receive_org_code = #{contractDto.receiveOrgCodeFilter}
</if> </if>
-- 转办隔离逻辑 -- 转办隔离逻辑
and (1=1 or transfer_to_user_ids like concat('%',#{currentUserId},'%')) -- and (1=1 or transfer_to_user_ids like concat('%',#{currentUserId},'%'))
OR (transfer_to_user_ids LIKE concat ( '%', #{currentUserId}, '%' ))
-- 数据过滤结束 ---------------------------------------------------- -- 数据过滤结束 ----------------------------------------------------
</where> </where>
order by apply_no desc order by apply_no desc
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
LEFT JOIN idx_biz_jg_other_info other on re.equ_id = other.RECORD LEFT JOIN idx_biz_jg_other_info other on re.equ_id = other.RECORD
<where> <where>
and ur.is_delete = 0 and (1=1 or ur.transfer_to_user_ids like concat('%',#{dto.currentUserId},'%')) -- and ur.is_delete = 0 and (1=1 or ur.transfer_to_user_ids like concat('%',#{dto.currentUserId},'%'))
<if test="dto.equCategory != null and dto.equCategory != ''"> <if test="dto.equCategory != null and dto.equCategory != ''">
and jri.EQU_CATEGORY = #{dto.equCategory} and jri.EQU_CATEGORY = #{dto.equCategory}
</if> </if>
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
<if test="dto.dataType == 'company' "> <if test="dto.dataType == 'company' ">
and ur.use_unit_credit_code = #{dto.unitCode} and ur.use_unit_credit_code = #{dto.unitCode}
</if> </if>
OR (ur.transfer_to_user_ids LIKE concat ( '%', #{dto.currentUserId}, '%' ) AND ur.is_delete = 0 )
</where> </where>
order by ur.rec_date desc order by ur.rec_date desc
</select> </select>
......
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