src/main/resources/mapper/KeywordParamMapper.xml
@@ -4,7 +4,7 @@ <!-- 根据关键字ID获取参数最大排序号 --> <select id="selectMaxSortNum" parameterType="Long" resultType="int"> select ifnull(max(sort_num), 0) sortNum select NVL(max(sort_num), 0) sortNum FROM sys_keyword_param where keyword_id = #{keywordId} </select>