龚焕茏
2024-04-26 eb806b5ec0bb72536e78c1a7fcffb94bcd24cbbe
ycl-server/src/main/java/com/ycl/platform/service/ITContractService.java
@@ -1,8 +1,13 @@
package com.ycl.platform.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ycl.platform.domain.entity.CalculateMoneyRule;
import com.ycl.platform.domain.entity.TContract;
import com.ycl.system.AjaxResult;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;
import java.util.List;
/**
 * 【请填写功能名称】Service接口
@@ -17,4 +22,21 @@
     * @param response 结果
     */
    void importTemplate(HttpServletResponse response);
    /**
     * 导入合同数据
     * @param file 文件
     * @param tContract 合同信息
     * @return 导入结果
     */
    AjaxResult importData(MultipartFile file, TContract tContract);
    List<TContract> selectAll();
    /**
     * 根据合同id查询钱核算规则
     * @param contractId 合同id
     * @return 规则
     */
    List<CalculateMoneyRule> selectMoneyRules(Integer contractId);
}