From 4547ba9d9932c7ab7c409f211499b3cfba3eef73 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Thu, 21 Aug 2025 13:54:08 +0800 Subject: [PATCH] refactor(ai): 更新 AiMemberAnswerServiceImpl 中的分数计算逻辑- 将变量 divide 重命名为 percentage,以更准确地反映其含义 - 此修改提高了代码的可读性和维护性,确保分数计算的准确性 --- 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