public static void writeScripts(){
        /////////////////////////////////////////Create Properties///////////////////////////////////////////////
        GenerateCommon gc=new GenerateCommon();
        HashMap<String,ArrayList<String>> tlur=readTablesList();
        if(tlur==null)
            return;
        ArrayList<String> tl=tlur.get("tableList");
        ArrayList<String> unreptWay=tlur.get("unrepeatWay");

        readProjectDbInfo();
        if(!Check.NULLCheck(projectName)||!Check.NULLCheck(dbconS)||!Check.NULLCheck(un)
                ||!Check.NULLCheck(pwd)||!Check.NULLCheck(data_db_name)||!Check.NULLCheck(channel))
            return;

        writePropertiesWorkflow(tl,gc);
        writeHqlRun(projectName+"-ods",tl);

        gc.writeSrcCoor(projectName,cycle);
        gc.writeOdsCoor(projectName, projectName + "-ods",cycle);

        gc.writeRunJob(projectName);
        gc.writeRunJob(projectName + "-ods");
        gc.writeRemoveJob(projectName);
        gc.writeRemoveJob(projectName + "-ods");
        gc.writeCpSuccess(projectName);
        gc.writeCpSuccess(projectName+"-ods");

        gc.writeSftpConfig(projectName, "Pad-dbw/"+projectName);
        gc.writeSftpConfig(projectName + "-ods","Pad-dbw/"+projectName+"-ods");

        /////////////////////////////////////////Create CommandsForU///////////////////////////////////////////////
        writeCommandsForU(tl);

        /////////////////////////////////////////Create Shells///////////////////////////////////////////////
        for (int i = 0; i < tl.size(); i++) {
            String index=((i+offset)<10?"0"+Integer.toString(i+offset):Integer.toString(i+offset));
            GenerateSrcOdsScripts gs=new GenerateSrcOdsScripts();
            gs.setTableInfo(tl.get(i),index,unreptWay.get(i));
            gs.start();
        }
    }