|
|
@ -2,6 +2,7 @@ package com.ccsens.tcm.service; |
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollectionUtil; |
|
|
|
import cn.hutool.core.lang.Snowflake; |
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
import com.ccsens.tcm.bean.dto.BiologicalSamplesDto; |
|
|
|
import com.ccsens.tcm.bean.dto.ConRecDto; |
|
|
|
import com.ccsens.tcm.bean.dto.PatientDto; |
|
|
@ -265,6 +266,11 @@ public class PatientService implements IPatientService { |
|
|
|
public List<StatisticVo.SelGroupNum> countAnalysis(StatisticDto.SelBinLCount param, Long userId) { |
|
|
|
List<StatisticVo.SelGroupNum> selGroupNumsList= new ArrayList<StatisticVo.SelGroupNum>(); |
|
|
|
if(param.getInpatientId()!=null && param.getInpatientId().length==0) { |
|
|
|
StatisticVo.SelGroupNum selGroupNum =new StatisticVo.SelGroupNum(); |
|
|
|
List<StatisticVo.SelGroupList> selGroupList= patientDao.countAnalysis(param.getConditionList(),param.getConditionListDate(),null,param.getTestQuestionsId(),param.getHospitalization(),param.getInputStatus(),param.getHospitalId()); |
|
|
|
selGroupNum.setInpatientId(null); |
|
|
|
selGroupNum.setList(selGroupList); |
|
|
|
selGroupNumsList.add(selGroupNum); |
|
|
|
return selGroupNumsList; |
|
|
|
} |
|
|
|
for (int i = 0; i < param.getInpatientId().length; i++) { |
|
|
@ -390,5 +396,16 @@ public class PatientService implements IPatientService { |
|
|
|
return patientDao.selPatientProgress(userId); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<String> stringLists(Long testQuestionsId) { |
|
|
|
List<String> stringList=Arrays.asList(); |
|
|
|
if(ObjectUtil.isNotNull(testQuestionsId)){ |
|
|
|
stringList= patientDao.stringLists(testQuestionsId); |
|
|
|
}else { |
|
|
|
stringList.add("总人数"); |
|
|
|
} |
|
|
|
return stringList; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|