|  | @ -299,12 +299,19 @@ public class StandardService extends SQLGeneralDAO {
 | 
	
		
			
				|  |  |         List<Object[]> list = getSysParamList();
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         String code = StringUtil.toString(list.get(0)[0]);
 | 
	
		
			
				|  |  |         String publishOrgCode = StringUtil.toString(list.get(0)[1]);
 | 
	
		
			
				|  |  |         String publisherHql = "FROM SystemOrganization";
 | 
	
		
			
				|  |  |         SqlCreator sqlCreator = new SqlCreator(StandardModel.class);
 | 
	
		
			
				|  |  |         if (type == 0) {
 | 
	
		
			
				|  |  |             sqlCreator.equalCondition("code", code);
 | 
	
		
			
				|  |  |             publisherHql = publisherHql + " WHERE code = :code";
 | 
	
		
			
				|  |  |         } else {
 | 
	
		
			
				|  |  |             sqlCreator.neCondition("code", code);
 | 
	
		
			
				|  |  |             publisherHql = publisherHql + " WHERE code != :code";
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         Query query = getCurrentSession().createQuery(publisherHql);
 | 
	
		
			
				|  |  |         query.setParameter("code", publishOrgCode);
 | 
	
		
			
				|  |  |         List<SystemOrganization> publisherModelList = query.list();
 | 
	
		
			
				|  |  |         String sql = sqlCreator.selectData(StandardModel.TABLE_NAME);
 | 
	
		
			
				|  |  |         Query sessionQuery = getQuery(sqlCreator, sql);
 | 
	
		
			
				|  |  |         List<StandardModel> standardModelList = sessionQuery.list();
 | 
	
	
		
			
				|  | @ -316,9 +323,7 @@ public class StandardService extends SQLGeneralDAO {
 | 
	
		
			
				|  |  |         if (CollectionUtil.isEmpty(idList)) {
 | 
	
		
			
				|  |  |             idList.add(null);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         String publisherHql = "FROM SystemOrganization";
 | 
	
		
			
				|  |  |         Query query = getCurrentSession().createQuery(publisherHql);
 | 
	
		
			
				|  |  |         List<SystemOrganization> publisherModelList = query.list();
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         String versionHql = "FROM StandardVersionModel WHERE standardId IN :idList";
 | 
	
		
			
				|  |  |         query = getCurrentSession().createQuery(versionHql);
 | 
	
		
			
				|  |  |         query.setParameterList("idList", idList);
 |