小程序订单查看修改

This commit is contained in:
张恒 2023-10-18 09:45:51 +08:00
parent e3099218b1
commit 0a88e8b1f9
2 changed files with 63 additions and 51 deletions

View File

@ -7,6 +7,7 @@ import java.io.Serializable;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Date; import java.util.Date;
import java.util.List;
/** /**
@ -174,6 +175,10 @@ public class AppletGoodsOrderVO implements Serializable {
*/ */
private String orderType; private String orderType;
/**
* 订单类型积分兑换INTEGRAL_EXCHANGE直接购买DIRECT_BUY健康咨询HEALTH_CONSULTATION
*/
private List<String> orderTypeList;
/** /**
* 积分抵扣数量 * 积分抵扣数量

View File

@ -155,6 +155,9 @@
<if test="orderType != null and orderType != ''"> <if test="orderType != null and orderType != ''">
and gr.order_type = #{orderType} and gr.order_type = #{orderType}
</if> </if>
<if test="orderType = null and orderType = ''">
and gr.order_type IN #{orderTypeList}
</if>
and gr.del_flag = 0 and gr.del_flag = 0
and god.del_flag = 0 and god.del_flag = 0
</where> </where>
@ -272,6 +275,7 @@
<select id="getAppointmentOrderDetailsInfo" resultMap="getAppointmentDetailsResultMap"> <select id="getAppointmentOrderDetailsInfo" resultMap="getAppointmentDetailsResultMap">
SELECT pi.patient_name, SELECT pi.patient_name,
pi.phone patientPhone, pi.phone patientPhone,
aor.id appointmentOrderId, aor.id appointmentOrderId,
@ -316,11 +320,13 @@
AND aor.del_flag = 0 AND aor.del_flag = 0
and aod.del_flag = 0 and aod.del_flag = 0
</select> </select>
<select id="getNurseStationByItemId" <select id="getNurseStationByItemId"
resultType="com.xinelu.applet.vo.specialdisease.AppointmentOrderDetailsInfoVO"> resultType="com.xinelu.applet.vo.specialdisease.AppointmentOrderDetailsInfoVO">
SELECT ns.nurse_station_name nurseStationName, SELECT ns.nurse_station_name nurseStationName,
ns.phone stationPhone, ns.phone stationPhone,
ns.address, ns.address,
@ -330,5 +336,6 @@
LEFT JOIN nurse_station ns ON nsi.nurse_station_id = ns.id LEFT JOIN nurse_station ns ON nsi.nurse_station_id = ns.id
WHERE nsi.id = #{nurseStationItemId} WHERE nsi.id = #{nurseStationItemId}
</select> </select>
</mapper> </mapper>