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_app_stander_def_{rule} -->
4 <mapper namespace="com.changhong.epc.parsing.mapper.tenant.RuleCheckMsgMapper">
5
6     <resultMap id="billInfoMapperResultMap" type="com.changhong.epc.bean.tenant.bill.RuleCheckMsg">
7         <result property="orderCode" column="order_code"/>
8         <result property="msg" column="msg"/>
9         <result property="dataStart" column="data_start"/>
10     </resultMap>
11     
12    <!-- <select id="selectUntreatedRuleCheckMsg" resultType="com.changhong.epc.bean.tenant.bill.RuleCheckMsg"> -->
13    <select id="selectUntreatedRuleCheckMsg" resultMap="billInfoMapperResultMap">
14            SELECT 
15             `id` ,
16              `order_code`,
17              `msg`,
18              `data_start`,
19              `ins_t`,
20              `ins_p`,
21              `upd_t`,
22              `upd_p`
23         FROM 
24             epc_bill_check_msg_{rule}
25         WHERE 
26             `data_start` = 0
27    </select>
28 </mapper>