|
|
|
@ -59,7 +59,14 @@
|
|
|
|
|
where delivery_id = #{deliveryId} |
|
|
|
|
</select> |
|
|
|
|
<select id="selectdeliveryList" resultType="java.lang.Long"> |
|
|
|
|
select delivery_id from logpm_distribution_delivery_self where driver_id = #{id} |
|
|
|
|
SELECT |
|
|
|
|
ldds.delivery_id |
|
|
|
|
FROM |
|
|
|
|
logpm_distribution_delivery_self ldds |
|
|
|
|
LEFT JOIN logpm_distribution_delivery_list lddl ON lddl.id = ldds.delivery_id |
|
|
|
|
WHERE |
|
|
|
|
ldds.driver_id = #{id} |
|
|
|
|
AND lddl.delivery_status != 3 |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
</mapper> |
|
|
|
|