xiaoyong931011
2023-08-17 e203174b7798c223e2a568ff9493b492cdc4b413
src/main/resources/mapper/dapp/DappMemberDao.xml
@@ -389,4 +389,13 @@
    <delete  id="deleteByOrderId">
        delete from mall_order_item where order_id = #{orderId}
    </delete>
    <select id="selectAddressOneByMemberId" resultType="cc.mrbird.febs.dapp.entity.MallAddressInfo">
        select a.*
        from mall_address_info a
        where a.member_id = #{memberId}
          and a.is_default = 1
        order by a.is_your asc
        limit 1
    </select>
</mapper>