diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 72105729a..e233eb2c2 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -768,17 +768,17 @@ func GetOrdersSupplement(ctx *jxcontext.Context, storIDs, vendorIDs []int, vendo } func AddUpdateOrdersSupplement(ctx *jxcontext.Context, ordersSupplement *model.OrderSupplementFee) (num int, err error) { - var ( - db = dao.GetDB() - id = ordersSupplement.ID - ) - if id > 0 { - if ordersSupplement.Status == 1 { - return 0,fmt.Errorf("已结账的扣款信息不允许修改", a) - } - dao.UpdateEntity(db, ordersSupplement) - } else { + // var ( + // db = dao.GetDB() + // id = ordersSupplement.ID + // ) + // if id > 0 { + // if ordersSupplement.Status == 1 { + // return 0,fmt.Errorf("已结账的扣款信息不允许修改", a) + // } + // dao.UpdateEntity(db, ordersSupplement) + // } else { - } + // } return num, err }