Commit 782dec4b by Mahjong

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

parent 7cf53cae
...@@ -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())) {
......
...@@ -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;//跟进结束时间
} }
...@@ -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;//跟进结束时间
} }
...@@ -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;
} }
...@@ -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>
......
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