224 lines
11 KiB
JSON
224 lines
11 KiB
JSON
{
|
|
"job": {
|
|
"content": [
|
|
{
|
|
"reader": {
|
|
"name": "mysqlreader",
|
|
"parameter": {
|
|
"column": [
|
|
"id",
|
|
"station_sn",
|
|
"operator_id",
|
|
"equioment_owner_id",
|
|
"station_name",
|
|
"country_code",
|
|
"region_id",
|
|
"region_code",
|
|
"regional_name",
|
|
"regional_code",
|
|
"address",
|
|
"station_tel",
|
|
"service_tel",
|
|
"station_type",
|
|
"station_type_msg",
|
|
"station_business_type",
|
|
"station_business_type_msg",
|
|
"station_status",
|
|
"station_status_msg",
|
|
"park_nums",
|
|
"station_lng",
|
|
"station_lat",
|
|
"site_guide",
|
|
"construction",
|
|
"construction_msg",
|
|
"pictures",
|
|
"match_cars",
|
|
"park_info",
|
|
"business_start_time",
|
|
"business_end_time",
|
|
"electricity_fee",
|
|
"service_fee",
|
|
"is_park_fee",
|
|
"park_fee",
|
|
"payment",
|
|
"payment_msg",
|
|
"support_order",
|
|
"support_order_msg",
|
|
"service_item",
|
|
"service_item_image_url",
|
|
"service_item_msg",
|
|
"station_location_type",
|
|
"station_location_type_msg",
|
|
"station_charge_type",
|
|
"station_charge_type_msg",
|
|
"station_power",
|
|
"station_voltage",
|
|
"station_current",
|
|
"is_open",
|
|
"is_open_msg",
|
|
"is_display",
|
|
"is_display_msg",
|
|
"sharing_code",
|
|
"sharing_applet_picture",
|
|
"theme_picture",
|
|
"is_barrier_flag",
|
|
"is_barrier_flag_msg",
|
|
"charge_settle_type",
|
|
"charge_settle_type_msg",
|
|
"fast_connector_nums",
|
|
"slow_connector_nums",
|
|
"transformer_capacity",
|
|
"installed_capacity",
|
|
"remark",
|
|
"record_unique_no",
|
|
"equipment_owner_name",
|
|
"supply_type",
|
|
"resident_no",
|
|
"watt_hour_meter_no",
|
|
"forward_power",
|
|
"operation_date",
|
|
"charge_replace_type",
|
|
"is_hlht",
|
|
"is_subsidy",
|
|
"create_time",
|
|
"update_time",
|
|
"area_code_countryside",
|
|
"business_expand_type",
|
|
"capacity",
|
|
"video_monitor",
|
|
"electricity_type",
|
|
"receive_shop"
|
|
],
|
|
"connection": [
|
|
{
|
|
"jdbcUrl": [
|
|
"${src_jdbc}"
|
|
],
|
|
"querySql": [
|
|
"SELECT `id`, `station_sn`, `operator_id`, `equioment_owner_id`, `station_name`, `country_code`, `region_id`, `region_code`, `regional_name`, `regional_code`, `address`, `station_tel`, `service_tel`, `station_type`, `station_type_msg`, `station_business_type`, `station_business_type_msg`, `station_status`, `station_status_msg`, `park_nums`, `station_lng`, `station_lat`, `site_guide`, `construction`, `construction_msg`, `pictures`, `match_cars`, `park_info`, `business_start_time`, `business_end_time`, `electricity_fee`, `service_fee`, `is_park_fee`, `park_fee`, `payment`, `payment_msg`, `support_order`, `support_order_msg`, `service_item`, `service_item_image_url`, `service_item_msg`, `station_location_type`, `station_location_type_msg`, `station_charge_type`, `station_charge_type_msg`, `station_power`, `station_voltage`, `station_current`, `is_open`, `is_open_msg`, `is_display`, `is_display_msg`, `sharing_code`, `sharing_applet_picture`, `theme_picture`, `is_barrier_flag`, `is_barrier_flag_msg`, `charge_settle_type`, `charge_settle_type_msg`, `fast_connector_nums`, `slow_connector_nums`, `transformer_capacity`, `installed_capacity`, `remark`, `record_unique_no`, `equipment_owner_name`, `supply_type`, `resident_no`, `watt_hour_meter_no`, `forward_power`, `operation_date`, `charge_replace_type`, `is_hlht`, `is_subsidy`, `create_time`, `update_time`, `area_code_countryside`, `business_expand_type`, `capacity`, `video_monitor`, `electricity_type`, `receive_shop` FROM `t_station` ORDER BY id DESC LIMIT 10000"
|
|
]
|
|
}
|
|
],
|
|
"username": "${src_user}",
|
|
"password": "${src_pwd}"
|
|
}
|
|
},
|
|
"writer": {
|
|
"name": "doriswriter",
|
|
"parameter": {
|
|
"loadUrl": [
|
|
"${dest_load_url}"
|
|
],
|
|
"column": [
|
|
"id",
|
|
"station_sn",
|
|
"operator_id",
|
|
"equioment_owner_id",
|
|
"station_name",
|
|
"country_code",
|
|
"region_id",
|
|
"region_code",
|
|
"regional_name",
|
|
"regional_code",
|
|
"address",
|
|
"station_tel",
|
|
"service_tel",
|
|
"station_type",
|
|
"station_type_msg",
|
|
"station_business_type",
|
|
"station_business_type_msg",
|
|
"station_status",
|
|
"station_status_msg",
|
|
"park_nums",
|
|
"station_lng",
|
|
"station_lat",
|
|
"site_guide",
|
|
"construction",
|
|
"construction_msg",
|
|
"pictures",
|
|
"match_cars",
|
|
"park_info",
|
|
"business_start_time",
|
|
"business_end_time",
|
|
"electricity_fee",
|
|
"service_fee",
|
|
"is_park_fee",
|
|
"park_fee",
|
|
"payment",
|
|
"payment_msg",
|
|
"support_order",
|
|
"support_order_msg",
|
|
"service_item",
|
|
"service_item_image_url",
|
|
"service_item_msg",
|
|
"station_location_type",
|
|
"station_location_type_msg",
|
|
"station_charge_type",
|
|
"station_charge_type_msg",
|
|
"station_power",
|
|
"station_voltage",
|
|
"station_current",
|
|
"is_open",
|
|
"is_open_msg",
|
|
"is_display",
|
|
"is_display_msg",
|
|
"sharing_code",
|
|
"sharing_applet_picture",
|
|
"theme_picture",
|
|
"is_barrier_flag",
|
|
"is_barrier_flag_msg",
|
|
"charge_settle_type",
|
|
"charge_settle_type_msg",
|
|
"fast_connector_nums",
|
|
"slow_connector_nums",
|
|
"transformer_capacity",
|
|
"installed_capacity",
|
|
"remark",
|
|
"record_unique_no",
|
|
"equipment_owner_name",
|
|
"supply_type",
|
|
"resident_no",
|
|
"watt_hour_meter_no",
|
|
"forward_power",
|
|
"operation_date",
|
|
"charge_replace_type",
|
|
"is_hlht",
|
|
"is_subsidy",
|
|
"create_time",
|
|
"update_time",
|
|
"area_code_countryside",
|
|
"business_expand_type",
|
|
"capacity",
|
|
"video_monitor",
|
|
"electricity_type",
|
|
"receive_shop"
|
|
],
|
|
"username": "${dest_user}",
|
|
"password": "${dest_pwd}",
|
|
"postSql": [],
|
|
"preSql": [],
|
|
"flushInterval": 30000,
|
|
"connection": [
|
|
{
|
|
"jdbcUrl": "${dest_jdbc}",
|
|
"selectedDatabase": "yltcharge",
|
|
"table": [
|
|
"t_station"
|
|
]
|
|
}
|
|
],
|
|
"loadProps": {
|
|
"format": "json",
|
|
"strip_outer_array": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"setting": {
|
|
"speed": {
|
|
"channel": "1"
|
|
}
|
|
}
|
|
}
|
|
} |