fix(征求意见流程): 80050

This commit is contained in:
yjz
2024-01-16 16:37:25 +08:00
parent 3d51b70a8c
commit 5668555c19
@@ -49,6 +49,7 @@
<select id="getManyStandardSelectionBox"
resultType="com.jero.modules.laws.common.vo.ManyStandardSelectionBox">
select * from (
SELECT standard.id, standard.standard_number, standard.standard_name, standard.release_date, standard.standard_state, standard.source, standard.create_time
FROM
(SELECT id, standard_number, standard_name, release_date, standard_state, '1' AS source, create_time
@@ -73,8 +74,8 @@
<if test="vo.releaseSplitFlag != null and vo.releaseSplitFlag != ''">
AND standard.id IS NOT NULL
AND split.del_flag = 0
AND split.publish_before_id IS NOT NULL AND split.publish_before_id != ''
AND split.file_type IS NOT NULL AND split.file_type != ''
AND split.publish_before_id IS NULL
AND split.split_status = '2'
</if>
<if test="vo.source != null and vo.source != ''">
AND standard.source LIKE CONCAT('%', #{vo.source}, '%')
@@ -96,7 +97,11 @@
</foreach>
</if>
</where>
ORDER BY standard.create_time DESC
<if test="vo.releaseSplitFlag != null and vo.releaseSplitFlag != ''">
GROUP BY id
</if>
) t
ORDER BY create_time DESC
</select>
<select id="getSingleStandard" resultType="com.jero.modules.laws.common.vo.ManyStandardSelectionBox">
SELECT id, standard_number, standard_name, release_date, standard_state