xiaoyong931011
2023-02-20 a2a4dd75b0c0e51b325c4fbe89da80dfa4a5d24f
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -231,7 +231,7 @@
    </select>
    <select id="selectOrderInfoUpTime" resultType="cc.mrbird.febs.mall.entity.MallOrderInfo">
        select * from mall_order_info where status=#{status} and now() > date_add(order_time,interval 15 minute)
        select * from mall_order_info where status=#{status} and now() > date_add(order_time,interval 1440 minute)
    </select>
    <select id="selectCntDirectOrTeam" resultType="java.lang.Integer">
@@ -419,7 +419,7 @@
        b.amount
        from mall_order_info a
        inner join mall_order_item b on a.id=b.order_id
        where a.del_flag=2 and  a.id = #{orderId} and a.take_unique_code = #{takeUniqueCode}
        where a.del_flag=2 and  a.id = #{orderId}
        order by a.created_time desc
    </select>