Commit 62231bba by unknown

add the tip at the checkflash when paid

parent df86a934
......@@ -851,6 +851,14 @@ public class CourseResourceService extends
return FlashSaleStatusEnum.CANCELING.getValue();// 您的抢购单正在取消中
}
} else {
for (FlashSale flashSale : flashSaleList) {
if(flashSale.getOrderId() != null){
Order order = orderDao.findById(flashSale.getOrderId());
if(order.isPaied()){
return FlashSaleStatusEnum.ALREADY_GET_AND_PAID.getValue();
}
}
}
ResourceInventoryQuery riQuery = new ResourceInventoryQuery();
riQuery.setResourceCategory(ResourceCategoryEnum.COURSE.getValue());
riQuery.setResourceId(resourceId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment