zhoutg 5 år sedan
förälder
incheckning
9b2b270920
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

+ 2 - 2
src/main/java/com/diagbot/facade/BehospitalInfoFacade.java

@@ -100,7 +100,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
         }
         if (null != behospitalPageVO && null != behospitalPageVO.getBehosDateStart() && null != behospitalPageVO.getBehosDateEnd()) {
             if (DateUtil.after(behospitalPageVO.getBehosDateStart(), behospitalPageVO.getBehosDateEnd())) {
-                throw new CommonException(CommonErrorCode.PARAM_IS_ERROR, "入院时间的开始时间必须于结束时间!");
+                throw new CommonException(CommonErrorCode.PARAM_IS_ERROR, "入院时间的开始时间必须于结束时间!");
             }
         }
         //出院时间
@@ -112,7 +112,7 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
         }
         if (null != behospitalPageVO && null != behospitalPageVO.getLeaveHosDateStart() && null != behospitalPageVO.getLeaveHosDateEnd()) {
             if (DateUtil.after(behospitalPageVO.getLeaveHosDateStart(), behospitalPageVO.getLeaveHosDateEnd())) {
-                throw new CommonException(CommonErrorCode.PARAM_IS_ERROR, "出院时间的开始时间必须于结束时间!");
+                throw new CommonException(CommonErrorCode.PARAM_IS_ERROR, "出院时间的开始时间必须于结束时间!");
             }
         }
         behospitalPageVO.setHospitalId(Long.parseLong(SysUserUtils.getCurrentHospitalID()));