Commit 996372e3 authored by maoying's avatar maoying

包引用

parent f29a10f1
...@@ -87,11 +87,6 @@ ...@@ -87,11 +87,6 @@
<version>1.1.0-SNAPSHOT</version> <version>1.1.0-SNAPSHOT</version>
</dependency> </dependency>
<!-- <dependency> <!-- <dependency>
<groupId>com.yeejoin.amos</groupId> <groupId>com.yeejoin.amos</groupId>
<artifactId>amos-authtoken</artifactId> <artifactId>amos-authtoken</artifactId>
......
...@@ -653,7 +653,7 @@ public class RiskSourceController extends BaseController { ...@@ -653,7 +653,7 @@ public class RiskSourceController extends BaseController {
return CommonResponseUtil.success(); return CommonResponseUtil.success();
} }
// @Permission @Permission
// @Authorization(ingore = true) // @Authorization(ingore = true)
@ApiOperation(httpMethod = "PUT", value = "上传巡检数据", notes = "上传巡检数据") @ApiOperation(httpMethod = "PUT", value = "上传巡检数据", notes = "上传巡检数据")
@RequestMapping(value = "/data/patroldata", produces = "application/json;charset=UTF-8", method = RequestMethod.PUT) @RequestMapping(value = "/data/patroldata", produces = "application/json;charset=UTF-8", method = RequestMethod.PUT)
......
...@@ -3,16 +3,16 @@ security.password=a1234560 ...@@ -3,16 +3,16 @@ security.password=a1234560
security.loginId=fas_autosys security.loginId=fas_autosys
#environment #environment
#spring.profiles.active = dev #spring.profiles.active = dev
eureka.client.serviceUrl.defaultZone=http://172.16.10.72:10001/eureka/ eureka.client.serviceUrl.defaultZone=http://172.16.3.100:10001/eureka/
eureka.client.register-with-eureka = true eureka.client.register-with-eureka = true
eureka.client.fetch-registry = true eureka.client.fetch-registry = true
eureka.client.healthcheck.enabled = true eureka.client.healthcheck.enabled = true
eureka.client.fetchRegistry = true eureka.client.fetchRegistry = true
eureka.instance.prefer-ip-address=true eureka.instance.prefer-ip-address=true
#DB properties: #DB properties:
spring.datasource.url=jdbc:mysql://172.16.11.33:3306/safety-business-2.0-36?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8 spring.datasource.url=jdbc:mysql://172.16.3.100:3306/autosys_business_v2.1.3.2?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.username=root spring.datasource.username=root
spring.datasource.password=admin_1234 spring.datasource.password=Yeejoin_1234
spring.datasource.driver-class-name = com.mysql.cj.jdbc.Driver spring.datasource.driver-class-name = com.mysql.cj.jdbc.Driver
spring.datasource.hikari.maxLifetime = 1765000 spring.datasource.hikari.maxLifetime = 1765000
spring.datasource.hikari.maximum-pool-size = 10 spring.datasource.hikari.maximum-pool-size = 10
...@@ -22,9 +22,9 @@ spring.datasource.validationQuery = SELECT 1 ...@@ -22,9 +22,9 @@ spring.datasource.validationQuery = SELECT 1
params.remoteWebsocketUrl=http://172.16.11.36:10600/ params.remoteWebsocketUrl=http://172.16.11.36:10600/
#redis #redis
spring.redis.database=0 spring.redis.database=0
spring.redis.host=172.16.10.85 spring.redis.host=172.16.3.100
spring.redis.port=6379 spring.redis.port=6379
spring.redis.password=amos2019Redis spring.redis.password=1234560
spring.redis.jedis.pool.max-active=200 spring.redis.jedis.pool.max-active=200
spring.redis.jedis.pool.max-wait=-1 spring.redis.jedis.pool.max-wait=-1
spring.redis.jedis.pool.max-idle=10 spring.redis.jedis.pool.max-idle=10
...@@ -40,9 +40,9 @@ params.isPush=true ...@@ -40,9 +40,9 @@ params.isPush=true
## emqx ## emqx
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://172.16.10.85:1883 emqx.broker=tcp://172.16.3.100:1883
emqx.user-name=super emqx.user-name=admin
emqx.password=a123456 emqx.password=admin
#����� #�����
file.downLoad.url=http://39.98.246.31:8888/ file.downLoad.url=http://39.98.246.31:8888/
#站端名称使用全拼 #站端名称使用全拼
......
spring.application.name = AMOS-AUTOSYS spring.application.name = AMOS-AUTOSYS-my
server.servlet.context-path=/fireAutoSys server.servlet.context-path=/fireAutoSys
server.port = 8083 server.port = 8083
spring.profiles.active=dev spring.profiles.active=dev
......
...@@ -32,9 +32,10 @@ ...@@ -32,9 +32,10 @@
<select id="queryInitAlarm" resultType="com.yeejoin.amos.fas.business.vo.EquipmentSpecificIndexVo"> <select id="queryInitAlarm" resultType="com.yeejoin.amos.fas.business.vo.EquipmentSpecificIndexVo">
SELECT SELECT
wed.id, concat(wes.id) as id,
concat(wes.id) as equipmentSpecificId,
wed.`name`, wed.`name`,
wed.`code`, wes.`code`,
wei.name_key, wei.name_key,
wei.`name` AS equipmentIndexName, wei.`name` AS equipmentIndexName,
wsi.`value` wsi.`value`
...@@ -61,8 +62,8 @@ ...@@ -61,8 +62,8 @@
</select> </select>
<select id="getInitAlarm" resultType="com.yeejoin.amos.fas.business.vo.EquipmentSpecificIndexVo"> <select id="getInitAlarm" resultType="com.yeejoin.amos.fas.business.vo.EquipmentSpecificIndexVo">
SELECT SELECT
wes.id, concat(wes.id) as id,
wes.id as equipmentSpecificId, concat(wes.id) as equipmentSpecificId,
wed.`name`, wed.`name`,
wes.`code`, wes.`code`,
wei.name_key, wei.name_key,
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<select id="getInitAlarm" resultType="com.yeejoin.amos.fas.business.vo.EquipmentSpecificIndexVo"> <select id="getInitAlarm" resultType="com.yeejoin.amos.fas.business.vo.EquipmentSpecificIndexVo">
SELECT SELECT
p.id, concat(p.id) as id,
p.`name`, p.`name`,
p.point_no AS `code`, p.point_no AS `code`,
'patrol' AS type, 'patrol' AS type,
......
...@@ -34,9 +34,8 @@ ...@@ -34,9 +34,8 @@
<dependency> <dependency>
<groupId>com.yeejoin</groupId> <groupId>com.yeejoin</groupId>
<artifactId>amos-component-rule</artifactId> <artifactId>amos-component-rule</artifactId>
<version>1.2.0-SNAPSHOT</version> <version>1.4.3-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
......
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