| package com.ruoyi.sy.service; | 
|   | 
| import java.util.List; | 
| 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; | 
|   | 
| /** | 
|  * 三一车辆Service接口 | 
|  *  | 
|  * @author ard | 
|  * @date 2023-06-26 | 
|  */ | 
| public interface IArdSyCarService | 
| { | 
|     /** | 
|      * 查询三一车辆 | 
|      *  | 
|      * @param id 三一车辆主键 | 
|      * @return 三一车辆 | 
|      */ | 
|     public ArdSyCar selectArdSyCarById(String id); | 
|   | 
|     /** | 
|      * 查询三一车辆列表 | 
|      *  | 
|      * @param ardSyCar 三一车辆 | 
|      * @return 三一车辆集合 | 
|      */ | 
|     public List<ArdSyCar> selectArdSyCarList(ArdSyCar ardSyCar); | 
|   | 
|     /** | 
|      * 新增三一车辆 | 
|      *  | 
|      * @param ardSyCar 三一车辆 | 
|      * @return 结果 | 
|      */ | 
|     public int insertArdSyCar(ArdSyCar ardSyCar); | 
|   | 
|     /** | 
|      * 修改三一车辆 | 
|      *  | 
|      * @param ardSyCar 三一车辆 | 
|      * @return 结果 | 
|      */ | 
|     public int updateArdSyCar(ArdSyCar ardSyCar); | 
|   | 
|     /** | 
|      * 批量删除三一车辆 | 
|      *  | 
|      * @param ids 需要删除的三一车辆主键集合 | 
|      * @return 结果 | 
|      */ | 
|     public int deleteArdSyCarByIds(String[] ids); | 
|   | 
|     /** | 
|      * 删除三一车辆信息 | 
|      *  | 
|      * @param id 三一车辆主键 | 
|      * @return 结果 | 
|      */ | 
|     public int deleteArdSyCarById(String id); | 
|   | 
|     /** | 
|      * 获取未挂接权限的三一车辆 | 
|      */ | 
|     public Map<String,Object> getArdSyCarNoRight(String userId); | 
|   | 
|     /** | 
|      * 获取未挂接权限的三一车辆 | 
|      */ | 
|     public Map<String,Object> getArdSyCarAll(String userId); | 
|   | 
|     /** | 
|      * 获取全部车辆模型 | 
|      */ | 
|     public List<Map<String,String>> getAllCarModel(); | 
|   | 
|     /** | 
|      * 上传车辆图片 | 
|      */ | 
|     public String uploadCarPicture(String id, MultipartFile carPicture); | 
|   | 
|     /** | 
|      * 根据车辆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); | 
|   | 
| } |