From 7a49bcc5e561df7a9b65266a57a9c0896c0fd3d0 Mon Sep 17 00:00:00 2001
From: jiangqs <jiangqs>
Date: 星期三, 10 五月 2023 13:48:56 +0800
Subject: [PATCH] Merge branch 'master' of ssh://sinata.cn:20202/java/HongRuiTang into master

---
 ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopCertificateServiceImpl.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopCertificateServiceImpl.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopCertificateServiceImpl.java
index 123639a..fcfa43d 100644
--- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopCertificateServiceImpl.java
+++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/service/impl/shop/ShopCertificateServiceImpl.java
@@ -67,4 +67,16 @@
         shopCertificate.setDelFlag(0);
         this.saveOrUpdate(shopCertificate);
     }
+
+    /**
+     *
+     * @param certId
+     */
+    @Override
+    public void deleteShopCertificate(Long certId){
+        ShopCertificate shopCertificate = this.getById(certId);
+        shopCertificate.setDelFlag(1);
+        shopCertificate.setCerStatus(-1);
+        this.saveOrUpdate(shopCertificate);
+    }
 }

--
Gitblit v1.7.1