Commit 7cf53cae by Mahjong

专家处理商机,更新预约状态,给客户发送预约成功短信,小程序发送预约成功通知8

parent 59b4efa4
...@@ -1801,6 +1801,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -1801,6 +1801,7 @@ 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())) {
......
...@@ -14,5 +14,7 @@ public class OwnOpportunityRecordSaveRequestVO { ...@@ -14,5 +14,7 @@ public class OwnOpportunityRecordSaveRequestVO {
private Long leadsAssignedId; private Long leadsAssignedId;
private String taskTimeFrom;//跟进开始时间 private String taskTimeFrom;//跟进开始时间
private String taskTimeEnd;//跟进结束时间 private String taskTimeEnd;//跟进结束时间
private Long sfpMainId;
} }
...@@ -118,6 +118,9 @@ ...@@ -118,6 +118,9 @@
<if test="informedStatus != null"> <if test="informedStatus != null">
informed_status, informed_status,
</if> </if>
<if test="sfpMainId != null">
sfp_main_id,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="orderId != null"> <if test="orderId != null">
...@@ -180,6 +183,9 @@ ...@@ -180,6 +183,9 @@
<if test="informedStatus != null"> <if test="informedStatus != null">
#{informedStatus,jdbcType=VARCHAR}, #{informedStatus,jdbcType=VARCHAR},
</if> </if>
<if test="sfpMainId != null">
#{sfpMainId,jdbcType=BIGINT},
</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">
...@@ -242,6 +248,9 @@ ...@@ -242,6 +248,9 @@
<if test="informedId != null"> <if test="informedId != null">
leads_assigned_id = #{informedId,jdbcType=BIGINT}, leads_assigned_id = #{informedId,jdbcType=BIGINT},
</if> </if>
<if test="sfpMainId != null">
sfp_main_id = #{sfpMainId,jdbcType=BIGINT},
</if>
</set> </set>
where id = #{id,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}
</update> </update>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment