Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
commit
8e5504da6c
|
|
@ -2045,6 +2045,10 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
||||||
orderDetail.setStatus("refunding");
|
orderDetail.setStatus("refunding");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (returnAmount.compareTo(BigDecimal.ZERO) <= 0) {
|
||||||
|
throw new BadRequestException("退款金额必须大于0");
|
||||||
|
}
|
||||||
|
|
||||||
// 保存剩余未退款的订单详情
|
// 保存剩余未退款的订单详情
|
||||||
if (!remainOrderDetailList.isEmpty()) {
|
if (!remainOrderDetailList.isEmpty()) {
|
||||||
mpOrderDetailService.saveBatch(remainOrderDetailList);
|
mpOrderDetailService.saveBatch(remainOrderDetailList);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue