|
@@ -80,7 +80,7 @@ public interface ComponentInfoDao extends JpaSpecificationExecutor<ComponentInfo
|
|
|
* @param count 分页参数
|
|
* @param count 分页参数
|
|
|
* @return 库存数量大于指定值的一页器件
|
|
* @return 库存数量大于指定值的一页器件
|
|
|
*/
|
|
*/
|
|
|
- @Query(value = "select c from ComponentInfo c where c.img is not null limit (:count)")
|
|
|
|
|
|
|
+ @Query(value = "select * from product$component c where c.cmp_img is not null limit 0,:count", nativeQuery = true)
|
|
|
List<ComponentInfo> findByImgIsNotNull(@Param("count") Integer count);
|
|
List<ComponentInfo> findByImgIsNotNull(@Param("count") Integer count);
|
|
|
|
|
|
|
|
/**
|
|
/**
|