Merge branch 'jdshop' of e.coding.net:rosydev/jx-callback into jdshop
This commit is contained in:
@@ -158,7 +158,7 @@ func CreateFenceByStore(appOrgCode string, storeID int64) (fenceID string, err e
|
||||
}
|
||||
}
|
||||
|
||||
//直接创建电子围栏方式
|
||||
//直接创建电子围栏方式 暂时未使用
|
||||
func CreateFenceDirectly(param warehouse_createFence_request.WarehouseCreateFenceParam) (fenceID string, err error) {
|
||||
info := &warehouse_createFence_request.WarehouseCreateFenceParam{
|
||||
FenceInfo: param.FenceInfo,
|
||||
@@ -181,7 +181,7 @@ func UpdateFenceByStore(appOrgCode, outFenceID string, storeID int) error {
|
||||
model.VendorIDDD,
|
||||
}
|
||||
sqlStr := ` SELECT t.lng,t.lat,t.delivery_range_type,t.delivery_range,s.vendor_store_id FROM store t
|
||||
LEFT JOIN store_map s ON t.id = s.store_id WHERE s.vendor_id= ? `
|
||||
LEFT JOIN store_map s ON t.id = s.store_id WHERE s.vendor_id = ? `
|
||||
if storeID != 0 {
|
||||
sqlStr += " AND t.id = ? "
|
||||
sqlParam = append(sqlParam, storeID)
|
||||
|
||||
Reference in New Issue
Block a user