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
a72f39c3
Commit
a72f39c3
authored
Jun 06, 2020
by
lal
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
0d8dff2b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
+9
-0
No files found.
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
View file @
a72f39c3
...
@@ -592,6 +592,8 @@ public class TimeCardController {
...
@@ -592,6 +592,8 @@ public class TimeCardController {
kqglassokqj
.
setLusjTime
(
new
Date
().
getTime
());
kqglassokqj
.
setLusjTime
(
new
Date
().
getTime
());
kqglassokqj
.
setQyid
(
userBean
.
getOrgCode
());
kqglassokqj
.
setQyid
(
userBean
.
getOrgCode
());
KqglAssoKqj
kqj
=
KqglAssoKqj
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
KqglAssoKqj
>().
lambda
().
eq
(
KqglAssoKqj:
:
getCode
,
kqglassokqj
.
getCode
()));
if
(
kqj
==
null
)
{
if
(!
kqglassokqj
.
insert
())
if
(!
kqglassokqj
.
insert
())
return
ResultUtil
.
error
(
"操作失败--新增考勤机"
);
return
ResultUtil
.
error
(
"操作失败--新增考勤机"
);
...
@@ -611,6 +613,11 @@ public class TimeCardController {
...
@@ -611,6 +613,11 @@ public class TimeCardController {
}
}
return
ResultUtil
.
data
(
kqglassokqj
,
"操作成功!"
);
return
ResultUtil
.
data
(
kqglassokqj
,
"操作成功!"
);
}
else
{
return
ResultUtil
.
error
(
"考勤机已存在或已被使用"
);
}
}
}
/**
/**
...
@@ -2176,6 +2183,8 @@ public class TimeCardController {
...
@@ -2176,6 +2183,8 @@ public class TimeCardController {
}
}
}
}
// @GetMapping(value = "/summary_report")
// @GetMapping(value = "/summary_report")
// @ApiOperation(value = "考勤汇总报表(暂时不用)", httpMethod = "GET", notes = "接口发布说明")
// @ApiOperation(value = "考勤汇总报表(暂时不用)", httpMethod = "GET", notes = "接口发布说明")
// public Result<Object> attendance_summary_report() {
// public Result<Object> attendance_summary_report() {
...
...
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