|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | boolean checkCaptcha(String phone, String code) throws Exception; | 
|---|
|  |  |  | boolean checkCaptcha(String email, String phone, String code) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | ResultUtil registeredDriver(String phoneOperator, String phone, String code, String password, Integer uid, Integer type, Integer userType, Integer language) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ResultUtil registeredDriver1(String phoneOperator, String phone, String code, String password, Integer uid, Integer type, Integer userType, Integer language) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Map<String, Object> queryHomeData(Integer uid) throws Exception; | 
|---|
|  |  |  | Map<String, Object> queryHomeData(Integer uid, Integer language) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Map<String, Object> queryHomeNum(Integer uid) throws Exception; | 
|---|
|  |  |  | Map<String, Object> queryHomeNum(Integer uid, Integer language) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<BaseWarpper> queryMyBusiness(Integer uid) throws Exception; | 
|---|
|  |  |  | List<BaseWarpper> queryMyBusiness(Integer uid, Integer language) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Map<String, Object> queryInfo(Integer uid) throws Exception; | 
|---|
|  |  |  | Map<String, Object> queryInfo(Integer language, Integer uid) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String, Object>> queryPenalties(Integer pageNum, Integer size, Integer uid) throws Exception; | 
|---|
|  |  |  | List<Map<String, Object>> queryPenalties(Integer language, Integer pageNum, Integer size, Integer uid) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取活动奖励列表 | 
|---|
|  |  |  | * 获取列表 | 
|---|
|  |  |  | * @param uid | 
|---|
|  |  |  | * @param pageNum | 
|---|
|  |  |  | * @param size | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String, Object>> queryActivityIncome(Integer uid, Integer pageNum, Integer size) throws Exception; | 
|---|
|  |  |  | List<Map<String, Object>> queryActivityIncome(Integer language, Integer uid, Integer pageNum, Integer size) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String, Object>> queryTotalRevenue(Integer uid, Integer pageNum, Integer size) throws Exception; | 
|---|
|  |  |  | List<Map<String, Object>> queryTotalRevenue(Integer language, Integer uid, Integer pageNum, Integer size) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<ActivityWarpper> queryMyActivity(Integer uid, Date time) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ActivityWarpper> queryMyActivity(Integer uid, Date time, Integer language) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ActivityWarpper> queryHistoryList(Integer uid, Date time, Integer language) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取历史活动 | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String, Object>> queryHistory(Integer uid, Integer pageNum, Integer size) throws Exception; | 
|---|
|  |  |  | List<Map<String, Object>> queryHistory(Integer language, Integer uid, Integer pageNum, Integer size) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @param size | 
|---|
|  |  |  | * @return java.util.List<Map<String,Object>> | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String,Object>> queryMyInviteList(Integer type,Integer uid, Integer pageNum, Integer size) throws Exception; | 
|---|
|  |  |  | List<Map<String,Object>> queryMyInviteList(Integer language, Integer type,Integer uid, Integer pageNum, Integer size) throws Exception; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Double getThisWeekMoney(@Param("driverId") Integer driverId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取给定车型且空闲的司机 | 
|---|
|  |  |  | * @param type | 
|---|
|  |  |  | * @param serverCarModelId | 
|---|
|  |  |  | * @param lon | 
|---|
|  |  |  | * @param lat | 
|---|
|  |  |  | * @param distance | 
|---|
|  |  |  | * @param companyId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | * @throws Exception | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Driver> queryIdleDriver(Integer userId, Integer type, Integer serverCarModelId, Double lon, Double lat, Double distance, Integer companyId) throws Exception; | 
|---|
|  |  |  | } | 
|---|