|
@ -1921,13 +1921,14 @@ public class BusinessOrderService extends BaseJpaService<BusinessOrderDO,Busines
|
|
|
Calendar calendar = Calendar.getInstance();
|
|
|
if (businessOrderDO!=null){
|
|
|
createDate = businessOrderDO.getCreateTime();
|
|
|
calendar.add(Calendar.MINUTE,Integer.parseInt(wlyyHospitalSysDictDO.getDictCode()));
|
|
|
calendar.setTime(createDate);
|
|
|
calendar.add(Calendar.MINUTE,Integer.parseInt(wlyyHospitalSysDictDO.getDictCode()));
|
|
|
}else {
|
|
|
WlyyPrescriptionDO prescriptionDO = prescriptionDao.findOne(relationCode);
|
|
|
createDate =prescriptionDO.getCreateTime();
|
|
|
calendar.add(Calendar.MINUTE,Integer.parseInt(wlyyHospitalSysDictDO.getPyCode()));
|
|
|
calendar.setTime(createDate);
|
|
|
calendar.add(Calendar.MINUTE,Integer.parseInt(wlyyHospitalSysDictDO.getPyCode()));
|
|
|
|
|
|
|
|
|
}
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|