From f6750280d86bbd1f27367f60dbc229e55a714caa Mon Sep 17 00:00:00 2001 From: yhl452493373 Date: Fri, 11 Feb 2022 13:58:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 80f810d..38bd3b8 100644 --- a/README.md +++ b/README.md @@ -394,11 +394,11 @@ public interface Generator { *

* 注意:序号格式和格式化后的字符串占位一定要匹配。如:处〔#year#〕#month#10801第#seq#号 对应 处〔2022〕0210801第10001号,而不能对应 处〔2022〕021110801第10001号 * - * @param pattern 序号格式 * @param formatted 格式化后的序号字符串 + * @param pattern 序号格式 * @return 包含了序号字符串对应年(如果有)、月(如果有)、日(如果有)、序号的序号对象,其key、type需要根据情况手动设置 */ - Sequences parse(String pattern, String formatted); + Sequences parse(String formatted, String pattern); /** * 锁定指定序号,在序号生成后,调用该序号的逻辑完成后需要执行此方法