| 
														
															@@ -192,6 +192,15 @@ public class TWarehouseGoodsTransferController extends BaseController { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @GetMapping("/withdrawById/{fId}") 
														 | 
														
														 | 
														
															     @GetMapping("/withdrawById/{fId}") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     @RepeatSubmit 
														 | 
														
														 | 
														
															     @RepeatSubmit 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     public AjaxResult withdrawById(@PathVariable("fId") Long fId) { 
														 | 
														
														 | 
														
															     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"; 
														 | 
														
														 | 
														
															         String billsType = "HQZYRevoke"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 获取当前的用户 
														 | 
														
														 | 
														
															         // 获取当前的用户 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         LoginUser loginUser = SpringUtils.getBean(TokenService.class).getLoginUser(ServletUtils.getRequest()); 
														 | 
														
														 | 
														
															         LoginUser loginUser = SpringUtils.getBean(TokenService.class).getLoginUser(ServletUtils.getRequest()); 
														 |