多单位版国产化地质资料管理系统
zs
2025-12-18 4f0d9bde31a80f6279e26466250da7716eec627f
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruili.wcp.dao.config.CodingSnMapper">
    <!-- 根据codingId获取最大流水码-->
    <select id="selectMaxSn" parameterType="Long" resultType="Integer">
        select max(current_sn)
        FROM cnf_coding_sn
        WHERE coding_id = #{codingId}
    </select>
</mapper>