Administrator
2023-02-15 5694bb030cdfa848f5f157f8fd546ef511e0aa81
提交 | 用户 | 时间
58d006 1 package com.mandi.fendan.service;
A 2
3 import java.util.Map;
4
5 import com.mandi.dao.common.ObjectResult;
6 import com.mandi.dao.common.PageRequest;
7 import com.mandi.dao.common.PageResult;
8 import com.mandi.fendan.persist.Fd_Vehicle;
9 import com.mandi.system.persist.Login;
10
11 public interface Ifd_vehicleService {
12     /** 
13      * 单个查询
14      * @param id
15      * @return 
16      */  
17     public ObjectResult<Fd_Vehicle> getFd_VehicleById(String id);
18     /** 
19      * 单个查询
20      * @param vehicleId
21      * @return 
22      */  
23     public ObjectResult<Fd_Vehicle> getFd_VehicleByFd_VehicleId(String vehicleId);
24
25     /** 
26      * 新增和修改
27      * @param mt
28      * @return 
29      */  
30     public ObjectResult<Fd_Vehicle> saveFd_Vehicle(Fd_Vehicle cq,Login lg) throws Exception;
31     
32     /**
33      * 启用/禁用
34      * @param vehicleId
35      * @param lg
36      * @param staet
37      * @return
38      * @throws Exception
39      */
40     public ObjectResult<Boolean> changeState(String vehicleId,Login lg,boolean state) throws Exception;
41     
42     
43     
44     /** 
45      * 删除
46      * @param id
47      * @return 
48      */  
49     public ObjectResult<Boolean> delFd_Vehicle(String id) throws Exception;
50
51     public PageResult<Map<String, Object>> getList(Map<String, Object> map, PageRequest pr) throws Exception;
52     
53     
54     /**
55      * 获取全部公司可用车:车辆未进厂和装车
56      * @param companyNo
57      * @return
58      */
59     public PageResult<Map<String, Object>> getalllist(Login lg,String companyNo,String vehicleId);
60     
61     /**
62      * 验证临时车车牌号  当前临时车车牌号能不能使用
63      * @param lg
64      * @param vehicleId
65      * @return
66      */
67     public ObjectResult<Boolean> validVehicle(Login lg,String vehicleId);
68     
69     
70 }