forked from kidgrow-microservices-platform

dougang
2020-12-23 4c25b1614b5a7e2c0d35b997c67f6622a8ba81b1
1
2
3
4
5
6
7
8
9
10
11
12
13
<?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.kidgrow.order.mapper.OrderInfoDetailMapper">
    <!--定义根据-OrderDetail当作查询条件返回对象集合-->
    <select id="findList"  resultType="com.kidgrow.order.entity.OrderInfoDetail">
        select t.* from order_detail${tableTag} t,order_info${tableTag} s where t.order_id=s.order_id
    </select>
 
    <select id="findListAll" resultType="com.kidgrow.order.entity.OrderInfoDetail">
        select t.* from order_detail t,order_info s where t.order_id=s.order_id
    </select>
</mapper>