Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
f7216ada
Commit
f7216ada
authored
May 23, 2025
by
王果
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统人员和消防人员同步优化
parent
15a18369
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
AdpterService.java
...n/java/com/yeejoin/amos/adpter/service/AdpterService.java
+0
-0
HutoolIdGenerator.java
.../java/com/yeejoin/amos/adpter/util/HutoolIdGenerator.java
+1
-1
application-dev.properties
...tils-adpter/src/main/resources/application-dev.properties
+3
-0
No files found.
amos-boot-utils/amos-boot-utils-adpter/src/main/java/com/yeejoin/amos/adpter/service/AdpterService.java
View file @
f7216ada
This diff is collapsed.
Click to expand it.
amos-boot-utils/amos-boot-utils-adpter/src/main/java/com/yeejoin/amos/adpter/util/HutoolIdGenerator.java
View file @
f7216ada
...
...
@@ -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
();
}
...
...
amos-boot-utils/amos-boot-utils-adpter/src/main/resources/application-dev.properties
View file @
f7216ada
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment