From cec089fed149bb9bc7298f54d79bbf5210838d82 Mon Sep 17 00:00:00 2001
From: wente <329538422@qq.com>
Date: 星期五, 15 三月 2024 15:28:52 +0800
Subject: [PATCH] 撤销优化

---
 modules/mainPart/src/main/java/com/zt/life/modules/sysPictureBase/controller/SysPictureBaseController.java |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/mainPart/src/main/java/com/zt/life/modules/sysPictureBase/controller/SysPictureBaseController.java b/modules/mainPart/src/main/java/com/zt/life/modules/sysPictureBase/controller/SysPictureBaseController.java
index 1b43a66..ab33e0a 100644
--- a/modules/mainPart/src/main/java/com/zt/life/modules/sysPictureBase/controller/SysPictureBaseController.java
+++ b/modules/mainPart/src/main/java/com/zt/life/modules/sysPictureBase/controller/SysPictureBaseController.java
@@ -101,6 +101,7 @@
         }
         if (sysPictureBase.getIsDefault()==1){
             sysPictureBaseService.updateByDefault(sysPictureBase.getId(),sysPictureBase.getProductType());
+            sysPictureBaseService.updateProdeuctImg(sysPictureBase.getId(),sysPictureBase.getProductType());
         }
         if (file != null) {
             BufferedImage bufferedImage = null;

--
Gitblit v1.9.1