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
03071e94
Commit
03071e94
authored
Nov 11, 2024
by
18310373984@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加人脸返回接口
parent
6aef31a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
SrvOrganEmpServiceImpl.java
...com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
+2
-1
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
View file @
03071e94
...
...
@@ -201,7 +201,7 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
public
Result
saveEmpFace
(
SrvOrganEmpVo
srvOrganEmpVo
,
Integer
userId
)
{
//修改护理人员需要将修改基本信息和标准照片保存分开
//上传标准照保存到人脸库
Result
<
String
>
faceReult
=
updatePhotoAttachs
(
srvOrganEmpVo
,
userId
);
if
(!
StrUtil
.
equals
(
faceReult
.
getCode
(),
"0000"
))
{
//是否成功
if
(!
StrUtil
.
equals
(
faceReult
.
getCode
(),
ResultCode
.
SUCCESS
.
getCode
()
))
{
//是否成功
throw
new
RuntimeException
(
faceReult
.
getMsg
());
//人脸库上传失败,页面显示错误信息
}
else
{
String
faceId
=
faceReult
.
getData
();
//上传标准照
...
...
@@ -238,6 +238,7 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
log
.
info
(
"调用新增人脸接口返回信息:"
+
addResult
);
if
(
StrUtil
.
equals
(
addResult
.
getCode
(),
"0000"
))
{
//返回成功
attachFeignService
.
updateAttachs
(
attachPhotoUpdateVo
);
addResult
.
setCode
(
ResultCode
.
SUCCESS
.
getCode
());
}
return
addResult
;
/*if(StringUtils.isNotEmpty(srvOrganEmpVo.getFaceId())) {
...
...
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