| 
															
																@ -8,6 +8,7 @@ import com.yihu.jw.care.dao.label.WlyyPatientLabelDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.care.service.patient.CarePatientService; 
															 | 
															
															 | 
															
																import com.yihu.jw.care.service.patient.CarePatientService; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.entity.base.patient.BasePatientDO; 
															 | 
															
															 | 
															
																import com.yihu.jw.entity.base.patient.BasePatientDO; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.exception.ApiException; 
															 | 
															
															 | 
															
																import com.yihu.jw.exception.ApiException; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																import com.yihu.jw.patient.dao.BasePatientDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.restmodel.ResponseContant; 
															 | 
															
															 | 
															
																import com.yihu.jw.restmodel.ResponseContant; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.restmodel.web.Envelop; 
															 | 
															
															 | 
															
																import com.yihu.jw.restmodel.web.Envelop; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																import com.yihu.jw.restmodel.web.ListEnvelop; 
															 | 
															
															 | 
															
																import com.yihu.jw.restmodel.web.ListEnvelop; 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -37,6 +38,8 @@ public class PatientEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    private CarePatientService patientService; 
															 | 
															
															 | 
															
																    private CarePatientService patientService; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @Autowired 
															 | 
															
															 | 
															
																    @Autowired 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    private WlyyPatientLabelDao patientLabelDao; 
															 | 
															
															 | 
															
																    private WlyyPatientLabelDao patientLabelDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @Autowired 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    private BasePatientDao patientDao; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public int num = 20; 
															 | 
															
															 | 
															
																    public int num = 20; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @GetMapping(value = "testException") 
															 | 
															
															 | 
															
																    @GetMapping(value = "testException") 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -131,6 +134,19 @@ public class PatientEndpoint extends EnvelopRestEndpoint { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        } 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    } 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @GetMapping(value = "findByPateintId") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    @ApiOperation(value = "获取居民信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    public Envelop findByPateintId( 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            @ApiParam(name = "id", value = "居民id") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            @RequestParam(value = "id", required = true) String id) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        try{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            BasePatientDO patientDO = patientDao.findById(id); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return success("获取成功",patientDO); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        }catch (Exception e){ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																            return failedException2(e); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																        } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																    } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @PostMapping(value = "updLatLon") 
															 | 
															
															 | 
															
																    @PostMapping(value = "updLatLon") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    @ApiOperation(value = "修改居民经纬度信息") 
															 | 
															
															 | 
															
																    @ApiOperation(value = "修改居民经纬度信息") 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    public Envelop updLatLon(@ApiParam(name = "latLon", value = "经纬度24.48923061,118.10388605") 
															 | 
															
															 | 
															
																    public Envelop updLatLon(@ApiParam(name = "latLon", value = "经纬度24.48923061,118.10388605") 
															 |