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
e038db5e
Commit
e038db5e
authored
Oct 10, 2024
by
18310373984@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单独保存标准照接口修改
parent
80565e0a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
2 deletions
+42
-2
SrvOrganController.java
.../java/com/hungraim/ltc/controller/SrvOrganController.java
+8
-2
SrvOrganEmpFaceVo.java
...a/com/hungraim/ltc/pojo/vo/disable/SrvOrganEmpFaceVo.java
+34
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/SrvOrganController.java
View file @
e038db5e
...
...
@@ -270,7 +270,7 @@ public class SrvOrganController {
}
@PostMapping
(
"/saveEmpFace"
)
public
Result
saveEmpFace
(
@RequestHeader
(
"Authorization"
)
String
token
,
SrvOrganEmpVo
srvOrganEmpVo
)
{
//参数传faceId,certiNum,
public
Result
saveEmpFace
(
@RequestHeader
(
"Authorization"
)
String
token
,
SrvOrganEmp
Face
Vo
srvOrganEmpVo
)
{
//参数传faceId,certiNum,
if
(
null
==
srvOrganEmpVo
.
getEmpId
()
||
StrUtil
.
isBlank
(
srvOrganEmpVo
.
getCertifNum
())
||
null
==
srvOrganEmpVo
.
getPhotoList
()
...
...
@@ -279,8 +279,14 @@ public class SrvOrganController {
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
try
{
SrvOrganEmpVo
srvOrganEmpVoR
=
new
SrvOrganEmpVo
();
srvOrganEmpVoR
.
setEmpId
(
srvOrganEmpVo
.
getEmpId
());
srvOrganEmpVoR
.
setEmpName
(
srvOrganEmpVo
.
getEmpName
());
srvOrganEmpVoR
.
setGender
(
srvOrganEmpVo
.
getGender
());
srvOrganEmpVoR
.
setCertifNum
(
srvOrganEmpVo
.
getCertifNum
());
srvOrganEmpVoR
.
setPhotoList
(
srvOrganEmpVo
.
getPhotoList
());
Integer
userId
=
TokenParsingUtil
.
TokenParsing
(
token
,
"userId"
);
return
srvOrganEmpService
.
saveEmpFace
(
srvOrganEmpVo
,
userId
);
return
srvOrganEmpService
.
saveEmpFace
(
srvOrganEmpVo
R
,
userId
);
}
catch
(
RuntimeException
e
)
{
return
Result
.
failed
(
e
.
getMessage
());
}
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/SrvOrganEmpFaceVo.java
0 → 100644
View file @
e038db5e
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
import
com.hungraim.ltc.pojo.entity.SysConfig.ChFndAttach
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
SrvOrganEmpFaceVo
{
private
Long
empId
;
/**
* 护理人员姓名
*/
private
String
empName
;
/**
* 证件号码
*/
private
String
certifNum
;
/**
* 性别 男:M;女:F;不确定 N
*/
private
String
gender
;
//标准照片
private
List
<
ChFndAttach
>
photoList
;
//腾讯云人脸库faceId
private
String
faceId
;
}
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