private String[] splitSql(String sql) {
        String[] sqlArr = null;
        if (StringUtils.isNotBlank(sql)) {
            Pattern p = Pattern.compile("\r\n|\r|\n|\n\r");
            Matcher m = p.matcher(sql);
            String sqlStr = m.replaceAll(Constants.STRING_BLANK);
            sqlArr = sqlStr.split(Constants.SPLIT_COLON);
        }
        return sqlArr;
    }
flinkx writer base

@author zhouhongfa@gz-yibo.com
@ClassName BaseWriterPlugin
@Version 1.0
@since 2019/8/2 16:28
larkmidtable-web/larkmt-admin/src/main/java/com/larkmt/cn/admin/tool/flinkx/writer/BaseWriterPlugin.java