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
421d586f
Commit
421d586f
authored
Jul 21, 2020
by
ilal
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
c5496e1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
src/main/java/cn/timer/api/config/swagger/Swagger2Config.java
+1
-1
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
+10
-0
No files found.
src/main/java/cn/timer/api/config/swagger/Swagger2Config.java
View file @
421d586f
...
@@ -36,7 +36,7 @@ public class Swagger2Config {
...
@@ -36,7 +36,7 @@ public class Swagger2Config {
.
title
(
"8小时-Api接口文档"
)
.
title
(
"8小时-Api接口文档"
)
.
description
(
"快速进行Api接口调试"
)
.
description
(
"快速进行Api接口调试"
)
.
termsOfServiceUrl
(
"127.0.0.1:8080"
)
.
termsOfServiceUrl
(
"127.0.0.1:8080"
)
.
contact
(
"
TangZhaoQian
"
)
.
contact
(
"
subject
"
)
.
version
(
"1.0"
)
.
version
(
"1.0"
)
.
build
();
.
build
();
}
}
...
...
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
View file @
421d586f
...
@@ -1471,6 +1471,8 @@ public class TimeCardController {
...
@@ -1471,6 +1471,8 @@ public class TimeCardController {
@ApiOperation
(
value
=
"考勤设置成员"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperation
(
value
=
"考勤设置成员"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
Attsetmembers
(
@CurrentUser
UserBean
userBean
,
@RequestBody
AttMemberSettings
attsetuser
)
{
public
Result
<
Object
>
Attsetmembers
(
@CurrentUser
UserBean
userBean
,
@RequestBody
AttMemberSettings
attsetuser
)
{
List
<
AdditionalDto
>
userlist
=
new
ArrayList
<
AdditionalDto
>();
List
<
KqglAssoKqzdkfs
>
qtdkfs
=
kqglassokqzdkfsmapper
.
selectList
(
new
QueryWrapper
<
KqglAssoKqzdkfs
>().
lambda
().
ne
(
KqglAssoKqzdkfs:
:
getType
,
1
).
eq
(
KqglAssoKqzdkfs:
:
getKqzId
,
attsetuser
.
getAttgroupid
()));
List
<
KqglAssoKqzdkfs
>
qtdkfs
=
kqglassokqzdkfsmapper
.
selectList
(
new
QueryWrapper
<
KqglAssoKqzdkfs
>().
lambda
().
ne
(
KqglAssoKqzdkfs:
:
getType
,
1
).
eq
(
KqglAssoKqzdkfs:
:
getKqzId
,
attsetuser
.
getAttgroupid
()));
if
(
qtdkfs
.
size
()
>
0
)
{
if
(
qtdkfs
.
size
()
>
0
)
{
//考勤组新增员工
//考勤组新增员工
...
@@ -1548,6 +1550,14 @@ public class TimeCardController {
...
@@ -1548,6 +1550,14 @@ public class TimeCardController {
}
}
try
{
realtimeupdate
.
AttendanceTask
(
userBean
.
getOrgCode
(),
attsetuser
.
getAttgroupid
(),
1
,
null
);
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
}
return
ResultUtil
.
success
(
"成功"
);
return
ResultUtil
.
success
(
"成功"
);
}
}
...
...
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