|
|
|
@ -819,9 +819,9 @@
|
|
|
|
|
stockupCode,lds.type_service typeService, |
|
|
|
|
lds.stockup_status stockupStatus,lds.stockup_area stockupArea |
|
|
|
|
from logpm_distribution_stockup lds |
|
|
|
|
LEFT JOIN logpm_distribution_stockup_info ldsi on ldsi.stockup_id = lds.id |
|
|
|
|
LEFT JOIN logpm_distribution_stockup_info ldsi on ldsi.stockup_id = lds.id AND ldsi.stock_status != 4 |
|
|
|
|
<where> |
|
|
|
|
lds.id = #{param.stockupId} AND ldsi.stock_status != 4 |
|
|
|
|
lds.id = #{param.stockupId} |
|
|
|
|
</where> |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|