This commit is contained in:
邹宗楠
2022-11-15 15:15:29 +08:00
parent b3c424c161
commit 1fd144d1e1

View File

@@ -1573,7 +1573,7 @@ func QueryStoreBindInfo(storeID int) (*model.FreightTemplate, error) {
sqlParams []interface{}
bindInfo *model.FreightTemplate
)
sql := "SELECT a.store_id,a.vendor_store_id,a.template_id,a.warehouse_id,a.fence_id,a.trade_limit_id FROM freight_template a "
sql := "SELECT a.* FROM freight_template a "
sql += "WHERE a.store_id = ? "
sqlParams = append(sqlParams, storeID)
if err := GetRow(GetDB(), &bindInfo, sql, sqlParams...); err != nil {