aa
This commit is contained in:
@@ -167,9 +167,9 @@ func getStoreDetail(db *DaoDB, storeID, vendorID int, vendorStoreID, vendorOrgCo
|
|||||||
sql += " AND t2.vendor_org_code = ?"
|
sql += " AND t2.vendor_org_code = ?"
|
||||||
sqlParams = append(sqlParams, vendorOrgCode)
|
sqlParams = append(sqlParams, vendorOrgCode)
|
||||||
}
|
}
|
||||||
if vendorID == model.VendorIDJDShop && vendorOrgCode == "" {
|
//if vendorID == model.VendorIDJDShop && vendorOrgCode == "" {
|
||||||
sql += " AND t2.vendor_org_code = 2"
|
// sql += " AND t2.vendor_org_code = 2"
|
||||||
}
|
//}
|
||||||
if err = GetRow(db, &storeDetail, sql, sqlParams...); err == nil {
|
if err = GetRow(db, &storeDetail, sql, sqlParams...); err == nil {
|
||||||
storeDetail.PricePercentagePackObj = PricePercentagePack2Obj(storeDetail.PricePercentagePackStr)
|
storeDetail.PricePercentagePackObj = PricePercentagePack2Obj(storeDetail.PricePercentagePackStr)
|
||||||
storeDetail.FreightDeductionPackObj = FreightDeductionPack2Obj(storeDetail.FreightDeductionPackStr)
|
storeDetail.FreightDeductionPackObj = FreightDeductionPack2Obj(storeDetail.FreightDeductionPackStr)
|
||||||
|
|||||||
Reference in New Issue
Block a user