package com.ycl.platform.service.impl; import com.ycl.platform.domain.entity.TContract; import com.ycl.platform.mapper.TContractMapper; import com.ycl.platform.service.ITContractService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 【请填写功能名称】Service业务层处理 * * @author ruoyi * @date 2024-03-12 */ @Service public class TContractServiceImpl implements ITContractService { @Autowired private TContractMapper tContractMapper; /** * 查询【请填写功能名称】 * * @param id 【请填写功能名称】主键 * @return 【请填写功能名称】 */ @Override public TContract selectTContractById(Long id) { return tContractMapper.selectTContractById(id); } /** * 查询【请填写功能名称】列表 * * @param tContract 【请填写功能名称】 * @return 【请填写功能名称】 */ @Override public List selectTContractList(TContract tContract) { return tContractMapper.selectTContractList(tContract); } /** * 新增【请填写功能名称】 * * @param tContract 【请填写功能名称】 * @return 结果 */ @Override public int insertTContract(TContract tContract) { return tContractMapper.insertTContract(tContract); } /** * 修改【请填写功能名称】 * * @param tContract 【请填写功能名称】 * @return 结果 */ @Override public int updateTContract(TContract tContract) { return tContractMapper.updateTContract(tContract); } /** * 批量删除【请填写功能名称】 * * @param ids 需要删除的【请填写功能名称】主键 * @return 结果 */ @Override public int deleteTContractByIds(Long[] ids) { return tContractMapper.deleteTContractByIds(ids); } /** * 删除【请填写功能名称】信息 * * @param id 【请填写功能名称】主键 * @return 结果 */ @Override public int deleteTContractById(Long id) { return tContractMapper.deleteTContractById(id); } }