|
@@ -67,6 +67,8 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
private ServiceInfoFacade serviceInfoFacade;
|
|
|
@Autowired
|
|
|
private UserRenewalsFacade userRenewalsFacade;
|
|
|
+ @Autowired
|
|
|
+ private ProductServiceFacade productServiceFacade;
|
|
|
|
|
|
/**
|
|
|
* 产品线管理添加产品
|
|
@@ -194,6 +196,10 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
"产品删除失败");
|
|
|
}
|
|
|
+ if(!productServiceFacade.deleteByProductId(updateProductVO.getId())){
|
|
|
+ throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
+ "产品令牌删除失败");
|
|
|
+ }
|
|
|
return true;
|
|
|
}
|
|
|
|