From 03ee550527f34882a3cd161b08e33acda1aa06f4 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期三, 20 三月 2024 15:39:37 +0800
Subject: [PATCH] 将Mysql升级到8.0,修改application.xml

---
 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