|
@ -4,6 +4,7 @@ import com.yihu.wlyy.statistics.dao.DoctorPatientGroupInfoDao;
|
|
|
import com.yihu.wlyy.statistics.dao.QuartzJobConfigDao;
|
|
|
import com.yihu.wlyy.statistics.dao.QuotaDao;
|
|
|
import com.yihu.wlyy.statistics.dao.SignFamilyDao;
|
|
|
import com.yihu.wlyy.statistics.etl.model.CacheModel;
|
|
|
import com.yihu.wlyy.statistics.etl.mycache.CachePool;
|
|
|
import com.yihu.wlyy.statistics.job.business.QuartzHelper;
|
|
|
import com.yihu.wlyy.statistics.job.cache.CacheCleanJob;
|
|
@ -391,4 +392,19 @@ public class JobService {
|
|
|
public void cleanCache() {
|
|
|
CachePool.cleanAllCache();
|
|
|
}
|
|
|
|
|
|
public String seeCache() {
|
|
|
Map<String, CacheModel> cacheModesCache= CachePool.getArriveSignFamilyExpenseStatus1Map();
|
|
|
Map<String, String> patientGroupCache=CachePool.getPatientGroup();
|
|
|
Map<String, String> healthGroupCache=CachePool.getHealthGroup();
|
|
|
Map<String, List<String>> diseaseGroupCache=CachePool.getDiseaseGroup();
|
|
|
String returnMessage=" 签约缓存:缓存存在"+cacheModesCache.size()+"天的缓存,";
|
|
|
for(Map.Entry<String, CacheModel> entry:cacheModesCache.entrySet()){
|
|
|
returnMessage+=entry.getKey()+",";
|
|
|
}
|
|
|
returnMessage+="patientGroupCache"+(patientGroupCache.size()>0?"有缓存":"没有缓存");
|
|
|
returnMessage+="healthGroupCache"+(healthGroupCache.size()>0?"有缓存":"没有缓存");
|
|
|
returnMessage+="diseaseGroupCache"+(diseaseGroupCache.size()>0?"有缓存":"没有缓存");
|
|
|
return returnMessage;
|
|
|
}
|
|
|
}
|