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
fee41887
Commit
fee41887
authored
Sep 08, 2023
by
jianan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_20221018' into dev
parents
994b3e88
c16400a5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
5 deletions
+11
-5
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+1
-1
yd-api/src/main/java/com/yd/dal/mapper/marketing/MktLeadsPoolMapper.java
+1
-1
yd-api/src/main/java/com/yd/dal/service/marketing/Impl/MktLeadsPoolDALServiceImpl.java
+2
-2
yd-api/src/main/java/com/yd/dal/service/marketing/MktLeadsPoolDALService.java
+1
-1
yd-api/src/main/resources/mapper/marketing/MktLeadsPoolMapper.xml
+6
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
fee41887
...
@@ -1919,7 +1919,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -1919,7 +1919,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
}
}
private
void
updateAgSfpAppointmentRecordInfo
(
OwnOpportunityRecordSaveRequestVO
requestVO
,
MktLeadsAssignedTrack
track
)
{
private
void
updateAgSfpAppointmentRecordInfo
(
OwnOpportunityRecordSaveRequestVO
requestVO
,
MktLeadsAssignedTrack
track
)
{
MktLeadsPool
pool
=
mktLeadsPoolDALService
.
findByCustomerIdForSfp
(
track
.
getCustomerId
());
MktLeadsPool
pool
=
mktLeadsPoolDALService
.
findByCustomerIdForSfp
(
track
.
getCustomerId
()
,
track
.
getSfpMainId
()
);
if
(
pool
!=
null
){
if
(
pool
!=
null
){
AgSfpAppointmentRecord
agSfpAppointmentRecord
=
new
AgSfpAppointmentRecord
();
AgSfpAppointmentRecord
agSfpAppointmentRecord
=
new
AgSfpAppointmentRecord
();
agSfpAppointmentRecord
.
setSfpMainId
(
pool
.
getSfpMainId
());
agSfpAppointmentRecord
.
setSfpMainId
(
pool
.
getSfpMainId
());
...
...
yd-api/src/main/java/com/yd/dal/mapper/marketing/MktLeadsPoolMapper.java
View file @
fee41887
...
@@ -29,7 +29,7 @@ public interface MktLeadsPoolMapper {
...
@@ -29,7 +29,7 @@ public interface MktLeadsPoolMapper {
List
<
LeadsStatusInfo
>
findLeadsStatusMap
();
List
<
LeadsStatusInfo
>
findLeadsStatusMap
();
MktLeadsPool
findByCustomerIdForSfp
(
Long
customer
Id
);
MktLeadsPool
findByCustomerIdForSfp
(
@Param
(
"customerId"
)
Long
customerId
,
@Param
(
"sfpMainId"
)
Long
sfpMain
Id
);
MktLeadsPool
findBySfpMainId
(
Long
sfpMainId
);
MktLeadsPool
findBySfpMainId
(
Long
sfpMainId
);
}
}
yd-api/src/main/java/com/yd/dal/service/marketing/Impl/MktLeadsPoolDALServiceImpl.java
View file @
fee41887
...
@@ -64,8 +64,8 @@ public class MktLeadsPoolDALServiceImpl implements MktLeadsPoolDALService {
...
@@ -64,8 +64,8 @@ public class MktLeadsPoolDALServiceImpl implements MktLeadsPoolDALService {
}
}
@Override
@Override
public
MktLeadsPool
findByCustomerIdForSfp
(
Long
customerId
)
{
public
MktLeadsPool
findByCustomerIdForSfp
(
Long
customerId
,
Long
sfpMainId
)
{
return
mktLeadsPoolMapper
.
findByCustomerIdForSfp
(
customerId
);
return
mktLeadsPoolMapper
.
findByCustomerIdForSfp
(
customerId
,
sfpMainId
);
}
}
@Override
@Override
public
MktLeadsPool
findBySfpMainId
(
Long
sfpMainId
)
{
public
MktLeadsPool
findBySfpMainId
(
Long
sfpMainId
)
{
...
...
yd-api/src/main/java/com/yd/dal/service/marketing/MktLeadsPoolDALService.java
View file @
fee41887
...
@@ -22,7 +22,7 @@ public interface MktLeadsPoolDALService {
...
@@ -22,7 +22,7 @@ public interface MktLeadsPoolDALService {
void
updateMktLeadsAssigneds
(
MktLeadsPool
pool
);
void
updateMktLeadsAssigneds
(
MktLeadsPool
pool
);
MktLeadsPool
findByCustomerIdForSfp
(
Long
customerId
);
MktLeadsPool
findByCustomerIdForSfp
(
Long
customerId
,
Long
sfpMainId
);
MktLeadsPool
findBySfpMainId
(
Long
sfpMainId
);
MktLeadsPool
findBySfpMainId
(
Long
sfpMainId
);
}
}
yd-api/src/main/resources/mapper/marketing/MktLeadsPoolMapper.xml
View file @
fee41887
...
@@ -276,6 +276,12 @@
...
@@ -276,6 +276,12 @@
where a.appointment_record_id=b.id and b.user_id=c.id
where a.appointment_record_id=b.id and b.user_id=c.id
and b.status = 0 and b.is_complete =0
and b.status = 0 and b.is_complete =0
and a.customer_id = #{customerId,jdbcType=BIGINT}
and a.customer_id = #{customerId,jdbcType=BIGINT}
<if
test=
"sfpMainId != null"
>
and a.sfp_main_id = #{sfpMainId,jdbcType=BIGINT}
</if>
<if
test=
"sfpMainId == null"
>
and a.sfp_main_id is null
</if>
and a.appointment_record_id is not null
and a.appointment_record_id is not null
and a.is_active=1
and a.is_active=1
</select>
</select>
...
...
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