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
18a60fa1
Commit
18a60fa1
authored
Jun 26, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.12-导入
parent
0cbaf2c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
TGzOfferInfoServiceImpl.java
...1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
+10
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
View file @
18a60fa1
...
...
@@ -761,6 +761,7 @@ public class TGzOfferInfoServiceImpl extends ServiceImpl<TGzOfferInfoMapper, TGz
private
static
final
String
WORK_LOCATION2
=
"安徽省合肥市区域"
;
private
static
final
String
YEAR_BONUS
=
"个月"
;
private
static
final
String
KONG_STR
=
""
;
private
static
final
String
EXP_ENTRY_DATE
=
"yyyy年M月d日"
;
/**
* 插入excel bad record
*/
...
...
@@ -777,8 +778,16 @@ public class TGzOfferInfoServiceImpl extends ServiceImpl<TGzOfferInfoMapper, TGz
}
}
if
(
Common
.
isNotNull
(
excel
.
getExpEntry
()))
{
Date
expEntryDate
;
try
{
insert
.
setExpEntryDate
(
DateUtil
.
stringToDate2
(
excel
.
getExpEntry
(),
null
));
// 将2025年6月3日 转化为date格式日期
expEntryDate
=
DateUtil
.
stringToDateByFormat
(
excel
.
getExpEntry
(),
EXP_ENTRY_DATE
);
if
(
expEntryDate
==
null
)
{
expEntryDate
=
DateUtil
.
stringToDate2
(
excel
.
getExpEntry
(),
KONG_STR
);
}
if
(
expEntryDate
!=
null
)
{
insert
.
setExpEntryDate
(
expEntryDate
);
}
}
catch
(
Exception
e
)
{
// 错误格式,不转化
}
...
...
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