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
e56677db
Commit
e56677db
authored
Nov 21, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
修改bug
parents
59540abe
4fd148e0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
12 deletions
+12
-12
AlertCalledServiceImpl.java
...t/module/jcs/biz/service/impl/AlertCalledServiceImpl.java
+1
-1
AlertSubmittedServiceImpl.java
...odule/jcs/biz/service/impl/AlertSubmittedServiceImpl.java
+0
-0
application-dev.properties
...ystem-equip/src/main/resources/application-dev.properties
+3
-3
pom.xml
amos-boot-system-jcs/pom.xml
+1
-1
application-cluster.properties
...tem-jcs/src/main/resources/application-cluster.properties
+4
-4
application-dev.properties
...stem-patrol/src/main/resources/application-dev.properties
+2
-2
application.properties
...t-system-patrol/src/main/resources/application.properties
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/AlertCalledServiceImpl.java
View file @
e56677db
...
@@ -172,7 +172,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
...
@@ -172,7 +172,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto, AlertCal
private
static
int
comparingByGroupVal
(
Map
<
String
,
Object
>
map
,
Map
<
String
,
Object
>
map2
,
String
key
)
{
private
static
int
comparingByGroupVal
(
Map
<
String
,
Object
>
map
,
Map
<
String
,
Object
>
map2
,
String
key
)
{
int
result
=
0
;
int
result
=
0
;
if
(
map
.
get
(
key
)
instanceof
Date
Time
)
{
if
(
map
.
get
(
key
)
instanceof
Date
)
{
long
r1
=
((
Date
)
map
.
get
(
key
)).
getTime
();
long
r1
=
((
Date
)
map
.
get
(
key
)).
getTime
();
long
r2
=
((
Date
)
map2
.
get
(
key
)).
getTime
();
long
r2
=
((
Date
)
map2
.
get
(
key
)).
getTime
();
result
=
Long
.
compare
(
r1
,
r2
);
result
=
Long
.
compare
(
r1
,
r2
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/AlertSubmittedServiceImpl.java
View file @
e56677db
This diff is collapsed.
Click to expand it.
amos-boot-system-equip/src/main/resources/application-dev.properties
View file @
e56677db
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.url
=
jdbc:mysql://172.16.
10.211
/xiy_safety_business_v3.0.1_20100712?useUnicode=true&allowMultiQueries=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.url
=
jdbc:mysql://172.16.
3.6
/xiy_safety_business_v3.0.1_20100712?useUnicode=true&allowMultiQueries=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.password
=
cz123456
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.minimum-idle
=
3
spring.datasource.hikari.minimum-idle
=
3
...
@@ -93,7 +93,7 @@ spring.mqtt.completionTimeout=3000
...
@@ -93,7 +93,7 @@ spring.mqtt.completionTimeout=3000
#数据同步开关
#数据同步开关
systemctl.sync.switch
=
false
systemctl.sync.switch
=
false
#数据JCS开关
#数据JCS开关
systemctl.jcs.switch
=
fals
e
systemctl.jcs.switch
=
tru
e
#平台数据开关
#平台数据开关
systemctl.amos.switch
=
false
systemctl.amos.switch
=
false
isSendApp
=
false
isSendApp
=
false
...
...
amos-boot-system-jcs/pom.xml
View file @
e56677db
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<artifactId>
amos-boot-system-jcs
</artifactId>
<artifactId>
amos-boot-system-jcs
</artifactId>
<version>
1.0.0.16.
1
</version>
<version>
1.0.0.16.
2
</version>
<dependencies>
<dependencies>
<dependency>
<dependency>
...
...
amos-boot-system-jcs/src/main/resources/application-cluster.properties
View file @
e56677db
## DB properties:
## DB properties:
spring.datasource.url
=
jdbc:mysql://172.16.
10.211
:3306/xiy_bootsystem_jcs_v1.0.0.1_20210729?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.url
=
jdbc:mysql://172.16.
3.6
:3306/xiy_bootsystem_jcs_v1.0.0.1_20210729?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.password
=
cz123456
## eureka properties:
## eureka properties:
eureka.client.serviceUrl.defaultZone
=
http://172.16.10.211:10001/eureka/
eureka.client.serviceUrl.defaultZone
=
http://
${spring.security.user.name}:${spring.security.user.password}@
172.16.10.211:10001/eureka/
#redis 基础配置
#redis 基础配置
spring.redis.database
=
0
spring.redis.database
=
0
...
@@ -62,7 +62,7 @@ emqx.keep-alive-interval=10
...
@@ -62,7 +62,7 @@ emqx.keep-alive-interval=10
rule.definition.load
=
false
rule.definition.load
=
false
rule.definition.model-package
=
com.yeejoin.amos.boot.module.jcs.api.dto
rule.definition.model-package
=
com.yeejoin.amos.boot.module.jcs.api.dto
rule.definition.default-agency
=
jcs
rule.definition.default-agency
=
jcs
rule.definition.localIp
=
172.16.3.35
## file properties:
## file properties:
...
...
amos-boot-system-patrol/src/main/resources/application-dev.properties
View file @
e56677db
...
@@ -16,9 +16,9 @@ ribbon.MaxAutoRetries = 1
...
@@ -16,9 +16,9 @@ ribbon.MaxAutoRetries = 1
xiy_amos_satety_business
xiy_amos_satety_business
spring.reactor.debug-agent.enabled
=
true
spring.reactor.debug-agent.enabled
=
true
#DB properties:
#DB properties:
spring.datasource.url
=
jdbc:mysql://172.16.
10.211
:3306/xiy_safety_business_v3.0.1_20100712?useUnicode=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.url
=
jdbc:mysql://172.16.
3.6
:3306/xiy_safety_business_v3.0.1_20100712?useUnicode=true&characterEncoding=utf-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.password
=
cz123456
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.hikari.maxLifetime
=
1765000
spring.datasource.hikari.maxLifetime
=
1765000
spring.datasource.testWhileIdle
=
true
spring.datasource.testWhileIdle
=
true
...
...
amos-boot-system-patrol/src/main/resources/application.properties
View file @
e56677db
...
@@ -67,7 +67,7 @@ rule.definition.model-package=com.yeejoin.amos.patrol.business.entity.mybatis
...
@@ -67,7 +67,7 @@ rule.definition.model-package=com.yeejoin.amos.patrol.business.entity.mybatis
rule.definition.default-agency
=
STATE_GRID
rule.definition.default-agency
=
STATE_GRID
jcs.fegin.name
=
JCS
jcs.fegin.name
=
JCS
emergency.command.section.id
=
14
18223840361709569
emergency.command.section.id
=
14
35847875492880385
## 增加接口文档验证
## 增加接口文档验证
knife4j.enable
=
true
knife4j.enable
=
true
...
...
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