第三方配送增加抖音运力

This commit is contained in:
richboo111
2022-12-22 14:16:41 +08:00
parent 5e34dc009c
commit 5357400fc5
6 changed files with 219 additions and 18 deletions

View File

@@ -30,6 +30,7 @@ const (
VendorIDDada = 101 // 达达配送
VendorIDMTPS = 102 // 美团配送
VendorIDFengNiao = 103 // 蜂鸟配送
VendorIDDYPS = 104 // 抖音配送
VendorJXFakeWL = 300 // 京西假物流
VendorIDJDWL = 401 // 京东物流
VendorIDTotalWl = 402 // (综合物流[京东,圆通,申通....])

View File

@@ -35,7 +35,7 @@ func GetNeedUploadDataResource(db *DaoDB) (dataResList []*model.DataResource, er
func GetVendorOrgCode(db *DaoDB, vendorID int, vendorOrgCode, vendorType string) (vendorOrgs []*model.VendorOrgCode, err error) {
sql := `
SELECT *
FROM vendor_org_code
FROM vendor_org_code
WHERE deleted_at = ?
`
sqlParams := []interface{}{utils.DefaultTimeValue}