From 818738db27b23a4ba703e166cfda87f02358e205 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期三, 25 二月 2026 10:22:22 +0800
Subject: [PATCH] 修改bug
---
ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java
index 557462b..ae6f19c 100644
--- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java
+++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/management/MgtShopController.java
@@ -1,6 +1,5 @@
package com.ruoyi.shop.controller.management;
-import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
@@ -10,7 +9,6 @@
import com.ruoyi.common.log.enums.BusinessType;
import com.ruoyi.common.security.utils.SecurityUtils;
import com.ruoyi.shop.domain.dto.*;
-import com.ruoyi.shop.domain.pojo.shop.BankBranchCode;
import com.ruoyi.shop.domain.pojo.shop.ShopAuthenticationHftx;
import com.ruoyi.shop.domain.vo.*;
import com.ruoyi.shop.service.shop.*;
@@ -30,8 +28,8 @@
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
-import java.rmi.server.ServerCloneException;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
@@ -659,9 +657,10 @@
public R<Void> closeShopHFTX(@Validated @RequestBody CloseHFDto dto){
Shop shop = shopService.getById(dto.getShopId());
shop.setAuthFlag(0);
+ shop.setShopStatus(1);
shopService.updateById(shop);
ShopAuthenticationHftx shopAuthenticationHftx = shopAuthenticationHftxService.getOne(new LambdaQueryWrapper<ShopAuthenticationHftx>().eq(ShopAuthenticationHftx::getShopId, dto.getShopId())
- .eq(ShopAuthenticationHftx::getIsDelete, 0).eq(ShopAuthenticationHftx::getAuditStatus, "Y"));
+ .eq(ShopAuthenticationHftx::getIsDelete, 0).notIn(ShopAuthenticationHftx::getAuditStatus, Arrays.asList("N", "F")));
if(null != shopAuthenticationHftx){
shopAuthenticationHftx.setIsDelete(1);
shopAuthenticationHftxService.updateById(shopAuthenticationHftx);
--
Gitblit v1.7.1