|
|
@@ -1025,6 +1025,12 @@ public class MedicalViewApiController {
|
|
|
try {
|
|
|
mzPrescriptionVo.setJzFlag(YesNoEnum.NO.code);
|
|
|
mzPrescriptionVo.setFirstOrNot(YesNoEnum.NO.code);
|
|
|
+ if(StringUtils.isBlank(mzPrescriptionVo.getDoctorCode())){
|
|
|
+ mzPrescriptionVo.setDoctorCode(Constants.BRZZJF_CODE);
|
|
|
+ }
|
|
|
+ if(StringUtils.isBlank(mzPrescriptionVo.getVisitDeptCode())){
|
|
|
+ mzPrescriptionVo.setVisitDeptCode(Constants.ZZBM);
|
|
|
+ }
|
|
|
int num = mzChargeDetailService.savePrescription(mzPrescriptionVo,null);
|
|
|
if (num == 1) {
|
|
|
results.put("resultCode", 0);
|