This commit is contained in:
邹宗楠
2023-04-13 14:52:22 +08:00
parent 17c794ae51
commit eccfb45dc6
3 changed files with 3 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ func buildAfsOrder(msg *CallbackMsg) (outAfsOrder *model.AfsOrder, err error) {
}
// 最后一个商品
if len(skuList) == len(refundFinancial)+len(afsOrder.Skus) {
if len(skuList) == len(refundFinancial)+len(afsOrder.Skus) && len(skuList) != model.YES {
return nil, errors.New("如需整单退款,请使用整单退,无法分批次整单退款")
}