| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.*; |
| | | import com.smartor.domain.VO.PatSatisfactionReqVO; |
| | | import com.smartor.domain.entity.ServiceSubtaskEntity; |
| | | import com.smartor.domain.entity.ServiceSubtaskSatisfactionEntity; |
| | | import org.apache.ibatis.annotations.MapKey; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | |
| | | */ |
| | | public List<ServiceSubtask> selectServiceSubtaskList(ServiceSubtaskEntity serviceSubtaskVO); |
| | | |
| | | public List<ServiceSubtask> selectSatisfactionSubtaskList(PatSatisfactionReqVO serviceSubtaskVO); |
| | | |
| | | /** |
| | | * 用于补偿查询 |
| | | * |
| | | * @param ServiceSubtaskEntity |
| | | * @param serviceSubtaskVO |
| | | * @return |
| | | */ |
| | | public List<ServiceSubtask> getCompensateServiceSubtaskList(ServiceSubtaskEntity serviceSubtaskVO); |
| | |
| | | * |
| | | * @param serviceSubtaskVO 查询条件 |
| | | * @return Map<String, Object> 包含各状态统计数据 |
| | | * wzx: 未执行数量 |
| | | * ysf: 已随访数量 |
| | | * fssb: 发送失败数量 |
| | | * yfs: 已发送数量 |
| | | * dsf: 待随访数量 |
| | | * blq: 不理睬数量 |
| | | * yc: 异常数量 |
| | | * wzx: 未执行数量 |
| | | * ysf: 已随访数量 |
| | | * fssb: 发送失败数量 |
| | | * yfs: 已发送数量 |
| | | * dsf: 待随访数量 |
| | | * blq: 不理睬数量 |
| | | * yc: 异常数量 |
| | | */ |
| | | public Map<String, Object> countByCondition(ServiceSubtaskEntity serviceSubtaskVO); |
| | | |
| | | /** |
| | | * 统计任务各种状态的数量(优化版) |
| | | * |
| | | * @param serviceSubtaskVO 查询条件 |
| | | * @return Map<String, Object> 包含各状态统计数据 |
| | | * pendingVisitCount: 当前登录人截止今日待随访总量 |
| | | * failedVisitCount: 当前登录人随访任务失败总量 |
| | | * abnormalVisitVount: 当前登录人随访任务异常总量 |
| | | * allVisitCount: 当前登录人随访任务总量 |
| | | * pendingVisitCount: 当前登录人截止今日待随访总量 |
| | | * failedVisitCount: 当前登录人随访任务失败总量 |
| | | * abnormalVisitVount: 当前登录人随访任务异常总量 |
| | | * allVisitCount: 当前登录人随访任务总量 |
| | | */ |
| | | public Map<String, Object> getCurrentUserServiceSubtaskCount(ServiceSubtaskEntity serviceSubtaskVO); |
| | | |
| | | /** |
| | | * 获取门诊随访人数 |
| | | * |
| | |
| | | */ |
| | | PatMedRes selectVisitCount(PatMedReq patMedReq); |
| | | |
| | | List<Long> querySendCount(ServiceSubtaskSatisfactionEntity serviceSubtaskSatisfactionEntity); |
| | | |
| | | } |