Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit eae8d2c3
authored
Sep 07, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
删除调频返回多余的参数
1 parent
8f0473be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
34 deletions
src/main/java/cn/com/glsx/admin/modules/model/DeviceFreqModel.java
src/main/resources/mapper/DeviceFreqMapper.xml
src/main/java/cn/com/glsx/admin/modules/model/DeviceFreqModel.java
View file @
eae8d2c
...
@@ -10,10 +10,6 @@ import lombok.Data;
...
@@ -10,10 +10,6 @@ import lombok.Data;
*/
*/
@Data
@Data
public
class
DeviceFreqModel
{
public
class
DeviceFreqModel
{
/**
* 调频操作Id
*/
private
Integer
freqId
;
/**
/**
* 设备号
* 设备号
...
@@ -21,11 +17,6 @@ public class DeviceFreqModel {
...
@@ -21,11 +17,6 @@ public class DeviceFreqModel {
private
String
sn
;
private
String
sn
;
/**
/**
* 车辆id 外键
*/
private
Integer
vehicleId
;
/**
* 模式 0追车模式 1闹钟模式 2星期模式 3初始化模式
* 模式 0追车模式 1闹钟模式 2星期模式 3初始化模式
*/
*/
private
Integer
freqType
;
private
Integer
freqType
;
...
@@ -61,7 +52,7 @@ public class DeviceFreqModel {
...
@@ -61,7 +52,7 @@ public class DeviceFreqModel {
private
String
batteryLevel
;
private
String
batteryLevel
;
/**
/**
* 调频渠道: 1 APP端 2 网页端
* 调频渠道: 1 APP端 2 网页端
3 旧E盾 4 新E盾
*/
*/
private
Integer
channel
;
private
Integer
channel
;
...
@@ -80,26 +71,8 @@ public class DeviceFreqModel {
...
@@ -80,26 +71,8 @@ public class DeviceFreqModel {
*/
*/
private
String
createTime
;
private
String
createTime
;
private
String
updateTime
;
/**
* 查询类型:1 设备号 2 车架号 3 姓名
*/
private
String
queryType
;
/**
* 开始时间
*/
private
String
sTime
;
/**
* 结束时间
*/
private
String
eTime
;
private
String
standno
;
private
String
name
;
private
String
vin
;
/**
/**
* 调频模式
* 调频模式
...
...
src/main/resources/mapper/DeviceFreqMapper.xml
View file @
eae8d2c
...
@@ -27,16 +27,16 @@
...
@@ -27,16 +27,16 @@
LEFT(tdf.created_date, 19) AS createTime,
LEFT(tdf.created_date, 19) AS createTime,
tdf.freq_type AS freqType,
tdf.freq_type AS freqType,
LEFT(tv.created_date,19) AS activeTime,
LEFT(tv.created_date,19) AS activeTime,
tdf.channel
AS channel
,
tdf.channel ,
tu.username AS operation,
tu.username AS operation,
tdf.catching_timer AS catchingTimer,
tdf.catching_timer AS catchingTimer,
tdf.timer
AS timer
,
tdf.timer ,
tdf.week
AS week
,
tdf.week ,
tdf.week_timer AS weekTimer,
tdf.week_timer AS weekTimer,
TIMESTAMPDIFF(MINUTE, tdf.created_date, tdf.updated_date) AS diffMinuteTime,
TIMESTAMPDIFF(MINUTE, tdf.created_date, tdf.updated_date) AS diffMinuteTime,
TIMESTAMPDIFF(DAY, tdf.created_date, tdf.updated_date) AS diffDayTime,
TIMESTAMPDIFF(DAY, tdf.created_date, tdf.updated_date) AS diffDayTime,
tdf.sn
AS sn
,
tdf.sn,
tv.vin
AS standno
,
tv.vin ,
tv.owner_name AS `name`,
tv.owner_name AS `name`,
tdf.`status` AS freqStatus
tdf.`status` AS freqStatus
FROM t_device_freq tdf
FROM t_device_freq tdf
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment