| | |
| | | package com.ycl.platform.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ycl.platform.domain.entity.TContract; |
| | | import com.ycl.platform.domain.query.ContractQuery; |
| | | import com.ycl.platform.domain.vo.CalculateRuleVO; |
| | | import com.ycl.platform.domain.vo.ContractVO; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 【请填写功能名称】Mapper接口 |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-03-12 |
| | | */ |
| | | public interface TContractMapper extends BaseMapper<TContract> |
| | | { |
| | | /** |
| | | * 查询【请填写功能名称】 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @return 【请填写功能名称】 |
| | | */ |
| | | public TContract selectTContractById(Long id); |
| | | public interface TContractMapper extends BaseMapper<TContract> { |
| | | |
| | | /** |
| | | * 查询【请填写功能名称】列表 |
| | | * |
| | | * @param tContract 【请填写功能名称】 |
| | | * @return 【请填写功能名称】集合 |
| | | */ |
| | | public List<TContract> selectTContractList(TContract tContract); |
| | | IPage<ContractVO> getPage(IPage page, @Param("query") ContractQuery query); |
| | | |
| | | /** |
| | | * 新增【请填写功能名称】 |
| | | * |
| | | * @param tContract 【请填写功能名称】 |
| | | * @return 结果 |
| | | */ |
| | | public int insertTContract(TContract tContract); |
| | | |
| | | /** |
| | | * 修改【请填写功能名称】 |
| | | * |
| | | * @param tContract 【请填写功能名称】 |
| | | * @return 结果 |
| | | */ |
| | | public int updateTContract(TContract tContract); |
| | | |
| | | /** |
| | | * 删除【请填写功能名称】 |
| | | * |
| | | * @param id 【请填写功能名称】主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteTContractById(Long id); |
| | | |
| | | /** |
| | | * 批量删除【请填写功能名称】 |
| | | * |
| | | * @param ids 需要删除的数据主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteTContractByIds(Long[] ids); |
| | | List<CalculateRuleVO> selectByRuleName(String ruleName, String ruleCondition, Date date); |
| | | } |