Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
ba8fa7bd
Commit
ba8fa7bd
authored
May 22, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.4' into MVP1.5.4
parents
9dbde145
8c93e79d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
709 additions
and
156 deletions
+709
-156
TSalaryAccountPhoneController.java
...yifu/salary/controller/TSalaryAccountPhoneController.java
+2
-0
TPaymentInfoNewExportVo.java
...cloud/plus/v1/yifu/social/vo/TPaymentInfoNewExportVo.java
+211
-0
TPaymentInfoNewVo.java
.../yifu/cloud/plus/v1/yifu/social/vo/TPaymentInfoNewVo.java
+93
-56
PaymentConstants.java
...cloud/plus/v1/yifu/social/constants/PaymentConstants.java
+1
-0
TPaymentInfoController.java
...lus/v1/yifu/social/controller/TPaymentInfoController.java
+13
-0
TPaymentInfoMapper.java
.../cloud/plus/v1/yifu/social/mapper/TPaymentInfoMapper.java
+14
-0
TPaymentInfoService.java
...loud/plus/v1/yifu/social/service/TPaymentInfoService.java
+8
-0
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+59
-0
TPaymentInfoMapper.xml
...cial-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
+308
-100
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TSalaryAccountPhoneController.java
View file @
ba8fa7bd
...
...
@@ -76,6 +76,7 @@ public class TSalaryAccountPhoneController {
.
eq
(
TSalaryAccount:
:
getEmpIdcard
,
idNumber
)
.
eq
(
TSalaryAccount:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
)
.
eq
(
TSalaryAccount:
:
getSendStatus
,
CommonConstants
.
ONE_STRING
)
.
eq
(
TSalaryAccount:
:
getPaySettleFlag
,
CommonConstants
.
ZERO_STRING
)
.
last
(
SORT_COL
.
concat
(
CommonConstants
.
LAST_ONE_SQL
)));
//查实发工资
if
(
Common
.
isNotNull
(
list
))
{
...
...
@@ -89,6 +90,7 @@ public class TSalaryAccountPhoneController {
.
eq
(
TSalaryAccount:
:
getEmpIdcard
,
idNumber
)
.
eq
(
TSalaryAccount:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
)
.
eq
(
TSalaryAccount:
:
getSendStatus
,
CommonConstants
.
ONE_STRING
)
.
eq
(
TSalaryAccount:
:
getPaySettleFlag
,
CommonConstants
.
ZERO_STRING
)
.
likeRight
(
TSalaryAccount:
:
getSalaryMonth
,
year
).
last
(
SORT_COL
));
//查实发工资
if
(
Common
.
isNotNull
(
list
))
{
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TPaymentInfoNewExportVo.java
0 → 100644
View file @
ba8fa7bd
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.HeadFontStyle
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
/**
* 缴费库查询导出字段
* @author huyc
* @date 2023-05-18 17:01:22
*/
@Data
public
class
TPaymentInfoNewExportVo
extends
RowIndex
implements
Serializable
{
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 身份证号
*/
@ExcelAttribute
(
name
=
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"身份证号"
)
private
String
empIdcard
;
/**
* 客户名称
*/
@ExcelAttribute
(
name
=
"客户名称"
)
@Schema
(
description
=
"客户名称"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"客户名称"
)
private
String
unitName
;
/**
* 项目名称
*/
@ExcelAttribute
(
name
=
"项目名称"
)
@Schema
(
description
=
"项目名称"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"项目名称"
)
private
String
settleDomainName
;
/**
* 社保缴纳地
*/
@ExcelAttribute
(
name
=
"社保缴纳地"
)
@Schema
(
description
=
"社保缴纳地"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"社保缴纳地"
)
private
String
socialPayAddr
;
/**
* 缴纳月份
*/
@ExcelAttribute
(
name
=
"缴纳月份"
)
@Schema
(
description
=
"缴纳月份"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"缴纳月份"
)
private
String
socialPayMonth
;
/**
* 生成月份
*/
@ExcelAttribute
(
name
=
"生成月份"
)
@Schema
(
description
=
"生成月份"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"生成月份"
)
private
String
socialCreateMonth
;
/**
* 养老金额
*/
@ExcelAttribute
(
name
=
"养老金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"养老金额"
)
private
BigDecimal
pensionMoneySum
;
/**
* 医疗金额
*/
@ExcelAttribute
(
name
=
"医疗金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"医疗金额"
)
private
BigDecimal
medicalMoneySum
;
/**
* 失业金额
*/
@ExcelAttribute
(
name
=
"失业金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"失业金额"
)
private
BigDecimal
unemploymentMoneySum
;
/**
* 工伤金额
*/
@ExcelAttribute
(
name
=
"工伤金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"工伤金额"
)
private
BigDecimal
unitInjuryMoney
;
/**
* 单位生育金额
*/
@ExcelAttribute
(
name
=
"生育金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"生育金额"
)
private
BigDecimal
unitBirthMoney
;
/**
* 大病金额
*/
@ExcelAttribute
(
name
=
"大病金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"大病金额"
)
private
BigDecimal
bigmailmentMoneySum
;
/**
* 补缴利息
*/
@ExcelAttribute
(
name
=
"补缴利息"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"补缴利息"
)
private
BigDecimal
accrualSum
;
/**
* 社保户
*/
@ExcelAttribute
(
name
=
"社保户"
)
@Schema
(
description
=
"社保户"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"社保户"
)
private
String
socialHousehold
;
/**
* 社保合计
*/
@ExcelAttribute
(
name
=
"社保合计"
)
@Schema
(
description
=
"社保合计"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"社保合计"
)
private
BigDecimal
socialSum
;
/**
* 公积金户
*/
@ExcelAttribute
(
name
=
"公积金户"
)
@Schema
(
description
=
"公积金户"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHousehold
;
/**
* 公积金缴纳地
*/
@ExcelAttribute
(
name
=
"公积金缴纳地"
)
@Schema
(
description
=
"公积金缴纳地"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金缴纳地"
)
private
String
providentPayAddr
;
/**
* 公积金合计
*/
@ExcelAttribute
(
name
=
"公积金合计"
)
@Schema
(
description
=
"公积金合计"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金合计"
)
private
BigDecimal
providentSum
;
/**
* 总合计
*/
@ExcelAttribute
(
name
=
"总合计"
)
@Schema
(
description
=
"总合计"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"总合计"
)
private
BigDecimal
sumAll
;
/**
* 分组键
*/
@ExcelAttribute
(
name
=
"分组键"
,
isExport
=
false
)
@Schema
(
description
=
"分组键"
)
private
String
keyGroup
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TPaymentInfoNewVo.java
View file @
ba8fa7bd
...
...
@@ -70,19 +70,10 @@ public class TPaymentInfoNewVo extends RowIndex implements Serializable {
@ExcelProperty
(
"项目名称"
)
private
String
settleDomainName
;
/**
* 社保户
*/
@ExcelAttribute
(
name
=
"社保户"
)
@Schema
(
description
=
"社保户"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"社保户"
)
private
String
socialHousehold
;
/**
* 社保编号
*/
@ExcelAttribute
(
name
=
"社保编号"
)
@ExcelAttribute
(
name
=
"社保编号"
,
isExport
=
false
)
@Schema
(
description
=
"社保编号"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"社保编号"
)
...
...
@@ -116,49 +107,13 @@ public class TPaymentInfoNewVo extends RowIndex implements Serializable {
private
String
socialCreateMonth
;
/**
* 总合计
*/
@ExcelAttribute
(
name
=
"总合计"
)
@Schema
(
description
=
"总合计"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"总合计"
)
private
BigDecimal
sumAll
;
/**
* 公积金缴纳月份
*/
@ExcelAttribute
(
name
=
"公积金缴纳月份"
)
@Schema
(
description
=
"公积金缴纳月份"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金缴纳月份"
)
private
String
providentPayMonth
;
/**
* 公积金生成月份
*/
@ExcelAttribute
(
name
=
"公积金生成月份"
)
@Schema
(
description
=
"公积金生成月份"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金生成月份"
)
private
String
providentCreateMonth
;
/**
* 公积金户
*/
@ExcelAttribute
(
name
=
"公积金户"
)
@Schema
(
description
=
"公积金户"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHousehold
;
/**
* 公积金缴纳地
* 社保户
*/
@ExcelAttribute
(
name
=
"
公积金缴纳地
"
)
@Schema
(
description
=
"
公积金缴纳地
"
)
@ExcelAttribute
(
name
=
"
社保户
"
)
@Schema
(
description
=
"
社保户
"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"
公积金缴纳地
"
)
private
String
providentPayAddr
;
@ExcelProperty
(
"
社保户
"
)
private
String
socialHousehold
;
/**
* 社保合计
...
...
@@ -188,13 +143,22 @@ public class TPaymentInfoNewVo extends RowIndex implements Serializable {
private
BigDecimal
socialSecurityPersonalSum
;
/**
*
公积金总
合计
*
单位社保公积金
合计
*/
@ExcelAttribute
(
name
=
"
公积金总
合计"
)
@Schema
(
description
=
"
公积金总
合计"
)
@ExcelAttribute
(
name
=
"
单位社保公积金
合计"
)
@Schema
(
description
=
"
单位社保公积金
合计"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金总合计"
)
private
BigDecimal
providentSum
;
@ExcelProperty
(
"单位社保公积金合计"
)
private
BigDecimal
unitSocialFundSum
;
/**
* 个人社保公积金合计
*/
@ExcelAttribute
(
name
=
"个人社保公积金合计"
)
@Schema
(
description
=
"个人社保公积金合计"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"个人社保公积金合计"
)
private
BigDecimal
socialFundPersonalSum
;
/**
* 单位社保补缴利息
...
...
@@ -287,6 +251,7 @@ public class TPaymentInfoNewVo extends RowIndex implements Serializable {
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"单位大病金额"
)
private
BigDecimal
unitBigmailmentMoney
;
/**
* 个人养老金额
*/
...
...
@@ -315,6 +280,42 @@ public class TPaymentInfoNewVo extends RowIndex implements Serializable {
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"个人大病金额"
)
private
BigDecimal
personalBigmailmentMoney
;
/**
* 养老金额
*/
@ExcelAttribute
(
name
=
"养老金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"养老金额"
)
private
BigDecimal
pensionMoneySum
;
/**
* 医疗金额
*/
@ExcelAttribute
(
name
=
"医疗金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"医疗金额"
)
private
BigDecimal
medicalMoneySum
;
/**
* 失业金额
*/
@ExcelAttribute
(
name
=
"失业金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"失业金额"
)
private
BigDecimal
unemploymentMoneySum
;
/**
* 大病金额
*/
@ExcelAttribute
(
name
=
"大病金额"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"大病金额"
)
private
BigDecimal
bigmailmentMoneySum
;
/**
* 补缴利息
*/
@ExcelAttribute
(
name
=
"补缴利息"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"补缴利息"
)
private
BigDecimal
accrualSum
;
/**
* 公积金编号
*/
...
...
@@ -358,6 +359,42 @@ public class TPaymentInfoNewVo extends RowIndex implements Serializable {
@ExcelProperty
(
"个人公积金费用"
)
private
BigDecimal
personalProvidentSum
;
/**
* 公积金户
*/
@ExcelAttribute
(
name
=
"公积金户"
)
@Schema
(
description
=
"公积金户"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHousehold
;
/**
* 公积金缴纳地
*/
@ExcelAttribute
(
name
=
"公积金缴纳地"
)
@Schema
(
description
=
"公积金缴纳地"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金缴纳地"
)
private
String
providentPayAddr
;
/**
* 公积金合计
*/
@ExcelAttribute
(
name
=
"公积金合计"
)
@Schema
(
description
=
"公积金合计"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"公积金合计"
)
private
BigDecimal
providentSum
;
/**
* 总合计
*/
@ExcelAttribute
(
name
=
"总合计"
)
@Schema
(
description
=
"总合计"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"总合计"
)
private
BigDecimal
sumAll
;
/**
* 分组键
*/
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/constants/PaymentConstants.java
View file @
ba8fa7bd
...
...
@@ -12,4 +12,5 @@ public class PaymentConstants {
public
static
final
String
INJURY_RISK
=
"工伤保险"
;
public
static
final
String
MEDICAL
=
"医疗"
;
public
static
final
String
EXPORT
=
"缴费库合并导出"
;
public
static
final
String
SEARCH_EXPORT
=
"缴费库查询合并导出"
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TPaymentInfoController.java
View file @
ba8fa7bd
...
...
@@ -303,6 +303,19 @@ public class TPaymentInfoController {
tPaymentInfoService
.
listSumExport
(
response
,
searchVo
);
}
/**
* 缴费库查询合并导出
*
* @author huyc
* @date 2023-05-19
**/
@Operation
(
description
=
"缴费库查询合并导出 hasPermission('social_tpaymentinfo_export')"
)
@PostMapping
(
"/sumSearchExport"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpaymentinfo_export')"
)
public
void
sumSearchExport
(
HttpServletResponse
response
,
@RequestBody
TPaymentInfoSearchVo
searchVo
)
{
tPaymentInfoService
.
sumSearchExport
(
response
,
searchVo
);
}
/**
* 根据条件批量删除
*
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TPaymentInfoMapper.java
View file @
ba8fa7bd
...
...
@@ -67,6 +67,13 @@ public interface TPaymentInfoMapper extends BaseMapper<TPaymentInfo> {
*/
Integer
selectCountTPaymentInfo
(
@Param
(
"tPaymentInfo"
)
TPaymentInfoSearchVo
searchVo
);
/**
* 缴费库简单分页查询
* @param searchVo 缴费库
* @return
*/
Integer
selectCountPaymentSearchInfo
(
@Param
(
"tPaymentInfo"
)
TPaymentInfoSearchVo
searchVo
);
/**
* 缴费库简单分页查询
* @param searchVo 缴费库
...
...
@@ -102,6 +109,13 @@ public interface TPaymentInfoMapper extends BaseMapper<TPaymentInfo> {
*/
List
<
TPaymentInfoExportVo
>
getTPaymentInfoSumNoPage
(
@Param
(
"tPaymentInfo"
)
TPaymentInfoSearchVo
searchVo
);
/**
* 缴费库查询详情
* @param tPaymentInfo
* @return
*/
List
<
TPaymentInfoNewExportVo
>
getTPaymentInfoNewExportInfo
(
@Param
(
"tPaymentInfo"
)
TPaymentInfoSearchVo
tPaymentInfo
);
/**
* 更新社保或者公积金
* @param tPaymentInfo 缴费库
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TPaymentInfoService.java
View file @
ba8fa7bd
...
...
@@ -97,6 +97,14 @@ public interface TPaymentInfoService extends IService<TPaymentInfo> {
*/
void
listSumExport
(
HttpServletResponse
response
,
TPaymentInfoSearchVo
searchVo
);
/**
* 合并导出缴费库查询
* @param response
* @param searchVo
* @return
*/
void
sumSearchExport
(
HttpServletResponse
response
,
TPaymentInfoSearchVo
searchVo
);
/**
* 删除缴费库数据 包括明细
* @Author huyc
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
ba8fa7bd
...
...
@@ -290,6 +290,65 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
}
}
/**
* 缴费库查询批量导出
*
* @param searchVo 缴费库
* @return
*/
@Override
public
void
sumSearchExport
(
HttpServletResponse
response
,
TPaymentInfoSearchVo
searchVo
)
{
String
fileName
=
PaymentConstants
.
SEARCH_EXPORT
+
DateUtil
.
getThisTime
()
+
CommonConstants
.
XLSX
;
//获取要导出的列表
List
<
TPaymentInfoNewExportVo
>
list
=
new
ArrayList
<>();
Integer
count
=
baseMapper
.
selectCountPaymentSearchInfo
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
CommonConstants
.
MULTIPART_FORM_DATA
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
CommonConstants
.
CONTENT_DISPOSITION
,
CommonConstants
.
ATTACHMENT_FILENAME
+
URLEncoder
.
encode
(
fileName
,
"UTF-8"
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TPaymentInfoNewExportVo
.
class
).
includeColumnFieldNames
(
searchVo
.
getExportFields
()).
build
();
int
index
=
0
;
if
(
count
>
CommonConstants
.
ZERO_INT
)
{
WriteSheet
writeSheet
;
for
(
int
i
=
0
;
i
<=
count
;
i
+=
CommonConstants
.
EXCEL_EXPORT_LIMIT
)
{
// 获取实际记录
searchVo
.
setLimitStart
(
i
);
searchVo
.
setLimitEnd
(
CommonConstants
.
EXCEL_EXPORT_LIMIT
);
list
=
baseMapper
.
getTPaymentInfoNewExportInfo
(
searchVo
);
if
(
Common
.
isNotNull
(
list
))
{
writeSheet
=
EasyExcel
.
writerSheet
(
PaymentConstants
.
SEARCH_EXPORT
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
index
++;
}
if
(
Common
.
isNotNull
(
list
))
{
list
.
clear
();
}
}
}
else
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
PaymentConstants
.
SEARCH_EXPORT
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
}
if
(
Common
.
isNotNull
(
list
))
{
list
.
clear
();
}
out
.
flush
();
excelWriter
.
finish
();
}
catch
(
Exception
e
)
{
log
.
error
(
"执行异常"
,
e
);
}
finally
{
try
{
if
(
null
!=
out
)
{
out
.
close
();
}
}
catch
(
IOException
e
)
{
log
.
error
(
"执行异常"
,
e
);
}
}
}
@Override
public
R
<
Boolean
>
removeInFoById
(
String
id
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
View file @
ba8fa7bd
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment