Commit c8913aaf authored by fangxinjiang's avatar fangxinjiang

代码优化

parent 3add8e96
...@@ -204,7 +204,7 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T ...@@ -204,7 +204,7 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T
@Override @Override
public void listExport(HttpServletResponse response, EmpBadRecordSearchVo searchVo) { public void listExport(HttpServletResponse response, EmpBadRecordSearchVo searchVo) {
String fileName = "不良记录批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "不良记录批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TEmpBadRecord> list = new ArrayList<>(); List<TEmpBadRecord> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -93,7 +93,7 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM ...@@ -93,7 +93,7 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
@Override @Override
public void listExport(HttpServletResponse response, ContractAlertSearchVo searchVo) { public void listExport(HttpServletResponse response, ContractAlertSearchVo searchVo) {
String fileName = ArchivesConstants.EMP_BAD_RECORD + LocalDateTime.now() + ".xlsx"; String fileName = ArchivesConstants.EMP_BAD_RECORD + LocalDateTime.now() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TEmpContractAlert> list = new ArrayList<>(); List<TEmpContractAlert> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -908,7 +908,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr ...@@ -908,7 +908,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
@Override @Override
public void exportContractInfo(TEmployeeContractInfo contractInfo, HttpServletResponse response) { public void exportContractInfo(TEmployeeContractInfo contractInfo, HttpServletResponse response) {
if (contractInfo != null && contractInfo.getExportFields() != null && !contractInfo.getExportFields().isEmpty()) { if (contractInfo != null && contractInfo.getExportFields() != null && !contractInfo.getExportFields().isEmpty()) {
String fileName = "员工合同批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "员工合同批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<EmployeeContractExportVO> list = baseMapper.getTEmployeeContractExport(contractInfo); List<EmployeeContractExportVO> list = baseMapper.getTEmployeeContractExport(contractInfo);
ServletOutputStream out = null; ServletOutputStream out = null;
...@@ -948,7 +948,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr ...@@ -948,7 +948,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
@Override @Override
public void exportContractInfoHistory(TEmployeeContractInfo contractInfo, HttpServletResponse response) { public void exportContractInfoHistory(TEmployeeContractInfo contractInfo, HttpServletResponse response) {
if (contractInfo != null && contractInfo.getExportFields() != null && !contractInfo.getExportFields().isEmpty()) { if (contractInfo != null && contractInfo.getExportFields() != null && !contractInfo.getExportFields().isEmpty()) {
String fileName = "员工合同批量导出【合并历史】" + DateUtil.getThisTime() + ".xlsx"; String fileName = "员工合同批量导出【合并历史】" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<EmployeeContractExportVO> list = baseMapper.getTEmployeeContractExportHistory(contractInfo); List<EmployeeContractExportVO> list = baseMapper.getTEmployeeContractExportHistory(contractInfo);
ServletOutputStream out = null; ServletOutputStream out = null;
......
...@@ -1965,7 +1965,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T ...@@ -1965,7 +1965,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
@Override @Override
public void exportEmployee(TEmployeeInfo employeeInfo, HttpServletResponse response) { public void exportEmployee(TEmployeeInfo employeeInfo, HttpServletResponse response) {
if (employeeInfo != null && employeeInfo.getExportFields() != null && !employeeInfo.getExportFields().isEmpty()) { if (employeeInfo != null && employeeInfo.getExportFields() != null && !employeeInfo.getExportFields().isEmpty()) {
String fileName = "人员档案批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "人员档案批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
employeeInfo.setFileStatus(CommonConstants.ZERO_INT); employeeInfo.setFileStatus(CommonConstants.ZERO_INT);
List<EmployeeExportVO> list = baseMapper.getTEmployeeExportList(employeeInfo); List<EmployeeExportVO> list = baseMapper.getTEmployeeExportList(employeeInfo);
...@@ -2006,7 +2006,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T ...@@ -2006,7 +2006,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
@Override @Override
public void exportLeaveEmployee(TEmployeeInfo employeeInfo, HttpServletResponse response) { public void exportLeaveEmployee(TEmployeeInfo employeeInfo, HttpServletResponse response) {
if (employeeInfo != null && employeeInfo.getExportFields() != null && !employeeInfo.getExportFields().isEmpty()) { if (employeeInfo != null && employeeInfo.getExportFields() != null && !employeeInfo.getExportFields().isEmpty()) {
String fileName = "离职档案批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "离职档案批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
employeeInfo.setFileStatus(CommonConstants.ONE_INT); employeeInfo.setFileStatus(CommonConstants.ONE_INT);
List<EmployeeExportVO> list = baseMapper.getTEmployeeLeaveExportList(employeeInfo); List<EmployeeExportVO> list = baseMapper.getTEmployeeLeaveExportList(employeeInfo);
......
...@@ -1200,7 +1200,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap ...@@ -1200,7 +1200,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
@Override @Override
public void listExportProject(HttpServletResponse response, EmployeeProjectExportVO projectDTO, String idstr, List<String> exportFields) { public void listExportProject(HttpServletResponse response, EmployeeProjectExportVO projectDTO, String idstr, List<String> exportFields) {
String fileName = "项目档案批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "项目档案批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
// 根据用户传入确定要导出的字段 // 根据用户传入确定要导出的字段
Set<String> includeColumnFiledNames = new HashSet<String>(); Set<String> includeColumnFiledNames = new HashSet<String>();
for (String exportField : exportFields) { for (String exportField : exportFields) {
......
...@@ -475,4 +475,5 @@ public interface CommonConstants { ...@@ -475,4 +475,5 @@ public interface CommonConstants {
public static final String PARAM_INFO_ERROR = "传参有误!"; public static final String PARAM_INFO_ERROR = "传参有误!";
public static final String XLSX = CommonConstants.XLSX;
} }
...@@ -138,7 +138,7 @@ public class SysMessageSalaryServiceImpl extends ServiceImpl<SysMessageSalaryMap ...@@ -138,7 +138,7 @@ public class SysMessageSalaryServiceImpl extends ServiceImpl<SysMessageSalaryMap
**/ **/
@Override @Override
public void listExport(HttpServletResponse response, SysMessageSalarySearchVo searchVo) { public void listExport(HttpServletResponse response, SysMessageSalarySearchVo searchVo) {
String fileName = "最低工资提醒批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "最低工资提醒批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<SysMessageSalaryExportVo> list = new ArrayList<>(); List<SysMessageSalaryExportVo> list = new ArrayList<>();
// TODO // TODO
......
...@@ -189,7 +189,7 @@ public class THaveSalaryNosocialServiceImpl extends ServiceImpl<THaveSalaryNosoc ...@@ -189,7 +189,7 @@ public class THaveSalaryNosocialServiceImpl extends ServiceImpl<THaveSalaryNosoc
**/ **/
@Override @Override
public void listExport(HttpServletResponse response, THaveSalaryNosocialSearchVo searchVo) { public void listExport(HttpServletResponse response, THaveSalaryNosocialSearchVo searchVo) {
String fileName = "有工资无社保批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "有工资无社保批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<THaveSalaryNoSocialExportVo> list = new ArrayList<>(); List<THaveSalaryNoSocialExportVo> list = new ArrayList<>();
// TODO // TODO
......
...@@ -73,7 +73,7 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper, ...@@ -73,7 +73,7 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TSalaryAccountSearchVo searchVo) { public void listExport(HttpServletResponse response, TSalaryAccountSearchVo searchVo) {
String fileName = "员工报账查询批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "员工报账查询批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TSalaryAccount> list = new ArrayList<>(); List<TSalaryAccount> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -90,7 +90,7 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe ...@@ -90,7 +90,7 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TSalaryEmployeeSearchVo searchVo) { public void listExport(HttpServletResponse response, TSalaryEmployeeSearchVo searchVo) {
String fileName = "薪酬人员查询批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "薪酬人员查询批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TSalaryEmployeeExportVo> list = new ArrayList<>(); List<TSalaryEmployeeExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -118,7 +118,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe ...@@ -118,7 +118,7 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TSalaryStandardSearchVo searchVo) { public void listExport(HttpServletResponse response, TSalaryStandardSearchVo searchVo) {
String fileName = "项目薪酬查询批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "项目薪酬查询批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TSalaryStandardExportVo> list = new ArrayList<>(); List<TSalaryStandardExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -93,7 +93,7 @@ public class TStatisticsBonusServiceImpl extends ServiceImpl<TStatisticsBonusMap ...@@ -93,7 +93,7 @@ public class TStatisticsBonusServiceImpl extends ServiceImpl<TStatisticsBonusMap
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TStatisticsBonusSearchVo searchVo){ public void listExport(HttpServletResponse response, TStatisticsBonusSearchVo searchVo){
String fileName = "全年一次性奖金批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "全年一次性奖金批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TStatisticsBonus> list = new ArrayList<>(); List<TStatisticsBonus> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
...@@ -157,7 +157,7 @@ public class TStatisticsBonusServiceImpl extends ServiceImpl<TStatisticsBonusMap ...@@ -157,7 +157,7 @@ public class TStatisticsBonusServiceImpl extends ServiceImpl<TStatisticsBonusMap
*/ */
@Override @Override
public void importDiy(HttpServletResponse response, List<TStatisticsBonusImportVo> list, String deptId){ public void importDiy(HttpServletResponse response, List<TStatisticsBonusImportVo> list, String deptId){
String fileName = "全年一次性奖金测算导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "全年一次性奖金测算导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
ServletOutputStream out = null; ServletOutputStream out = null;
//本次纳税额 //本次纳税额
BigDecimal res; BigDecimal res;
......
...@@ -70,7 +70,7 @@ public class TStatisticsCurrentReportServiceImpl extends ServiceImpl<TStatistics ...@@ -70,7 +70,7 @@ public class TStatisticsCurrentReportServiceImpl extends ServiceImpl<TStatistics
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TStatisticsCurrentReportSearchVo searchVo) { public void listExport(HttpServletResponse response, TStatisticsCurrentReportSearchVo searchVo) {
String fileName = "本期申报批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "本期申报批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TStatisticsCurrentReport> list = new ArrayList<>(); List<TStatisticsCurrentReport> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -73,7 +73,7 @@ public class TStatisticsDeclarerServiceImpl extends ServiceImpl<TStatisticsDecla ...@@ -73,7 +73,7 @@ public class TStatisticsDeclarerServiceImpl extends ServiceImpl<TStatisticsDecla
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TStatisticsDeclarerSearchVo searchVo){ public void listExport(HttpServletResponse response, TStatisticsDeclarerSearchVo searchVo){
String fileName = "申报对象批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "申报对象批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TStatisticsDeclarer> list = new ArrayList<>(); List<TStatisticsDeclarer> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -83,7 +83,7 @@ public class TStatisticsLaborServiceImpl extends ServiceImpl<TStatisticsLaborMap ...@@ -83,7 +83,7 @@ public class TStatisticsLaborServiceImpl extends ServiceImpl<TStatisticsLaborMap
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TStatisticsLaborSearchVo searchVo) { public void listExport(HttpServletResponse response, TStatisticsLaborSearchVo searchVo) {
String fileName = "本期劳务费导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "本期劳务费导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TStatisticsLabor> list = new ArrayList<>(); List<TStatisticsLabor> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -79,7 +79,7 @@ public class TStatisticsRemunerationServiceImpl extends ServiceImpl<TStatisticsR ...@@ -79,7 +79,7 @@ public class TStatisticsRemunerationServiceImpl extends ServiceImpl<TStatisticsR
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TStatisticsRemunerationSearchVo searchVo) { public void listExport(HttpServletResponse response, TStatisticsRemunerationSearchVo searchVo) {
String fileName = "本期稿酬申报表导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "本期稿酬申报表导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TStatisticsRemuneration> list = new ArrayList<>(); List<TStatisticsRemuneration> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -85,7 +85,7 @@ public class TStatisticsTaxSalaryServiceImpl extends ServiceImpl<TStatisticsTaxS ...@@ -85,7 +85,7 @@ public class TStatisticsTaxSalaryServiceImpl extends ServiceImpl<TStatisticsTaxS
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TStatisticsTaxSalarySearchVo searchVo) { public void listExport(HttpServletResponse response, TStatisticsTaxSalarySearchVo searchVo) {
String fileName = "工资薪金批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "工资薪金批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TStatisticsTaxSalary> list = new ArrayList<>(); List<TStatisticsTaxSalary> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -43,6 +43,8 @@ public class DispatchConstants { ...@@ -43,6 +43,8 @@ public class DispatchConstants {
public static final String DISPATCH_FUND= "公积金、"; public static final String DISPATCH_FUND= "公积金、";
public static final String DISPATCH_FUND_REDUCE_SUCCESS = "公积金派减办理成功:"; public static final String DISPATCH_FUND_REDUCE_SUCCESS = "公积金派减办理成功:";
public static final String DISPATCH_FUND_REDUCE_FAIL = "公积金派减办理失败:"; public static final String DISPATCH_FUND_REDUCE_FAIL = "公积金派减办理失败:";
public static final String DISPATCH_SYN_DOC_EXE ="同步人员档案、项目档案的社保公积金状态失败!";
public static final String DISPATCH_EXCEPTION = "派单办理异常:";
/** /**
......
...@@ -72,7 +72,7 @@ public class TAuditInfoServiceImpl extends ServiceImpl<TAuditInfoMapper, TAuditI ...@@ -72,7 +72,7 @@ public class TAuditInfoServiceImpl extends ServiceImpl<TAuditInfoMapper, TAuditI
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TAuditInfoSearchVo searchVo){ public void listExport(HttpServletResponse response, TAuditInfoSearchVo searchVo){
String fileName = "不良记录批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "不良记录批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TAuditInfo> list = new ArrayList<>(); List<TAuditInfo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -73,7 +73,7 @@ public class TDispatchDayConfServiceImpl extends ServiceImpl<TDispatchDayConfMap ...@@ -73,7 +73,7 @@ public class TDispatchDayConfServiceImpl extends ServiceImpl<TDispatchDayConfMap
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TDispatchDayConfSearchVo searchVo){ public void listExport(HttpServletResponse response, TDispatchDayConfSearchVo searchVo){
String fileName = "不良记录批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "不良记录批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TDispatchDayConf> list = new ArrayList<>(); List<TDispatchDayConf> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -100,7 +100,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap ...@@ -100,7 +100,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TForecastLibrary searchVo) { public void listExport(HttpServletResponse response, TForecastLibrary searchVo) {
String fileName = "预估费用批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "预估费用批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TForecastLibraryExportVo> list = new ArrayList<>(); List<TForecastLibraryExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -79,7 +79,7 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl ...@@ -79,7 +79,7 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TIncomeSearchVo searchVo) { public void listExport(HttpServletResponse response, TIncomeSearchVo searchVo) {
String fileName = "收入明细批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "收入明细批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<IncomeExportVo> list = new ArrayList<>(); List<IncomeExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo, null, Common.getList(searchVo.getIds()), ""); long count = noPageCountDiy(searchVo, null, Common.getList(searchVo.getIds()), "");
......
...@@ -60,7 +60,7 @@ public class TPaymentInfoImportLogServiceImpl extends ServiceImpl<TPaymentInfoIm ...@@ -60,7 +60,7 @@ public class TPaymentInfoImportLogServiceImpl extends ServiceImpl<TPaymentInfoIm
*/ */
public String exportPaymentInfoLog(HttpServletResponse response, String random) { public String exportPaymentInfoLog(HttpServletResponse response, String random) {
String fileName = "社保导入日志" + DateUtil.getThisTime() + ".xlsx"; String fileName = "社保导入日志" + DateUtil.getThisTime() + CommonConstants.XLSX;
List<TPaymentInfoImportLogVo> list = new ArrayList<>(); List<TPaymentInfoImportLogVo> list = new ArrayList<>();
List<TPaymentInfoImportLog> paymentInfoImportLogList = lambdaQuery() List<TPaymentInfoImportLog> paymentInfoImportLogList = lambdaQuery()
......
...@@ -131,7 +131,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -131,7 +131,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TPaymentInfoSearchVo searchVo) { public void listExport(HttpServletResponse response, TPaymentInfoSearchVo searchVo) {
String fileName = "缴费库批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "缴费库批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TPaymentInfo> list = new ArrayList<>(); List<TPaymentInfo> list = new ArrayList<>();
Integer count = baseMapper.selectCountTPaymentInfo(searchVo); Integer count = baseMapper.selectCountTPaymentInfo(searchVo);
......
...@@ -865,7 +865,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap ...@@ -865,7 +865,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
@Override @Override
public void doexportPreDispatch(HttpServletResponse response, TPreDispatchInfo tPreDispatchInfo) { public void doexportPreDispatch(HttpServletResponse response, TPreDispatchInfo tPreDispatchInfo) {
String fileName = "导出预派单" + DateUtil.getThisTime() + ".xlsx"; String fileName = "导出预派单" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TPreDispatchExportVo> list = new ArrayList<>(); List<TPreDispatchExportVo> list = new ArrayList<>();
......
...@@ -73,7 +73,7 @@ public class TProvidentFundServiceImpl extends ServiceImpl<TProvidentFundMapper, ...@@ -73,7 +73,7 @@ public class TProvidentFundServiceImpl extends ServiceImpl<TProvidentFundMapper,
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TProvidentFundSearchVo searchVo){ public void listExport(HttpServletResponse response, TProvidentFundSearchVo searchVo){
String fileName = "不良记录批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "不良记录批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TProvidentFund> list = new ArrayList<>(); List<TProvidentFund> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -73,7 +73,7 @@ public class TSocialFundHistoryServiceImpl extends ServiceImpl<TSocialFundHistor ...@@ -73,7 +73,7 @@ public class TSocialFundHistoryServiceImpl extends ServiceImpl<TSocialFundHistor
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TSocialFundHistorySearchVo searchVo){ public void listExport(HttpServletResponse response, TSocialFundHistorySearchVo searchVo){
String fileName = "不良记录批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "不良记录批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TSocialFundHistory> list = new ArrayList<>(); List<TSocialFundHistory> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -98,7 +98,7 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe ...@@ -98,7 +98,7 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TSocialFundInfoSearchVo searchVo) { public void listExport(HttpServletResponse response, TSocialFundInfoSearchVo searchVo) {
String fileName = "社保公积金批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "社保公积金批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TSocialFundInfoExportVo> list = new ArrayList<>(); List<TSocialFundInfoExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
...@@ -72,7 +72,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci ...@@ -72,7 +72,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
*/ */
@Override @Override
public void listExport(HttpServletResponse response, TSocialInfoSearchVo searchVo){ public void listExport(HttpServletResponse response, TSocialInfoSearchVo searchVo){
String fileName = "不良记录批量导出" + DateUtil.getThisTime() + ".xlsx"; String fileName = "不良记录批量导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TSocialInfo> list = new ArrayList<>(); List<TSocialInfo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = noPageCountDiy(searchVo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment