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/ClothesTypeLocationMapper.xml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/modules/ClothesTypeLocationMapper.xml b/src/main/resources/mapper/modules/ClothesTypeLocationMapper.xml index 4316b5e..571cc3d 100644 --- a/src/main/resources/mapper/modules/ClothesTypeLocationMapper.xml +++ b/src/main/resources/mapper/modules/ClothesTypeLocationMapper.xml @@ -9,7 +9,11 @@ b.name as name, b.image as image, b.content as content, - b.price as price + b.price as price, + b.box_width as boxWidth, + b.box_height as boxHeight, + b.left_percent as leftPercent, + b.top_percent as topPercent from clothes_type_location a left join clothes_location b on a.location_id = b.id <where> -- Gitblit v1.9.1