package com.ltkj.hosp.service;
|
|
import java.sql.ResultSet;
|
import java.util.List;
|
import java.util.Map;
|
|
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);
|
|
String getCompNameByCusId(String cusId);
|
|
void updateCardId(Long cusId,String cardId);
|
|
List<Map<String, Object>> vcustomerlist(String name, String sjh, String sfzh);
|
|
List<TjCustomer> getcusList(TjCustomer tjCustomer);
|
}
|