This commit is contained in:
苏尹岚
2021-04-06 11:23:01 +08:00
parent 8c5d4abe7e
commit ffc647b832
2 changed files with 3 additions and 1 deletions

View File

@@ -61,6 +61,8 @@ func CreateStoreCategoryByStoreSku(ctx *jxcontext.Context, vendorID, storeID int
} }
} }
dao.Commit(db, txDB) dao.Commit(db, txDB)
} else {
dao.Commit(db, txDB)
} }
} }
return err return err

View File

@@ -1120,7 +1120,7 @@ func (c *OrderController) SendJdwlForJdsOrder() {
// @router /SaveJdsOrders [post] // @router /SaveJdsOrders [post]
func (c *OrderController) SaveJdsOrders() { func (c *OrderController) SaveJdsOrders() {
c.callSaveJdsOrders(func(params *tOrderSaveJdsOrdersParams) (retVal interface{}, errCode string, err error) { c.callSaveJdsOrders(func(params *tOrderSaveJdsOrdersParams) (retVal interface{}, errCode string, err error) {
// err = orderman.SaveJdsOrders(params.Ctx, utils.Str2Time(params.FromTime), utils.Str2Time(params.ToTime)) err = orderman.SaveJdsOrders(params.Ctx, utils.Str2Time(params.FromTime), utils.Str2Time(params.ToTime))
return retVal, "", err return retVal, "", err
}) })
} }