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
89bc9cc4
Commit
89bc9cc4
authored
Sep 11, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充报价单列表查询反参
parent
d1ac13e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
OfferMapper.java
...ocoder/yudao/module/sale/dal/mysql/offer/OfferMapper.java
+4
-3
OfferRespVO.java
...va/cn/iocoder/yudao/module/sale/vo/offer/OfferRespVO.java
+5
-0
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 @
89bc9cc4
...
...
@@ -106,6 +106,7 @@ public interface OfferMapper extends BaseMapperX<OfferDO> {
// "o.est_cost, ",
// "o.create_time, ",
// "o.update_time, ",
"user.number as customer_number"
,
"(select count(1) from ecw_customer_followup l where l.offer_id = o.offer_id) as log_count, "
,
"u.nickname as creator_name, "
,
"u.nickname as business_manager_name, "
,
...
...
@@ -113,19 +114,19 @@ public interface OfferMapper extends BaseMapperX<OfferDO> {
"cc.name as relation_name, "
,
"cc.area_code as relation_area_code, "
,
"cc.phone_new as relation_phone, "
,
"if(#{lang} = 0, l.name_zh , l.name_en ) as channel_name, "
,
"line.start_warehouse_id, "
,
"line.dest_warehouse_id, "
,
"line.transport_type "
,
"from ecw_offer o "
,
"left join ecw_customer_contacts cc on (o.relation = 1 and cc.id = o.consignor_id) or (o.relation = 2 and cc.id = o.consignee_id) "
,
"<when test = 'pageVO.sourceIds != null and pageVO.sourceIds.size() > 0'>"
,
"left join ecw_customer user on user.id = o.relation_id "
,
"</when>"
,
"left join ecw_customer user on user.id = o.relation_id "
,
"left join system_user u on u.id = o.follow_up_salesman_id "
,
"left join ecw_region s on o.objective_id = s.id "
,
"left join ecw_warehouse_line line on o.line_id = line.id "
,
"left join ecw_warehouse dst on line.dest_warehouse_id = dst.id "
,
"left join ecw_channel l on o.channel_id = l.channel_id "
,
"where o.deleted = 0"
,
//destCountryIds
...
...
yudao-module-sale/yudao-module-sale-core/src/main/java/cn/iocoder/yudao/module/sale/vo/offer/OfferRespVO.java
View file @
89bc9cc4
...
...
@@ -67,6 +67,11 @@ public class OfferRespVO extends OfferBaseVO {
private
String
transportType
;
@ApiModelProperty
(
value
=
"渠道名称"
)
private
String
channelName
;
@ApiModelProperty
(
value
=
"客户编号"
)
private
String
customerNumber
;
@ApiModelProperty
(
value
=
"业务员名称-客户经理"
)
private
String
businessManagerName
;
...
...
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