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
278c9c51
Commit
278c9c51
authored
Oct 15, 2024
by
18310373984@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新照片信息
parent
1f3fd75a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
SrvOrganEmpServiceImpl.java
...com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
+7
-1
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
View file @
278c9c51
...
@@ -220,7 +220,7 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
...
@@ -220,7 +220,7 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
attachPhotoUpdateVo
.
setChFndAttachs
(
srvOrganEmpVo
.
getPhotoList
());
attachPhotoUpdateVo
.
setChFndAttachs
(
srvOrganEmpVo
.
getPhotoList
());
attachPhotoUpdateVo
.
setCtrlId
(
srvOrganEmpVo
.
getEmpId
());
attachPhotoUpdateVo
.
setCtrlId
(
srvOrganEmpVo
.
getEmpId
());
attachPhotoUpdateVo
.
setAttachType
(
AttachType
.
SRV_EMP_Photo
.
getUploadType
());
attachPhotoUpdateVo
.
setAttachType
(
AttachType
.
SRV_EMP_Photo
.
getUploadType
());
attachFeignService
.
updateAttachs
(
attachPhotoUpdateVo
);
for
(
int
i
=
0
;
i
<
srvOrganEmpVo
.
getPhotoList
().
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
srvOrganEmpVo
.
getPhotoList
().
size
();
i
++)
{
ChFndAttach
chFndAttach
=
srvOrganEmpVo
.
getPhotoList
().
get
(
i
);
ChFndAttach
chFndAttach
=
srvOrganEmpVo
.
getPhotoList
().
get
(
i
);
...
@@ -235,6 +235,9 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
...
@@ -235,6 +235,9 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
log
.
info
(
"删除人脸信息:"
+
delresult
);
log
.
info
(
"删除人脸信息:"
+
delresult
);
Result
addResult
=
faceAuthUtil
.
addFace
(
srvOrganEmpVo
,
chFndAttach
.
getFilePath
(),
userId
);
Result
addResult
=
faceAuthUtil
.
addFace
(
srvOrganEmpVo
,
chFndAttach
.
getFilePath
(),
userId
);
log
.
info
(
"新增人脸信息:"
+
addResult
);
log
.
info
(
"新增人脸信息:"
+
addResult
);
if
(
StrUtil
.
equals
(
addResult
.
getCode
(),
ResultCode
.
SUCCESS
.
getCode
()))
{
attachFeignService
.
updateAttachs
(
attachPhotoUpdateVo
);
}
return
addResult
;
return
addResult
;
}
else
{
}
else
{
...
@@ -242,6 +245,9 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
...
@@ -242,6 +245,9 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
//在新增人员信息
//在新增人员信息
Result
addResult
=
faceAuthUtil
.
addFace
(
srvOrganEmpVo
,
chFndAttach
.
getFilePath
(),
userId
);
Result
addResult
=
faceAuthUtil
.
addFace
(
srvOrganEmpVo
,
chFndAttach
.
getFilePath
(),
userId
);
log
.
info
(
"新增人脸信息:"
+
addResult
);
log
.
info
(
"新增人脸信息:"
+
addResult
);
if
(
StrUtil
.
equals
(
addResult
.
getCode
(),
ResultCode
.
SUCCESS
.
getCode
()))
{
//更新成功,在绑定照片信息
attachFeignService
.
updateAttachs
(
attachPhotoUpdateVo
);
}
return
addResult
;
return
addResult
;
}
}
}
}
...
...
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