小程序订单查看修改
This commit is contained in:
parent
e3099218b1
commit
0a88e8b1f9
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 积分抵扣数量
|
* 积分抵扣数量
|
||||||
|
|||||||
@ -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>
|
||||||
Loading…
Reference in New Issue
Block a user