junekeunsong %!s(int64=4) %!d(string=hai) anos
pai
achega
92fe279fe8

+ 4 - 0
src/main/java/com/lemon/lifecenter/controller/PatientController.java

@@ -207,6 +207,10 @@ public class PatientController extends LifeCenterController {
             dto.setSymptomStartDate( null );
         }
         
+        if (dto.getExpectedDischargeDate() != null && dto.getExpectedDischargeDate().equals("")) {
+            dto.setExpectedDischargeDate(null);
+        }
+        
         patientService.insertPatientCare( dto );  // 환지 기본정보 insert
         
         int patientIdx = dto.getPatientIdx();