同步sql修改

This commit is contained in:
苏尹岚
2020-05-15 10:30:50 +08:00
parent 95a3de4436
commit 006cd1dee5
2 changed files with 3 additions and 6 deletions

View File

@@ -738,7 +738,6 @@ func (c *OrderManager) RefreshHistoryOrdersEarningPrice(ctx *jxcontext.Context,
task := tasksch.NewParallelTask("刷新历史订单结算价", tasksch.NewParallelConfig().SetIsContinueWhenError(isContinueWhenError), ctx,
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
order := batchItemList[0].(*model.GoodsOrder)
fmt.Println("test333333333333333333333333333333", order.VendorOrderID)
db := dao.GetDB()
updateSingleOrderEarningPrice(order, db)
dao.Begin(db)