|
|
|
@ -298,7 +298,7 @@
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<select id="selectStockupStockListNew" resultType="com.logpm.distribution.vo.DistributionStockupStockListVO"> |
|
|
|
|
SELECT |
|
|
|
|
SELECT DISTINCT |
|
|
|
|
<!-- ldslNew.id AS stockListId,--> |
|
|
|
|
ldslNew.sku AS sku, |
|
|
|
|
ldslNew.cargo_number AS cargoNumber, |
|
|
|
@ -307,7 +307,7 @@
|
|
|
|
|
ldslNew.cargo_unit AS cargoUnit, |
|
|
|
|
ldslNew.tray_name AS trayName, |
|
|
|
|
ldslNew.unpack AS unpack, |
|
|
|
|
ldslNew.source_type AS sourceType, |
|
|
|
|
<!-- ldslNew.source_type AS sourceType,--> |
|
|
|
|
<!-- count(ldss.id) AS realNum,--> |
|
|
|
|
(SELECT count(*) FROM logpm_distribution_stock AS lds WHERE lds.stock_list_id = t.id AND lds.is_deleted = 0) AS realNum, |
|
|
|
|
<!-- t.deliveryDetailsId AS deliveryDetailsId,--> |
|
|
|
|