From 8b907cec0d42722027128a0b196762bb2eccf490 Mon Sep 17 00:00:00 2001 From: thaingocquang Date: Mon, 21 Nov 2022 15:59:56 +0700 Subject: [PATCH] new location subject --- subject/location.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/subject/location.go b/subject/location.go index c625ca4..3ee9baf 100644 --- a/subject/location.go +++ b/subject/location.go @@ -8,9 +8,13 @@ func getLocationValue(val string) string { var Location = struct { GetLocationByCode string + GetLocationByCodeNew string GetProvincesByCodes string + GetProvincesByCodesNew string GetDistrictsByCodes string + GetDistrictsByCodesNew string GetWardsByCodes string + GetWardsByCodesNew string GetProvinceByCondition string GetProvincesByCondition string GetDistrictByCondition string @@ -23,9 +27,13 @@ var Location = struct { ProvinceDistinctWithField string }{ GetLocationByCode: getLocationValue("get_location_warehouse"), + GetLocationByCodeNew: getLocationValue("get_location_warehouse_new"), GetProvincesByCodes: getLocationValue("get_provinces_by_codes"), + GetProvincesByCodesNew: getLocationValue("get_provinces_by_codes_new"), GetDistrictsByCodes: getLocationValue("get_districts_by_codes"), + GetDistrictsByCodesNew: getLocationValue("get_districts_by_codes_new"), GetWardsByCodes: getLocationValue("get_wards_by_codes"), + GetWardsByCodesNew: getLocationValue("get_wards_by_codes_new"), GetProvinceByCondition: getLocationValue("get_province_by_condition"), GetProvincesByCondition: getLocationValue("get_provinces_by_condition"), GetDistrictByCondition: getLocationValue("get_district_by_condition"),