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