Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
fa1c4392
Commit
fa1c4392
authored
Dec 14, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
05840b6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
VehiclePublishReceiveBiz.java
...m/xxfc/platform/vehicle/biz/VehiclePublishReceiveBiz.java
+9
-4
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehiclePublishReceiveBiz.java
View file @
fa1c4392
...
...
@@ -584,11 +584,16 @@ public class VehiclePublishReceiveBiz extends BaseBiz<VehiclePublishReceiveMappe
for
(
Integer
id
:
idList
){
VehiclePublishFindDTO
publishFindDTO
=
new
VehiclePublishFindDTO
();
publishFindDTO
.
setId
(
id
);
List
<
ReceiveVo
>
list
=
getListByReceive
(
publishFindDTO
);
if
(
list
.
size
()
>
0
){
ReceiveVo
receiveVo
=
list
.
get
(
0
);
VehiclePublishReceive
receiveVo
=
selectById
(
id
);
if
(
receiveVo
!=
null
){
String
vehicleId
=
receiveVo
.
getVehicleId
();
Integer
type
=
receiveVo
.
getType
();
VehiclePublishGoods
publishGoods
=
publishGoodsBiz
.
selectById
(
receiveVo
.
getPublishGoodsId
());
if
(
publishGoods
==
null
)
throw
new
BaseException
(
"子需求不存在--id==="
+
id
,
ResultCode
.
FAILED_CODE
);
VehiclePublish
vehiclePublish
=
vehiclePublishBiz
.
selectById
(
publishGoods
.
getPublishId
());
if
(
vehiclePublish
==
null
)
throw
new
BaseException
(
"需求不存在--id==="
+
id
,
ResultCode
.
FAILED_CODE
);
Integer
type
=
vehiclePublish
.
getType
();
Integer
companyId
;
if
(
type
==
1
){
companyId
=
receiveVo
.
getPublishCompanyId
();
...
...
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