Commit 2693e062 authored by huyuchen's avatar huyuchen

huych-导出优化

parent 7a2c0d00
......@@ -270,7 +270,7 @@ public class TSalaryAccountServiceImpl extends ServiceImpl<TSalaryAccountMapper,
return;
}
// 使用SXSSF模式,设置缓存行数为1000,减少内存占用
// 使用SXSSF模式,设置缓存行数为100,减少内存占用
ExcelWriterBuilder writerBuilder = EasyExcel.write(out, TSalaryAccount.class)
.registerWriteHandler(new SheetWriteHandler() {
@Override
......
......@@ -1790,7 +1790,7 @@
</if>
inner join (
SELECT
a.id
a.id,a.CREATE_TIME
FROM
<if test="searchVo.salaryMonthStart == null or searchVo.salaryMonthStart.trim() >= '202201'">
t_salary_account a
......@@ -1819,6 +1819,7 @@
) tmp ON a.id = tmp.id
left join sys_area ap on ap.id=a.BANK_PROVINCE
left join sys_area ac on ac.id=a.BANK_CITY
ORDER BY tmp.CREATE_TIME desc
</select>
<!-- 员工报账导出查询 -->
......
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