| 
					
				 | 
			
			
				@@ -192,6 +192,15 @@ public class TWarehouseGoodsTransferController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @GetMapping("/withdrawById/{fId}") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @RepeatSubmit 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public AjaxResult withdrawById(@PathVariable("fId") Long fId) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 查询是否对账、收费、付费 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        int result = itWarehouseBillsService.derecognition(fId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(result == 1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return AjaxResult.error("撤销请核失败,财务已对账"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else if (result == 2){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return AjaxResult.error("撤销请核失败,财务已收费"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } else if (result == 3){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return AjaxResult.error("撤销请核失败,财务已付费"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         String billsType = "HQZYRevoke"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 获取当前的用户 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         LoginUser loginUser = SpringUtils.getBean(TokenService.class).getLoginUser(ServletUtils.getRequest()); 
			 |