多单位版国产化地质资料管理系统
zs
2026-02-04 fe02f176b512a9d6a4e12437d929e04e99bb7567
src/main/resources/mapper/ReportMapper.xml
@@ -4,7 +4,7 @@
    <!-- 获取最大排序号 -->
    <select id="selectMaxSortNum" parameterType="Long" resultType="int">
        select ifnull(max(sort_num), 0) sortNum
        select NVL(max(sort_num), 0) sortNum
        FROM cnf_report
        where module_id = #{moduleId}
    </select>