龚焕茏
2024-04-28 528583047b08f74df27ac538705627741363602e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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接口
 *
 * @author ruoyi
 * @date 2024-03-12
 */
public interface ITContractService extends IService<TContract> {
 
    /**
     * 导入合同模板
     * @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);
 
    /**
     * 查询所有正在使用的合同
     * @return 数据
     */
    List<TContract> selectUsingContract();
}