zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
commit | author | age
a18bfa 1 <?xml version="1.0" encoding="UTF-8" ?>
Z 2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <!-- Table:epc_cost_type_{rule} -->
4 <mapper namespace="com.changhong.epc.tenant.mapper.tenant.norm.TenantOrgMapper">
5
6     <delete id="deleteAll" >
7         delete from epc_tenant_org_{rule}
8     </delete>
9
10     <select id="selectOccCount"  resultType="java.lang.Integer">
11           select count(*) from epc_parent_budget_org_{rule}
12           WHERE
13           c_id = #{org.cId}
14           AND org_code = #{org.orgCode}
15           AND parent_org_code = #{org.parentOrgCode}
16           AND data_start = 0
17     </select>
18
19 </mapper>