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
bf89bdc5
Commit
bf89bdc5
authored
Aug 01, 2024
by
李松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
223f16fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
JgChangeRegistrationNameController.java
...jg/biz/controller/JgChangeRegistrationNameController.java
+8
-6
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgChangeRegistrationNameController.java
View file @
bf89bdc5
...
@@ -139,6 +139,14 @@ public class JgChangeRegistrationNameController extends BaseController {
...
@@ -139,6 +139,14 @@ public class JgChangeRegistrationNameController extends BaseController {
@GetMapping
(
value
=
"/getTableData"
)
@GetMapping
(
value
=
"/getTableData"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取当前企业下,某个接收机构下的使用登记证信息"
,
notes
=
"获取当前企业下,某个接收机构下的使用登记证信息"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取当前企业下,某个接收机构下的使用登记证信息"
,
notes
=
"获取当前企业下,某个接收机构下的使用登记证信息"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
getTableData
(
JgUseRegistrationManageDto
dto
)
{
public
ResponseModel
<
Map
<
String
,
Object
>>
getTableData
(
JgUseRegistrationManageDto
dto
)
{
if
(!
ValidationUtil
.
isEmpty
(
dto
.
getReceiveCompanyCode
())){
String
[]
codes
=
dto
.
getReceiveCompanyCode
().
split
(
"_"
);
if
(!
ValidationUtil
.
isEmpty
(
codes
)){
dto
.
setReceiveCompanyCode
(
codes
[
0
]);
}
}
else
{
return
null
;
}
if
(
ValidationUtil
.
isEmpty
(
dto
.
getUseUnitCreditCode
()))
{
if
(
ValidationUtil
.
isEmpty
(
dto
.
getUseUnitCreditCode
()))
{
// 不传的话取当前登录单位的统一信用代码
// 不传的话取当前登录单位的统一信用代码
CompanyBo
company
=
getSelectedOrgInfo
().
getCompany
();
CompanyBo
company
=
getSelectedOrgInfo
().
getCompany
();
...
@@ -149,12 +157,6 @@ public class JgChangeRegistrationNameController extends BaseController {
...
@@ -149,12 +157,6 @@ public class JgChangeRegistrationNameController extends BaseController {
dto
.
setUseUnitCreditCode
(
getSelectedOrgInfo
().
getCompany
().
getCompanyCode
());
dto
.
setUseUnitCreditCode
(
getSelectedOrgInfo
().
getCompany
().
getCompanyCode
());
}
}
}
}
if
(!
ValidationUtil
.
isEmpty
(
dto
.
getReceiveCompanyCode
())){
String
[]
codes
=
dto
.
getReceiveCompanyCode
().
split
(
"_"
);
if
(!
ValidationUtil
.
isEmpty
(
codes
)){
dto
.
setReceiveCompanyCode
(
codes
[
0
]);
}
}
dto
.
setCertificateStatus
(
"已登记"
);
dto
.
setCertificateStatus
(
"已登记"
);
return
ResponseHelper
.
buildResponse
(
jgChangeRegistrationNameService
.
getTableData
(
dto
));
return
ResponseHelper
.
buildResponse
(
jgChangeRegistrationNameService
.
getTableData
(
dto
));
}
}
...
...
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