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);
|
}
|