1
This commit is contained in:
@@ -261,12 +261,12 @@ func CreateOrUpdateAll(vendorOrgCode string, storeID, vendorStoreID, deliveryFee
|
||||
StoreID: int(storeID),
|
||||
VendorStoreID: utils.Int64ToStr(vendorStoreID),
|
||||
}
|
||||
if err = dao.CreateEntity(db, FreightTemplate); err != nil {
|
||||
if err := dao.CreateEntity(db, FreightTemplate); err != nil {
|
||||
_, err1 := dao.UpdateEntity(db, FreightTemplate, "TemplateID", "WarehouseID", "FenceID", "TradeLimitID")
|
||||
if err1 == nil {
|
||||
errList.AddErr(fmt.Errorf("同步进数据库错误信息:%v", err))
|
||||
} else {
|
||||
if err1 != nil {
|
||||
errList.AddErr(fmt.Errorf("同步进数据库错误信息:%v", err1))
|
||||
} else {
|
||||
errList.AddErr(fmt.Errorf("同步进数据库错误信息:%v", err))
|
||||
}
|
||||
}
|
||||
endErr := errList.GetErrListAsOne()
|
||||
@@ -278,7 +278,7 @@ func CreateOrUpdateAll(vendorOrgCode string, storeID, vendorStoreID, deliveryFee
|
||||
}
|
||||
}
|
||||
|
||||
func CreateAndBindAllV2(vendorOrgCode string, storeID, vendorStoreID, deliveryFeeDeductionFee, minPrice int64, userName string) error {
|
||||
func CreateAndBindAllV2(vendorOrgCode string, storeID, vendorStoreID, deliveryFeeDeductionFee, minPrice int64) error {
|
||||
var (
|
||||
db *dao.DaoDB
|
||||
ctx *jxcontext.Context
|
||||
|
||||
Reference in New Issue
Block a user