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
2693e062
Commit
2693e062
authored
May 20, 2025
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huych-导出优化
parent
7a2c0d00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
TSalaryAccountServiceImpl.java
...1/yifu/salary/service/impl/TSalaryAccountServiceImpl.java
+1
-1
TSalaryAccountMapper.xml
...ry-biz/src/main/resources/mapper/TSalaryAccountMapper.xml
+2
-1
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryAccountServiceImpl.java
View file @
2693e062
...
@@ -270,7 +270,7 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
...
@@ -270,7 +270,7 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
return
;
return
;
}
}
// 使用SXSSF模式,设置缓存行数为100
0
,减少内存占用
// 使用SXSSF模式,设置缓存行数为100,减少内存占用
ExcelWriterBuilder
writerBuilder
=
EasyExcel
.
write
(
out
,
TSalaryAccount
.
class
)
ExcelWriterBuilder
writerBuilder
=
EasyExcel
.
write
(
out
,
TSalaryAccount
.
class
)
.
registerWriteHandler
(
new
SheetWriteHandler
()
{
.
registerWriteHandler
(
new
SheetWriteHandler
()
{
@Override
@Override
...
...
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TSalaryAccountMapper.xml
View file @
2693e062
...
@@ -1790,7 +1790,7 @@
...
@@ -1790,7 +1790,7 @@
</if>
</if>
inner join (
inner join (
SELECT
SELECT
a.id
a.id
,a.CREATE_TIME
FROM
FROM
<if
test=
"searchVo.salaryMonthStart == null or searchVo.salaryMonthStart.trim() >= '202201'"
>
<if
test=
"searchVo.salaryMonthStart == null or searchVo.salaryMonthStart.trim() >= '202201'"
>
t_salary_account a
t_salary_account a
...
@@ -1819,6 +1819,7 @@
...
@@ -1819,6 +1819,7 @@
) tmp ON a.id = tmp.id
) tmp ON a.id = tmp.id
left join sys_area ap on ap.id=a.BANK_PROVINCE
left join sys_area ap on ap.id=a.BANK_PROVINCE
left join sys_area ac on ac.id=a.BANK_CITY
left join sys_area ac on ac.id=a.BANK_CITY
ORDER BY tmp.CREATE_TIME desc
</select>
</select>
<!-- 员工报账导出查询 -->
<!-- 员工报账导出查询 -->
...
...
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