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
567ac53b
Commit
567ac53b
authored
Feb 19, 2025
by
honghy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求95 报价单页面和列表调整
parent
837a399d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
OfferMapper.java
...ocoder/yudao/module/sale/dal/mysql/offer/OfferMapper.java
+1
-0
OfferRespVO.java
...va/cn/iocoder/yudao/module/sale/vo/offer/OfferRespVO.java
+3
-0
OfferController.java
...o/module/sale/controller/admin/offer/OfferController.java
+2
-2
No files found.
yudao-module-sale/yudao-module-sale-core/src/main/java/cn/iocoder/yudao/module/sale/dal/mysql/offer/OfferMapper.java
View file @
567ac53b
...
@@ -275,6 +275,7 @@ public interface OfferMapper extends BaseMapperX<OfferDO> {
...
@@ -275,6 +275,7 @@ public interface OfferMapper extends BaseMapperX<OfferDO> {
"user.name AS customer_name,"
,
"user.name AS customer_name,"
,
"user.enter_open_sea_time,"
,
"user.enter_open_sea_time,"
,
"user.estimate_enter_open_sea_time,"
,
"user.estimate_enter_open_sea_time,"
,
"user.id as customerId,"
,
"(select count(1) from ecw_customer_followup l where l.offer_id = o.offer_id) as log_count, "
,
"(select count(1) from ecw_customer_followup l where l.offer_id = o.offer_id) as log_count, "
,
"(SELECT su.nickname FROM system_user as su WHERE su.id = o.creator AND su.deleted = 0 ) as creator_name,"
,
"(SELECT su.nickname FROM system_user as su WHERE su.id = o.creator AND su.deleted = 0 ) as creator_name,"
,
// 跟进客户经理
// 跟进客户经理
...
...
yudao-module-sale/yudao-module-sale-core/src/main/java/cn/iocoder/yudao/module/sale/vo/offer/OfferRespVO.java
View file @
567ac53b
...
@@ -97,6 +97,9 @@ public class OfferRespVO extends OfferBaseVO {
...
@@ -97,6 +97,9 @@ public class OfferRespVO extends OfferBaseVO {
@ApiModelProperty
(
value
=
"客户名称"
)
@ApiModelProperty
(
value
=
"客户名称"
)
private
String
customerName
;
private
String
customerName
;
@ApiModelProperty
(
value
=
"客户"
)
private
Long
customerId
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@ApiModelProperty
(
value
=
"进入公海时间"
)
@ApiModelProperty
(
value
=
"进入公海时间"
)
private
Date
enterOpenSeaTime
;
private
Date
enterOpenSeaTime
;
...
...
yudao-module-sale/yudao-module-sale-rest/src/main/java/cn/iocoder/yudao/module/sale/controller/admin/offer/OfferController.java
View file @
567ac53b
...
@@ -203,8 +203,8 @@ public class OfferController {
...
@@ -203,8 +203,8 @@ public class OfferController {
BigDecimal
volume
=
new
BigDecimal
(
0
);
BigDecimal
volume
=
new
BigDecimal
(
0
);
BigDecimal
weight
=
new
BigDecimal
(
0
);
BigDecimal
weight
=
new
BigDecimal
(
0
);
for
(
OfferProdDO
offerProdDO
:
offerProdDOList
)
{
for
(
OfferProdDO
offerProdDO
:
offerProdDOList
)
{
volume
=
volume
.
add
(
offerProdDO
.
getVolume
());
volume
=
volume
.
add
(
offerProdDO
.
getVolume
()
==
null
?
new
BigDecimal
(
0
):
offerProdDO
.
getVolume
()
);
weight
=
weight
.
add
(
offerProdDO
.
getWeight
());
weight
=
weight
.
add
(
offerProdDO
.
getWeight
()
==
null
?
new
BigDecimal
(
0
):
offerProdDO
.
getWeight
()
);
if
(
offerProdDO
.
getSpecialPriceType
()){
if
(
offerProdDO
.
getSpecialPriceType
()){
respVO
.
setSpecialPriceType
(
offerProdDO
.
getSpecialPriceType
());
respVO
.
setSpecialPriceType
(
offerProdDO
.
getSpecialPriceType
());
}
}
...
...
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