小程序专家咨询订单修改
This commit is contained in:
parent
3d0050d46b
commit
ae67d61671
@ -251,4 +251,14 @@ public class AppletGoodsOrderVO implements Serializable {
|
||||
* 科室人员头像地址
|
||||
*/
|
||||
private String personPictureUrl;
|
||||
|
||||
/**
|
||||
* 科室人员联系电话
|
||||
*/
|
||||
private String personPhone;
|
||||
|
||||
/**
|
||||
* 人员职称,主任医师:CHIEF_PHYSICIAN,副主任医师:DEPUTY_CHIEF_PHYSICIAN,主治医师:ATTENDING_DOCTOR,医师:PHYSICIAN,医士:HEALER,住院医师:RESIDENT_PHYSICIAN
|
||||
*/
|
||||
private String academicTitle;
|
||||
}
|
||||
|
||||
@ -107,6 +107,7 @@
|
||||
gr.hospital_person_id,
|
||||
gr.health_consultation_content,
|
||||
gr.health_appoint_date,
|
||||
gr.remark,
|
||||
god.integral_deduction_count,
|
||||
god.id goodsOrderDetailsId,
|
||||
god.order_no godOrderNo,
|
||||
@ -130,6 +131,10 @@
|
||||
(select rf.success_time from refund_info rf where rf.order_no = gr.order_no) update_time,
|
||||
IF( gr.order_type = 'HEALTH_CONSULTATION', ( SELECT person_picture_url FROM hospital_person_info WHERE id =
|
||||
gr.hospital_person_id ), NULL ) person_picture_url,
|
||||
IF( gr.order_type = 'HEALTH_CONSULTATION', ( SELECT person_phone FROM hospital_person_info WHERE id =
|
||||
gr.hospital_person_id ), NULL ) person_phone,
|
||||
IF( gr.order_type = 'HEALTH_CONSULTATION', ( SELECT academic_title FROM hospital_person_info WHERE id =
|
||||
gr.hospital_person_id ), NULL ) academic_title,
|
||||
gr.hospital_person_name
|
||||
FROM
|
||||
goods_order gr
|
||||
@ -384,7 +389,7 @@
|
||||
LEFT JOIN hospital_person_info hpi ON hpi.id = gor.hospital_person_id
|
||||
LEFT JOIN order_evaluate_info nei ON nei.order_no = gor.order_no
|
||||
where
|
||||
<if test="orderTypeList != null and orderTypeList.size > 0">
|
||||
<if test="orderStatusList != null and orderStatusList.size > 0">
|
||||
gor.order_status in
|
||||
<foreach collection="orderStatusList" item="orderStatusList" open="(" separator="," close=")">
|
||||
#{orderStatusList}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user