|
@@ -2,6 +2,8 @@ package thyyxxk.webserver.service.inpatient;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.AbstractWrapper;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
@@ -433,7 +435,7 @@ public class PatientService {
|
|
|
}
|
|
|
if (null != age && (age < 16 || age > 60)) {
|
|
|
if (patient.getName().equals(patient.getContactName()) ||
|
|
|
- patient.getContactRelation().equals("0")) {
|
|
|
+ patient.getContactRelation().equals("0")) {
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "16岁以下或60岁以上的患者,联系人不能填写本人。");
|
|
|
}
|
|
|
}
|
|
@@ -552,4 +554,9 @@ public class PatientService {
|
|
|
dao.updateZyActPatientBalance(zyh, balance);
|
|
|
return getPatientInfo(zyh);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|