Merge remote-tracking branch 'origin/zcc'

This commit is contained in:
wangjinlei
2023-11-27 15:37:51 +08:00
5 changed files with 25 additions and 18 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);
}
}