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
782dec4b
Commit
782dec4b
authored
Jul 12, 2023
by
Mahjong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
专家处理商机,更新预约状态,给客户发送预约成功短信,小程序发送预约成功通知9
parent
7cf53cae
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
4 deletions
+30
-4
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+0
-1
yd-api/src/main/java/com/yd/api/practitioner/vo/opportunity/OpportunityRecordInfo.java
+4
-0
yd-api/src/main/java/com/yd/api/practitioner/vo/opportunity/OwnOpportunityDetailQueryRequestVO.java
+2
-1
yd-api/src/main/java/com/yd/dal/entity/marketing/MktLeadsAssignedTrack.java
+2
-1
yd-api/src/main/resources/mapper/marketing/MktLeadsAssignedTrackMapper.xml
+22
-1
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
782dec4b
...
@@ -1801,7 +1801,6 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -1801,7 +1801,6 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
track
.
setUpdatedBy
(
requestVO
.
getPractitionerId
());
track
.
setUpdatedBy
(
requestVO
.
getPractitionerId
());
track
.
setUpdatorType
(
2
);
track
.
setUpdatorType
(
2
);
track
.
setUpdatedAt
(
new
Date
());
track
.
setUpdatedAt
(
new
Date
());
track
.
setSfpMainId
(
requestVO
.
getSfpMainId
());
MdDropOptions
dropOtions
=
mdDropOptionsDALService
.
findByDropOptionId
(
requestVO
.
getMdDropOptionId
());
MdDropOptions
dropOtions
=
mdDropOptionsDALService
.
findByDropOptionId
(
requestVO
.
getMdDropOptionId
());
track
.
setTrackScore
(
dropOtions
.
getDropOptionScore
());
track
.
setTrackScore
(
dropOtions
.
getDropOptionScore
());
if
(
CommonUtil
.
isNullOrZero
(
requestVO
.
getId
()))
{
if
(
CommonUtil
.
isNullOrZero
(
requestVO
.
getId
()))
{
...
...
yd-api/src/main/java/com/yd/api/practitioner/vo/opportunity/OpportunityRecordInfo.java
View file @
782dec4b
...
@@ -25,4 +25,8 @@ public class OpportunityRecordInfo {
...
@@ -25,4 +25,8 @@ public class OpportunityRecordInfo {
* 告知书签署状态
* 告知书签署状态
*/
*/
private
String
status
;
private
String
status
;
private
Long
sfpMainId
;
//sfp商家专用
private
String
taskTimeFrom
;
//跟进开始时间
private
String
taskTimeEnd
;
//跟进结束时间
}
}
yd-api/src/main/java/com/yd/api/practitioner/vo/opportunity/OwnOpportunityDetailQueryRequestVO.java
View file @
782dec4b
...
@@ -8,5 +8,6 @@ public class OwnOpportunityDetailQueryRequestVO {
...
@@ -8,5 +8,6 @@ public class OwnOpportunityDetailQueryRequestVO {
private
Long
opportunityId
;
//商机Id,客户的customerId
private
Long
opportunityId
;
//商机Id,客户的customerId
private
Long
orderId
;
private
Long
orderId
;
private
Long
sfpMainId
;
//sfp商家专用
private
Long
sfpMainId
;
//sfp商家专用
private
String
taskTimeFrom
;
//跟进开始时间
private
String
taskTimeEnd
;
//跟进结束时间
}
}
yd-api/src/main/java/com/yd/dal/entity/marketing/MktLeadsAssignedTrack.java
View file @
782dec4b
...
@@ -111,7 +111,8 @@ public class MktLeadsAssignedTrack implements Serializable {
...
@@ -111,7 +111,8 @@ public class MktLeadsAssignedTrack implements Serializable {
private
String
informedStatus
;
private
String
informedStatus
;
private
Long
sfpMainId
;
private
Long
sfpMainId
;
private
String
taskTimeFrom
;
//跟进开始时间
private
String
taskTimeEnd
;
//跟进结束时间
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
}
}
yd-api/src/main/resources/mapper/marketing/MktLeadsAssignedTrackMapper.xml
View file @
782dec4b
...
@@ -23,12 +23,15 @@
...
@@ -23,12 +23,15 @@
<result
column=
"informed_id"
jdbcType=
"BIGINT"
property=
"informedId"
/>
<result
column=
"informed_id"
jdbcType=
"BIGINT"
property=
"informedId"
/>
<result
column=
"informed_status"
jdbcType=
"VARCHAR"
property=
"informedStatus"
/>
<result
column=
"informed_status"
jdbcType=
"VARCHAR"
property=
"informedStatus"
/>
<result
column=
"sfp_main_id"
jdbcType=
"BIGINT"
property=
"sfpMainId"
/>
<result
column=
"sfp_main_id"
jdbcType=
"BIGINT"
property=
"sfpMainId"
/>
<result
column=
"task_time_from"
jdbcType=
"VARCHAR"
property=
"taskTimeFrom"
/>
<result
column=
"task_time_end"
jdbcType=
"VARCHAR"
property=
"taskTimeEnd"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
id, order_id, order_no, sales_notice, is_active, created_at, created_by, creator_type,
id, order_id, order_no, sales_notice, is_active, created_at, created_by, creator_type,
updated_at, updated_by, updator_type, practitioner_id, customer_id, md_drop_option_id,
updated_at, updated_by, updator_type, practitioner_id, customer_id, md_drop_option_id,
track_score, leads_assigned_id,track_time,informed_oss_path,informed_id,informed_status
track_score, leads_assigned_id,track_time,informed_oss_path,informed_id,informed_status,
sfp_main_id,task_time_from,task_time_end
</sql>
</sql>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select
select
...
@@ -121,6 +124,12 @@
...
@@ -121,6 +124,12 @@
<if
test=
"sfpMainId != null"
>
<if
test=
"sfpMainId != null"
>
sfp_main_id,
sfp_main_id,
</if>
</if>
<if
test=
"taskTimeFrom != null"
>
task_time_from,
</if>
<if
test=
"taskTimeEnd != null"
>
task_time_end,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"orderId != null"
>
<if
test=
"orderId != null"
>
...
@@ -186,6 +195,12 @@
...
@@ -186,6 +195,12 @@
<if
test=
"sfpMainId != null"
>
<if
test=
"sfpMainId != null"
>
#{sfpMainId,jdbcType=BIGINT},
#{sfpMainId,jdbcType=BIGINT},
</if>
</if>
<if
test=
"taskTimeFrom != null"
>
#{taskTimeFrom,jdbcType=VARCHAR},
</if>
<if
test=
"taskTimeEnd != null"
>
#{taskTimeEnd,jdbcType=VARCHAR},
</if>
</trim>
</trim>
</insert>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.yd.dal.entity.marketing.MktLeadsAssignedTrack"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.yd.dal.entity.marketing.MktLeadsAssignedTrack"
>
...
@@ -251,6 +266,12 @@
...
@@ -251,6 +266,12 @@
<if
test=
"sfpMainId != null"
>
<if
test=
"sfpMainId != null"
>
sfp_main_id = #{sfpMainId,jdbcType=BIGINT},
sfp_main_id = #{sfpMainId,jdbcType=BIGINT},
</if>
</if>
<if
test=
"taskTimeFrom != null"
>
task_time_from = #{taskTimeFrom,jdbcType=VARCHAR},
</if>
<if
test=
"taskTimeEnd != null"
>
task_time_end = #{taskTimeEnd,jdbcType=VARCHAR},
</if>
</set>
</set>
where id = #{id,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</update>
</update>
...
...
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