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
8095d1de
Commit
8095d1de
authored
Oct 25, 2023
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改车辆编辑默认取装备定义的名字
parent
692daeef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
CarController.java
...ava/com/yeejoin/equipmanage/controller/CarController.java
+4
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/CarController.java
View file @
8095d1de
...
...
@@ -365,10 +365,10 @@ public class CarController extends AbstractBaseController {
if
(!
ObjectUtils
.
isEmpty
(
car
.
getTeamId
())){
jcsFeign
.
getUserCar
(
car
.
getId
(),
car
.
getTeamId
());
}
if
(
ObjectUtils
.
isEmpty
(
car
.
getName
()))
{
Equipment
equipment
=
iEquipmentService
.
getById
(
car
.
getEquipmentId
());
car
.
setName
(
equipment
!=
null
?
equipment
.
getName
()
:
null
);
}
Equipment
equipment
=
iEquipmentService
.
getById
(
car
.
getEquipmentId
());
car
.
setName
(
equipment
!=
null
?
equipment
.
getName
()
:
null
);
if
(
ObjectUtils
.
isEmpty
(
car
.
getBizOrgName
())
&&
!
ObjectUtils
.
isEmpty
(
car
.
getBizOrgCode
()))
{
FeignClientResult
<
Map
<
String
,
Object
>>
result
=
Privilege
.
companyClient
.
queryByOrgcode
(
car
.
getBizOrgCode
());
System
.
out
.
println
(
"=============================="
+
JSONObject
.
toJSONString
(
result
.
getResult
()));
...
...
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