| 
					
				 | 
			
			
				@ -7164,8 +7164,16 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @param orgCode 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public MixEnvelop findDeptByOrgCode(String orgCode) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<DictDeptDescDO> deptDescDOList = dictDeptDescDao.findByOrgCode(orgCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public MixEnvelop findDeptByOrgCode(String orgCode, String keyName) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<DictDeptDescDO> deptDescDOList = new ArrayList<DictDeptDescDO>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (StringUtils.isEmpty(keyName)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            deptDescDOList = dictDeptDescDao.findByOrgCode(orgCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            deptDescDOList = dictDeptDescDao.findByOrgCode(orgCode, keyName); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        deptDescDOList.forEach(one -> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            one.setDeptDescription(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (deptDescDOList == null || deptDescDOList.size() == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return MixEnvelop.getError("无科室信息"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 |