xiaoyong931011
2022-08-10 6b00d9b41239593e6dc7150b976f329df9132cf5
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -342,4 +342,13 @@
            delivery_state = #{deliveryState}
        where id = #{orderId}
    </update>
    <select id="selectMemberOrderStatusCntByUniquecode" resultType="java.util.Map">
        select
            status,
            count(1) cnt
        from mall_order_info
        where del_flag = 2 and take_unique_code = #{uniqueCode}
        group by status
    </select>
</mapper>