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

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}),'%') and standard_number like concat(concat('%',#{standardNumber}),'%')
</if> </if>
union all 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 != ''"> <if test="standardNumber != null and standardNumber != ''">
and standard_number like concat(concat('%',#{standardNumber}),'%') and standard_number like concat(concat('%',#{standardNumber}),'%')
</if> </if>
) law ) law
left join sar_file_split_info s on s.standard_id = law.id and s.del_flag = 0 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 left join laws_document_split l on s.id = l.info_id and l.del_flag = 0
where where 1=1
l.item_content is not null
and l.item_content != ''
<if test="queryLabels != null and queryLabels != ''"> <if test="queryLabels != null and queryLabels != ''">
and and
<foreach collection="queryLabels.split(',')" item="item" separator="and" open="(" close=")"> <foreach collection="queryLabels.split(',')" item="item" separator="and" open="(" close=")">