|  | @ -78,7 +78,7 @@ public class CapacityAssessmentRecordService extends BaseJpaService<CapacityAsse
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |     /**
 |  |     /**
 | 
												
													
														
															|  |      * 按id查找评估明细
 |  |      * 按id查找评估明细
 | 
												
													
														
															|  |      * @param id
 |  | 
 | 
												
													
														
															|  | 
 |  |      * @param patient
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     public CapacityAssessmentRecordDO findAssessmentByPatientId(String patient)  {
 |  |     public CapacityAssessmentRecordDO findAssessmentByPatientId(String patient)  {
 | 
												
											
												
													
														
															|  | @ -239,7 +239,7 @@ public class CapacityAssessmentRecordService extends BaseJpaService<CapacityAsse
 | 
												
													
														
															|  |             capacityAssessmentRecordDao.save(recordDO);
 |  |             capacityAssessmentRecordDao.save(recordDO);
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |             //生成居民标签
 |  |             //生成居民标签
 | 
												
													
														
															|  |             patientLabelDao.deleteByPatient(recordDO.getPatient());
 |  | 
 | 
												
													
														
															|  | 
 |  |             patientLabelDao.deleteByPatientAndLabelType(recordDO.getPatient(),"1");
 | 
												
													
														
															|  |             WlyyPatientLabelDO patientLabelDO = new WlyyPatientLabelDO();
 |  |             WlyyPatientLabelDO patientLabelDO = new WlyyPatientLabelDO();
 | 
												
													
														
															|  |             patientLabelDO.setCzrq(new Date());
 |  |             patientLabelDO.setCzrq(new Date());
 | 
												
													
														
															|  |             patientLabelDO.setLabelType("1");
 |  |             patientLabelDO.setLabelType("1");
 | 
												
											
												
													
														
															|  | @ -336,7 +336,7 @@ public class CapacityAssessmentRecordService extends BaseJpaService<CapacityAsse
 | 
												
													
														
															|  |                     recordDO.setStatus(0);
 |  |                     recordDO.setStatus(0);
 | 
												
													
														
															|  |                     capacityAssessmentRecordDao.save(recordDO);
 |  |                     capacityAssessmentRecordDao.save(recordDO);
 | 
												
													
														
															|  |                     //生成居民标签
 |  |                     //生成居民标签
 | 
												
													
														
															|  |                     patientLabelDao.deleteByPatient(recordDO.getPatient());
 |  | 
 | 
												
													
														
															|  | 
 |  |                     patientLabelDao.deleteByPatientAndLabelType(recordDO.getPatient(),"1");
 | 
												
													
														
															|  |                     WlyyPatientLabelDO patientLabelDO = new WlyyPatientLabelDO();
 |  |                     WlyyPatientLabelDO patientLabelDO = new WlyyPatientLabelDO();
 | 
												
													
														
															|  |                     patientLabelDO.setCzrq(new Date());
 |  |                     patientLabelDO.setCzrq(new Date());
 | 
												
													
														
															|  |                     patientLabelDO.setLabelType("1");
 |  |                     patientLabelDO.setLabelType("1");
 | 
												
											
												
													
														
															|  | @ -474,7 +474,9 @@ public class CapacityAssessmentRecordService extends BaseJpaService<CapacityAsse
 | 
												
													
														
															|  |             if (allSearch){
 |  |             if (allSearch){
 | 
												
													
														
															|  |                 tmpItem++;
 |  |                 tmpItem++;
 | 
												
													
														
															|  |             }
 |  |             }
 | 
												
													
														
															|  |             else break;
 |  | 
 | 
												
													
														
															|  | 
 |  |             else{
 | 
												
													
														
															|  | 
 |  |                 break;
 | 
												
													
														
															|  | 
 |  |             }
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         return result;
 |  |         return result;
 | 
												
													
														
															|  |     }
 |  |     }
 |