<?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="cc.mrbird.febs.mall.mapper.MallCarriageRuleMapper"> 
 | 
  
 | 
<!--    <select id="selectByMemberIdAndState" resultType="cc.mrbird.febs.mall.entity.MallAgentRecord">--> 
 | 
<!--        select a.* from mall_agent_record a--> 
 | 
<!--        where a.member_id = #{memberId}--> 
 | 
<!--            and a.state = #{state}--> 
 | 
<!--        limit 1--> 
 | 
<!--    </select>--> 
 | 
  
 | 
    <select id="selectMallCarriageRuleListInPage" resultType="cc.mrbird.febs.mall.entity.MallCarriageRule"> 
 | 
        SELECT 
 | 
            a.* 
 | 
        FROM mall_carriage_rule a 
 | 
        GROUP BY a.id order by a.CREATED_TIME desc 
 | 
    </select> 
 | 
  
 | 
</mapper> 
 |