Commit d16c2bf8 authored by lisong's avatar lisong

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

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