查询环卫车轨迹
This commit is contained in:
parent
ce3f9b8350
commit
e72a234e11
|
@ -68,6 +68,9 @@ public class Controller {
|
||||||
@Autowired
|
@Autowired
|
||||||
private PassengerFlowMapper passengerFlowlMapper;
|
private PassengerFlowMapper passengerFlowlMapper;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private TrailSanitationMapper trailSanitationMapper;
|
||||||
|
|
||||||
|
|
||||||
@GetMapping("all")
|
@GetMapping("all")
|
||||||
public Object all(){
|
public Object all(){
|
||||||
|
@ -536,6 +539,18 @@ public class Controller {
|
||||||
return Result.success(list);
|
return Result.success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询全部环卫车轨迹信息
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@GetMapping("selectAllTrailSanitation")
|
||||||
|
@ApiOperation("查询全部环卫车轨迹信息")
|
||||||
|
public Result selectAllTrailSanitation(){
|
||||||
|
List<TrailSanitation> trailSanitations = trailSanitationMapper.selectAllTrailSanitation();
|
||||||
|
Result success = Result.success(trailSanitations);
|
||||||
|
return success;
|
||||||
|
}
|
||||||
|
|
||||||
//查询道路污染数据
|
//查询道路污染数据
|
||||||
//输入参考:2022-05-10 00:00:00,只能查询当前日期前一天及以前的
|
//输入参考:2022-05-10 00:00:00,只能查询当前日期前一天及以前的
|
||||||
@GetMapping(value="listRoadData")
|
@GetMapping(value="listRoadData")
|
||||||
|
|
|
@ -3,10 +3,14 @@ package com.hisense.monitormanage.mapper;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.hisense.monitormanage.entity.TrailSanitation;
|
import com.hisense.monitormanage.entity.TrailSanitation;
|
||||||
|
import org.apache.ibatis.annotations.Select;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public interface TrailSanitationMapper extends BaseMapper<TrailSanitation> {
|
public interface TrailSanitationMapper extends BaseMapper<TrailSanitation> {
|
||||||
public void batchaSave(List<Map> list);
|
public void batchaSave(List<Map> list);
|
||||||
|
|
||||||
|
@Select("select * from t_trail_sanitation")
|
||||||
|
List<TrailSanitation> selectAllTrailSanitation();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue