|  | @ -29,10 +29,9 @@ public class DatacollectDao extends SQLGeneralDAO implements IDatacollectDao {
 | 
												
													
														
															|  |     public String getVersion(String orgCode) throws Exception
 |  |     public String getVersion(String orgCode) throws Exception
 | 
												
													
														
															|  |     {
 |  |     {
 | 
												
													
														
															|  |         try{
 |  |         try{
 | 
												
													
														
															|  |             String sql = "select IFNULL(b.version,'') from adapter_scheme a\n" +
 |  | 
 | 
												
													
														
															|  |                     "left join adapter_scheme_version b \n" +
 |  | 
 | 
												
													
														
															|  |                     "on a.id=b.scheme_id \n" +
 |  | 
 | 
												
													
														
															|  |                     "where a.adapter_publisher_org_code='"+orgCode+"' ORDER BY PUBLISH_TIME DESC LIMIT 1;";
 |  | 
 | 
												
													
														
															|  | 
 |  |             String sql = "select IFNULL(o.qlc_adapter_version,'') \n" +
 | 
												
													
														
															|  | 
 |  |                     "from system_organization o\n" +
 | 
												
													
														
															|  | 
 |  |                     "where o.code = '"+orgCode+"'";
 | 
												
													
														
															|  |             return super.scalarBySql(sql, String.class);
 |  |             return super.scalarBySql(sql, String.class);
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         catch (Exception e)
 |  |         catch (Exception e)
 |