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
449ccdfa
Commit
449ccdfa
authored
Apr 02, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_register' of…
Merge branch 'develop_tzs_register' of
http://39.100.92.250:5000/moa/amos-boot-biz
into develop_tzs_register
parents
b6f9d1f7
8c52c1c7
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
69 additions
and
43 deletions
+69
-43
application-vb.properties
...data-openapi/src/main/resources/application-vb.properties
+10
-8
RegUnitInfoServiceImpl.java
...elevator/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+2
-7
application.properties
...odule-96333-biz/src/main/resources/application.properties
+2
-0
RegUnitInfoServiceImpl.java
...dule/app/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+1
-1
RegUnitInfoServiceImpl.java
...cylinder/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+1
-1
RegUnitInfoServiceImpl.java
...ule/jczs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+2
-7
application-dev.properties
...le-jczs-biz/src/main/resources/application-dev.properties
+14
-13
CommonController.java
.../amos/boot/module/jg/biz/controller/CommonController.java
+30
-1
IdxBizJgProjectContraptionServiceImpl.java
...z/service/impl/IdxBizJgProjectContraptionServiceImpl.java
+3
-1
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-1
RegUnitInfoServiceImpl.java
...dule/tcm/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+1
-1
logback-dev.xml
...t-module-tzspatrol-biz/src/main/resources/logback-dev.xml
+1
-1
RegUnitInfoServiceImpl.java
...dule/ymt/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+1
-1
No files found.
amos-boot-data/amos-boot-data-openapi/src/main/resources/application-vb.properties
View file @
449ccdfa
...
@@ -8,15 +8,15 @@ spring.datasource.dynamic.primary=openapi
...
@@ -8,15 +8,15 @@ spring.datasource.dynamic.primary=openapi
#spring.datasource.username=admin
#spring.datasource.username=admin
#spring.datasource.password=Yeejoin@2023
#spring.datasource.password=Yeejoin@2023
#spring.datasource.driver-class-name=cn.com.vastbase.Driver
#spring.datasource.driver-class-name=cn.com.vastbase.Driver
#ds
tzs
#ds
cyl
spring.datasource.dynamic.datasource.openapi.url
=
jdbc:vastbase://172.16.10.243:5432/tzs_amos_tzs_biz_init?currentSchema=amos_openapi_cyl&allowMultiQueries=true
spring.datasource.dynamic.datasource.openapi.url
=
jdbc:vastbase://172.16.10.243:5432/tzs_amos_tzs_biz_init?currentSchema=amos_openapi_cyl&allowMultiQueries=true
spring.datasource.dynamic.datasource.openapi.username
=
admin
spring.datasource.dynamic.datasource.openapi.username
=
admin
spring.datasource.dynamic.datasource.openapi.password
=
Yeejoin@2023
spring.datasource.dynamic.datasource.openapi.password
=
Yeejoin@2023
spring.datasource.dynamic.datasource.openapi.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.dynamic.datasource.openapi.driver-class-name
=
cn.com.vastbase.Driver
#ds
cyl
#ds
tzs
spring.datasource.dynamic.datasource.tzs.url
=
jdbc:vastbase://172.16.10.2
43
:5432/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.dynamic.datasource.tzs.url
=
jdbc:vastbase://172.16.10.2
54
:5432/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.dynamic.datasource.tzs.username
=
admin
spring.datasource.dynamic.datasource.tzs.username
=
admin
spring.datasource.dynamic.datasource.tzs.password
=
Yeejoin@202
3
spring.datasource.dynamic.datasource.tzs.password
=
Yeejoin@202
4
spring.datasource.dynamic.datasource.tzs.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.dynamic.datasource.tzs.driver-class-name
=
cn.com.vastbase.Driver
...
@@ -41,16 +41,18 @@ spring.redis.lettuce.pool.max-idle=10
...
@@ -41,16 +41,18 @@ spring.redis.lettuce.pool.max-idle=10
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.lettuce.pool.min-idle
=
0
spring.redis.expire.time
=
300
spring.redis.expire.time
=
300
localhost
=
${spring.cloud.client.ip-address}
#注册中心地址
#注册中心地址
eureka.client.service-url.defaultZone
=
http://admin:a1234560@172.16.10.243:10001/eureka/
eureka.client.service-url.defaultZone
=
http://admin:a1234560@172.16.10.243:10001/eureka/
eureka.instance.prefer-ip-address
=
true
eureka.instance.prefer-ip-address
=
true
management.endpoint.health.show-details
=
always
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
management.endpoints.web.exposure.include
=
*
eureka.instance.health-check-url
=
http://
172.16.3.7
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.health-check-url
=
http://
${localhost}
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url
=
http://
172.16.3.7
:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.status-page-url
=
http://
${localhost}
:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://
172.16.3.7
:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.metadata-map.management.api-docs
=
http://
${localhost}
:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.ip-address
=
172.16.3.7
eureka.instance.ip-address
=
${localhost}
##emqx
##emqx
emqx.clean-session
=
true
emqx.clean-session
=
true
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
449ccdfa
...
@@ -14,17 +14,12 @@ import com.yeejoin.amos.boot.biz.common.workflow.feign.WorkflowFeignService;
...
@@ -14,17 +14,12 @@ import com.yeejoin.amos.boot.biz.common.workflow.feign.WorkflowFeignService;
import
com.yeejoin.amos.boot.module.common.api.entity.OrgUsr
;
import
com.yeejoin.amos.boot.module.common.api.entity.OrgUsr
;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.OrgUsrServiceImpl
;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.OrgUsrServiceImpl
;
import
com.yeejoin.amos.boot.module.elevator.api.common.BizCommonConstant
;
import
com.yeejoin.amos.boot.module.elevator.api.common.BizCommonConstant
;
import
com.yeejoin.amos.boot.module.elevator.api.common.CommonException
;
import
com.yeejoin.amos.boot.module.elevator.api.dto.BaseUnitLicenceDto
;
import
com.yeejoin.amos.boot.module.elevator.api.dto.BaseUnitLicenceDto
;
import
com.yeejoin.amos.boot.module.elevator.api.entity.BaseUnitLicence
;
import
com.yeejoin.amos.boot.module.elevator.api.entity.BaseUnitLicence
;
import
com.yeejoin.amos.boot.module.elevator.api.entity.TzBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.elevator.api.entity.TzBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.elevator.api.enums.CompanyLevelEnum
;
import
com.yeejoin.amos.boot.module.elevator.api.enums.CompanyLevelEnum
;
import
com.yeejoin.amos.boot.module.elevator.api.mapper.TzBaseEnterpriseInfoMapper
;
import
com.yeejoin.amos.boot.module.elevator.api.mapper.TzBaseEnterpriseInfoMapper
;
import
com.yeejoin.amos.boot.module.elevator.biz.service.impl.BaseUnitLicenceServiceImpl
;
import
com.yeejoin.amos.boot.module.elevator.biz.service.impl.*
;
import
com.yeejoin.amos.boot.module.elevator.biz.service.impl.EquipmentCategoryServiceImpl
;
import
com.yeejoin.amos.boot.module.elevator.biz.service.impl.StartPlatformTokenService
;
import
com.yeejoin.amos.boot.module.elevator.biz.service.impl.TzBaseEnterpriseInfoServiceImpl
;
import
com.yeejoin.amos.boot.module.elevator.biz.service.impl.TzsAuthServiceImpl
;
import
com.yeejoin.amos.boot.module.elevator.biz.utils.RedisUtil
;
import
com.yeejoin.amos.boot.module.elevator.biz.utils.RedisUtil
;
import
com.yeejoin.amos.boot.module.elevator.flc.api.dto.RegUnitIcDto
;
import
com.yeejoin.amos.boot.module.elevator.flc.api.dto.RegUnitIcDto
;
import
com.yeejoin.amos.boot.module.elevator.flc.api.dto.RegUnitInfoDto
;
import
com.yeejoin.amos.boot.module.elevator.flc.api.dto.RegUnitInfoDto
;
...
@@ -489,7 +484,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -489,7 +484,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
.
flatMap
(
node
->
Stream
.
concat
(
.
flatMap
(
node
->
Stream
.
concat
(
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
conditionName
,
condition
,
c
ondition
).
stream
()
:
conditionName
,
condition
,
c
hildName
).
stream
()
:
Stream
.
empty
()
Stream
.
empty
()
))
))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/resources/application.properties
View file @
449ccdfa
...
@@ -74,6 +74,8 @@ tzs.cti.secretkey=7bd29115-99ee-4f7d-1fb1-7c4719d5f43a
...
@@ -74,6 +74,8 @@ tzs.cti.secretkey=7bd29115-99ee-4f7d-1fb1-7c4719d5f43a
tzs.wechat.url
=
https://api.weixin.qq.com
tzs.wechat.url
=
https://api.weixin.qq.com
tzs.wechat.appid
=
wx79aca5bb1cb4af92
tzs.wechat.appid
=
wx79aca5bb1cb4af92
tzs.wechat.secret
=
f3a12323ba731d282c3d4698c27c3e97
tzs.wechat.secret
=
f3a12323ba731d282c3d4698c27c3e97
#tzs.wechat.appid=wxc104d601596de9d5
#tzs.wechat.secret=313a2b6dadc451783f7b4779ac56560f
##wechatToken
##wechatToken
tzs.wechat.token
=
yeejoin_2021
tzs.wechat.token
=
yeejoin_2021
...
...
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-biz/src/main/java/com/yeejoin/amos/boot/module/app/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
449ccdfa
...
@@ -488,7 +488,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -488,7 +488,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
.
flatMap
(
node
->
Stream
.
concat
(
.
flatMap
(
node
->
Stream
.
concat
(
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
conditionName
,
condition
,
c
ondition
).
stream
()
:
conditionName
,
condition
,
c
hildName
).
stream
()
:
Stream
.
empty
()
Stream
.
empty
()
))
))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
...
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
449ccdfa
...
@@ -489,7 +489,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -489,7 +489,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
.
flatMap
(
node
->
Stream
.
concat
(
.
flatMap
(
node
->
Stream
.
concat
(
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
conditionName
,
condition
,
c
ondition
).
stream
()
:
conditionName
,
condition
,
c
hildName
).
stream
()
:
Stream
.
empty
()
Stream
.
empty
()
))
))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
...
amos-boot-system-tzs/amos-boot-module-jczs/amos-boot-module-jczs-biz/src/main/java/com/yeejoin/amos/boot/module/jczs/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
449ccdfa
...
@@ -14,17 +14,12 @@ import com.yeejoin.amos.boot.biz.common.workflow.feign.WorkflowFeignService;
...
@@ -14,17 +14,12 @@ import com.yeejoin.amos.boot.biz.common.workflow.feign.WorkflowFeignService;
import
com.yeejoin.amos.boot.module.common.api.entity.OrgUsr
;
import
com.yeejoin.amos.boot.module.common.api.entity.OrgUsr
;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.OrgUsrServiceImpl
;
import
com.yeejoin.amos.boot.module.common.biz.service.impl.OrgUsrServiceImpl
;
import
com.yeejoin.amos.boot.module.jczs.api.common.BizCommonConstant
;
import
com.yeejoin.amos.boot.module.jczs.api.common.BizCommonConstant
;
import
com.yeejoin.amos.boot.module.jczs.api.common.CommonException
;
import
com.yeejoin.amos.boot.module.jczs.api.dto.BaseUnitLicenceDto
;
import
com.yeejoin.amos.boot.module.jczs.api.dto.BaseUnitLicenceDto
;
import
com.yeejoin.amos.boot.module.jczs.api.entity.BaseUnitLicence
;
import
com.yeejoin.amos.boot.module.jczs.api.entity.BaseUnitLicence
;
import
com.yeejoin.amos.boot.module.jczs.api.entity.TzBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.jczs.api.entity.TzBaseEnterpriseInfo
;
import
com.yeejoin.amos.boot.module.jczs.api.enums.CompanyLevelEnum
;
import
com.yeejoin.amos.boot.module.jczs.api.enums.CompanyLevelEnum
;
import
com.yeejoin.amos.boot.module.jczs.api.mapper.TzBaseEnterpriseInfoMapper
;
import
com.yeejoin.amos.boot.module.jczs.api.mapper.TzBaseEnterpriseInfoMapper
;
import
com.yeejoin.amos.boot.module.jczs.biz.service.impl.BaseUnitLicenceServiceImpl
;
import
com.yeejoin.amos.boot.module.jczs.biz.service.impl.*
;
import
com.yeejoin.amos.boot.module.jczs.biz.service.impl.EquipmentCategoryServiceImpl
;
import
com.yeejoin.amos.boot.module.jczs.biz.service.impl.StartPlatformTokenService
;
import
com.yeejoin.amos.boot.module.jczs.biz.service.impl.TzBaseEnterpriseInfoServiceImpl
;
import
com.yeejoin.amos.boot.module.jczs.biz.service.impl.TzsAuthServiceImpl
;
import
com.yeejoin.amos.boot.module.jczs.biz.utils.RedisUtil
;
import
com.yeejoin.amos.boot.module.jczs.biz.utils.RedisUtil
;
import
com.yeejoin.amos.boot.module.jczs.flc.api.dto.RegUnitIcDto
;
import
com.yeejoin.amos.boot.module.jczs.flc.api.dto.RegUnitIcDto
;
import
com.yeejoin.amos.boot.module.jczs.flc.api.dto.RegUnitInfoDto
;
import
com.yeejoin.amos.boot.module.jczs.flc.api.dto.RegUnitInfoDto
;
...
@@ -489,7 +484,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -489,7 +484,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
.
flatMap
(
node
->
Stream
.
concat
(
.
flatMap
(
node
->
Stream
.
concat
(
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
conditionName
,
condition
,
c
ondition
).
stream
()
:
conditionName
,
condition
,
c
hildName
).
stream
()
:
Stream
.
empty
()
Stream
.
empty
()
))
))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
...
amos-boot-system-tzs/amos-boot-module-jczs/amos-boot-module-jczs-biz/src/main/resources/application-dev.properties
View file @
449ccdfa
localhost
=
${spring.cloud.client.ip-address}
#DB properties:
#DB properties:
spring.datasource.url
=
jdbc:vastbase://
36.46.137.116
:5432/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.url
=
jdbc:vastbase://
172.16.10.243
:5432/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.username
=
admin
spring.datasource.username
=
admin
spring.datasource.password
=
Yeejoin@2023
spring.datasource.password
=
Yeejoin@2023
eureka.client.service-url.defaultZone
=
http://172.16.10.2
10
:10001/eureka/
eureka.client.service-url.defaultZone
=
http://172.16.10.2
43
:10001/eureka/
eureka.instance.prefer-ip-address
=
true
eureka.instance.prefer-ip-address
=
true
management.endpoint.health.show-details
=
always
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
management.endpoints.web.exposure.include
=
*
eureka.instance.health-check-url
=
http://
172.16.3.34
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.health-check-url
=
http://
${localhost}
:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url
=
http://
172.16.3.34
:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.status-page-url
=
http://
${localhost}
:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://
172.16.3.34
:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.metadata-map.management.api-docs
=
http://
${localhost}
:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.ip-address
=
172.16.3.34
eureka.instance.ip-address
=
${localhost}
## ES properties:
## ES properties:
elasticsearch.username
=
elastic
elasticsearch.username
=
elastic
elasticsearch.password
=
a123456
elasticsearch.password
=
a123456
spring.elasticsearch.rest.uris
=
http://172.16.10.2
10
:9200
spring.elasticsearch.rest.uris
=
http://172.16.10.2
43
:9200
## unit(h)
## unit(h)
alertcall.es.synchrony.time
=
48
alertcall.es.synchrony.time
=
48
#redis properties:
#redis properties:
spring.redis.database
=
1
spring.redis.database
=
1
spring.redis.host
=
172.16.10.2
10
spring.redis.host
=
172.16.10.2
43
spring.redis.port
=
1
6379
spring.redis.port
=
6379
spring.redis.password
=
yeejoin@2020
spring.redis.password
=
yeejoin@2020
spring.redis.lettuce.pool.max-active
=
200
spring.redis.lettuce.pool.max-active
=
200
spring.redis.lettuce.pool.max-wait
=
-1
spring.redis.lettuce.pool.max-wait
=
-1
...
@@ -30,7 +31,7 @@ spring.redis.lettuce.pool.min-idle=0
...
@@ -30,7 +31,7 @@ spring.redis.lettuce.pool.min-idle=0
## emqx properties:
## emqx properties:
emqx.clean-session
=
true
emqx.clean-session
=
true
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://
36.46.151.11
3:1883
emqx.broker
=
tcp://
172.16.10.24
3:1883
emqx.client-user-name
=
super
emqx.client-user-name
=
super
emqx.client-password
=
123456
emqx.client-password
=
123456
emqx.keepAliveInterval
=
1000
emqx.keepAliveInterval
=
1000
...
@@ -69,20 +70,20 @@ tzs.wechat.tempId.supervise=P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
...
@@ -69,20 +70,20 @@ tzs.wechat.tempId.supervise=P5XGbszS2Pc6kynvGjzPpZ--ikAwDZo6O7WdJ2EUxtE
tzs.wechat.test.userId
=
3413513
tzs.wechat.test.userId
=
3413513
##new properties
##new properties
org.filter.group.seq
=
1564150103147573249
org.filter.group.seq
=
1564150103147573249
fileserver.domain
=
http://172.16.10.2
10
:19000/
fileserver.domain
=
http://172.16.10.2
43
:19000/
log.level
=
INFO
log.level
=
INFO
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
duty.seats.role.ids
=
1585956200472674305,1585956257590706177
## ???? properties:
## ???? properties:
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
=
tzs
rule.definition.default-agency
=
tzs
rule.definition.local-ip
=
172.16.10.2
10
rule.definition.local-ip
=
172.16.10.2
43
#\u6C14\u74F6\u5145\u88C5\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3es
#\u6C14\u74F6\u5145\u88C5\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3es
tzs.cylinder.fill.cron
=
0 0 12 * * ?
tzs.cylinder.fill.cron
=
0 0 12 * * ?
#\u6C14\u74F6\u57FA\u672C\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3es
#\u6C14\u74F6\u57FA\u672C\u4FE1\u606F\u5B9A\u65F6\u540C\u6B65\u81F3es
tzs.cylinder.info.cron
=
0 0 1 * * ?
tzs.cylinder.info.cron
=
0 0 1 * * ?
# ??????????
# ??????????
minio.url.path
=
http://172.16.10.2
10
:9000/
minio.url.path
=
http://172.16.10.2
43
:9000/
## ɼǰ
## ɼǰ
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
regulatory_code_prefix
=
https://nav.sspai.top/tzs?code=
outSystem.user.password
=
a1234560
outSystem.user.password
=
a1234560
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/CommonController.java
View file @
449ccdfa
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jg.biz.controller;
...
@@ -2,6 +2,7 @@ package com.yeejoin.amos.boot.module.jg.biz.controller;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.map.MapBuilder
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
...
@@ -14,7 +15,6 @@ import com.yeejoin.amos.boot.module.jg.api.dto.EquipmentClassifyDto;
...
@@ -14,7 +15,6 @@ import com.yeejoin.amos.boot.module.jg.api.dto.EquipmentClassifyDto;
import
com.yeejoin.amos.boot.module.jg.api.dto.UseFlagParamDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.UseFlagParamDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgRegistrationHistory
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgRegistrationHistory
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgUseRegistrationManage
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgUseRegistrationManage
;
import
com.yeejoin.amos.boot.module.jg.api.enums.CompanyTypeEnum
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationMapper
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgUseRegistrationMapper
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgCertificateReplenishService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgCertificateReplenishService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
...
@@ -67,6 +67,11 @@ public class CommonController extends BaseController {
...
@@ -67,6 +67,11 @@ public class CommonController extends BaseController {
private
final
IJgCertificateReplenishService
iJgCertificateReplenishService
;
private
final
IJgCertificateReplenishService
iJgCertificateReplenishService
;
private
final
CodeUtil
codeUtil
;
private
final
CodeUtil
codeUtil
;
/**
* 监管机构
*/
public
static
final
String
COMPANY_TYPE_SUPERVISION_NAME
=
"监管机构"
;
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/currentLoginInfo"
)
@GetMapping
(
value
=
"/currentLoginInfo"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"当前登录人信息"
,
notes
=
"当前登录人信息"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"当前登录人信息"
,
notes
=
"当前登录人信息"
)
...
@@ -143,6 +148,30 @@ public class CommonController extends BaseController {
...
@@ -143,6 +148,30 @@ public class CommonController extends BaseController {
return
ResponseHelper
.
buildResponse
(
commonService
.
getUnitListByType
(
type
,
business
));
return
ResponseHelper
.
buildResponse
(
commonService
.
getUnitListByType
(
type
,
business
));
}
}
/**
* 需求 【3197】
* 根据当前登录人获取使用单位列表(用作设备列表查询)
* 当前登录人:监管 -> 获取所有使用单位
* 其他 -> 当前登录人所在单位
* @return unitLists
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/getUseUnitListByCurrentLoginUser"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据当前登录人获取使用单位列表(用作设备列表查询)"
,
notes
=
"根据当前登录人获取使用单位列表(用作设备列表查询)"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
getUseUnitListByCurrentLoginUser
()
{
String
companyType
=
getSelectedOrgInfo
().
getCompany
().
getCompanyType
();
List
<
Map
<
String
,
Object
>>
result
=
new
ArrayList
<>();
if
(
COMPANY_TYPE_SUPERVISION_NAME
.
equals
(
companyType
))
{
result
=
commonService
.
getUnitListByType
(
"use"
,
null
);
}
else
{
result
.
add
(
MapBuilder
.<
String
,
Object
>
create
()
.
put
(
"useCode"
,
getSelectedOrgInfo
().
getCompany
().
getCompanyCode
())
.
put
(
"useUnit"
,
getSelectedOrgInfo
().
getCompany
().
getCompanyName
())
.
build
());
}
return
ResponseHelper
.
buildResponse
(
result
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表全部数据查询"
,
notes
=
"列表全部数据查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表全部数据查询"
,
notes
=
"列表全部数据查询"
)
@GetMapping
(
value
=
"/getMessage"
)
@GetMapping
(
value
=
"/getMessage"
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/IdxBizJgProjectContraptionServiceImpl.java
View file @
449ccdfa
...
@@ -41,6 +41,7 @@ import org.typroject.tyboot.core.foundation.utils.Bean;
...
@@ -41,6 +41,7 @@ import org.typroject.tyboot.core.foundation.utils.Bean;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
org.typroject.tyboot.core.restful.exception.instance.BadRequest
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.ByteArrayOutputStream
;
import
java.io.ByteArrayOutputStream
;
...
@@ -81,6 +82,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
...
@@ -81,6 +82,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
public
static
final
String
ORG_BRANCH_CODE
=
"orgBranchCode"
;
public
static
final
String
ORG_BRANCH_CODE
=
"orgBranchCode"
;
// 设备基本信息表单id
// 设备基本信息表单id
private
static
final
String
EQUIP_INFO_FORM_ID
=
"equipInfo"
;
private
static
final
String
EQUIP_INFO_FORM_ID
=
"equipInfo"
;
public
static
final
String
USE_UNIT_CREDIT_CODE
=
"useUnitCreditCode"
;
@Resource
@Resource
private
IdxBizJgUseInfoServiceImpl
useInfoService
;
private
IdxBizJgUseInfoServiceImpl
useInfoService
;
@Resource
@Resource
...
@@ -251,7 +253,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
...
@@ -251,7 +253,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
street
=
street
.
split
(
"_"
)[
0
];
street
=
street
.
split
(
"_"
)[
0
];
}
}
//获取街道
//获取街道
String
useUnitCreditCode
=
params
.
get
(
"useUnitCreditCode"
);
String
useUnitCreditCode
=
params
.
get
(
USE_UNIT_CREDIT_CODE
);
if
(!
StringUtils
.
isEmpty
(
useUnitCreditCode
)
&&
useUnitCreditCode
.
contains
(
"_"
)){
if
(!
StringUtils
.
isEmpty
(
useUnitCreditCode
)
&&
useUnitCreditCode
.
contains
(
"_"
)){
useUnitCreditCode
=
useUnitCreditCode
.
split
(
"_"
)[
0
];
useUnitCreditCode
=
useUnitCreditCode
.
split
(
"_"
)[
0
];
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
View file @
449ccdfa
...
@@ -2638,7 +2638,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -2638,7 +2638,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
if
(
companyLevel
.
equals
(
BaseController
.
COMPANY_TYPE_SUPERVISION
))
{
// 监管 右模糊查询
if
(
companyLevel
.
equals
(
BaseController
.
COMPANY_TYPE_SUPERVISION
))
{
// 监管 右模糊查询
boolMust
.
must
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"ORG_BRANCH_CODE"
))
+
"*"
));
boolMust
.
must
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"ORG_BRANCH_CODE"
))
+
"*"
));
}
else
{
// 企业 等于查询
}
else
{
// 企业 等于查询
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"ORG_BRANCH_CODE.keyword"
,
map
.
getString
(
"ORG_BRANCH_CODE"
)
));
boolMust
.
must
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"ORG_BRANCH_CODE"
))
+
"*"
));
}
}
}
}
builder
.
query
(
boolMust
);
builder
.
query
(
boolMust
);
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
449ccdfa
...
@@ -593,7 +593,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -593,7 +593,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
.
flatMap
(
node
->
Stream
.
concat
(
.
flatMap
(
node
->
Stream
.
concat
(
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
conditionName
,
condition
,
c
ondition
).
stream
()
:
conditionName
,
condition
,
c
hildName
).
stream
()
:
Stream
.
empty
()
Stream
.
empty
()
))
))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
...
amos-boot-system-tzs/amos-boot-module-tzspatrol/amos-boot-module-tzspatrol-biz/src/main/resources/logback-dev.xml
View file @
449ccdfa
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<logger
name=
"org.springframework"
level=
"INFO"
/>
<logger
name=
"org.springframework"
level=
"INFO"
/>
<!-- 日志输出级别 -->
<!-- 日志输出级别 -->
<root
level=
"
INFO
"
>
<root
level=
"
DEBUG
"
>
<appender-ref
ref=
"FILE"
/>
<appender-ref
ref=
"FILE"
/>
<appender-ref
ref=
"STDOUT"
/>
<appender-ref
ref=
"STDOUT"
/>
</root>
</root>
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
449ccdfa
...
@@ -489,7 +489,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
...
@@ -489,7 +489,7 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
.
flatMap
(
node
->
Stream
.
concat
(
.
flatMap
(
node
->
Stream
.
concat
(
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
conditionName
).
equals
(
condition
)
?
Stream
.
of
(
node
)
:
Stream
.
empty
(),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
node
.
get
(
childName
)
!=
null
?
findNodesByCondition
((
List
<
LinkedHashMap
>)
node
.
get
(
childName
),
conditionName
,
condition
,
c
ondition
).
stream
()
:
conditionName
,
condition
,
c
hildName
).
stream
()
:
Stream
.
empty
()
Stream
.
empty
()
))
))
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
...
...
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