From 49306af1995aec6264410e624bb91db6876f666a Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Thu, 25 Sep 2025 10:34:47 +0800
Subject: [PATCH] fix(mall):修复小程序登录时公司ID查询错误 - 将查询条件从 apiXcxLoginDto.getCode() 更正为 apiXcxLoginDto.getCompanyId() - 确保公司信息查询使用正确的参数 - 修复因参数错误导致的公司信息无法正确获取的问题

---
 src/main/resources/mapper/modules/ClothesOrderMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/ClothesOrderMapper.xml b/src/main/resources/mapper/modules/ClothesOrderMapper.xml
index b16c659..40b1e40 100644
--- a/src/main/resources/mapper/modules/ClothesOrderMapper.xml
+++ b/src/main/resources/mapper/modules/ClothesOrderMapper.xml
@@ -10,9 +10,12 @@
             a.status as status,
             b.name as typeName,
             b.image as typeImage,
+            c.express_no as expressNo,
+            c.express_com as expressCom,
             a.goods_cnt as goodsCnt
         from clothes_order a
         left join clothes_type b on a.type_id = b.id
+        left join mall_express_info c on a.id=c.order_id
         <where>
             and a.member_id = #{record.memberId}
             <if test="record != null">

--
Gitblit v1.9.1