|  |  |  | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.ruoyi.sy.domain.ArdSyCar; | 
|---|
|  |  |  | import com.ruoyi.sy.domain.ArdSyUser; | 
|---|
|  |  |  | import com.ruoyi.utils.result.Results; | 
|---|
|  |  |  | import org.springframework.web.multipart.MultipartFile; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public String uploadCarPicture(String id, MultipartFile carPicture); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ArdSyCar> carListById(String id); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据车辆id查询三一车辆及对应部门 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Map<String,Object> getArdSyCarAndDeptByCarId(String carId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据部门发送车辆实时位置 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public void sendArdSyCarPosition(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据部门发送车辆实时报警 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public void sendArdSyCarAlarmByCarId(String carId, Map<String,Object> data); | 
|---|
|  |  |  | //    List<ArdSyCar> getArdSyCarWithRightByCarIdList(List<String> carIdList); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据用户获取三一列表 | 
|---|
|  |  |  | * @param ardSyUser | 
|---|
|  |  |  | * @param syURL | 
|---|
|  |  |  | * @param usersId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Map<String,Object> allListByUser(ArdSyUser ardSyUser, String syURL,String usersId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<Map<String,String>> getCarList(ArdSyUser ardSyUser, String syURL,String usersId,String teamId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Results carListById(String id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据dept集合查询出所有对应的carId | 
|---|
|  |  |  | * @param deptList | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String,String>> carIdByDeptList(List<Long> deptList,List<Map<String,String>> list); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Results getCarGPSTrack(Map<String,String> map,String syURL, ArdSyUser ardSyUser); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Results getCarGPSBycarId(String usersId,String carId,String syURL,ArdSyUser ardSyUser); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据用户及车辆主键追踪车辆 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Results chaseCarByCarId(String usersId,String carId,String cycle); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据时间及车辆主键查询该月每天是否有轨迹 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public Results getExistTraceByCarIdAndMonth(String userId,String carId,String time); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|