@@ -48,7 +48,7 @@ public interface GoodsDao extends JpaSpecificationExecutor<Goods>, JpaRepository
* @param batchCodes
* @return
*/
- @Query(value = "select g from Goods g.batchCode in (:batchCodes)")
+ @Query(value = "select g from Goods g where g.batchCode in (:batchCodes)")
List<Goods> findByBatchCodes(@Param("batchCodes") List<String> batchCodes);
/**