From 8baef699b083277bda71a36fa45ef2a67ec7c2ae Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 31 Dec 2024 10:37:32 +0800
Subject: [PATCH] refactor(mall): 优化商品查询并添加新枚举类 - 使用 LambdaQueryWrapper 优化商品查询,提高代码可读性 - 添加 YesOrNoOrIngEnum 枚举类,用于表示成功、失败和进行中的状态 - 移除无用的用户等级验证代码

---
 src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html b/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
index d309ef7..42b97e0 100644
--- a/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
+++ b/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
@@ -169,7 +169,7 @@
                     ,{field:'createdTime', title:'申请时间', width:100,rowspan: 2,align: 'center'}
                     ,{title: '操作',
                         templet: function (d) {
-                            if(d.state === 1 || d.agentLevelName === null){
+                            if(d.state === 1){
                                 return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agree" shiro:hasPermission="user:update">同意</button>'
                                     +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagree" shiro:hasPermission="user:update">拒绝</button>'
                             }else{

--
Gitblit v1.9.1