From bbb7b9dd4919e1026ed75d5f0f1dc37b5593b522 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期二, 19 三月 2024 11:44:46 +0800
Subject: [PATCH] 修改

---
 modules/mainPart/src/main/java/com/zt/life/modules/sysPictureBase/controller/SysPictureBaseController.java |    4 +++-
 1 files changed, 3 insertions(+), 1 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..6b70d7d 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;
@@ -144,7 +145,8 @@
             byte[] buff = new byte[1024];
             //鎵�璇诲彇鐨勫唴瀹逛娇鐢╪鏉ユ帴鏀�
             int n;
-            //褰撴病鏈夎鍙栧畬鏃�,缁х画璇诲彇,寰幆
+            //褰撴病鏈夎
+            //鍙栧畬鏃�,缁х画璇诲彇,寰幆
             while ((n = in.read(buff)) != -1) {
                 //灏嗗瓧鑺傛暟缁勭殑鏁版嵁鍏ㄩ儴鍐欏叆鍒拌緭鍑烘祦涓�
                 outputStream.write(buff, 0, n);

--
Gitblit v1.9.1