| | |
| | | package com.ycl.platform.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ycl.platform.domain.entity.CalculateRule; |
| | | import com.ycl.platform.domain.vo.CalculateRuleCascaderVO; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 违约规则Service接口 |
| | |
| | | * @author ruoyi |
| | | * @date 2024-04-01 |
| | | */ |
| | | public interface ICalculateRuleService |
| | | { |
| | | public interface ICalculateRuleService extends IService<CalculateRule> { |
| | | /** |
| | | * 查询违约规则 |
| | | * |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDefaultRuleById(Long id); |
| | | |
| | | /** |
| | | * 根据合同id查询规则 |
| | | * @param contractId 合同id |
| | | * @return 合同规则 |
| | | */ |
| | | List<CalculateRule> getRuleListByContractId(Integer contractId); |
| | | |
| | | /** |
| | | * 根据单位id查询规则 |
| | | * @param unitId 运维单位 |
| | | * @return 规则 |
| | | */ |
| | | List<CalculateRuleCascaderVO> getRuleListByUnitId(Integer unitId); |
| | | } |