Commit e2bff8ac authored by Shen's avatar Shen

1. 返回订单列表添加详情图片

parent 908ae091
...@@ -107,6 +107,9 @@ public class PensionOrderDTO implements Serializable { ...@@ -107,6 +107,9 @@ public class PensionOrderDTO implements Serializable {
@ApiModelProperty(value = "封面") @ApiModelProperty(value = "封面")
private String icon; private String icon;
@ApiModelProperty(value = "详情图片")
private String detailPicture;
@ApiModelProperty(value = "所属社区名称") @ApiModelProperty(value = "所属社区名称")
private String communityName; private String communityName;
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone, po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content, po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date, po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon ps.icon, ps.detail_picture
FROM pension_order po, pension_service ps FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id WHERE po.service_id = ps.id
<if test="status != null and status == 0"> <if test="status != null and status == 0">
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone, po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content, po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date, po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon ps.icon, ps.detail_picture
FROM pension_order po, pension_service ps FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND po.id = #{orderId} WHERE po.service_id = ps.id AND po.id = #{orderId}
<if test="userId != null"> <if test="userId != null">
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone, po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content, po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date, po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon ps.icon, ps.detail_picture
FROM pension_order po, pension_service ps FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND TO_DAYS(appointment_time) = TO_DAYS(NOW()) AND po.status = 0 AND po.order_recipient_id IS NULL WHERE po.service_id = ps.id AND TO_DAYS(appointment_time) = TO_DAYS(NOW()) AND po.status = 0 AND po.order_recipient_id IS NULL
</select> </select>
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone, po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content, po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date, po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon ps.icon, ps.detail_picture
FROM pension_order po, pension_service ps FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND TO_DAYS(appointment_time) = TO_DAYS(NOW()) AND po.creator = #{creator} WHERE po.service_id = ps.id AND TO_DAYS(appointment_time) = TO_DAYS(NOW()) AND po.creator = #{creator}
</select> </select>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone, po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content, po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date, po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon ps.icon, ps.detail_picture
FROM pension_order po, pension_service ps FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND po.creator = #{creator} WHERE po.service_id = ps.id AND po.creator = #{creator}
<if test="status != null"> <if test="status != null">
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone, po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content, po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date, po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon ps.icon, ps.detail_picture
FROM pension_order po, pension_service ps, tb_user tu FROM pension_order po, pension_service ps, tb_user tu
WHERE po.service_id = ps.id AND po.community_id = tu.community_id AND tu.id = #{userId} WHERE po.service_id = ps.id AND po.community_id = tu.community_id AND tu.id = #{userId}
</select> </select>
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone, po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content, po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date, po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon ps.icon, ps.detail_picture
FROM pension_order po, pension_service ps, tb_user tu FROM pension_order po, pension_service ps, tb_user tu
WHERE po.service_id = ps.id AND po.community_id = tu.community_id WHERE po.service_id = ps.id AND po.community_id = tu.community_id
AND tu.id = #{userId} AND po.appointment_person LIKE CONCAT('%', #{appointmentPerson}, '%') AND tu.id = #{userId} AND po.appointment_person LIKE CONCAT('%', #{appointmentPerson}, '%')
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone, po.order_recipient_id, po.order_recipient_name, po.order_recipient_time, po.order_recipient_phone,
po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content, po.act_price, po.community_name, po.community_id, po.dept_id, po.cancel_reason, content,
po.creator, po.creator_name, po.creator_tel, po.create_date, po.creator, po.creator_name, po.creator_tel, po.create_date,
ps.icon ps.icon, ps.detail_picture
FROM pension_order po, pension_service ps FROM pension_order po, pension_service ps
WHERE po.service_id = ps.id AND po.service_id = #{serviceId} WHERE po.service_id = ps.id AND po.service_id = #{serviceId}
<if test="status != null"> <if test="status != null">
......
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