Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
9fc6c581
Commit
9fc6c581
authored
Aug 07, 2020
by
ilal
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
50a911a5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
src/main/java/cn/timer/api/controller/kqgl/ClockInTool.java
+1
-1
src/main/java/cn/timer/api/controller/kqgl/atttimer/LastMonthtimingExport.java
+1
-1
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+1
-0
No files found.
src/main/java/cn/timer/api/controller/kqgl/ClockInTool.java
View file @
9fc6c581
...
...
@@ -31,7 +31,7 @@ public class ClockInTool {
}
// 获得上个月月份年份
public
static
String
getYearMonth
()
{
public
static
String
get
Last
YearMonth
()
{
Calendar
now
=
Calendar
.
getInstance
();
int
month
=
now
.
get
(
Calendar
.
MONTH
);
String
m
;
...
...
src/main/java/cn/timer/api/controller/kqgl/atttimer/LastMonthtimingExport.java
View file @
9fc6c581
...
...
@@ -97,7 +97,7 @@ public class LastMonthtimingExport {
cale
.
set
(
Calendar
.
DAY_OF_MONTH
,
0
);
//设置为1号,当前日期既为本月第一天
lastDay
=
format
.
format
(
cale
.
getTime
());
String
lastmonth
=
ClockInTool
.
getYearMonth
();
//2020-07
String
lastmonth
=
ClockInTool
.
get
Last
YearMonth
();
//2020-07
int
year
=
Integer
.
valueOf
(
lastmonth
.
substring
(
0
,
4
));
//获取前一个年份
int
month
=
Integer
.
valueOf
(
lastmonth
.
substring
(
5
,
7
));
//获取前一个月份
...
...
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
9fc6c581
...
...
@@ -1379,6 +1379,7 @@ public class YgglController {
QyzxEmpLogin
.
builder
().
id
(
empNum
).
orgId
(
CollUtil
.
getFirst
(
listEEA
).
getOrgCode
()).
build
().
updateById
();
}
QyzxEmpLogin
.
builder
().
build
().
delete
(
new
QueryWrapper
<
QyzxEmpLogin
>().
lambda
().
eq
(
QyzxEmpLogin:
:
getOrgId
,
userBean
.
getOrgCode
()).
eq
(
QyzxEmpLogin:
:
getId
,
empNum
));
KqglAssoYhkqz
.
builder
().
build
().
delete
(
new
QueryWrapper
<
KqglAssoYhkqz
>().
lambda
().
eq
(
KqglAssoYhkqz:
:
getUserid
,
empNum
).
eq
(
KqglAssoYhkqz:
:
getQyid
,
userBean
.
getOrgCode
()));
...
...
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