退单
This commit is contained in:
@@ -126,9 +126,9 @@ public class BuyOrderServiceImpl extends ServiceImpl<BuyOrderDao, BuyOrder> impl
|
||||
w.disableLogicDel().eq(ShopProduct::getProductId,bb.getProductId());
|
||||
bb.setProduct(shopProductDao.selectOne(w));
|
||||
boolean refundableStatusProduct = false;
|
||||
if(bb.getProduct().getGoodsType().equals("05") && (paymentDateTime > timestamp-7*24*60*60*1000)){
|
||||
if(bb.getProduct()!=null && bb.getProduct().getGoodsType().equals("05") && (paymentDateTime > timestamp-7*24*60*60*1000)){
|
||||
refundableStatusProduct = true;
|
||||
}else if(!bb.getProduct().getGoodsType().equals("05") && b.getOrderStatus().equals("1")){
|
||||
}else if(bb.getProduct()!=null && !bb.getProduct().getGoodsType().equals("05") && b.getOrderStatus().equals("1")){
|
||||
refundableStatusProduct = true;
|
||||
}
|
||||
refundableStatusArr[i] = refundableStatusProduct;
|
||||
|
||||
Reference in New Issue
Block a user