From 1472a323d1ad0f9ac08db77afb71607381b083ea Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Wed, 20 Aug 2025 15:22:21 +0800 Subject: [PATCH] refactor(ai): 优化 AiMemberAnswerServiceImpl 中的代码执行路径- 将 updateById 方法的调用从服务层直接移至 DAO 层 - 这个改动减少了不必要的服务层逻辑,提高了代码执行效率 --- src/main/resources/templates/febs/views/modules/clothesType/patternList.html | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/clothesType/patternList.html b/src/main/resources/templates/febs/views/modules/clothesType/patternList.html index 5134a83..f210610 100644 --- a/src/main/resources/templates/febs/views/modules/clothesType/patternList.html +++ b/src/main/resources/templates/febs/views/modules/clothesType/patternList.html @@ -1,4 +1,4 @@ -<div class="layui-fluid layui-anim febs-anim" id="febs-pattern" lay-title="图案管理"> +<div class="layui-fluid layui-anim febs-anim" id="febs-pattern" lay-title="正面图案管理"> <div class="layui-row febs-container"> <div class="layui-col-md12"> <div class="layui-card"> @@ -52,16 +52,16 @@ <script type="text/html" id="patternOption"> <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="patternInfo:view" lay-event="patternInfoEvent">编辑</button> </script> -<script type="text/html" id="patternTypeOption"> - {{# - var type = { - 1: {title: '文字', color: 'green'}, - 2: {title: '图案', color: 'blue'}, - 3: {title: '文字和图案', color: 'red'}, - }[d.type]; - }} - <span class="layui-badge febs-bg-{{type.color}}">{{ type.title }}</span> -</script> +<!--<script type="text/html" id="patternTypeOption">--> +<!-- {{#--> +<!-- var type = {--> +<!-- 1: {title: '文字', color: 'green'},--> +<!-- 2: {title: '图案', color: 'blue'},--> +<!-- 3: {title: '文字和图案', color: 'red'},--> +<!-- }[d.type];--> +<!-- }}--> +<!-- <span class="layui-badge febs-bg-{{type.color}}">{{ type.title }}</span>--> +<!--</script>--> <!-- 表格操作栏 end --> @@ -156,7 +156,7 @@ {field: 'code', title: '编码', minWidth: 150,align:'center'}, {field: 'orderNum', title: '序号', minWidth: 100,align:'center'}, {field: 'price', title: '价格', minWidth: 150,align:'center'}, - {title: '图案类型', templet: '#patternTypeOption', minWidth: 150,align:'center'}, + // {title: '图案类型', templet: '#patternTypeOption', minWidth: 150,align:'center'}, {field: 'image',title: '小图标', templet: function (d) { return '<a lay-event="seePatternImage">' + -- Gitblit v1.9.1