<?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>
|