|
@@ -90,7 +90,9 @@ public class UserRenewalsFacade extends UserRenewalsServiceImpl {
|
|
|
if(this.selectProductIdByUserId(map).contains(addRenewalsInfoVO.getProductId())){
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "请勿重复提交申请");
|
|
|
}
|
|
|
- if(this.selectProductIdByUserId(map).contains(StatusEnum.Disable.getKey())){
|
|
|
+ OpenedProducts openedProducts =new OpenedProducts();
|
|
|
+ openedProducts.setServiceStatus(StatusEnum.Disable.getKey());
|
|
|
+ if(openedProductsList.contains(openedProducts.getServiceStatus())){
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "您的产品已停用,请刷新页面");
|
|
|
}
|
|
|
userRenewals.setProductId(addRenewalsInfoVO.getProductId());
|