1、修改自动补传判断的bug
This commit is contained in:
parent
2004255275
commit
79eb27c7af
@ -73,7 +73,7 @@ public class APIController extends BasicController{
|
|||||||
GnssDevice device = deviceMapper.queryByDeviceId(deviceId);
|
GnssDevice device = deviceMapper.queryByDeviceId(deviceId);
|
||||||
if(device == null) return null;
|
if(device == null) return null;
|
||||||
GnssGroupCalc groupCalc = groupCalcMapper.selectById(device.getCalc_group_id());
|
GnssGroupCalc groupCalc = groupCalcMapper.selectById(device.getCalc_group_id());
|
||||||
if(groupCalc==null || groupCalc.getAuto_upload()) return null;
|
if(groupCalc==null || !groupCalc.getAuto_upload()) return null;
|
||||||
|
|
||||||
// 检查上次是否离线,如果是则启动补传
|
// 检查上次是否离线,如果是则启动补传
|
||||||
LocalDateTime now = LocalDateTime.now();
|
LocalDateTime now = LocalDateTime.now();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user