修复了定时更新文本状态,由于海外标准的格式与不与国内相同,添加了新的标准号查询方法
This commit is contained in:
+28
@@ -1719,4 +1719,32 @@
|
||||
) tmp_tb limit ${pager.startIndex-1},${pageSize}) a
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectIdFormDTBZH" resultType="java.lang.String">
|
||||
SELECT ID FROM sar_standards_info as sarInfo
|
||||
WHERE
|
||||
(
|
||||
REPLACE (
|
||||
concat(
|
||||
sarInfo.STAND_SORT,
|
||||
' ',
|
||||
sarInfo.STAND_NUMBER,
|
||||
'-',
|
||||
sarInfo.STAND_YEAR
|
||||
),
|
||||
' ',
|
||||
''
|
||||
) = REPLACE ( #{DTBZHCode},' ', '')
|
||||
|
||||
AND sarInfo.STAND_YEAR != ''
|
||||
)
|
||||
OR (
|
||||
REPLACE (
|
||||
concat(sarInfo.STAND_SORT,sarInfo.STAND_NUMBER),
|
||||
' ',
|
||||
''
|
||||
) = REPLACE ( #{DTBZHCode},' ', '')
|
||||
)
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user