Jelajahi Sumber

优化医生管理患者总数接口

humingfen 7 tahun lalu
induk
melakukan
2e76fdb1bb

+ 8 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/web/doctor/patient/DoctorPatientGroupController.java

@ -7,6 +7,7 @@ import com.yihu.wlyy.entity.doctor.team.sign.DoctorPatientGroupInfo;
import com.yihu.wlyy.entity.doctor.team.sign.DoctorTeam;
import com.yihu.wlyy.entity.patient.SignFamily;
import com.yihu.wlyy.entity.patient.vo.PatientVO;
import com.yihu.wlyy.repository.address.CountryDao;
import com.yihu.wlyy.repository.doctor.DoctorTeamDao;
import com.yihu.wlyy.repository.patient.SignFamilyDao;
import com.yihu.wlyy.service.app.account.DoctorInfoService;
@ -62,6 +63,8 @@ public class DoctorPatientGroupController extends BaseController {
    private DoctorTeamDao doctorTeamDao;
    @Autowired
    private CommonUtil CommonUtil;
    @Autowired
    private CountryDao countryDao;
    private final int DOCTOR_PATIENT_OBJECT_LENGTH = 13;
    /**
@ -649,7 +652,11 @@ public class DoctorPatientGroupController extends BaseController {
                //设置医疗保险号
                json.put("medicareNumber", temp.getMedicareNumber());
                //设置所属居委会
                json.put("sickVillageName", temp.getSickVillageName());
                if(StringUtils.isNotBlank(temp.getSickVillageName())) {
                    json.put("sickVillageName", temp.getSickVillageName());
                } else if(StringUtils.isNotBlank(temp.getSickVillage())){
                    json.put("sickVillageName",countryDao.findByJwCode(temp.getSickVillage()).getName());
                }
                String diseases = "";
                try {