| 
					
				 | 
			
			
				@ -10689,7 +10689,29 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            baseNatAppointmentDO.setDept("3150000"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            baseNatAppointmentDO.setDeptName("感染疾病科"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            baseNatAppointmentDO.setAmpm(pm); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            baseNatAppointmentDO.setHospitalFlag(pushFlag); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            baseNatAppointmentDO= baseNatAppointmentDao.save(baseNatAppointmentDO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            //添加订单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            BusinessOrderDO businessDO = new BusinessOrderDO(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setPatient(patientId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setPatientName(name); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setOrderNo("HLWYY"+System.currentTimeMillis()+(int)(Math.random()*900)+100); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setCreateTime(new Date()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setStatus(0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setRelationCode(baseNatAppointmentDO.getId()+""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setRelationName("核酸检测订单"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setOrderCategory("6"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setOrderType(12); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setPayPrice(8000.0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setRematk("核酸检测订单"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setDescription("核酸检测订单"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setPayType(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessDO.setUpdateTime(new Date()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            businessOrderDao.save(businessDO); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            //同步眼科医院 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("开始同步眼科医院"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            ykyyEntranceService.saveKsjc(baseNatAppointmentDO,demoFlag); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.info("结束同步眼科医院"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            returnMap.put("msg","预约成功"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            returnMap.put("status","200"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            returnMap.put("id",baseNatAppointmentDO.getId()); 
			 |