fix(自定义对比): 标准列表查询问题修复

This commit is contained in:
yjz
2023-10-27 16:29:12 +08:00
parent 1a816197f1
commit 2b41e9987e
@@ -43,15 +43,15 @@
<sql id="queryStandard">
select standard.*
from (select id, standard_number, standard_name, standard_state, '' country_or_region, release_date, 1 standard_type
from (select id, standard_number, standard_name, standard_state, '' country_or_region, release_date, 1 standard_type, create_time
from laws_domestic_standard
where del_flag = 0
union all
select id, standard_number, standard_name, standard_state, country_or_region, release_date, 2 standard_type
select id, standard_number, standard_name, standard_state, country_or_region, release_date, 2 standard_type, create_time
from laws_overseas_standard
where del_flag = 0
union all
select id, standard_number, standard_name, standard_state, '' country_or_region, release_date, 3 standard_type
select id, standard_number, standard_name, standard_state, '' country_or_region, release_date, 3 standard_type, create_time
from laws_enterprise_standard
where del_flag = 0) standard
${ew.customSqlSegment}