|
@@ -2,6 +2,8 @@ package com.ruoyi.system.service;
|
|
|
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
+
|
|
|
+import com.ruoyi.system.domain.PostCollections;
|
|
|
import com.ruoyi.system.domain.PostCollectionsSystem;
|
|
|
|
|
|
/**
|
|
@@ -60,5 +62,12 @@ public interface IPostCollectionsSystemService
|
|
|
*/
|
|
|
public int deletePostCollectionsSystemById(Long id);
|
|
|
//搜索功能
|
|
|
- List<PostCollectionsSystem> selectByTitleAndTime(String title, Date timeLeft, Date timeRight);
|
|
|
+ public List<PostCollectionsSystem> selectByTitleAndTime(String title, Date timeLeft, Date timeRight);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 获取藏品数量
|
|
|
+ * @param postCollections
|
|
|
+ * @return 该套系下藏品数量
|
|
|
+ */
|
|
|
+ public int getCopies(Long id);
|
|
|
}
|