jiangqs
2023-06-08 77723a7720dab6bebc8b6c6af963df205e4dba7c
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);
    }
}