|  |  | @ -1,5 +1,6 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | package com.glxp.sale.admin.controller.param; |  |  |  | package com.glxp.sale.admin.controller.param; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import cn.hutool.core.collection.CollUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.alibaba.fastjson.JSON; |  |  |  | import com.alibaba.fastjson.JSON; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.sale.admin.annotation.AuthRuleAnnotation; |  |  |  | import com.glxp.sale.admin.annotation.AuthRuleAnnotation; | 
			
		
	
		
		
			
				
					
					|  |  |  | import com.glxp.sale.admin.entity.param.SyncDataBustypeEntity; |  |  |  | import com.glxp.sale.admin.entity.param.SyncDataBustypeEntity; | 
			
		
	
	
		
		
			
				
					|  |  | @ -45,7 +46,8 @@ public class SyncDataSetController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         BeanUtils.copyProperties(syncDataSetResponse, syncDataSetEntity); |  |  |  |         BeanUtils.copyProperties(syncDataSetResponse, syncDataSetEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<SyncDataBustypeEntity> busTypes = syncDataSetResponse.getBusTypes(); |  |  |  |         List<SyncDataBustypeEntity> busTypes = syncDataSetResponse.getBusTypes(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         syncDataBustypeService.deleteAll(); |  |  |  |         syncDataBustypeService.deleteAll(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         syncDataBustypeService.inserts(busTypes); |  |  |  |         if (CollUtil.isNotEmpty(busTypes)) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             syncDataBustypeService.inserts(busTypes); | 
			
		
	
		
		
			
				
					
					|  |  |  |         syncDataSetEntity.setBusTypes(null); |  |  |  |         syncDataSetEntity.setBusTypes(null); | 
			
		
	
		
		
			
				
					
					|  |  |  |         boolean b = syncDataSetService.insert(syncDataSetEntity); |  |  |  |         boolean b = syncDataSetService.insert(syncDataSetEntity); | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (!b) { |  |  |  |         if (!b) { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |