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
42a10c09
Commit
42a10c09
authored
Aug 08, 2020
by
ilal
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
59be3bad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
+7
-1
No files found.
src/main/java/cn/timer/api/controller/kqgl/TimeCardController.java
View file @
42a10c09
...
...
@@ -888,10 +888,16 @@ public class TimeCardController {
@ApiOperation
(
value
=
"26:新增/修改--打卡WIFI信息"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
26
)
public
Result
<
Object
>
PunchCardWIFI
(
@CurrentUser
UserBean
userBean
,
@RequestBody
KqglAssoDkwx
kqglassodkwx
)
{
List
<
KqglAssoDkwx
>
cxwifi
=
KqglAssoDkwx
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
KqglAssoDkwx
>().
lambda
().
eq
(
KqglAssoDkwx:
:
getQyid
,
userBean
.
getOrgCode
()).
eq
(
KqglAssoDkwx:
:
getMac
,
kqglassodkwx
.
getMac
()));
if
(
cxwifi
.
size
()
>
0
)
{
return
ResultUtil
.
error
(
"此WiFi已存在"
);
}
else
{
kqglassodkwx
.
setLuryid
(
userBean
.
getEmpNum
());
kqglassodkwx
.
setLusjTime
(
new
Date
().
getTime
());
kqglassodkwx
.
setQyid
(
userBean
.
getOrgCode
());
return
kqglassodkwx
.
insertOrUpdate
()
?
ResultUtil
.
success
(
"操作成功!"
)
:
ResultUtil
.
error
(
"操作失败!"
);
return
kqglassodkwx
.
insertOrUpdate
()
?
ResultUtil
.
success
(
"添加成功!"
)
:
ResultUtil
.
error
(
"添加失败!"
);
}
}
/**
...
...
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