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