From 3c2d97aaf2393f5a105d14df6a649d034c0cbc67 Mon Sep 17 00:00:00 2001 From: chenyouting <514333061@qq.com> Date: Thu, 17 Jul 2025 17:17:30 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/service/impl/AppOperationVideoServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fys-modules/fys-app/src/main/java/com/fuyuanshen/app/service/impl/AppOperationVideoServiceImpl.java b/fys-modules/fys-app/src/main/java/com/fuyuanshen/app/service/impl/AppOperationVideoServiceImpl.java index 8141548..7792302 100644 --- a/fys-modules/fys-app/src/main/java/com/fuyuanshen/app/service/impl/AppOperationVideoServiceImpl.java +++ b/fys-modules/fys-app/src/main/java/com/fuyuanshen/app/service/impl/AppOperationVideoServiceImpl.java @@ -7,6 +7,7 @@ import com.fuyuanshen.common.mybatis.core.page.PageQuery; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.toolkit.Wrappers; +import com.fuyuanshen.common.satoken.utils.AppLoginHelper; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; @@ -66,6 +67,8 @@ public class AppOperationVideoServiceImpl implements IAppOperationVideoService { */ @Override public List queryList(AppOperationVideoBo bo) { + Long userId = AppLoginHelper.getUserId(); + bo.setCreateBy(userId); LambdaQueryWrapper lqw = buildQueryWrapper(bo); return baseMapper.selectVoList(lqw); } From e321dcd6522dcd3417eec1a564890642b8eddeeb Mon Sep 17 00:00:00 2001 From: daiyongfei <974332738@qq.com> Date: Fri, 18 Jul 2025 10:23:04 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customer/service/impl/CustomerServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fys-modules/fys-customer/src/main/java/com/fuyuanshen/customer/service/impl/CustomerServiceImpl.java b/fys-modules/fys-customer/src/main/java/com/fuyuanshen/customer/service/impl/CustomerServiceImpl.java index 49baa0b..ac996d4 100644 --- a/fys-modules/fys-customer/src/main/java/com/fuyuanshen/customer/service/impl/CustomerServiceImpl.java +++ b/fys-modules/fys-customer/src/main/java/com/fuyuanshen/customer/service/impl/CustomerServiceImpl.java @@ -112,6 +112,11 @@ public class CustomerServiceImpl extends ServiceImpl i @Override @Transactional(rollbackFor = Exception.class) public void updateCustomer(Customer resources) throws Exception { + if (resources.getEnabled()) { + resources.setStatus("0"); + } else { + resources.setStatus("1"); + } saveOrUpdate(resources); } From 0fa0e4ab1b36fff43b54f27298c6bb370c658ea2 Mon Sep 17 00:00:00 2001 From: daiyongfei <974332738@qq.com> Date: Fri, 18 Jul 2025 10:36:02 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E5=B8=90=E5=8F=B7=E7=8A=B6=E6=80=81?= =?UTF-8?q?=EF=BC=880=E6=AD=A3=E5=B8=B8=201=E5=81=9C=E7=94=A8=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fuyuanshen/customer/domain/vo/ConsumerVo.java | 6 ++++++ .../src/main/resources/mapper/customer/CustomerMapper.xml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fys-modules/fys-customer/src/main/java/com/fuyuanshen/customer/domain/vo/ConsumerVo.java b/fys-modules/fys-customer/src/main/java/com/fuyuanshen/customer/domain/vo/ConsumerVo.java index d17971c..ea1b54a 100644 --- a/fys-modules/fys-customer/src/main/java/com/fuyuanshen/customer/domain/vo/ConsumerVo.java +++ b/fys-modules/fys-customer/src/main/java/com/fuyuanshen/customer/domain/vo/ConsumerVo.java @@ -58,6 +58,12 @@ public class ConsumerVo extends TenantEntity { @Schema(name = "是否启用") private Boolean enabled; + /** + * 帐号状态(0正常 1停用) + */ + @Schema(name = "帐号状态(0正常 1停用)") + private String status; + @Schema(name = "是否为admin账号", hidden = true) private Boolean isAdmin = false; diff --git a/fys-modules/fys-customer/src/main/resources/mapper/customer/CustomerMapper.xml b/fys-modules/fys-customer/src/main/resources/mapper/customer/CustomerMapper.xml index 885753d..c0c229c 100644 --- a/fys-modules/fys-customer/src/main/resources/mapper/customer/CustomerMapper.xml +++ b/fys-modules/fys-customer/src/main/resources/mapper/customer/CustomerMapper.xml @@ -94,7 +94,7 @@