Commit 7cf53cae by Mahjong

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

parent 59b4efa4
......@@ -1801,6 +1801,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
track.setUpdatedBy(requestVO.getPractitionerId());
track.setUpdatorType(2);
track.setUpdatedAt(new Date());
track.setSfpMainId(requestVO.getSfpMainId());
MdDropOptions dropOtions = mdDropOptionsDALService.findByDropOptionId(requestVO.getMdDropOptionId());
track.setTrackScore(dropOtions.getDropOptionScore());
if (CommonUtil.isNullOrZero(requestVO.getId())) {
......
......@@ -14,5 +14,7 @@ public class OwnOpportunityRecordSaveRequestVO {
private Long leadsAssignedId;
private String taskTimeFrom;//跟进开始时间
private String taskTimeEnd;//跟进结束时间
private Long sfpMainId;
}
......@@ -118,6 +118,9 @@
<if test="informedStatus != null">
informed_status,
</if>
<if test="sfpMainId != null">
sfp_main_id,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="orderId != null">
......@@ -180,6 +183,9 @@
<if test="informedStatus != null">
#{informedStatus,jdbcType=VARCHAR},
</if>
<if test="sfpMainId != null">
#{sfpMainId,jdbcType=BIGINT},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.yd.dal.entity.marketing.MktLeadsAssignedTrack">
......@@ -242,6 +248,9 @@
<if test="informedId != null">
leads_assigned_id = #{informedId,jdbcType=BIGINT},
</if>
<if test="sfpMainId != null">
sfp_main_id = #{sfpMainId,jdbcType=BIGINT},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</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