sjx 2 жил өмнө
parent
commit
ade71bc874

+ 2 - 2
ruoyi-system/src/main/java/com/ruoyi/system/service/IPostCollectionsSystemService.java

@@ -66,8 +66,8 @@ public interface IPostCollectionsSystemService
 
     /**
      *  获取藏品数量
-     * @param postCollections
+     * @param id
      * @return 该套系下藏品数量
      */
-    public int getCopies(Long id);
+    public Integer getCopies(Long id);
 }

+ 1 - 1
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/PostCollectionsSystemServiceImpl.java

@@ -163,7 +163,7 @@ public class PostCollectionsSystemServiceImpl implements IPostCollectionsSystemS
      * @return
      */
     @Override
-    public int getCopies(Long id) {
+    public Integer getCopies(Long id) {
         return postCollectionsSystemMapper.getCopiesById(id);
     }
 }