| | |
| | | |
| | | import com.smartor.domain.*; |
| | | import com.smartor.domain.VO.PatSatisfactionReqVO; |
| | | import com.smartor.domain.VO.HeLibraryCountVO; |
| | | import com.smartor.domain.VO.ServiceSubtaskCotinueCountVO; |
| | | import com.smartor.domain.entity.ServiceSubtaskEntity; |
| | | import com.smartor.domain.entity.ServiceSubtaskSatisfactionEntity; |
| | | import org.apache.ibatis.annotations.MapKey; |
| | |
| | | |
| | | public List<ServiceSubtask> getSfStatistics(ServiceSubtaskCountReq serviceSubtaskCountReq); |
| | | |
| | | public List<ServiceSubtaskStatistic> getSpecialSfStatistics(ServiceSubtaskCountReq serviceSubtaskCountReq); |
| | | |
| | | public List<ServiceSubtask> getSfStatisticsHyperlink(ServiceSubtaskCountReq serviceSubtaskCountReq); |
| | | |
| | | public List<String> getSfStatisticsGroupKey(ServiceSubtaskCountReq serviceSubtaskCountReq); |
| | | |
| | | public List<ServiceSubtaskCount> getSfStatisticsJoy(ServiceSubtaskCountReq serviceSubtaskCountReq); |
| | |
| | | * |
| | | * @param serviceSubtaskVO 查询条件 |
| | | * @return Map<String, Object> 包含各状态统计数据 |
| | | * wzx: 未执行数量 |
| | | * ysf: 已随访数量 |
| | | * fssb: 发送失败数量 |
| | | * yfs: 已发送数量 |
| | | * dsf: 待随访数量 |
| | | * blq: 不理睬数量 |
| | | * yc: 异常数量 |
| | | * total: 患者服务总量 |
| | | * wxsf: 无需随访数量 sendstate != 4 |
| | | * xsf: 需随访数量 sendstate = 4 |
| | | * dsf: 待随访数量 sendstate = 1L, 2L, 3L, 5L, 7L |
| | | * ywc: 已完成数量 sendstate = 6L |
| | | * yc: 异常数量 excep = '1' |
| | | * yc: 警告数量 excep = '2' |
| | | */ |
| | | public Map<String, Object> countByCondition(ServiceSubtaskEntity serviceSubtaskVO); |
| | | |
| | |
| | | |
| | | List<Long> querySendCount(ServiceSubtaskSatisfactionEntity serviceSubtaskSatisfactionEntity); |
| | | |
| | | /** |
| | | * 按病区分组统计延续护理数量 |
| | | * |
| | | * @param vo 查询条件 |
| | | * @return 每个病区的统计结果 |
| | | */ |
| | | List<Map<String, Object>> getContinueNurseCount(ServiceSubtaskCotinueCountVO vo); |
| | | |
| | | /** |
| | | * 按科室分组统计延续护理数量 |
| | | * |
| | | * @param vo 查询条件 |
| | | * @return 每个科室的统计结果 |
| | | */ |
| | | List<Map<String, Object>> getContinueNurseCountByDept(ServiceSubtaskCotinueCountVO vo); |
| | | |
| | | /** |
| | | * 宣教统计:按病区或科室分组统计发送成功率和已读率 |
| | | * |
| | | * @param heLibraryCountVO 查询条件 |
| | | * @return 每组的统计结果(groupName, sendSuccessCount, totalCount, readCount) |
| | | */ |
| | | List<Map<String, Object>> getHeLibraryCount(HeLibraryCountVO heLibraryCountVO); |
| | | |
| | | } |