ludc
2023-04-12 d7a83f1396425c4e47da9b95f287b26cd5bb3344
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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.vci.ubcs.code.mapper.CommonsMapper">
 
 
    <select id="selectByCount" resultType="java.util.Map">
        select COUNT(w.OID) count
        from ${tableName} w
                 join PL_CODE_ALLCODE c on w.OID = c.CREATECODEOID
        where c.CREATECODEBTM = #{btm}
          and c.CODERULEOID = #{oid}
          and w.LASTR = '1'
          and w.LASTV = '1'
    </select>
 
 
</mapper>