hjg
2023-11-18 bb48edb3d9faaaeab0088151c86fc24137acdb08
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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);
    
    
}