feat: 右侧标准选择弹窗返回企标相关字段
This commit is contained in:
+4
-3
@@ -56,19 +56,20 @@
|
|||||||
select * from (
|
select * from (
|
||||||
SELECT standard.id, standard.standard_number, standard.standard_name, standard.implementation_date,
|
SELECT standard.id, standard.standard_number, standard.standard_name, standard.implementation_date,
|
||||||
standard.standard_state, standard.source, standard.create_time,
|
standard.standard_state, standard.source, standard.create_time,
|
||||||
standard.new_product_impl_date, standard.new_auth_impl_date, standard.create_by, standard.responsible_user
|
standard.new_product_impl_date, standard.new_auth_impl_date, standard.create_by, standard.responsible_user,
|
||||||
|
standard.release_date
|
||||||
<if test="vo.releaseSplitFlag != null and vo.releaseSplitFlag != ''">
|
<if test="vo.releaseSplitFlag != null and vo.releaseSplitFlag != ''">
|
||||||
, split.id AS split_info_id
|
, split.id AS split_info_id
|
||||||
</if>
|
</if>
|
||||||
FROM
|
FROM
|
||||||
(SELECT id, standard_number, standard_name, implementation_date, standard_state, '1' AS source, create_time,
|
(SELECT id, standard_number, standard_name, implementation_date, null as release_date, standard_state, '1' AS source, create_time,
|
||||||
new_product_impl_date, new_auth_impl_date, create_by, responsible_user
|
new_product_impl_date, new_auth_impl_date, create_by, responsible_user
|
||||||
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, release_date, standard_state as es_standard_state, '3' AS source, create_time,
|
SELECT id, standard_number, standard_name, null as implementation_date, release_date, standard_state as es_standard_state, '3' AS source, create_time,
|
||||||
null as new_product_impl_date, null as new_auth_impl_date, create_by, null as responsible_user
|
null as new_product_impl_date, null as new_auth_impl_date, create_by, null as responsible_user
|
||||||
FROM laws_enterprise_standard
|
FROM laws_enterprise_standard
|
||||||
WHERE del_flag = 0) standard
|
WHERE del_flag = 0) standard
|
||||||
|
|||||||
Reference in New Issue
Block a user