|
|
@ -1921,7 +1921,7 @@ |
|
|
|
logpm_distribution_signfor AS lds |
|
|
|
logpm_distribution_signfor AS lds |
|
|
|
LEFT JOIN logpm_distribution_delivery_list AS lddl ON lds.delivery_id = lddl.id |
|
|
|
LEFT JOIN logpm_distribution_delivery_list AS lddl ON lds.delivery_id = lddl.id |
|
|
|
LEFT JOIN logpm_distribution_reservation AS ldr ON lds.reservation_id = ldr.id |
|
|
|
LEFT JOIN logpm_distribution_reservation AS ldr ON lds.reservation_id = ldr.id |
|
|
|
where lddl.id=#{deliveryId} |
|
|
|
where lddl.id=#{deliveryId} and ldr.id=#{reservationId} and ldr.reservation_status !=40 |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="selectDeliveryById" resultType="com.logpm.distribution.vo.DistributionDeliveryListVO"> |
|
|
|
<select id="selectDeliveryById" resultType="com.logpm.distribution.vo.DistributionDeliveryListVO"> |
|
|
|
SELECT |
|
|
|
SELECT |
|
|
|