Update:标准解读流程检索

This commit is contained in:
zzy
2021-07-30 16:45:23 +08:00
parent 3c68a2a668
commit faef2cdf59
3 changed files with 26 additions and 0 deletions
@@ -238,6 +238,7 @@
select * from
(select tmp_tb.* from
(SELECT
SAR_STANDARDS_INFO.STAND_TYPE AS standType,
SAR_FILE_SPLIT_INFO.*,
if(
SAR_STANDARDS_INFO.STAND_YEAR='',
@@ -266,6 +267,9 @@
<if test="sarType != null and sarType != ''">
and SAR_TYPE = #{sarType}
</if>
<if test="standType != null and standType != ''">
and SAR_STANDARDS_INFO.STAND_TYPE = #{standType}
</if>
<if test="id != null and id != ''">
and SAR_FILE_SPLIT_INFO.id = #{id}
</if>