wdl 2 éve
szülő
commit
6bb50147f9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      energy/dayTask/bus_mysql_to_hdfs.sh

+ 1 - 1
energy/dayTask/bus_mysql_to_hdfs.sh

@@ -45,7 +45,7 @@ mysql_to_hdfs_lzo() {
 ods_feedback(){
   mysql_to_hdfs_lzo "$url" "$username" "$password" /warehouse/saga_dw/ods/tmp/  \
   "id, project_id, object_id, source_type, user_id, user_phone, user_name, value_type, item_id, value, create_time, next_open_time, model, duration_type, custom_plan, curr_temp, nick_name, result, exe_result, fb_temp, remark" \
-  "select id, project_id, object_id, source_type, user_id, user_phone, user_name, value_type, item_id, value, create_time, next_open_time, model, duration_type, custom_plan, curr_temp, nick_name, result, exe_result, fb_temp, remark from feedback where  date_format(create_time, '%Y-%m-%d') = $do_date and 1 = 1 " \
+  "select id, project_id, object_id, source_type, user_id, user_phone, user_name, value_type, item_id, value, create_time, next_open_time, model, duration_type, custom_plan, curr_temp, nick_name, result, exe_result, fb_temp, remark from feedback where  date_format(create_time, '%Y-%m-%d') = '$do_date' and 1 = 1 " \
   ods_bus_feedback
 }