From ef6d6e4abc03b3a34818d1283e27ae9827b57efe Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期二, 10 九月 2024 11:35:36 +0800
Subject: [PATCH] 新增可靠性评定后台

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

diff --git a/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/sysPictureBase/controller/SysPictureBaseController.java b/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/sysPictureBase/controller/SysPictureBaseController.java
index 29551dc..34a8351 100644
--- a/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/sysPictureBase/controller/SysPictureBaseController.java
+++ b/modules/mainPart/src/main/java/com/zt/life/modules/mainPart/sysPictureBase/controller/SysPictureBaseController.java
@@ -73,7 +73,7 @@
         } else {
             sysPictureBaseService.insert(sysPictureBase);
         }
-        if (sysPictureBase.getIsDefault() == 1) {
+        if (sysPictureBase.getIsDefault() == 1 && sysPictureBase.getProductType()!=20) {
             sysPictureBaseService.updateByDefault(sysPictureBase.getId(), sysPictureBase.getProductType());
             sysPictureBaseService.updateProdeuctImg(sysPictureBase.getId(), sysPictureBase.getProductType(), null);
         }

--
Gitblit v1.9.1