多单位版国产化地质资料管理系统
zhai
2025-12-13 fc0cc9fff4b4cbdc7cbb52b4a96c947530fcbba0
src/main/resources/mapper/KeywordParamMapper.xml
@@ -3,8 +3,8 @@
<mapper namespace="com.ruili.wcp.dao.management.KeywordParamMapper">
    <!-- 根据关键字ID获取参数最大排序号 -->
    <select id="selectMaxSortNum" parameterType="Long" resultType="int">
        select ifnull(max(sort_num), 0) sortNum
    <select id="selectMaxSortNum" parameterType="Long" resultType="int" >
        select NVL(max(sort_num), 0) sortNum
        FROM sys_keyword_param
        where keyword_id = #{keywordId}
    </select>