|
@@ -1857,6 +1857,9 @@ public class MzChargeDetailController {
|
|
|
return resultMap;
|
|
|
}
|
|
|
clinic = commonResult.getClinic();
|
|
|
+ if (mzPrescriptionVo.getMzBlRecord() != null && (StrUtil.isBlank(mzPrescriptionVo.getMzBlRecord().getEmrJkjy()) || mzPrescriptionVo.getMzBlRecord().getEmrJkjy().length() < 10)) {
|
|
|
+ throw new MzException("健康教育为必填且不能少于10个字符!");
|
|
|
+ }
|
|
|
Clinic insertClinic = mzChargeDetailService.savePrescriptionAndCharge(mzPrescriptionVo, clinic);
|
|
|
if (insertClinic != null && insertClinic.getId() != null) {
|
|
|
resultMap.put("code", 0);
|