package com.mandi.fendan.service;
|
|
import java.util.Map;
|
|
import com.mandi.dao.common.ObjectResult;
|
import com.mandi.dao.common.PageRequest;
|
import com.mandi.dao.common.PageResult;
|
import com.mandi.fendan.persist.Fd_Vehicle;
|
import com.mandi.system.persist.Login;
|
|
public interface Ifd_vehicleService {
|
/**
|
* 单个查询
|
* @param id
|
* @return
|
*/
|
public ObjectResult<Fd_Vehicle> getFd_VehicleById(String id);
|
/**
|
* 单个查询
|
* @param vehicleId
|
* @return
|
*/
|
public ObjectResult<Fd_Vehicle> getFd_VehicleByFd_VehicleId(String vehicleId);
|
|
/**
|
* 新增和修改
|
* @param mt
|
* @return
|
*/
|
public ObjectResult<Fd_Vehicle> saveFd_Vehicle(Fd_Vehicle cq,Login lg) throws Exception;
|
|
/**
|
* 启用/禁用
|
* @param vehicleId
|
* @param lg
|
* @param staet
|
* @return
|
* @throws Exception
|
*/
|
public ObjectResult<Boolean> changeState(String vehicleId,Login lg,boolean state) throws Exception;
|
|
|
|
/**
|
* 删除
|
* @param id
|
* @return
|
*/
|
public ObjectResult<Boolean> delFd_Vehicle(String id) throws Exception;
|
|
public PageResult<Map<String, Object>> getList(Map<String, Object> map, PageRequest pr) throws Exception;
|
|
|
/**
|
* 获取全部公司可用车:车辆未进厂和装车
|
* @param companyNo
|
* @return
|
*/
|
public PageResult<Map<String, Object>> getalllist(Login lg,String companyNo,String vehicleId);
|
|
/**
|
* 验证临时车车牌号 当前临时车车牌号能不能使用
|
* @param lg
|
* @param vehicleId
|
* @return
|
*/
|
public ObjectResult<Boolean> validVehicle(Login lg,String vehicleId);
|
|
|
}
|