xiaoyong931011
2022-09-01 854e2bd522c16327a1be43a4e09e0ff8c795b865
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -134,6 +134,9 @@
        <result column="address_pic" property="addressPic" />
        <result column="address_area" property="addressArea" />
        <result column="province" property="province" />
        <result column="longitude" property="leaderLongitude" />
        <result column="latitude" property="leaderLatitude" />
        <result column="province" property="province" />
        <result column="city" property="city" />
        <result column="township" property="township" />
        <result column="detail_address" property="detailAddress" />
@@ -215,6 +218,7 @@
            b.style_name,
            b.sku_name,
            b.sku_image,
            b.state,
            b.cnt,
            b.price,
            b.amount,
@@ -226,6 +230,8 @@
            c.province,
            c.city,
            c.township,
            c.longitude leaderLongitude,
            c.latitude leaderLatitude,
            c.detail_address
        from mall_order_info a
             inner join mall_order_item b on a.id=b.order_id
@@ -357,4 +363,9 @@
        where del_flag = 2 and take_unique_code = #{uniqueCode}
        group by status
    </select>
    <select id="selectOrderByStatusAndPayTime" resultType="cc.mrbird.febs.mall.entity.MallOrderInfo">
        select * from mall_order_info where status=#{status}
         and date_format(pay_time, '%Y-%m-%d') = date_format(#{paytime}, '%Y-%m-%d')
    </select>
</mapper>