bug: 体系搜索国内标准实施日期处理
This commit is contained in:
@@ -186,7 +186,10 @@
|
||||
WHEN gb.ISSUE_TIME = '' THEN NULL
|
||||
ELSE gb.ISSUE_TIME
|
||||
END AS releaseDate,
|
||||
gb.PUT_TIME AS implementDate,
|
||||
CASE
|
||||
WHEN gba.SSRQ = '' THEN NULL
|
||||
ELSE gba.SSRQ
|
||||
END AS implementDate,
|
||||
gb.REPLACE_STAND_NUM AS replaceStandardNo,
|
||||
gba.QCDW AS dept,
|
||||
gba.WSSMR AS draftUserName,
|
||||
@@ -231,11 +234,11 @@
|
||||
AND gb.ISSUE_TIME <= CONCAT(#{param.endReleaseDateString}, ' 23:59:59')
|
||||
</if>
|
||||
<!-- 实施日期 -->
|
||||
<if test="param.startImplementDate != null">
|
||||
AND gb.PUT_TIME >= #{param.startImplementDate}
|
||||
<if test="param.startImplementDateString != null and param.startImplementDateString != ''">
|
||||
AND gba.SSRQ >= #{param.startImplementDateString}
|
||||
</if>
|
||||
<if test="param.endImplementDate != null">
|
||||
AND gb.PUT_TIME <= CONCAT(#{param.endImplementDate}, ' 23:59:59')
|
||||
<if test="param.endImplementDateString != null and param.endImplementDateString != '' ">
|
||||
AND gba.SSRQ <= CONCAT(#{param.endImplementDateString}, ' 23:59:59')
|
||||
</if>
|
||||
<!--代替标准-->
|
||||
<if test="param.replaceStandardNo != null and param.replaceStandardNo != ''">
|
||||
|
||||
Reference in New Issue
Block a user