| 
					
				 | 
			
			
				@@ -18,10 +18,7 @@ import io.swagger.annotations.ApiImplicitParams; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import io.swagger.annotations.ApiOperation; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.beans.factory.annotation.Autowired; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.springframework.http.HttpStatus; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import org.springframework.web.bind.annotation.GetMapping; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import org.springframework.web.bind.annotation.PostMapping; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import org.springframework.web.bind.annotation.RequestMapping; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import org.springframework.web.bind.annotation.RestController; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import org.springframework.web.bind.annotation.*; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @RequestMapping("replacementInstrumentActivity") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 @Api(tags = "乐器置换调查问卷") 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -43,7 +40,7 @@ public class ReplacementInstrumentActivityController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @ApiOperation(value = "新版新增调查问卷") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @PostMapping("/apply") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public Object apply(ReplacementInstrumentActivityDto replacementInstrumentActivityDto) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public Object apply(@RequestBody ReplacementInstrumentActivityDto replacementInstrumentActivityDto) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return succeed(replacementInstrumentActivityService.apply(replacementInstrumentActivityDto)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -120,7 +117,7 @@ public class ReplacementInstrumentActivityController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @ApiOperation(value = "新版获取置换的详情") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @GetMapping("/getInfoByCooperationId") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @ApiImplicitParams({@ApiImplicitParam(name = "getInfoByCooperationId", value = "置换活动编号", required = true, dataType = "int")}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @ApiImplicitParams({@ApiImplicitParam(name = "cooperationId", value = "置换活动编号", required = true, dataType = "int")}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public HttpResponseResult<ReplacementInstrumentActivityStatDto> getInfoByCooperationId(Integer cooperationId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SysUser sysUser = sysUserFeignService.queryUserInfo(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (sysUser == null) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -129,7 +126,7 @@ public class ReplacementInstrumentActivityController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ReplacementInstrumentCooperation replacementInstrumentCooperation = replacementInstrumentCooperationService.get(cooperationId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ReplacementInstrumentActivity replacementInstrumentActivity = replacementInstrumentActivityService.findByUserId(replacementInstrumentCooperation.getCooperationOrganId(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 sysUser.getId(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                replacementInstrumentCooperation.getTopicId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                replacementInstrumentCooperation.getId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(replacementInstrumentActivity == null){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         	return failed("未查询到您参与调查的记录"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 |