zjh
2024-01-31 5931c2e6c45452e05b46b00ed5f35ebace24e799
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
package com.ltkj.hosp.service;
 
import java.sql.ResultSet;
import java.util.List;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ltkj.hosp.domain.TjCustomer;
 
/**
 * 客户信息Service接口
 *
 * @author ltkj
 * @date 2022-11-17
 */
public interface ITjCustomerService extends IService<TjCustomer> {
    /**
     * 查询客户信息
     *
     * @param cusId 客户信息主键
     * @return 客户信息
     */
    public TjCustomer selectTjCustomerByCusId(Long cusId);
 
    /**
     * 查询客户信息列表
     *
     * @param tjCustomer 客户信息
     * @return 客户信息集合
     */
    public List<TjCustomer> selectTjCustomerList(TjCustomer tjCustomer);
 
    /**
     * 新增客户信息
     *
     * @param tjCustomer 客户信息
     * @return 结果
     */
    public int insertTjCustomer(TjCustomer tjCustomer);
 
    /**
     * 修改客户信息
     *
     * @param tjCustomer 客户信息
     * @return 结果
     */
    public int updateTjCustomer(TjCustomer tjCustomer);
 
    /**
     * 批量删除客户信息
     *
     * @param cusIds 需要删除的客户信息主键集合
     * @return 结果
     */
    public int deleteTjCustomerByCusIds(Long[] cusIds);
 
    /**
     * 删除客户信息信息
     *
     * @param cusId 客户信息主键
     * @return 结果
     */
    public int deleteTjCustomerByCusId(Long cusId);
 
    List<TjCustomer> getTjCustomerList(String name);
 
    TjCustomer getTjCustomerByCusIdCard(String cusIdCard);
 
    ResultSet getJsonParseCustomerList(String deptId, Integer page, Integer pageSize, String cusName, String tjNumber);
}