From 535c81a311bcd54b7ef5aa3f02b3cddc19b854d1 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Thu, 15 May 2025 16:06:14 +0800 Subject: [PATCH] feat(mall): 新增订单项的积分金额和积分价格字段- 在 MallOrderInfoMapper.xml 中添加了 item_score_amount 和 item_score_price 字段的映射 - 在 MallOrderItem 实体类中添加了 itemScorePrice 字段 - 更新了 selectNewApiOrderListInPage 查询,加入了积分金额和积分价格的计算 --- src/main/resources/templates/febs/views/modules/mallMember/agentList.html | 17 +++++------------ 1 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/mallMember/agentList.html b/src/main/resources/templates/febs/views/modules/mallMember/agentList.html index f704b1f..d91fb68 100644 --- a/src/main/resources/templates/febs/views/modules/mallMember/agentList.html +++ b/src/main/resources/templates/febs/views/modules/mallMember/agentList.html @@ -23,10 +23,10 @@ <select name="level"> <option value="">请选择</option> <option value="FIRST_LEVEL">普通会员</option> - <option value="SECOND_LEVEL">区级代理</option> - <option value="THIRD_LEVEL">市级代理</option> - <option value="FOUR_LEVEL">省级代理</option> - <option value="FIFTH_LEVEL">全国总代</option> + <option value="SECOND_LEVEL">一星</option> + <option value="THIRD_LEVEL">二星</option> + <option value="FOUR_LEVEL">三星</option> + <option value="FIFTH_LEVEL">四星</option> </select> </div> </div> @@ -139,14 +139,7 @@ {field: 'amount', title: '团队业绩', minWidth: 100,align:'left'}, {title: '操作', templet: function (d) { - if (d.level === 'ZERO_LEVEL'){ - return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="activate" shiro:hasPermission="user:update">激活</button>' - + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentLevelSet" shiro:hasPermission="user:update">设置代理等级</button>' - + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentAllMember" shiro:hasPermission="user:update">全部成员</button>' - }else{ - return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentLevelSet" shiro:hasPermission="user:update">设置代理等级</button>' - + '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentAllMember" shiro:hasPermission="user:update">全部成员</button>' - } + return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agentAllMember" shiro:hasPermission="user:update">全部成员</button>' },minWidth: 300,align:'center'} ]] }); -- Gitblit v1.9.1