Commit 782dec4b by Mahjong

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

parent 7cf53cae
......@@ -1801,7 +1801,6 @@ 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())) {
......
......@@ -25,4 +25,8 @@ public class OpportunityRecordInfo {
* 告知书签署状态
*/
private String status;
private Long sfpMainId;//sfp商家专用
private String taskTimeFrom;//跟进开始时间
private String taskTimeEnd;//跟进结束时间
}
......@@ -8,5 +8,6 @@ public class OwnOpportunityDetailQueryRequestVO {
private Long opportunityId;//商机Id,客户的customerId
private Long orderId;
private Long sfpMainId;//sfp商家专用
private String taskTimeFrom;//跟进开始时间
private String taskTimeEnd;//跟进结束时间
}
......@@ -111,7 +111,8 @@ public class MktLeadsAssignedTrack implements Serializable {
private String informedStatus;
private Long sfpMainId;
private String taskTimeFrom;//跟进开始时间
private String taskTimeEnd;//跟进结束时间
private static final long serialVersionUID = 1L;
}
......@@ -23,12 +23,15 @@
<result column="informed_id" jdbcType="BIGINT" property="informedId" />
<result column="informed_status" jdbcType="VARCHAR" property="informedStatus" />
<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>
<sql id="Base_Column_List">
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,
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>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
select
......@@ -121,6 +124,12 @@
<if test="sfpMainId != null">
sfp_main_id,
</if>
<if test="taskTimeFrom != null">
task_time_from,
</if>
<if test="taskTimeEnd != null">
task_time_end,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="orderId != null">
......@@ -186,6 +195,12 @@
<if test="sfpMainId != null">
#{sfpMainId,jdbcType=BIGINT},
</if>
<if test="taskTimeFrom != null">
#{taskTimeFrom,jdbcType=VARCHAR},
</if>
<if test="taskTimeEnd != null">
#{taskTimeEnd,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.yd.dal.entity.marketing.MktLeadsAssignedTrack">
......@@ -251,6 +266,12 @@
<if test="sfpMainId != null">
sfp_main_id = #{sfpMainId,jdbcType=BIGINT},
</if>
<if test="taskTimeFrom != null">
task_time_from = #{taskTimeFrom,jdbcType=VARCHAR},
</if>
<if test="taskTimeEnd != null">
task_time_end = #{taskTimeEnd,jdbcType=VARCHAR},
</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