Browse Source

1.修改PDA查询装车单 已完成配送的装车单不在列表呈现

training
pref_mail@163.com 1 year ago
parent
commit
e813d0952c
  1. 9
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliverySelfMapper.xml

9
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionDeliverySelfMapper.xml

@ -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>

Loading…
Cancel
Save