Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
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
hubin
long-tern-care-service
Commits
8306e66c
Commit
8306e66c
authored
Aug 16, 2024
by
18310373984@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
白名单列表删除接口
parent
6b95339e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
FaceLocationWhiteListController.java
...graim/ltc/controller/FaceLocationWhiteListController.java
+5
-0
FaceLocationWhiteListService.java
...om/hungraim/ltc/service/FaceLocationWhiteListService.java
+2
-0
FaceLocationWhiteListServiceImpl.java
...im/ltc/service/impl/FaceLocationWhiteListServiceImpl.java
+9
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/FaceLocationWhiteListController.java
View file @
8306e66c
...
...
@@ -103,4 +103,9 @@ public class FaceLocationWhiteListController {
return
faceLocationWhiteListService
.
addOrUpdateFaceLocationWhiteList
(
faceLocationWhiteList
);
}
@RequestMapping
(
"/deleteFaceLocationWhiteListById"
)
public
Result
deleteFaceLocationWhiteListById
(
@RequestHeader
(
"Authorization"
)
String
token
,
Long
listId
)
{
return
faceLocationWhiteListService
.
deleteFaceLocationWhiteListById
(
listId
);
}
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/FaceLocationWhiteListService.java
View file @
8306e66c
...
...
@@ -31,4 +31,6 @@ public interface FaceLocationWhiteListService {
FaceLocationWhiteListVo
getFaceLocationWhiteDetail
(
Long
listId
);
Result
addOrUpdateFaceLocationWhiteList
(
FaceLocationWhiteList
faceLocationWhiteList
);
Result
deleteFaceLocationWhiteListById
(
Long
listId
);
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/FaceLocationWhiteListServiceImpl.java
View file @
8306e66c
...
...
@@ -89,4 +89,13 @@ public class FaceLocationWhiteListServiceImpl implements FaceLocationWhiteListSe
}
return
Result
.
success
();
}
public
Result
deleteFaceLocationWhiteListById
(
Long
listId
){
int
count
=
faceLocationWhiteListMapper
.
deleteById
(
listId
);
if
(
count
>
0
){
return
Result
.
success
();
}
else
{
return
Result
.
failed
(
"删除0条数据"
);
}
}
}
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