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
aeb5f0dc
Commit
aeb5f0dc
authored
Sep 04, 2024
by
18310373984@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
附件
parent
5c8ea8aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
SrvOrganEmpServiceImpl.java
...com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
+9
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
View file @
aeb5f0dc
...
...
@@ -38,6 +38,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.io.File
;
import
java.math.BigDecimal
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
...
...
@@ -123,6 +124,14 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
}
//获取护理人员上传的标准照片
Result
<
List
<
ChFndAttach
>>
photoList
=
attachFeignService
.
selectAttachs
(
empId
,
AttachType
.
SRV_EMP_Photo
.
getUploadType
());
for
(
int
i
=
0
;
i
<
photoList
.
getData
().
size
();
i
++){
ChFndAttach
ch
=
photoList
.
getData
().
get
(
i
);
File
file
=
new
File
(
ch
.
getFilePath
());
ch
.
setFilePath
(
file
.
getAbsolutePath
());
log
.
info
(
"getAbsolutePath--:"
+
file
.
getAbsolutePath
());
log
.
info
(
"getCanonicalPath--:"
+
file
.
getCanonicalPath
());
}
if
(
ResultCode
.
SUCCESS
.
getCode
().
equals
(
photoList
.
getCode
()))
{
srvOrganEmpVo
.
setPhotoList
(
photoList
.
getData
());
}
...
...
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