修复了定时更新文本状态,由于海外标准的格式与不与国内相同,添加了新的标准号查询方法

This commit is contained in:
zhaokaiyao@91isoft.com
2022-01-15 17:02:26 +08:00
parent 421df00d9b
commit 84a246ea06
3 changed files with 53 additions and 19 deletions
@@ -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>