Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
a318bb33
Commit
a318bb33
authored
Apr 22, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
4f429fcb
79e7c428
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
PersonBasicController.java
...ot/module/jxiop/biz/controller/PersonBasicController.java
+2
-2
PersonBasicServiceImpl.java
...module/jxiop/biz/service/impl/PersonBasicServiceImpl.java
+7
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/PersonBasicController.java
View file @
a318bb33
...
...
@@ -42,8 +42,8 @@ public class PersonBasicController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增人员基本信息"
,
notes
=
"新增人员基本信息"
)
public
ResponseModel
<
Object
>
save
(
@RequestBody
PersonDto
model
)
{
personBasicServiceImpl
.
addPerson
(
model
);
public
ResponseModel
<
Object
>
save
(
@RequestBody
PersonDto
model
,
HttpServletRequest
httpServletRequest
)
{
personBasicServiceImpl
.
addPerson
(
model
,
httpServletRequest
);
return
ResponseHelper
.
buildResponse
(
null
);
}
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/PersonBasicServiceImpl.java
View file @
a318bb33
...
...
@@ -20,6 +20,8 @@ import org.typroject.tyboot.core.rdbms.service.BaseService;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
javax.servlet.http.HttpServletRequest
;
import
java.util.*
;
/**
...
...
@@ -66,7 +68,11 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
* 新增
* */
@Transactional
public
void
addPerson
(
PersonDto
model
){
public
void
addPerson
(
PersonDto
model
,
HttpServletRequest
httpServletRequest
){
String
appKey
=
httpServletRequest
.
getHeader
(
"appKey"
);
String
product
=
httpServletRequest
.
getHeader
(
"product"
);
String
token
=
httpServletRequest
.
getHeader
(
"token"
);
//获取人员基本信息数据
PersonUser
personUser
=
model
.
getPersonUser
();
//获取人员资质信息
...
...
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