|
@@ -249,7 +249,9 @@ public class OpenedProductsFacade extends OpenedProductsServiceImpl {
|
|
|
}
|
|
|
|
|
|
if(openProductCheckVO.getOpenId()!=null){
|
|
|
- OpenedProducts openedProducts = baseMapper.selectById(openProductCheckVO.getOpenId());
|
|
|
+ OpenedProducts openedProducts = new OpenedProducts();
|
|
|
+ openedProducts.setId(openProductCheckVO.getOpenId());
|
|
|
+ openedProducts = this.getById(openedProducts);
|
|
|
if(openedProducts==null||openedProducts.getProductId()!=openProductCheckVO.getProductId()){
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "您的产品不存在,请刷新页面");
|
|
|
}
|