ludc
2023-05-09 1b8120cacac0037fcb1f8ae747c2f54eb735368b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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>
 
 
    <select id="selectById" resultType="java.lang.String">
        ${inSql}
    </select>
 
 
</mapper>