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
415ad758
Commit
415ad758
authored
Sep 01, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人主体注册相关功能修改
parent
74f3fafe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
TzsBaseIndividualityController.java
...le/tcm/biz/controller/TzsBaseIndividualityController.java
+1
-1
TzsBaseIndividualityServiceImpl.java
...tcm/biz/service/impl/TzsBaseIndividualityServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/controller/TzsBaseIndividualityController.java
View file @
415ad758
...
...
@@ -124,7 +124,7 @@ public class TzsBaseIndividualityController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@PostMapping
(
value
=
"/person/register"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"
事业单位注册"
,
notes
=
"事业单位
注册"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"
个人主体注册"
,
notes
=
"个人主体
注册"
)
public
ResponseModel
<
Object
>
personRegister
(
@RequestBody
BasePersonRegisterDto
dto
)
{
tzsBaseIndividualityService
.
personRegister
(
dto
);
return
ResponseHelper
.
buildResponse
(
"ok"
);
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzsBaseIndividualityServiceImpl.java
View file @
415ad758
...
...
@@ -67,7 +67,7 @@ public class TzsBaseIndividualityServiceImpl extends BaseService<TzsBaseIndividu
companyInfo
.
setParentId
(
Long
.
parseLong
(
dto
.
getManagementUnitId
()));
companyInfo
.
setLevel
(
"company"
);
companyInfo
.
setCompanyName
(
dto
.
getCredentialsNum
());
companyInfo
.
setCompanyCode
(
dto
.
getUnitCode
());
companyInfo
.
setCompanyCode
(
dto
.
getUnitCode
()
+
"_"
+
dto
.
getRealName
()
);
companyInfo
.
setCompanyType
(
unitType
);
try
{
FeignClientResult
<
CompanyModel
>
companyResult
=
Privilege
.
companyClient
.
create
(
companyInfo
);
...
...
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