Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
2f910c29
Commit
2f910c29
authored
Nov 09, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单详情返回客户编号
parent
ea0ff157
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
OfferServiceImpl.java
...udao/module/sale/service/offer/impl/OfferServiceImpl.java
+8
-0
OfferBaseVO.java
...va/cn/iocoder/yudao/module/sale/vo/offer/OfferBaseVO.java
+3
-0
No files found.
yudao-module-sale/yudao-module-sale-core/src/main/java/cn/iocoder/yudao/module/sale/service/offer/impl/OfferServiceImpl.java
View file @
2f910c29
...
@@ -646,6 +646,7 @@ public class OfferServiceImpl extends AbstractService<OfferMapper, OfferDO> impl
...
@@ -646,6 +646,7 @@ public class OfferServiceImpl extends AbstractService<OfferMapper, OfferDO> impl
if
(
Objects
.
isNull
(
offerDO
))
{
if
(
Objects
.
isNull
(
offerDO
))
{
throw
exception
(
OFFER_NOT_EXISTS
);
throw
exception
(
OFFER_NOT_EXISTS
);
}
}
OfferRespVO
respVO
=
OfferConvert
.
INSTANCE
.
convert
(
offerDO
);
OfferRespVO
respVO
=
OfferConvert
.
INSTANCE
.
convert
(
offerDO
);
EstCostVO
estCostVO
=
JSONObject
.
parseObject
(
offerDO
.
getEstCost
(),
EstCostVO
.
class
);
EstCostVO
estCostVO
=
JSONObject
.
parseObject
(
offerDO
.
getEstCost
(),
EstCostVO
.
class
);
if
(
Objects
.
nonNull
(
estCostVO
))
{
if
(
Objects
.
nonNull
(
estCostVO
))
{
...
@@ -672,6 +673,13 @@ public class OfferServiceImpl extends AbstractService<OfferMapper, OfferDO> impl
...
@@ -672,6 +673,13 @@ public class OfferServiceImpl extends AbstractService<OfferMapper, OfferDO> impl
warehouseLineMapper
.
getStartInfoAndDestInfoByLineId
(
warehouseLineMapper
.
getStartInfoAndDestInfoByLineId
(
respVO
.
getLineId
());
respVO
.
getLineId
());
respVO
.
setLogisticsInfoDto
(
logisticsInfoDto
);
respVO
.
setLogisticsInfoDto
(
logisticsInfoDto
);
// 客户编号
if
(
Objects
.
nonNull
(
respVO
.
getRelationId
()))
{
CustomerDO
customerDO
=
customerService
.
getById
(
respVO
.
getRelationId
());
if
(
Objects
.
nonNull
(
customerDO
))
{
respVO
.
setCustomerNumber
(
customerDO
.
getNumber
());
}
}
return
respVO
;
return
respVO
;
}
}
...
...
yudao-module-sale/yudao-module-sale-core/src/main/java/cn/iocoder/yudao/module/sale/vo/offer/OfferBaseVO.java
View file @
2f910c29
...
@@ -112,6 +112,9 @@ public class OfferBaseVO {
...
@@ -112,6 +112,9 @@ public class OfferBaseVO {
@ApiModelProperty
(
value
=
"客户经理ID"
)
@ApiModelProperty
(
value
=
"客户经理ID"
)
private
Long
salesmanId
;
private
Long
salesmanId
;
@ApiModelProperty
(
value
=
"客户编号"
)
private
String
customerNumber
;
@ApiModelProperty
(
value
=
"客户经理所属部门ID"
)
@ApiModelProperty
(
value
=
"客户经理所属部门ID"
)
private
Long
deptId
;
private
Long
deptId
;
...
...
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