Commit 0825bb52 by zhangxingmin

确定预约时间提交 (流程流转到新单跟进) - 新增新单跟进记录

parent 494ad471
......@@ -20,6 +20,7 @@ import com.yd.csf.feign.response.appointment.ApiAppointmentAddResponse;
import com.yd.csf.feign.response.appointment.ApiAppointmentDetailResponse;
import com.yd.csf.feign.response.appointment.ApiAppointmentPageResponse;
import com.yd.csf.service.enums.AppointmentStatusEnum;
import com.yd.csf.service.enums.PolicyFollowStatusEnum;
import com.yd.csf.service.model.Appointment;
import com.yd.csf.service.model.Fna;
import com.yd.csf.service.model.PolicyFollow;
......@@ -406,6 +407,8 @@ public class ApiAppointmentServiceImpl implements ApiAppointmentService {
follow.setAppointmentNo(appointment.getAppointmentNo());
//客户信息表唯一业务ID
follow.setCustomerBizId(appointment.getCustomerBizId());
//待跟进
follow.setStatus(PolicyFollowStatusEnum.FOLLOW_UP.getItemValue());
//TODO 保险公司业务id
// follow.setInsurerBizId();
//TODO 期交保费
......
......@@ -6,6 +6,7 @@ import org.apache.commons.lang3.ObjectUtils;
* 新单跟进状态枚举 'CHECKING'-'审核中','UNDERWRITING'-'承保中','FINISHED'-'已完成','DECLINED'-'已拒绝','CANCELLED'-'已取消'
*/
public enum PolicyFollowStatusEnum {
FOLLOW_UP("待跟进", "FOLLOW_UP"),
CHECKING("审核中", "CHECKING"),
UNDERWRITING("承保中", "UNDERWRITING"),
FINISHED("已完成", "FINISHED"),
......
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