forked from kidgrow-microservices-platform

zhaoxiaohao
2020-04-07 fe5f35c46d456941929f159269af4246db7e1afc
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/ProductOrderDetailMapper.xml
@@ -11,7 +11,7 @@
    <sql id="where">
        <where>
            <!--查询条件自行添加-->
            p.is_del=0
            is_del=0
            <if test="p.id != null and p.id !=''">
                and id = #{p.id}
            </if>
@@ -73,6 +73,7 @@
        from product_order_detail
        <include refid="where"/>
        order by id desc
        limit 1
    </select>
    <!--定义根据-ProductOrderDetail当作查询条件返回对象集合-->