更新 README

This commit is contained in:
yhl452493373
2022-02-11 13:58:42 +08:00
parent 0fa5cc1e7e
commit f6750280d8

View File

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