forked from kidgrow-microservices-platform

er
2020-04-02 d8de5f3b6433c5a00b54b5b88db7c67aa8058ea5
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/ProductOrderDetailMapper.xml
@@ -1,7 +1,7 @@
<?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.usercenter.mapper.ProductOrderDetailMapper">
<mapper namespace="com.kidgrow.oprationcenter.mapper.ProductOrderDetailMapper">
    <!--定义查询列-->
    <sql id="Column_List">
      *
@@ -67,7 +67,7 @@
    </sql>
    <!--定义根据-ProductOrderDetail当作查询条件返回对象-->
    <select id="findByObject"  resultType="com.kidgrow.usercenter.model.ProductOrderDetail">
    <select id="findByObject"  resultType="com.kidgrow.oprationcenter.model.ProductOrderDetail">
        select <include refid="Column_List"/>
        from product_order_detail
        <include refid="where"/>
@@ -75,7 +75,7 @@
    </select>
    <!--定义根据-ProductOrderDetail当作查询条件返回对象集合-->
    <select id="findList" resultType="com.kidgrow.usercenter.model.ProductOrderDetail">
    <select id="findList" resultType="com.kidgrow.oprationcenter.model.ProductOrderDetail">
        select <include refid="Column_List"/>
        from product_order_detail
        order by id desc