Commit e95638454d64b7833d23f923173d3d5e5bdfccbc

Authored by hanshaofeng
1 parent d87999d05f

fffffffuck

Showing 1 changed file with 2 additions and 1 deletions

platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/PatientsService.java View file @ e956384
... ... @@ -257,7 +257,8 @@
257 257 antExRecordModel.setDueDate(patients.getDueDate());
258 258 antExRecordModel.setName(patients.getUsername());
259 259 antExRecordModel.setBrith(patients.getBirth());
260   - if(patients.getType()==1){
  260 + Patients dbPatients = findOnePatientById(patients.getId());
  261 + if(dbPatients.getType()==1){
261 262 antExRecordModel.setStatus(2);
262 263 }else {
263 264 antExRecordModel.setStatus(1);