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
eb1e1cd4
Commit
eb1e1cd4
authored
Dec 25, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.4-花名册
parent
fcc73e6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
TPersonnelRosterServiceImpl.java
...fu/archives/service/impl/TPersonnelRosterServiceImpl.java
+3
-2
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPersonnelRosterServiceImpl.java
View file @
eb1e1cd4
...
@@ -150,8 +150,9 @@ public class TPersonnelRosterServiceImpl extends ServiceImpl<TPersonnelRosterMap
...
@@ -150,8 +150,9 @@ public class TPersonnelRosterServiceImpl extends ServiceImpl<TPersonnelRosterMap
@Override
@Override
public
void
everyMonthUpdateRoster
()
{
public
void
everyMonthUpdateRoster
()
{
// 清空重新生成
// 清空重新生成
String
dataMonth
=
DateUtil
.
addMonth
(-
1
);
baseMapper
.
delete
(
Wrappers
.<
TPersonnelRoster
>
query
().
lambda
()
baseMapper
.
delete
(
Wrappers
.<
TPersonnelRoster
>
query
().
lambda
()
.
eq
(
TPersonnelRoster:
:
getDataCreateMonth
,
DateUtil
.
getYearAndMonth
(
LocalDateTime
.
now
(),
0
)
));
.
eq
(
TPersonnelRoster:
:
getDataCreateMonth
,
dataMonth
));
TPersonnelRosterSearchVo
searchVo
=
new
TPersonnelRosterSearchVo
();
TPersonnelRosterSearchVo
searchVo
=
new
TPersonnelRosterSearchVo
();
long
count
=
baseMapper
.
getTPersonnelRosterCount
(
searchVo
);
long
count
=
baseMapper
.
getTPersonnelRosterCount
(
searchVo
);
List
<
TPersonnelRoster
>
list
;
List
<
TPersonnelRoster
>
list
;
...
@@ -186,7 +187,7 @@ public class TPersonnelRosterServiceImpl extends ServiceImpl<TPersonnelRosterMap
...
@@ -186,7 +187,7 @@ public class TPersonnelRosterServiceImpl extends ServiceImpl<TPersonnelRosterMap
r
.
setBankProvince
(
rosterVo
.
getBankProvince
());
r
.
setBankProvince
(
rosterVo
.
getBankProvince
());
}
}
}
}
r
.
setDataCreateMonth
(
DateUtil
.
getYearAndMonth
(
LocalDateTime
.
now
(),
0
)
);
r
.
setDataCreateMonth
(
dataMonth
);
}
}
this
.
saveBatch
(
list
);
this
.
saveBatch
(
list
);
}
}
...
...
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