|  |  | @ -3,6 +3,7 @@ package com.epmet.controller; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.rocketmq.messages.ServerSatisfactionCalFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.annotation.LoginUser; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.aop.NoRepeatSubmit; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.constant.AppClientConstant; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.dto.result.OptionDataResultDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.exception.ExceptionUtils; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.exception.RenException; | 
			
		
	
	
		
			
				
					|  |  | @ -16,10 +17,6 @@ import com.epmet.commons.tools.validator.group.AddGroup; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.validator.group.DefaultGroup; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.constants.ImportTaskConstants; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.IcPartyUnitDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.ImportTaskCommonFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.PartyActivityFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.PartyUnitFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.PartyUnitListFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.*; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.demand.ServiceQueryFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.result.*; | 
			
		
	
	
		
			
				
					|  |  | @ -37,12 +34,10 @@ import org.springframework.web.multipart.MultipartFile; | 
			
		
	
		
			
				
					|  |  |  | import javax.annotation.Resource; | 
			
		
	
		
			
				
					|  |  |  | import javax.servlet.http.HttpServletRequest; | 
			
		
	
		
			
				
					|  |  |  | import javax.servlet.http.HttpServletResponse; | 
			
		
	
		
			
				
					|  |  |  | import javax.validation.Valid; | 
			
		
	
		
			
				
					|  |  |  | import java.io.IOException; | 
			
		
	
		
			
				
					|  |  |  | import java.nio.file.Path; | 
			
		
	
		
			
				
					|  |  |  | import java.util.ArrayList; | 
			
		
	
		
			
				
					|  |  |  | import java.util.List; | 
			
		
	
		
			
				
					|  |  |  | import java.util.Map; | 
			
		
	
		
			
				
					|  |  |  | import java.util.concurrent.CompletableFuture; | 
			
		
	
		
			
				
					|  |  |  | import java.util.concurrent.atomic.AtomicInteger; | 
			
		
	
		
			
				
					|  |  |  | import java.util.stream.Collectors; | 
			
		
	
	
		
			
				
					|  |  | @ -70,9 +65,20 @@ public class IcPartyUnitController { | 
			
		
	
		
			
				
					|  |  |  |     private Path IC_PARTY_UNIT_UPLOAD_DIR; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     /** | 
			
		
	
		
			
				
					|  |  |  |      * 联建单位-列表查询 | 
			
		
	
		
			
				
					|  |  |  |      * 本组织及下级数据 | 
			
		
	
		
			
				
					|  |  |  |      * @param tokenDto | 
			
		
	
		
			
				
					|  |  |  |      * @param formDTO | 
			
		
	
		
			
				
					|  |  |  |      * @return | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @PostMapping("list") | 
			
		
	
		
			
				
					|  |  |  |     public Result<PageData<IcPartyUnitDTO>> search(@LoginUser TokenDto tokenDto, @RequestBody PartyUnitFormDTO formDTO) { | 
			
		
	
		
			
				
					|  |  |  |         formDTO.setCustomerId(tokenDto.getCustomerId()); | 
			
		
	
		
			
				
					|  |  |  |         //工作端调用的话,赋值当前登录用户id
 | 
			
		
	
		
			
				
					|  |  |  |         if(AppClientConstant.APP_GOV.equals(tokenDto.getApp())){ | 
			
		
	
		
			
				
					|  |  |  |             formDTO.setCurrentStaffId(tokenDto.getUserId()); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         PageData<IcPartyUnitDTO> page = icPartyUnitService.search(formDTO); | 
			
		
	
		
			
				
					|  |  |  |         return new Result<PageData<IcPartyUnitDTO>>().ok(page); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  | 
 |