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
f81fa6be
Commit
f81fa6be
authored
Dec 12, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
0ce63a97
c3cbdcdf
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
5 deletions
+11
-5
PatrolDataSyncTopicEnum.java
...oin/amos/patrol/common/enums/PatrolDataSyncTopicEnum.java
+1
-0
PersonIdentifyAspect.java
.../com/yeejoin/equipmanage/config/PersonIdentifyAspect.java
+1
-1
ConfigureController.java
...m/yeejoin/equipmanage/controller/ConfigureController.java
+1
-1
PatrolDataSyncServiceImpl.java
...trol/business/service/impl/PatrolDataSyncServiceImpl.java
+2
-0
PersonIdentifyAspect.java
.../com/yeejoin/amos/patrol/config/PersonIdentifyAspect.java
+1
-1
iotMonthReport.ftl
...ot-system-equip/src/main/resources/ftl/iotMonthReport.ftl
+1
-1
application-dev.properties
...stem-patrol/src/main/resources/application-dev.properties
+1
-1
application.properties
...t-system-patrol/src/main/resources/application.properties
+3
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-patrol-api/src/main/java/com/yeejoin/amos/patrol/common/enums/PatrolDataSyncTopicEnum.java
View file @
f81fa6be
...
@@ -7,6 +7,7 @@ public enum PatrolDataSyncTopicEnum {
...
@@ -7,6 +7,7 @@ public enum PatrolDataSyncTopicEnum {
CHECK_SHOT
(
"checkShot"
,
"patrol/sync/checkShot"
),
CHECK_SHOT
(
"checkShot"
,
"patrol/sync/checkShot"
),
PLAN_TASK
(
"planTask"
,
"patrol/sync/planTask"
),
PLAN_TASK
(
"planTask"
,
"patrol/sync/planTask"
),
PLAN_TASK_DETAIL
(
"planTaskDetail"
,
"patrol/sync/planTaskDetail"
),
PLAN_TASK_DETAIL
(
"planTaskDetail"
,
"patrol/sync/planTaskDetail"
),
PATROL_CHECK_INPUT_TO_DATASYS
(
"11"
,
"patrol/checkinput"
),
CHECK_INPUT_BO
(
"checkInputBo"
,
"patrol/sync/checkInputBo"
);
CHECK_INPUT_BO
(
"checkInputBo"
,
"patrol/sync/checkInputBo"
);
private
String
type
;
private
String
type
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/config/PersonIdentifyAspect.java
View file @
f81fa6be
...
@@ -50,7 +50,7 @@ public class PersonIdentifyAspect {
...
@@ -50,7 +50,7 @@ public class PersonIdentifyAspect {
ReginParams
reginParam
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
ReginParams
reginParam
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
if
(
reginParam
!=
null
)
{
if
(
reginParam
!=
null
)
{
if
(
reginParam
.
getPersonIdentity
()
==
null
||
reginParam
.
getPersonIdentity
().
getBizOrgCode
()
==
null
)
{
if
(
reginParam
.
getPersonIdentity
()
==
null
||
StringUtils
.
isEmpty
(
reginParam
.
getPersonIdentity
().
getBizOrgCode
())
||
StringUtils
.
isEmpty
(
reginParam
.
getPersonIdentity
().
getCompanyBizOrgCode
())
)
{
String
userId
=
reginParam
.
getUserModel
().
getUserId
();
String
userId
=
reginParam
.
getUserModel
().
getUserId
();
if
(
userId
!=
null
)
{
if
(
userId
!=
null
)
{
FeignClientResult
responseModel
=
jcsFeignClient
.
selectById
(
userId
);
FeignClientResult
responseModel
=
jcsFeignClient
.
selectById
(
userId
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/ConfigureController.java
View file @
f81fa6be
...
@@ -706,7 +706,7 @@ public class ConfigureController extends AbstractBaseController {
...
@@ -706,7 +706,7 @@ public class ConfigureController extends AbstractBaseController {
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
.
PersonIdentity
personIdentity
=
reginParams
.
getPersonIdentity
();
ReginParams
.
PersonIdentity
personIdentity
=
reginParams
.
getPersonIdentity
();
if
(!
ValidationUtil
.
isEmpty
(
personIdentity
))
{
if
(!
ValidationUtil
.
isEmpty
(
personIdentity
))
{
bizOrgCode
=
personIdentity
.
getBizOrgCode
();
bizOrgCode
=
personIdentity
.
get
Company
BizOrgCode
();
}
}
}
}
if
(
ObjectUtils
.
isEmpty
(
bizOrgCode
)){
if
(
ObjectUtils
.
isEmpty
(
bizOrgCode
)){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/service/impl/PatrolDataSyncServiceImpl.java
View file @
f81fa6be
...
@@ -157,6 +157,7 @@ public class PatrolDataSyncServiceImpl implements IPatrolDataSyncService {
...
@@ -157,6 +157,7 @@ public class PatrolDataSyncServiceImpl implements IPatrolDataSyncService {
if
(
checkInputSyncBo
!=
null
)
{
if
(
checkInputSyncBo
!=
null
)
{
String
message
=
buildSyncMessage
(
PatrolDataSyncTopicEnum
.
CHECK_INPUT_BO
.
getTopic
(),
checkInputSyncBo
);
String
message
=
buildSyncMessage
(
PatrolDataSyncTopicEnum
.
CHECK_INPUT_BO
.
getTopic
(),
checkInputSyncBo
);
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
EQM_PATROL_CREATED
.
getTopic
(),
message
);
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
EQM_PATROL_CREATED
.
getTopic
(),
message
);
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
PATROL_CHECK_INPUT_TO_DATASYS
.
getTopic
(),
JSON
.
toJSONString
(
checkInputSyncBo
,
SerializerFeature
.
WriteMapNullValue
));
if
(
patrolSyncSwitch
)
{
if
(
patrolSyncSwitch
)
{
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
CHECK_INPUT_BO
.
getTopic
(),
JSON
.
toJSONString
(
checkInputSyncBo
,
SerializerFeature
.
WriteMapNullValue
));
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
CHECK_INPUT_BO
.
getTopic
(),
JSON
.
toJSONString
(
checkInputSyncBo
,
SerializerFeature
.
WriteMapNullValue
));
}
}
...
@@ -173,6 +174,7 @@ public class PatrolDataSyncServiceImpl implements IPatrolDataSyncService {
...
@@ -173,6 +174,7 @@ public class PatrolDataSyncServiceImpl implements IPatrolDataSyncService {
checkInputSyncBoList
.
forEach
(
x
->
{
checkInputSyncBoList
.
forEach
(
x
->
{
String
message
=
buildSyncMessage
(
PatrolDataSyncTopicEnum
.
CHECK_INPUT_BO
.
getTopic
(),
x
);
String
message
=
buildSyncMessage
(
PatrolDataSyncTopicEnum
.
CHECK_INPUT_BO
.
getTopic
(),
x
);
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
EQM_PATROL_CREATED
.
getTopic
(),
message
);
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
EQM_PATROL_CREATED
.
getTopic
(),
message
);
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
PATROL_CHECK_INPUT_TO_DATASYS
.
getTopic
(),
JSON
.
toJSONString
(
x
,
SerializerFeature
.
WriteMapNullValue
));
if
(
patrolSyncSwitch
)
{
if
(
patrolSyncSwitch
)
{
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
CHECK_INPUT_BO
.
getTopic
(),
JSON
.
toJSONString
(
x
,
SerializerFeature
.
WriteMapNullValue
));
webMqttComponent
.
publish
(
PatrolDataSyncTopicEnum
.
CHECK_INPUT_BO
.
getTopic
(),
JSON
.
toJSONString
(
x
,
SerializerFeature
.
WriteMapNullValue
));
}
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/config/PersonIdentifyAspect.java
View file @
f81fa6be
...
@@ -56,7 +56,7 @@ public class PersonIdentifyAspect {
...
@@ -56,7 +56,7 @@ public class PersonIdentifyAspect {
}
else
{
}
else
{
ReginParams
reginParam
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
ReginParams
reginParam
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
if
(
reginParam
!=
null
)
{
if
(
reginParam
!=
null
)
{
if
(
reginParam
.
getPersonIdentity
()
==
null
||
reginParam
.
getPersonIdentity
().
getCompanyBizOrgCode
()
==
null
)
{
if
(
reginParam
.
getPersonIdentity
()
==
null
||
StringUtils
.
isEmpty
(
reginParam
.
getPersonIdentity
().
getBizOrgCode
())
||
StringUtils
.
isEmpty
(
reginParam
.
getPersonIdentity
().
getCompanyBizOrgCode
())
)
{
String
userId
=
reginParam
.
getUserModel
().
getUserId
();
String
userId
=
reginParam
.
getUserModel
().
getUserId
();
if
(
userId
!=
null
)
{
if
(
userId
!=
null
)
{
...
...
amos-boot-system-equip/src/main/resources/ftl/iotMonthReport.ftl
View file @
f81fa6be
...
@@ -1021,7 +1021,7 @@
...
@@ -1021,7 +1021,7 @@
<w:sz-cs
w:val=
"36"
/>
<w:sz-cs
w:val=
"36"
/>
<w:u
w:val=
"single"
/>
<w:u
w:val=
"single"
/>
</w:rPr>
</w:rPr>
<w:t>
${station}
换流站
</w:t>
<w:t>
${station}
</w:t>
</w:r>
</w:r>
<
#--
<w:r>
-->
<
#--
<w:r>
-->
<
#--
<w:rPr>
-->
<
#--
<w:rPr>
-->
...
...
amos-boot-system-patrol/src/main/resources/application-dev.properties
View file @
f81fa6be
...
@@ -20,7 +20,7 @@ ribbon.MaxAutoRetries = 1
...
@@ -20,7 +20,7 @@ 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.215:330
6
/dl_business_v3.0.1.3?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.url
=
jdbc:mysql://172.16.10.215:330
7
/dl_business_v3.0.1.3?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
Yeejoin@2020
spring.datasource.password
=
Yeejoin@2020
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.jdbc.Driver
...
...
amos-boot-system-patrol/src/main/resources/application.properties
View file @
f81fa6be
...
@@ -21,6 +21,9 @@ mybatis.mapper-locations = classpath:db/mapper/*.xml
...
@@ -21,6 +21,9 @@ mybatis.mapper-locations = classpath:db/mapper/*.xml
mybatis-plus.mapper-locations
=
classpath:db/mapper/*.xml
mybatis-plus.mapper-locations
=
classpath:db/mapper/*.xml
mybatis.type-aliases-package
=
com.yeejoin.amos.patrol.business.entity.mybatis
mybatis.type-aliases-package
=
com.yeejoin.amos.patrol.business.entity.mybatis
mybatis.configuration.mapUnderscoreToCamelCase
=
true
mybatis.configuration.mapUnderscoreToCamelCase
=
true
mybatis-plus.configuration.log-impl
=
org.apache.ibatis.logging.stdout.StdOutImpl
mybatis-plus.global-config.db-config.update-strategy
=
ignored
spring.liquibase.change-log
=
classpath:/db/changelog/changelog-master.xml
spring.liquibase.change-log
=
classpath:/db/changelog/changelog-master.xml
spring.liquibase.enabled
=
true
spring.liquibase.enabled
=
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