This commit is contained in:
suyl
2021-06-03 09:13:00 +08:00
parent 34e3dc9910
commit 3c39e645ff

View File

@@ -167,9 +167,9 @@ func getStoreDetail(db *DaoDB, storeID, vendorID int, vendorStoreID, vendorOrgCo
sql += " AND t2.vendor_org_code = ?"
sqlParams = append(sqlParams, vendorOrgCode)
}
if vendorID == model.VendorIDJDShop && vendorOrgCode == "" {
sql += " AND t2.vendor_org_code = 2"
}
//if vendorID == model.VendorIDJDShop && vendorOrgCode == "" {
// sql += " AND t2.vendor_org_code = 2"
//}
if err = GetRow(db, &storeDetail, sql, sqlParams...); err == nil {
storeDetail.PricePercentagePackObj = PricePercentagePack2Obj(storeDetail.PricePercentagePackStr)
storeDetail.FreightDeductionPackObj = FreightDeductionPack2Obj(storeDetail.FreightDeductionPackStr)