zhanglin8526
2023-05-09 c2d38efe0c2516295abb968442ef765e3da9544d
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);
    }
}