|
|
@ -2030,7 +2030,7 @@ |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="selectSignforByDeliveryId" |
|
|
|
<select id="selectSignforByDeliveryId" |
|
|
|
resultType="com.logpm.distribution.entity.DistributionSignforEntity"> |
|
|
|
resultType="com.logpm.distribution.entity.DistributionSignforEntity"> |
|
|
|
SELECT * FROM logpm_distribution_signfor AS lds LEFT JOIN logpm_distribution_reservation AS ldr |
|
|
|
SELECT * FROM logpm_distribution_signfor AS lds LEFT JOIN logpm_distribution_reservation AS ldr ON lds.reservation_id = ldr.id |
|
|
|
WHERE lds.delivery_id = #{deliveryId} AND (ldr.reservation_num + ldr.reservation_stock_list_num) > 0 |
|
|
|
WHERE lds.delivery_id = #{deliveryId} AND (ldr.reservation_num + ldr.reservation_stock_list_num) > 0 |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|