Commit 75a8f669 authored by hongguangwu's avatar hongguangwu

合同优化-导出

parent 871e7a92
......@@ -794,7 +794,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
//获取要导出的列表
List<EmployeeContractExportVO> list = baseMapper.getTEmployeeContractExportHistory(contractInfo);
ServletOutputStream out = null;
if (list != null && !list.isEmpty()) {
if (list == null || list.isEmpty()) {
list = new ArrayList<>();
}
try {
......@@ -834,7 +834,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
//获取要导出的列表
List<EmployeeContractExportVO> list = baseMapper.getTEmployeeContractExportHistory(contractInfo);
ServletOutputStream out = null;
if (list != null && !list.isEmpty()) {
if (list == null || list.isEmpty()) {
list = new ArrayList<>();
}
try {
......
......@@ -1970,7 +1970,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
employeeInfo.setFileStatus(CommonConstants.ZERO_INT);
List<EmployeeExportVO> list = baseMapper.getTEmployeeExportList(employeeInfo);
ServletOutputStream out = null;
if (list != null && !list.isEmpty()) {
if (list == null || list.isEmpty()) {
list = new ArrayList<>();
}
try {
......@@ -2011,7 +2011,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
employeeInfo.setFileStatus(CommonConstants.ONE_INT);
List<EmployeeExportVO> list = baseMapper.getTEmployeeLeaveExportList(employeeInfo);
ServletOutputStream out = null;
if (list != null && !list.isEmpty()) {
if (list == null || list.isEmpty()) {
list = new ArrayList<>();
}
try {
......
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