小程序订单信息修改搜索条件

This commit is contained in:
zhangheng 2023-11-01 17:30:07 +08:00
parent c6d384cc57
commit 2ebe1e1ece
3 changed files with 5 additions and 14 deletions

View File

@ -47,7 +47,7 @@ public class AppOrderEvaluateController extends BaseController {
} }
/** /**
* 新增预约订单评价 * 新增商品订单评价
* *
* @param orderEvaluateAndPictureDTO 评价信息 * @param orderEvaluateAndPictureDTO 评价信息
* @return AjaxResult * @return AjaxResult

View File

@ -24,11 +24,6 @@ public class AppletGoodsOrderVO implements Serializable {
*/ */
private Long goodsOrderId; private Long goodsOrderId;
/**
* 护理站id
*/
private Long nurseStationId;
/** /**
* 会员id * 会员id
*/ */
@ -38,10 +33,6 @@ public class AppletGoodsOrderVO implements Serializable {
* 订单编号 * 订单编号
*/ */
private String goOrderNo; private String goOrderNo;
/**
* 订单编号
*/
private String godOrderNo;
/** /**
* 订单状态待付款WAIT_PAY已付款PAY已取消CANCEL待收货WAIT_RECEIVED已收货RECEIVED待退款WAIT_REFUND已退款REFUNDED待退货WAIT_RETURNED已退货RETURNED * 订单状态待付款WAIT_PAY已付款PAY已取消CANCEL待收货WAIT_RECEIVED已收货RECEIVED待退款WAIT_REFUND已退款REFUNDED待退货WAIT_RETURNED已退货RETURNED
@ -81,7 +72,6 @@ public class AppletGoodsOrderVO implements Serializable {
*/ */
private Long goodsOrderDetailsId; private Long goodsOrderDetailsId;
/** /**
* 商品名称 * 商品名称
*/ */
@ -107,7 +97,6 @@ public class AppletGoodsOrderVO implements Serializable {
*/ */
private BigDecimal goodsPrice; private BigDecimal goodsPrice;
/** /**
* 优惠金额 * 优惠金额
*/ */

View File

@ -86,7 +86,6 @@
resultType="com.xinelu.applet.vo.nursingorder.AppletGoodsOrderVO"> resultType="com.xinelu.applet.vo.nursingorder.AppletGoodsOrderVO">
SELECT SELECT
gr.id goodsOrderId, gr.id goodsOrderId,
gr.nurse_station_id,
gr.patient_id, gr.patient_id,
gr.order_no goOrderNo, gr.order_no goOrderNo,
gr.order_status, gr.order_status,
@ -110,7 +109,6 @@
gr.remark, gr.remark,
god.integral_deduction_count, god.integral_deduction_count,
god.id goodsOrderDetailsId, god.id goodsOrderDetailsId,
god.order_no godOrderNo,
god.goods_name, god.goods_name,
god.goods_count, god.goods_count,
god.goods_attribute_name, god.goods_attribute_name,
@ -141,6 +139,7 @@
LEFT JOIN goods_order_details god ON gr.id = god.goods_order_id LEFT JOIN goods_order_details god ON gr.id = god.goods_order_id
LEFT JOIN goods_attribute_details gad ON god.goods_attribute_details_id = gad.id LEFT JOIN goods_attribute_details gad ON god.goods_attribute_details_id = gad.id
LEFT JOIN sys_dict_data sdd ON sdd.dict_code = gr.refund_reason_dict_id LEFT JOIN sys_dict_data sdd ON sdd.dict_code = gr.refund_reason_dict_id
LEFT JOIN hospital_person_info hpi on hpi.id = gr.hospital_person_id
<where> <where>
<if test="patientId != null "> <if test="patientId != null ">
and gr.patient_id = #{patientId} and gr.patient_id = #{patientId}
@ -166,6 +165,9 @@
#{orderTypeList} #{orderTypeList}
</foreach> </foreach>
</if> </if>
<if test="hospitalPersonName != null and hospitalPersonName != ''">
and hpi.person_name like concat('%', #{hospitalPersonName}, '%')
</if>
and gr.del_flag = 0 and gr.del_flag = 0
and god.del_flag = 0 and god.del_flag = 0
</where> </where>