package com.ltkj.hosp.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ltkj.hosp.domain.TjContract;
|
|
import java.util.List;
|
|
/**
|
* 合同Service接口
|
*
|
* @author ltkj_赵佳豪&李格
|
* @date 2023-02-17
|
*/
|
public interface ITjContractService extends IService<TjContract> {
|
/**
|
* 查询合同
|
*
|
* @param id 合同主键
|
* @return 合同
|
*/
|
public TjContract selectTjContractById(Long id);
|
|
/**
|
* 查询合同列表
|
*
|
* @param tjContract 合同
|
* @return 合同集合
|
*/
|
public List<TjContract> selectTjContractList(TjContract tjContract);
|
|
/**
|
* 新增合同
|
*
|
* @param tjContract 合同
|
* @return 结果
|
*/
|
public int insertTjContract(TjContract tjContract);
|
|
/**
|
* 修改合同
|
*
|
* @param tjContract 合同
|
* @return 结果
|
*/
|
public int updateTjContract(TjContract tjContract);
|
|
/**
|
* 批量删除合同
|
*
|
* @param ids 需要删除的合同主键集合
|
* @return 结果
|
*/
|
public int deleteTjContractByIds(Long[] ids);
|
|
/**
|
* 删除合同信息
|
*
|
* @param id 合同主键
|
* @return 结果
|
*/
|
public int deleteTjContractById(Long id);
|
}
|