设计导航-产品设计条款查询修改

This commit is contained in:
梁琦涛
2024-02-05 15:40:49 +08:00
parent a026daa316
commit b5590fe6b3
@@ -124,16 +124,14 @@
and standard_number like concat(concat('%',#{standardNumber}),'%')
</if>
union all
select id,standard_number from laws_enterprise_standard where del_flag = 0 and standard_state = 6
select id,standard_number from laws_enterprise_standard where del_flag = 0 and standard_state = 8
<if test="standardNumber != null and standardNumber != ''">
and standard_number like concat(concat('%',#{standardNumber}),'%')
</if>
) law
left join sar_file_split_info s on s.standard_id = law.id and s.del_flag = 0
left join laws_document_split l on s.id = l.info_id and l.del_flag = 0
where
l.item_content is not null
and l.item_content != ''
where 1=1
<if test="queryLabels != null and queryLabels != ''">
and
<foreach collection="queryLabels.split(',')" item="item" separator="and" open="(" close=")">