Commit 97544f45 authored by tangwei's avatar tangwei

修改配置

parent 175f422b
...@@ -30,7 +30,7 @@ public class EquiplistSpecificBySystemESVO { ...@@ -30,7 +30,7 @@ public class EquiplistSpecificBySystemESVO {
@ApiModelProperty(value = "设备id") @ApiModelProperty(value = "设备id")
@Field(type = FieldType.Long) @Field(type = FieldType.Long)
private Long equipmentSpecificId; private Long equipmentSpecificId;
@ApiModelProperty(value = "设备编码") @ApiModelProperty(value = "系统编码")
@Field(type = FieldType.Text) @Field(type = FieldType.Text)
private String code; private String code;
@ApiModelProperty(value = "iot编码") @ApiModelProperty(value = "iot编码")
......
...@@ -59,9 +59,9 @@ public class ESeqServiceImpl implements IESeqService { ...@@ -59,9 +59,9 @@ public class ESeqServiceImpl implements IESeqService {
@Value("${es.ESEquiplistSpecific.flag}") @Value("${es.ESEquiplistSpecific.flag}")
private boolean flag; private Boolean flag;
@Value("${es.ESEquiplistSpecific.year}") @Value("${es.ESEquiplistSpecific.year}")
private int year; private Integer year;
@Override @Override
@Async("equipAsyncExecutor") @Async("equipAsyncExecutor")
......
...@@ -98,11 +98,11 @@ equip.enabled =false ...@@ -98,11 +98,11 @@ equip.enabled =false
#es储存物联日志是否删除开关 #es储存物联日志是否删除开关
es.ESEquiplistSpecific.flag=true es.ESEquiplistSpecific.flag= true
#es储存数据时间年 #es储存数据时间年
es.ESEquiplistSpecific.year=1 es.ESEquiplistSpecific.year= 1
#es储存物联日志定时删除 #es储存物联日志定时删除
es.ESEquiplistSpecific.time=0 */1 * * * ? es.ESEquiplistSpecific.time= 0 0 2 1 * ?
## ES properties: ## ES properties:
biz.elasticsearch.address=172.16.11.201 biz.elasticsearch.address=172.16.11.201
spring.data.elasticsearch.cluster-name=elasticsearch spring.data.elasticsearch.cluster-name=elasticsearch
......
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