1
This commit is contained in:
@@ -44,9 +44,9 @@ func OnAfsOrderMsg(msg *CallbackMsg) (err error) {
|
||||
|
||||
func CheckOrderSkuCanRefund(db *dao.DaoDB, afsOrder *Data4AfsOrder) error {
|
||||
// 获取此订单商品吃否存在售后单
|
||||
refundFinancial, err := dao.GetStoreAfsOrderSkuList2(db, []string{afsOrder.VendorOrderID})
|
||||
refundFinancial, err := dao.GetOrderRefundSkuList(db, []string{afsOrder.VendorOrderID})
|
||||
if err != nil && !strings.Contains(err.Error(), "no row found") {
|
||||
return err
|
||||
return nil
|
||||
}
|
||||
|
||||
if len(refundFinancial) == model.NO {
|
||||
|
||||
Reference in New Issue
Block a user