| 
					
				 | 
			
			
				@ -659,6 +659,47 @@ public class TnyyEntranceService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return wlyyPrescriptionVOList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * 获取检查检验字典 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     * @throws Exception 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public JSONArray findVpacsBw(String pyKey) throws Exception{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String sql = " SELECT bw.DMMC,bw.jcbw,bw.fyxh,bw.FYMC,bw.FYDW,bw.fysl,bw.FYDJ,bw.jclx,bw.JCMC,bw.SRDM FROM V_pacs_BW bw WHERE 1=1   "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (StringUtils.isNoneBlank(pyKey)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sql+= " and  lower(bw.SRDM) like '%"+pyKey+"%' "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Map<String,Object> params = new HashedMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        params.put("findVpacsBw",sql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        HttpResponse response = HttpUtils.doGet(url,params); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String content = response.getContent(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        logger.info("response:"+content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONObject rs = JSON.parseObject(content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Integer status = rs.getInteger("status"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONArray array = new JSONArray(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if(status!=null&&status == 200){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            JSONArray jsonArray = rs.getJSONArray("detailModelList"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            for (int i=0;i<jsonArray.size();i++){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                JSONObject jsonObject = jsonArray.getJSONObject(i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                JSONObject object = new JSONObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("name",jsonObject.getString("DMMC")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("charge_unit",jsonObject.getString("FYDW")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("charge_amount",jsonObject.getString("FYDJ")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("py_code",jsonObject.getString("SRDM")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("code",jsonObject.getString("jcbw")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("exec_unit",jsonObject.getString("fyxh")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("fysl",jsonObject.getString("fysl")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("FYMC",jsonObject.getString("FYMC")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("jclx",jsonObject.getString("jclx")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                object.put("JCMC",jsonObject.getString("JCMC")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                array.add(object); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        return array; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				    public List<Map<String,Object>> queryBySql(String sql){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Map<String,Object>> mapList = jdbcTemplate.queryForList(sql); 
			 |