Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
7556b068
Commit
7556b068
authored
Jul 13, 2023
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
专家处理商机,更新预约状态,给客户发送预约成功短信,小程序发送预约成功通知13
parent
e256b9a2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+2
-1
yd-api/src/main/java/com/yd/api/practitioner/vo/opportunity/OpportunityBasicInformationInfo.java
+1
-0
yd-api/src/main/java/com/yd/dal/entity/marketing/MktLeadsPool.java
+1
-0
yd-api/src/main/resources/mapper/marketing/MktLeadsPoolMapper.xml
+5
-5
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
7556b068
...
@@ -1016,7 +1016,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -1016,7 +1016,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
MdDropOptions
mdDropOption
=
mdDropOptionsDALService
.
findByDropOptionId
(
Long
.
valueOf
(
customer
.
getBloodTypeId
()));
MdDropOptions
mdDropOption
=
mdDropOptionsDALService
.
findByDropOptionId
(
Long
.
valueOf
(
customer
.
getBloodTypeId
()));
info
.
setBloodType
(
mdDropOption
.
getDropOptionName
());
info
.
setBloodType
(
mdDropOption
.
getDropOptionName
());
}
}
String
mktCampaign
=
customer
.
getMktCampaign
();
//
String mktCampaign = customer.getMktCampaign();
MktLeadsPool
pool
=
null
;
MktLeadsPool
pool
=
null
;
if
(
null
!=
requestVO
.
getSfpMainId
()){
if
(
null
!=
requestVO
.
getSfpMainId
()){
pool
=
mktLeadsPoolDALService
.
findBySfpMainId
(
requestVO
.
getSfpMainId
());
pool
=
mktLeadsPoolDALService
.
findBySfpMainId
(
requestVO
.
getSfpMainId
());
...
@@ -1033,6 +1033,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -1033,6 +1033,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
MdMkCampaign
mdMkCampaign
=
mdMkCampaignDALService
.
findByMktCampaignId
(
Long
.
valueOf
(
campaign
));
MdMkCampaign
mdMkCampaign
=
mdMkCampaignDALService
.
findByMktCampaignId
(
Long
.
valueOf
(
campaign
));
info
.
setSourceChannel
(
mdMkCampaign
.
getName
());
info
.
setSourceChannel
(
mdMkCampaign
.
getName
());
}
}
info
.
setSfpUserId
(
pool
.
getSfpUserId
());
}
}
info
.
setAddress
(
customer
.
getAddress
());
info
.
setAddress
(
customer
.
getAddress
());
...
...
yd-api/src/main/java/com/yd/api/practitioner/vo/opportunity/OpportunityBasicInformationInfo.java
View file @
7556b068
...
@@ -61,5 +61,6 @@ public class OpportunityBasicInformationInfo {
...
@@ -61,5 +61,6 @@ public class OpportunityBasicInformationInfo {
*/
*/
private
String
timeToClose
;
private
String
timeToClose
;
private
List
<
OpportunityCustomerTag
>
opportunityCustomerTags
;
private
List
<
OpportunityCustomerTag
>
opportunityCustomerTags
;
private
Long
sfpUserId
;
}
}
yd-api/src/main/java/com/yd/dal/entity/marketing/MktLeadsPool.java
View file @
7556b068
...
@@ -59,5 +59,6 @@ public class MktLeadsPool {
...
@@ -59,5 +59,6 @@ public class MktLeadsPool {
private
Long
sfpMainId
;
private
Long
sfpMainId
;
private
String
mobile
;
private
String
mobile
;
private
String
wxOpenId
;
//sfp 用户小程序openid
private
String
wxOpenId
;
//sfp 用户小程序openid
private
Long
sfpUserId
;
}
}
yd-api/src/main/resources/mapper/marketing/MktLeadsPoolMapper.xml
View file @
7556b068
...
@@ -281,10 +281,10 @@
...
@@ -281,10 +281,10 @@
</select>
</select>
<select
id=
"findBySfpMainId"
resultType=
"com.yd.dal.entity.marketing.MktLeadsPool"
>
<select
id=
"findBySfpMainId"
resultType=
"com.yd.dal.entity.marketing.MktLeadsPool"
>
select
select
t.id id, t.customer_id customerId, t.mkt_campaign mktCampaign, t.mkt_task mktTask, t.has_assigned hasAssigned, t.source_from sourceFrom,
<include
refid=
"Base_Column_List"
/>
t.is_active isActive,t.added_at addedAt, t.added_by addedBy,t.remark remark,t.appointment_record_id appointmentRecordId,m.user_id sfpUserId
from ag_mkt_leads_pool
from ag_mkt_leads_pool
t,ag_sfp_main m
where sfp_main_id = #{customerId,jdbcType=BIGINT}
where
t.sfp_main_id =m.id and t.
sfp_main_id = #{customerId,jdbcType=BIGINT}
and is_active=1
and
t.
is_active=1
</select>
</select>
</mapper>
</mapper>
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