public static String getEpaylocalFilePath(String taskNo, String checkDate, boolean isAppointed) {\n String LINE_SEPERATOR = "|"; //分割符,上传sftp的文件里的分割符\n String LINE_PARSER = "\|"; //分割符,解析时需要加转义字符\n\n String APPOINTED_TRUE = "1"; //指定日期对账的标志\n String APPIONTED_FALSE = "0"; //常规对账的标志\n String EPAYLOCALDATA_SUFFIX = ".txt"; //惠付标准对账数据格式的后缀\n String FILENAME_SEPERATOR = "-"; //惠付标准对账数据格式的连接符\n String FILE_SEPERATOR = "/";\n\n int DEFAULT_LIST_SIZE = 50;\n \n String CHECK_DATE_FORMAT = "yyyyMMdd";\n String CHECK_BUSI_DATE_FORMAT = CHECK_DATE_FORMAT;\n String CHECK_BUSI_TIME_FORMAT = "HHmmss";\n \n String appointedDateType = isAppointed ? APPOINTED_TRUE : APPIONTED_FALSE;\n StringBuffer strBuffer = new StringBuffer();\n strBuffer.append(taskNo);\n strBuffer.append(FILENAME_SEPERATOR);\n strBuffer.append(checkDate);\n strBuffer.append(FILENAME_SEPERATOR);\n strBuffer.append(appointedDateType);\n strBuffer.append(EPAYLOCALDATA_SUFFIX);\n return strBuffer.toString();\n}

Java 方法 getEpaylocalFilePath - 生成惠付标准对账文件名

原文地址: https://www.cveoy.top/t/topic/puWy 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录