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
9ee51044
Commit
9ee51044
authored
Oct 30, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.1 优化
parent
9b28a970
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+1
-8
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
View file @
9ee51044
...
...
@@ -1846,7 +1846,6 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
isNew
=
true
;
project
=
new
TEmployeeProject
();
}
String
[]
ignoreProperties
=
new
String
[]{
"id"
,
"status"
};
if
(
Common
.
isEmpty
(
tPreEmployeeProject
.
getWorkingHours
()))
{
tPreEmployeeProject
.
setWorkingHours
(
""
);
}
...
...
@@ -1857,7 +1856,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
tPreEmployeeProject
.
setTryPeriod
(
""
);
}
// 2024-7-23 11:52:33 金龙弟预张倩倩认为不同步项目的合同信息
ignoreProperties
=
new
String
[]{
"id"
,
"contractType"
,
"workingHours"
,
"post"
,
"enjoinDate"
String
[]
ignoreProperties
=
new
String
[]{
"id"
,
"contractType"
,
"workingHours"
,
"post"
,
"enjoinDate"
,
"enjoinDate"
,
"tryPeriod"
};
BeanUtil
.
copyProperties
(
tPreEmployeeProject
,
project
,
ignoreProperties
);
if
(
Common
.
isEmpty
(
project
.
getStatus
()))
{
...
...
@@ -2465,12 +2464,6 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
response
.
setHeader
(
CommonConstants
.
CONTENT_DISPOSITION
,
CommonConstants
.
ATTACHMENT_FILENAME
+
URLEncoder
.
encode
(
fileName
,
CommonConstants
.
UTF8
));
ExcelWriter
excelWriter
=
null
;
if
(
count
>
200000
)
{
//if (count > CommonConstants.EXCEL_EXPORT_LIMIT)
/*List<List<String>> strList = new ArrayList<>();
strList.add(this.getNewArrayList(new String[]{"数据超过20万条,请联系管理员后端导出!!"}));
List<List<String>> headList = Lists.newArrayList();
headList.add(this.getNewArrayList(new String[]{"提示"}));
EasyExcelFactory.write(out).head(headList).sheet("数据超限").doWrite(strList);*/
exportError
(
response
,
"数据超过20万条,请联系管理员后端导出预入职"
);
}
else
{
exportLimit
.
setDeleteFlag
(
CommonConstants
.
ZERO_INT
);
...
...
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