| | |
| | | package com.ycl.platform.mapper; |
| | | |
| | | import com.ycl.platform.domain.entity.DefaultRule; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ycl.platform.domain.vo.DefaultRuleVO; |
| | | import com.ycl.platform.domain.form.DefaultRuleForm; |
| | | |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * 违约规则 Mapper 接口 |
| | | * |
| | | * @author xp |
| | | * @since 2024-03-05 |
| | | * 违约规则Mapper接口 |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-01 |
| | | */ |
| | | @Mapper |
| | | public interface DefaultRuleMapper extends BaseMapper<DefaultRule> { |
| | | public interface DefaultRuleMapper |
| | | { |
| | | /** |
| | | * 查询违约规则 |
| | | * |
| | | * @param id 违约规则主键 |
| | | * @return 违约规则 |
| | | */ |
| | | public DefaultRule selectDefaultRuleById(Long id); |
| | | |
| | | /** |
| | | * 查询违约规则列表 |
| | | * |
| | | * @param defaultRule 违约规则 |
| | | * @return 违约规则集合 |
| | | */ |
| | | public List<DefaultRule> selectDefaultRuleList(DefaultRule defaultRule); |
| | | |
| | | /** |
| | | * 新增违约规则 |
| | | * |
| | | * @param defaultRule 违约规则 |
| | | * @return 结果 |
| | | */ |
| | | public int insertDefaultRule(DefaultRule defaultRule); |
| | | |
| | | /** |
| | | * 修改违约规则 |
| | | * |
| | | * @param defaultRule 违约规则 |
| | | * @return 结果 |
| | | */ |
| | | public int updateDefaultRule(DefaultRule defaultRule); |
| | | |
| | | /** |
| | | * 删除违约规则 |
| | | * |
| | | * @param id 违约规则主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDefaultRuleById(Long id); |
| | | |
| | | /** |
| | | * 批量删除违约规则 |
| | | * |
| | | * @param ids 需要删除的数据主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDefaultRuleByIds(Long[] ids); |
| | | } |