<?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>
|