public static void writeCommandsForU(ArrayList<String> tl){
        ArrayList<String> cmds=rfa.readInputStream(GenerateInitScripts.class.getResourceAsStream("config/srcOds/CommandsForU.sh"),"UTF-8");
        StringBuffer content=new StringBuffer();
        for (int i = 0; i < cmds.size(); i++) {
            if(cmds.get(i).contains("{commands-config-generate}")){
                content.append("cd /home//Pad-dbw/"+projectName+"\r\n");
                content.append("./runJob.sh\r\n");
                content.append("cd /home//Pad-dbw/"+projectName+"-ods\r\n");
                content.append("./runJob.sh\r\n");
                content.append("\r\n");
                for (int j = 0; j < tl.size(); j++) {
                    String index=((j+offset)<10?"0"+Integer.toString(j+offset):Integer.toString(j+offset));
                    content.append("hive -f "+index+"_create_"+tl.get(j)+".hql\r\n");
                }
                content.append("\r\n");
                for (int j = 0; j < tl.size(); j++) {
                    String index=((j+offset)<10?"0"+Integer.toString(j+offset):Integer.toString(j+offset));
                    content.append("./"+index+"_src_load_"+tl.get(j)+".sh wf job "+dbconS+" "+un+" "+pwd+" "+new SimpleDateFormat("yyyyMMdd").format(new Date())+" hdfs://cnsz131083.app.paic.com.cn:9000/apps-data/hduser0401/Pad-dbw/"+projectName+"/"+new SimpleDateFormat("yyyyMMdd").format(new Date())+"/\r\n");
                }
                content.append("\r\n");
                content.append("hive -e 'use "+data_db_name+"; show partitions {table_name};' | grep 'channel="+channel+"\r\n");
                content.append("hadoop fs -ls hdfs://cnsz131083.app.paic.com.cn:9000/apps-data/hduser0401/Pad-dbw/"+projectName+"/\r\n");
                content.append("hadoop fs -rmr hdfs://cnsz131083.app.paic.com.cn:9000/apps-data/hduser0401/Pad-dbw/"+projectName+"/"+new SimpleDateFormat("yyyyMMdd").format(new Date())+"/\r\n");
            }else
                content.append(cmds.get(i)+"\r\n");
        }
        wfa.mkdirs(resetPath);
        wfa.overwriteFromSB(resetPath + File.separator + "CommandsForU.sh", "UTF-8", content);
    }