医案推荐书籍

This commit is contained in:
wuchunlei
2023-11-27 13:50:05 +08:00
parent 5473b21747
commit 351bd76149
5 changed files with 19 additions and 1 deletions

View File

@@ -14,4 +14,6 @@ public interface BookMedicalRecordsService extends IService<BookMedicalRecordsEn
List<BookEntity> getBooks(Map<String, Object> params);
int getCount(Integer userId);
}

View File

@@ -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);
}
}