修改同程产品类型的映射

This commit is contained in:
lulz1 2024-03-20 21:15:48 +08:00
parent 292d99125e
commit a2fef2bc74
2 changed files with 3 additions and 3 deletions

View File

@ -209,7 +209,7 @@ public class LYOrderSyncAdapter implements SupplierOrderSync {
.map(legType -> switch (legType) { .map(legType -> switch (legType) {
case LEG_TYPE_TRAIN -> 5; case LEG_TYPE_TRAIN -> 5;
case LEG_TYPE_AIRPLANE -> 1; case LEG_TYPE_AIRPLANE -> 1;
case LEG_TYPE_HOTEL -> 2; case LEG_TYPE_HOTEL -> 3;
case LEG_TYPE_TAXI -> 6; case LEG_TYPE_TAXI -> 6;
default -> legType; default -> legType;
}) })

View File

@ -14,8 +14,8 @@ chint:
# host: gf-jump.chint.com # host: gf-jump.chint.com
# port: 30108 # port: 30108
# database: itinerary_booking # database: itinerary_booking
# username: 2ef2abc6-17a9-4ba4-9dd0-6103cddd3a30 # username: e2b8171f-9920-4972-8f84-383ff27eee44
# password: dfpMqdF8ErUSDXrM # password: zbPYf9CUI1ef1nhW
url: https://trip.chint.com/ url: https://trip.chint.com/
redis: redis: