xiaochen hace 2 años
padre
commit
1792aa0cd9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/resources/mapper/WarehousingMapper.xml

+ 1 - 1
src/main/resources/mapper/WarehousingMapper.xml

@@ -379,7 +379,7 @@
         <if test="warehouseWhere != null and warehouseWhere != ''">
             and b.warehouse_where = #{warehouseWhere}
         </if>) as inventoryCount,
-        (select count(*) from tld_warehousing_virtual where supp_id = #{suppId} and serial = #{unique} and produc_batch =
+        (select count(*) from tld_warehousing_virtual where supp_id = #{suppId} and serial = #{unique} and wllb_code =
         #{wllbCode} and produc_date = #{producDate}) as virtualCount
         from dual
     </select>