医案推荐书籍
This commit is contained in:
@@ -14,4 +14,6 @@ public interface BookMedicalRecordsService extends IService<BookMedicalRecordsEn
|
||||
|
||||
List<BookEntity> getBooks(Map<String, Object> params);
|
||||
|
||||
int getCount(Integer userId);
|
||||
|
||||
}
|
||||
|
||||
@@ -30,4 +30,9 @@ public class BookMedicalRecordsServiceImpl extends ServiceImpl<BookMedicalRecord
|
||||
return dao.getBooks((page-1)*limit,limit
|
||||
,(Integer)params.get("userId"));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCount(Integer userId) {
|
||||
return dao.getCount(userId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user