1
This commit is contained in:
@@ -16,6 +16,8 @@ SELECT ?,?,?,?,?,? FROM DUAL WHERE NOT EXISTS(SELECT COUNT(store_id) FROM freigh
|
||||
_, err := ExecuteSQL(GetDB(), sqlStr, sqlParam)
|
||||
return err
|
||||
}
|
||||
|
||||
// 全参数更新插入
|
||||
func ReplaceInsertFreight(tem *model.FreightTemplate) error {
|
||||
if tem.StoreID == 0 || len(tem.VendorStoreID) == 0 {
|
||||
return fmt.Errorf("storeID或vendorStoreID不允许为空")
|
||||
|
||||
Reference in New Issue
Block a user