Commit 2f0d62f1 authored by 韩桐桐's avatar 韩桐桐

fix(jg):暂存的数据监管不可见

parent 8bf01b23
......@@ -59,6 +59,7 @@
</if>
<if test="dto.type == 'supervision'">
AND ur.receive_company_code = #{companyCode}
AND ur.instance_id is not null
</if>
<if test="dto.type == 'company'">
and ur.use_unit_credit_code = #{dto.useUnitCreditCode}
......
......@@ -56,6 +56,7 @@
</if>
<if test="dto.dataType != null and dto.dataType == 'supervision' ">
and ur.receive_org_code = #{dto.receiveOrgCode}
AND ur.instance_id is not null
</if>
<if test="dto.dataType != null and dto.dataType == 'company' ">
and ur.use_unit_credit_code = #{dto.useUnitCreditCode}
......
......@@ -112,6 +112,7 @@
</if>
<if test="type == 'supervision'">
AND crt.receive_company_code = #{dto.unitCode}
AND crt.instance_id is not null
</if>
<if test="type == 'company'">
AND crt.use_unit_credit_code = #{dto.unitCode}
......
......@@ -64,6 +64,7 @@
<if test="type == 'supervision'">
AND (isn.notice_status in ('6612', '6613', '6614', '6616') )
AND isn.receive_org_code = #{orgCode}
AND isn.instance_id is not null
</if>
<if test="type == 'company'">
AND isn.install_unit_credit_code = #{orgCode}
......
......@@ -66,6 +66,7 @@
</if>
<if test="dto.type == 'supervision'">
and ( ur.receive_org_code = #{orgCode} or ur.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
AND ur.instance_id is not null
</if>
<if test="dto.type == 'company' ">
and (ur.use_unit_code = #{orgCode} or ur.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
......
......@@ -60,6 +60,7 @@
</if>
<if test="dto.dataType == 'supervision' ">
and ur.receive_company_code = #{dto.unitCode}
AND ur.instance_id is not null
</if>
<if test="dto.dataType == 'company' ">
and ur.use_unit_credit_code = #{dto.unitCode}
......
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