From 2cab7be62a04f9cc7af2c2540eebf3d548c81519 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 23 Sep 2025 15:00:49 +0800
Subject: [PATCH] feat(ai): 新增根据类型和公司ID查询工作流功能- 在AiCompanyService接口中添加getWorkflowByTypeAndCompanyId方法 - 实现类AiCompanyServiceImpl中增加对应查询逻辑 - 在AiServiceImpl中调用新方法获取公司特定应用ID - 更新百炼API调用逻辑以支持动态应用ID - 为新工作流类型5添加初始化配置

---
 src/main/resources/mapper/modules/ClothesTypePatternMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/ClothesTypePatternMapper.xml b/src/main/resources/mapper/modules/ClothesTypePatternMapper.xml
index b580905..4a70dae 100644
--- a/src/main/resources/mapper/modules/ClothesTypePatternMapper.xml
+++ b/src/main/resources/mapper/modules/ClothesTypePatternMapper.xml
@@ -11,7 +11,11 @@
         b.image as image,
         b.content as content,
         b.type as type,
-        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_pattern a
         left join clothes_pattern b on a.pattern_id = b.id
         <where>

--
Gitblit v1.9.1