|
@ -6,9 +6,11 @@ import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.fasterxml.jackson.databind.deser.Deserializers;
|
|
|
import com.google.common.annotations.VisibleForTesting;
|
|
|
import com.yihu.jw.area.dao.BaseCityDao;
|
|
|
import com.yihu.jw.dict.dao.DictHospitalDeptDao;
|
|
|
import com.yihu.jw.doctor.dao.BaseDoctorDao;
|
|
|
import com.yihu.jw.doctor.dao.BaseDoctorHospitalDao;
|
|
|
import com.yihu.jw.entity.base.area.BaseCityDO;
|
|
|
import com.yihu.jw.entity.base.dict.DictHospitalDeptDO;
|
|
|
import com.yihu.jw.entity.base.doctor.BaseDoctorDO;
|
|
|
import com.yihu.jw.entity.base.doctor.BaseDoctorHospitalDO;
|
|
@ -63,6 +65,8 @@ public class StatisticsEsService {
|
|
|
@Autowired
|
|
|
private BaseOrgDao orgDao;
|
|
|
@Autowired
|
|
|
private BaseCityDao cityDao;
|
|
|
@Autowired
|
|
|
private BaseEvaluateScoreService baseEvaluateScoreService;
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
|
|
@ -554,6 +558,9 @@ public class StatisticsEsService {
|
|
|
BaseOrgDO orgDO = orgDao.findByCode(area);
|
|
|
jsonObject.put("code",area);
|
|
|
jsonObject.put("name",orgDO.getName());
|
|
|
}else if (level==2){
|
|
|
jsonObject.put("code",area);
|
|
|
jsonObject.put("name","厦门市");
|
|
|
}else {
|
|
|
DictHospitalDeptDO dictHospitalDeptDO = hospitalDeptDao.findByCode(area);
|
|
|
jsonObject.put("code",area);
|
|
@ -606,6 +613,9 @@ public class StatisticsEsService {
|
|
|
BaseOrgDO orgDO = orgDao.findByCode(area);
|
|
|
jsonObject.put("code",area);
|
|
|
jsonObject.put("name",orgDO.getName());
|
|
|
}else if (level==2){
|
|
|
jsonObject.put("code",area);
|
|
|
jsonObject.put("name","厦门市");
|
|
|
}else {
|
|
|
DictHospitalDeptDO dictHospitalDeptDO = hospitalDeptDao.findByCode(area);
|
|
|
jsonObject.put("code",area);
|
|
@ -656,6 +666,9 @@ public class StatisticsEsService {
|
|
|
BaseOrgDO orgDO = orgDao.findByCode(area);
|
|
|
jsonObject.put("code",area);
|
|
|
jsonObject.put("name",orgDO.getName());
|
|
|
}else if (level==2){
|
|
|
jsonObject.put("code",area);
|
|
|
jsonObject.put("name","厦门市");
|
|
|
}else {
|
|
|
DictHospitalDeptDO dictHospitalDeptDO = hospitalDeptDao.findByCode(area);
|
|
|
jsonObject.put("code",area);
|
|
@ -705,6 +718,9 @@ public class StatisticsEsService {
|
|
|
BaseOrgDO orgDO = orgDao.findByCode(area);
|
|
|
jsonObject.put("code",area);
|
|
|
jsonObject.put("name",orgDO.getName());
|
|
|
}else if (level==2){
|
|
|
jsonObject.put("code",area);
|
|
|
jsonObject.put("name","厦门市");
|
|
|
}else {
|
|
|
DictHospitalDeptDO dictHospitalDeptDO = hospitalDeptDao.findByCode(area);
|
|
|
jsonObject.put("code",area);
|