mitao
2024-07-12 3e456f3e812ead6a19e80cfbdbf86ae0263d50b9
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package com.finance.system.service;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.finance.common.basic.PageDTO;
import com.finance.common.core.domain.R;
import com.finance.system.domain.TbBasicData;
import com.finance.system.dto.BasicDataDTO;
import com.finance.system.dto.update.BasicDataUpdDTO;
import com.finance.system.query.CurrentFieldsQuery;
import com.finance.system.query.ScoreCalculateQuery;
import com.finance.system.query.ScoreQuery;
import com.finance.system.vo.BasicDataReportingVO;
import com.finance.system.vo.CurrentFieldsAllVO;
import com.finance.system.vo.CurrentFieldsDetailVO;
import com.finance.system.vo.CurrentFieldsVO;
import com.finance.system.vo.FieldAndScoreDataVO;
import com.finance.system.vo.ScoreCalculateVO;
import com.finance.system.vo.ScoreVO;
import com.finance.system.vo.TransferPaymentScaleVO;
import java.io.IOException;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;
 
/**
 * 基础数据表 服务类
 *
 * @author mitao
 * @since 2024-03-13
 */
public interface TbBasicDataService extends IService<TbBasicData> {
 
    R<BasicDataReportingVO> getBasicFields() throws Exception;
 
    void saveBasicData(BasicDataDTO dto) throws Exception;
 
    void importBasicData(MultipartFile file) throws Exception;
 
    PageDTO<ScoreVO> pageScore(ScoreQuery query);
 
    R<CurrentFieldsDetailVO> fieldsDetails(Long id);
 
    R<PageDTO<CurrentFieldsVO>> fieldsStatics(CurrentFieldsQuery dto) throws Exception;
 
    CurrentFieldsAllVO fieldsStaticsAll() throws Exception;
 
    R<PageDTO<CurrentFieldsVO>> historyFieldsStatics(CurrentFieldsQuery dto);
 
    PageDTO<ScoreCalculateVO> scoreCalculatePage(ScoreCalculateQuery query);
 
    CurrentFieldsAllVO fieldsStaticsAll(String quarter);
 
    void importData(MultipartFile file, String quarter) throws IOException;
 
    void exportData(List<String> quarterList) throws Exception;
 
    Page<TransferPaymentScaleVO> transferPaymentScalePage(Page<TransferPaymentScaleVO> page,
            String quarter);
 
    List<FieldAndScoreDataVO> selectBasicDataFieldsConfig(String areaCode, String nowQuarter);
 
    void editBasicData(BasicDataUpdDTO dto) throws Exception;
 
    void exportDataV2(List<String> quarterList) throws IOException;
 
    List<FieldAndScoreDataVO> getFieldAndScoreData(String areaCode, String nowQuarter,
            Integer yearType);
}