- 修复dao.getStoreDetail中参数顺序BUG

This commit is contained in:
gazebo
2019-07-18 10:57:58 +08:00
parent cbf5e8a969
commit 3b4f3a2125
2 changed files with 3 additions and 3 deletions

View File

@@ -61,9 +61,9 @@ func getStoreDetail(db *DaoDB, storeID, vendorID int, vendorStoreID string) (sto
sqlParams := []interface{}{
vendorID,
utils.DefaultTimeValue,
utils.DefaultTimeValue,
model.ConfigTypePricePack,
utils.DefaultTimeValue,
utils.DefaultTimeValue,
}
if storeID > 0 {
sql += " AND t1.id = ?"