package com.objecteye.service; import com.alibaba.fastjson.JSONObject; import com.objecteye.pojo.VehicleCondition; import com.objecteye.pojo.VehicleInfoRes; import org.springframework.stereotype.Service; import org.springframework.web.multipart.MultipartFile; import java.util.Map; @Service public interface SpecialtyServices { /** * 通过车牌(支持模糊)、多条件查询车辆信息(平铺) * * @param vehicleCondition * @return */ VehicleInfoRes findByCondition(VehicleCondition vehicleCondition); /** * 通过车辆特征码、时间、地点范围进行搜索 * * @return */ JSONObject findByPic(int number, double threshold, int currentpage, int pagevolume, MultipartFile picfile, Long starttime, Long endtime, Integer vehicle_special_type_number) throws InterruptedException; /** * 通过图片返回每辆车的坐标 * * @param picfile * @return */ JSONObject findCoordinateByPic(MultipartFile picfile, Integer vehicle_special_type_number); /** * 通过车辆id查询车辆信息 * * @param id * @return */ JSONObject findById(String id); /** * 通过过车序号查询车辆信息 * * @param gcxh * @param picfile * @return */ JSONObject findByGcxh(int gcxh, MultipartFile picfile); /** * 通过过车序号查询车辆信息 * * @param gcxh * @param picfile * @return */ JSONObject findByGcxh1(int gcxh, MultipartFile picfile); Map getColorAndBrand(Map map); }