|
@ -2322,7 +2322,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
|
|
|
WlyyOutpatientDO outpatientDO = outpatientDao.findById(outpatientId);
|
|
|
if(outpatientDO!=null){
|
|
|
DoctorMappingDO doctorMappingDO = doctorMappingDao.findByDoctor(outpatientDO.getDoctor());
|
|
|
if (StringUtils.isNoneBlank(outpatientDO.getRegisterNo())&&outpatientDO.getHisStatus()!=-1){
|
|
|
if (StringUtils.isNoneBlank(outpatientDO.getRegisterNo())&&(outpatientDO.getHisStatus()==null ||outpatientDO.getHisStatus()!=-1)){
|
|
|
net.sf.json.JSONObject rs = entranceService.BS10138(outpatientDO.getCardNo(), doctorMappingDO.getMappingCode(), outpatientDO.getDept(), outpatientDO.getRegisterNo(), outpatientDO.getWinNo(), demoFlag);
|
|
|
res= rs.getJSONObject("resquest");
|
|
|
logger.info("退号结果 res: " + res.toString());
|