zhanglin8526
2023-05-11 f735bea919a6bea096552ad5d7cc5a9e60b77fdc
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);
    }
}