diff --git a/acupuncture-system/src/main/java/com/acupuncture/system/service/impl/ScreeningServiceImpl.java b/acupuncture-system/src/main/java/com/acupuncture/system/service/impl/ScreeningServiceImpl.java index e6f87160..dd0550ef 100644 --- a/acupuncture-system/src/main/java/com/acupuncture/system/service/impl/ScreeningServiceImpl.java +++ b/acupuncture-system/src/main/java/com/acupuncture/system/service/impl/ScreeningServiceImpl.java @@ -501,6 +501,7 @@ public class ScreeningServiceImpl implements IScreeningService { pmsPatient.setCurrentIllnessHistory(map.get("SCWJ-XBS-QT").getAnswer()); } pmsPatient.setSource((byte) 0); + pmsPatient.setDelFlag((byte) 0); pmsPatient.setUpdateTime(new Date()); pmsPatientMapper.updateByPrimaryKeySelective(pmsPatient); } diff --git a/acupuncture-system/src/main/resources/mapper/dao/PmsTreatmentDao.xml b/acupuncture-system/src/main/resources/mapper/dao/PmsTreatmentDao.xml index d505da5c..3e32fb40 100644 --- a/acupuncture-system/src/main/resources/mapper/dao/PmsTreatmentDao.xml +++ b/acupuncture-system/src/main/resources/mapper/dao/PmsTreatmentDao.xml @@ -69,7 +69,7 @@ AND name = #{query.name} - order by create_time desc + order by update_time desc