Commit f7216ada authored by 王果's avatar 王果

系统人员和消防人员同步优化

parent 15a18369
......@@ -4,7 +4,7 @@ import cn.hutool.core.util.IdUtil;
public class HutoolIdGenerator {
public static long generate() {
Snowflake snowflake = IdUtil.getSnowflake(1, 1); // 指定workerId和datacenterId
Snowflake snowflake = IdUtil.getSnowflake(1, 3); // 指定workerId和datacenterId
return snowflake.nextId();
}
......
......@@ -40,6 +40,8 @@ source.jdbc.ip.project=jdbc:mysql://39.100.71.139:3307/wh_project?useUnicode=tru
goal.jdbc.ip.project.org.seq=1921835551384690690
## 系统用户要同步角色的ID
goal.jdbc.ip.project.role.seq=1769904956711661569
## 系统用户同步数据插入时间(建议每个站不一样,方便恢复数据)
goal.jdbc.ip.project.user.rec-time=2011-11-11 11:11:52
yeejoin.user=root
yeejoin.pwd=Yeejoin@2020
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment