130 lines
6.0 KiB
JSON
130 lines
6.0 KiB
JSON
{
|
|
"job": {
|
|
"content": [
|
|
{
|
|
"reader": {
|
|
"name": "mysqlreader",
|
|
"parameter": {
|
|
"column": [
|
|
"id",
|
|
"company_no",
|
|
"company_type",
|
|
"company_name",
|
|
"company_state",
|
|
"company_logo",
|
|
"company_admin_phone",
|
|
"company_admin_name",
|
|
"balance_remind",
|
|
"balance_remind_phone",
|
|
"agent_id",
|
|
"station_set_type",
|
|
"specified_range",
|
|
"specified_operator_ids",
|
|
"is_company_discount",
|
|
"is_overlay_coupons",
|
|
"station_ids",
|
|
"no_discount_stationids",
|
|
"remark",
|
|
"invoice_eligible",
|
|
"refuse_invoice_tip",
|
|
"is_share_master",
|
|
"settlement_method",
|
|
"charge_discount_type",
|
|
"charge_discount",
|
|
"settle_status",
|
|
"charge_unit_service",
|
|
"charge_unit_electric",
|
|
"is_custom_price",
|
|
"company_order_permission",
|
|
"open_station_ids",
|
|
"create_time",
|
|
"update_time",
|
|
"minimum_recharge_amount",
|
|
"inner_person"
|
|
],
|
|
"connection": [
|
|
{
|
|
"jdbcUrl": [
|
|
"${src_jdbc}"
|
|
],
|
|
"querySql": [
|
|
"SELECT `id`, `company_no`, `company_type`, `company_name`, `company_state`, `company_logo`, `company_admin_phone`, `company_admin_name`, `balance_remind`, `balance_remind_phone`, `agent_id`, `station_set_type`, `specified_range`, `specified_operator_ids`, `is_company_discount`, `is_overlay_coupons`, `station_ids`, `no_discount_stationids`, `remark`, `invoice_eligible`, `refuse_invoice_tip`, `is_share_master`, `settlement_method`, `charge_discount_type`, `charge_discount`, `settle_status`, `charge_unit_service`, `charge_unit_electric`, `is_custom_price`, `company_order_permission`, `open_station_ids`, `create_time`, `update_time`, `minimum_recharge_amount`, `inner_person` FROM `t_company` ORDER BY id DESC LIMIT 10000"
|
|
]
|
|
}
|
|
],
|
|
"username": "${src_user}",
|
|
"password": "${src_pwd}"
|
|
}
|
|
},
|
|
"writer": {
|
|
"name": "doriswriter",
|
|
"parameter": {
|
|
"loadUrl": [
|
|
"${dest_load_url}"
|
|
],
|
|
"column": [
|
|
"id",
|
|
"company_no",
|
|
"company_type",
|
|
"company_name",
|
|
"company_state",
|
|
"company_logo",
|
|
"company_admin_phone",
|
|
"company_admin_name",
|
|
"balance_remind",
|
|
"balance_remind_phone",
|
|
"agent_id",
|
|
"station_set_type",
|
|
"specified_range",
|
|
"specified_operator_ids",
|
|
"is_company_discount",
|
|
"is_overlay_coupons",
|
|
"station_ids",
|
|
"no_discount_stationids",
|
|
"remark",
|
|
"invoice_eligible",
|
|
"refuse_invoice_tip",
|
|
"is_share_master",
|
|
"settlement_method",
|
|
"charge_discount_type",
|
|
"charge_discount",
|
|
"settle_status",
|
|
"charge_unit_service",
|
|
"charge_unit_electric",
|
|
"is_custom_price",
|
|
"company_order_permission",
|
|
"open_station_ids",
|
|
"create_time",
|
|
"update_time",
|
|
"minimum_recharge_amount",
|
|
"inner_person"
|
|
],
|
|
"username": "${dest_user}",
|
|
"password": "${dest_pwd}",
|
|
"postSql": [],
|
|
"preSql": [],
|
|
"flushInterval": 30000,
|
|
"connection": [
|
|
{
|
|
"jdbcUrl": "${dest_jdbc}",
|
|
"selectedDatabase": "yltcharge",
|
|
"table": [
|
|
"t_company"
|
|
]
|
|
}
|
|
],
|
|
"loadProps": {
|
|
"format": "json",
|
|
"strip_outer_array": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"setting": {
|
|
"speed": {
|
|
"channel": "1"
|
|
}
|
|
}
|
|
}
|
|
} |