| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ycl.platform.domain.entity.CalculateMoneyRule; |
| | | import com.ycl.platform.domain.entity.TContract; |
| | | import com.ycl.platform.domain.query.ContractQuery; |
| | | import com.ycl.system.AjaxResult; |
| | | import com.ycl.system.Result; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | |
| | | */ |
| | | AjaxResult importData(MultipartFile file, TContract tContract); |
| | | |
| | | List<TContract> selectAll(); |
| | | /** |
| | | * 分页查询 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | Result selectAll(ContractQuery query); |
| | | |
| | | /** |
| | | * 根据合同id查询钱核算规则 |
| | |
| | | * @return 规则 |
| | | */ |
| | | List<CalculateMoneyRule> selectMoneyRules(Integer contractId); |
| | | |
| | | /** |
| | | * 查询所有正在使用的合同 |
| | | * @return 数据 |
| | | */ |
| | | List<TContract> selectUsingContract(); |
| | | |
| | | /** |
| | | * 获取运维单位的合同时间范围 |
| | | * |
| | | * @param unitId |
| | | * @return |
| | | */ |
| | | Result timeRange(Integer unitId); |
| | | } |