Commit 1256f37f429330c06016939630527c0656229f30
1 parent
2d482e0d29
Exists in
master
and in
1 other branch
医生端问诊统计
Showing 1 changed file with 8 additions and 5 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/TkRecordController.java
View file @
1256f37
| ... | ... | @@ -51,14 +51,17 @@ |
| 51 | 51 | |
| 52 | 52 | return baseResponse; |
| 53 | 53 | } |
| 54 | + | |
| 55 | + /** | |
| 56 | + * 医生端问诊统计 | |
| 57 | + * @param tkrecordInfo(需给did赋值) | |
| 58 | + * @return 本月问诊数量themonth、上月问诊数量lastmonth、总问诊数量alltotal | |
| 59 | + */ | |
| 54 | 60 | @GetMapping("queryTkRecordStatisticsByDid") |
| 55 | - public BaseResponse queryTkRecordStatisticsByDid(Integer tkid){ | |
| 61 | + public BaseResponse queryTkRecordStatisticsByDid(TkrecordInfo tkrecordInfo){ | |
| 56 | 62 | BaseResponse baseResponse=new BaseResponse(); |
| 57 | 63 | try { |
| 58 | - TkrecordInfo tkrecordInfo=new TkrecordInfo(); | |
| 59 | - tkrecordInfo.setDid(tkid); | |
| 60 | - tkrecordInfo= tkrecordInfoService.getOne(Wrappers.query(tkrecordInfo)); | |
| 61 | - baseResponse.setObject(tkrecordInfo); | |
| 64 | + baseResponse.setObject(tkrecordInfoService.getOne(Wrappers.query(tkrecordInfo))); | |
| 62 | 65 | baseResponse.setErrormsg("成功"); |
| 63 | 66 | } catch (Exception e) { |
| 64 | 67 | baseResponse.setErrormsg("失败"); |