Commit 4c5b6b19 by 王欣伟
2 parents d91d3d76 63b195cb
......@@ -97,40 +97,82 @@ WHERE d.`tenant_id`=86 AND c.`user_id`>=0;
## 杨林龙
### 1、需求1
### 1、围栏报警查询和导出
```properties
#实现入口
项目:ne-shield-alarmcenter-new
类名: FenceAlarmController
#核心业务逻辑
围栏报警查询
围栏报警导出
```
### 2、需求2
### 2、停驶报警查询和导出
```properties
#实现入口
项目:ne-shield-alarmcenter-new
类名: StayAlarmController
#核心业务逻辑
停驶报警查询
停驶报警导出
```
### 3、需求3
### 3、围栏报警Kafka消费
```properties
#实现入口
项目:ne-shield-kafkaconsumer
类名: FenceAlarmConsumer
#核心业务逻辑
围栏报警数据落库
```
### 4、新建工单时 ,邮件发送模板
```properties
#实现入口
项目:ne-shield-standard-interfaces
方法: sendMail
#核心业务逻辑
修改邮件模板
```
### 5、工单列表中新增店名名称,设备组合
```properties
#实现入口
项目:ne-shield-trialdrive-admin
请求路劲:/workorder/search
/workorder/export
#核心业务逻辑
增加店面名称和设备组合字段
```
## 向延林
### 1、需求1
### 1、需求1 里程统计
```properties
#实现入口
# 新增消费入库逻辑
ne-shield-kafkaconsumer :cn.com.glsx.kafka.queue.consumer.KafkaJourneyConsumer
ne-shield-standard-interfaces
# 修改展示逻辑以及导出接口(里程数据修改为从数据库获取)
ne-shield-trialdrive-admin:cn.com.glsx.admin.modules.controller.JourneyController
#核心业务逻辑
1 新增消费入库逻辑
2 修改展示逻辑以及导出接口(里程数据修改为从数据库获取)
```
......
......@@ -98,3 +98,14 @@ ALTER TABLE `t_device_power`
ADD INDEX idx_sn (`sn`);
ALTER TABLE `t_device_power`
ADD INDEX idx_vd_id (`vd_id`);
-- 短信模板
alter table t_message_template change type send_type varchar(255) null comment '消息类型:短信SMS、邮件MAIL、公众号WXMP、小程序WXMA';
alter table t_message_log change type send_type varchar(255) null comment '消息类型:短信SMS、邮件MAIL、公众号WXMP、小程序WXMA';
alter table t_message_template add type int default 1 null comment '消息类型:根据send_type具体来看 短信类型:1:通知短信;2验证码短信' after send_type;
INSERT INTO t_message_template (template, subject, content, send_type, type, enable_status, del_flag, created_date, created_by) VALUES ('SMS_TEMPLATE_ORDER_FINISHED', null, '【嘀嘀虎】您好,您的服务订单 {0}(车主:{1}),已完成,上门时间:{2}。广联赛讯', 'SMS', 1, 1, 0, sysdate(), 1);
INSERT INTO t_message_template (template, subject, content, send_type, type, enable_status, del_flag, created_date, created_by) VALUES ('SMS_TEMPLATE_ENTER_FENCE', null, '【广联赛讯】尊敬的{0}先生/女士,(车牌{1})车辆于(时间{2})发生出(围栏名称{3})围栏报警,请您留意具体车辆。', 'SMS', 1, 1, 0, sysdate(), 1);
INSERT INTO t_message_template (template, subject, content, send_type, type, enable_status, del_flag, created_date, created_by) VALUES ('SMS_TEMPLATE_LEAVE_FENCE', null, '【广联赛讯】尊敬的{0}先生/女士,(车牌{1})车辆于(时间{2})发生出(围栏名称{3})围栏报警,请您留意具体车辆。', 'SMS', 1, 1, 0, sysdate(), 1);
INSERT INTO t_message_template (template, subject, content, send_type, type, enable_status, del_flag, created_date, created_by) VALUES ('SMS_TEMPLATE_ENTER_LEAVE_FENCE', null, '【广联赛讯】尊敬的{0}先生/女士,(车牌{1})车辆于(时间{2})发生进出(围栏名称{3})围栏报警,请您留意具体车辆。', 'SMS', 1, 1, 0, sysdate(), 1);
......@@ -132,11 +132,7 @@ file.upload.string.url=http://gfs.test.glsx.com.cn/file/upstring
#file.upload.string.url=http://gfs.glsx.com.cn/file/upstring
file.zip.string.url=http://gfs.test.glsx.com.cn/file/zip
feign.devicemonitor.name=ne-shield-devicemonitor
feign.devicemonitor.path=/devicemonitor
feign.usercenter.name=glsx-ne-shield-usercenter
feign.usercenter.path=/usercenter
```
......@@ -186,3 +182,60 @@ spring.cloud.gateway.routes[8].filters[1]=DedupeResponseHeader=Access-Control-Al
```
## 二、项目:ne-shield-kafkaconsumer
### 1、开发配置
```properties
#警情报警Topic
mq.kafka.fence.alarm.topic=gps_fence_alarm_neshield
```
### 2、测试配置
```properties
```
### 3、生产配置
```properties
```
## 三、项目:ne-shield-notifycenter
### 1、开发配置
```properties
#短信服务
sms.url=http://didicb.glsx.com.cn/router
sms.source=eshield_workOrder_warm
```
### 2、测试配置
```properties
#短信服务
sms.url=http://didicb.glsx.com.cn/router
sms.source=eshield_workOrder_warm
```
### 3、生产配置
```properties
#短信服务
sms.url=http://didicb.glsx.com.cn/router
sms.source=eshield_workOrder_warm
```
......@@ -38,7 +38,7 @@
http://192.168.3.233:8090/eshiled-new/ne-shield-trialdrive-admin.git v1.6.0
http://192.168.3.233:8090/eshiled-new/ne-shield-kafkaconsumer.git v1.6.0
http://192.168.3.233:8090/eshiled-new/ne-shield-notifycenter.git v1.6.0
http://192.168.3.233:8090/eshiled-new/ne-shield-notifycenter-api.git v1.6.0
http://192.168.3.233:8090/eshiled-new/ne-shield-notifycenter-api.git v1.6.0
http://192.168.3.233:8090/eshiled-new/ne-shield-standard-interfaces.git v1.6.0
http://192.168.3.233:8090/eshiled-new/ne-shield-standard-interfaces-api.git v1.6.0
http://192.168.3.233:8090/eshiled-new/ne-shield-devicemonitor.git v1.6.0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!