|
@@ -374,7 +374,7 @@
|
|
|
(select count(*)
|
|
|
from tld_inventory a
|
|
|
join tld_storage_location b on a.storage_location_code = b.storage_location_code
|
|
|
- where a.supplier_id = #{suppId} and a.serial = #{unique} and a.wllb_code = #{wllbCode} and a.produc_batch =
|
|
|
+ where a.supplier_id = #{suppId} and a.serial = #{unique} and a.wllb_code = #{wllbCode} and a.produc_date =
|
|
|
#{producDate}
|
|
|
<if test="warehouseWhere != null and warehouseWhere != ''">
|
|
|
and b.warehouse_where = #{warehouseWhere}
|
|
@@ -953,7 +953,7 @@
|
|
|
where attribute = #{attribute}
|
|
|
and serial = #{serial}
|
|
|
and wllb_code = #{materialCode}
|
|
|
- and produc_batch = #{producBatch}) as inventoryCount,
|
|
|
+ and produc_date = #{producBatch}) as inventoryCount,
|
|
|
(select count(*)
|
|
|
from tld_warehousing_virtual
|
|
|
where attribute = #{attribute}
|