From d3abd08d49bd74000d57bd3ba97537f4fc14fa2b Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期三, 10 五月 2023 20:29:51 +0800 Subject: [PATCH] DEMO初步完成 --- 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