Commit cdd348a4 by zhangxingmin

增加业务员字段返回

parent 2a85838d
...@@ -3,6 +3,7 @@ package com.yd.csf.feign.response.appointment; ...@@ -3,6 +3,7 @@ package com.yd.csf.feign.response.appointment;
import lombok.Data; import lombok.Data;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime;
/** /**
* 预约分页查询出参 * 预约分页查询出参
...@@ -64,4 +65,19 @@ public class ApiAppointmentPageResponse { ...@@ -64,4 +65,19 @@ public class ApiAppointmentPageResponse {
* 时间(显示-预约信息表:意向预约时间+业务代表1 姓名+业务代表1 电话号码+签单地址) TODO * 时间(显示-预约信息表:意向预约时间+业务代表1 姓名+业务代表1 电话号码+签单地址) TODO
*/ */
private String time; private String time;
/**
* 业务代表1姓名(业务员)
*/
private String businessRepresentName1;
/**
* 创建人ID
*/
private String creatorId;
/**
* 创建时间
*/
private LocalDateTime createTime;
} }
...@@ -19,7 +19,10 @@ ...@@ -19,7 +19,10 @@
'\n','业务代表:','\n',a.business_represent_name1,'\n', '\n','业务代表:','\n',a.business_represent_name1,'\n',
'(',a.business_represent_mobile1_code,'-',a.business_represent_mobile1,')','\n', '(',a.business_represent_mobile1_code,'-',a.business_represent_mobile1,')','\n',
'预约地址:',a.signing_address) '预约地址:',a.signing_address)
) as time ) as time,
a.business_represent_account1,
a.creator_id,
a.create_time
from appointment a from appointment a
left join product_plan pp on a.appointment_biz_id = pp.appointment_biz_id and pp.is_deleted = 0 left join product_plan pp on a.appointment_biz_id = pp.appointment_biz_id and pp.is_deleted = 0
left join policyholder p on a.appointment_biz_id = p.appointment_biz_id and p.is_deleted = 0 left join policyholder p on a.appointment_biz_id = p.appointment_biz_id and p.is_deleted = 0
......
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