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
8c52aa8d
Commit
8c52aa8d
authored
Nov 20, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):三环车用气瓶认领 接口 修改
parent
487c02df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
ShCarEquServiceImpl.java
.../boot/module/jg/biz/service/impl/ShCarEquServiceImpl.java
+11
-1
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/service/impl/ShCarEquServiceImpl.java
View file @
8c52aa8d
...
...
@@ -10,6 +10,7 @@ import com.yeejoin.amos.boot.module.jg.api.mapper.ShCarEquMapper;
import
com.yeejoin.amos.boot.module.jg.api.service.IShCarEquService
;
import
com.yeejoin.amos.boot.module.jg.api.vo.CarAndEquVo
;
import
com.yeejoin.amos.boot.module.jg.api.vo.ShCarEquVo
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICommonService
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
...
...
@@ -31,6 +32,9 @@ public class ShCarEquServiceImpl extends BaseService<ShCarEqu, ShCarEqu, ShCarEq
@Autowired
ShCarServiceImpl
shCarServiceImpl
;
@Autowired
ICommonService
commonService
;
/**
* 分页查询
*/
...
...
@@ -58,7 +62,13 @@ public class ShCarEquServiceImpl extends BaseService<ShCarEqu, ShCarEqu, ShCarEq
shCarDto
.
setCompanyType
(
companyType
);
shCarDto
.
setUseUnitName
(
reginParams
.
getCompany
().
getCompanyName
());
shCarDto
.
setUseUnitCreditCode
(
reginParams
.
getCompany
().
getCompanyCode
());
shCarDto
.
setUseUnitAddress
(
reginParams
.
getCompany
().
getAddress
());
String
[]
code
=
reginParams
.
getCompany
().
getCompanyCode
().
split
(
"_"
);
String
useUnitCode
=
code
.
length
>
1
?
code
[
1
]
:
code
[
0
];
if
(
"个人主体"
.
equals
(
companyType
))
{
shCarDto
.
setUseUnitAddress
((
String
)
commonService
.
getEnterpriseInfo
(
useUnitCode
).
get
(
"address"
));
}
else
{
shCarDto
.
setUseUnitAddress
(
reginParams
.
getCompany
().
getAddress
());
}
shCarDto
.
setSafetyManagerId
(
"个人主体"
.
equals
(
companyType
)
?
userModel
.
getRealName
()
:
null
);
shCarDto
.
setPhone
(
"个人主体"
.
equals
(
companyType
)
?
userModel
.
getMobile
()
:
null
);
...
...
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