fix(自定义对比): 标准列表查询问题修复
This commit is contained in:
+3
-3
@@ -43,15 +43,15 @@
|
|||||||
|
|
||||||
<sql id="queryStandard">
|
<sql id="queryStandard">
|
||||||
select standard.*
|
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
|
from laws_domestic_standard
|
||||||
where del_flag = 0
|
where del_flag = 0
|
||||||
union all
|
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
|
from laws_overseas_standard
|
||||||
where del_flag = 0
|
where del_flag = 0
|
||||||
union all
|
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
|
from laws_enterprise_standard
|
||||||
where del_flag = 0) standard
|
where del_flag = 0) standard
|
||||||
${ew.customSqlSegment}
|
${ew.customSqlSegment}
|
||||||
|
|||||||
Reference in New Issue
Block a user