|  |  |  | @ -15,6 +15,7 @@ import com.glxp.api.common.util.ResultVOUtils; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.constant.*; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.controller.BaseController; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.dao.basic.UdiProductDao; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.dao.inout.IoOrderInvoiceMapper; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.auth.AuthAdmin; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.auth.InvBusUserEntity; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.entity.auth.InvWarehouseEntity; | 
			
		
	
	
		
			
				
					|  |  |  | @ -154,7 +155,8 @@ public class IoOrderController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |         PageInfo<IoOrderResponse> pageInfo = new PageInfo<>(list); | 
			
		
	
		
			
				
					|  |  |  |  |         return ResultVOUtils.page(pageInfo); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @Resource | 
			
		
	
		
			
				
					|  |  |  |  |     private IoOrderInvoiceMapper ioOrderInvoiceMapper; | 
			
		
	
		
			
				
					|  |  |  |  |     @AuthRuleAnnotation("") | 
			
		
	
		
			
				
					|  |  |  |  |     @GetMapping("/udiwms/inout/order/filterList") | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse filterOrderList(FilterOrderRequest filterOrderRequest) { | 
			
		
	
	
		
			
				
					|  |  |  | @ -194,7 +196,14 @@ public class IoOrderController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |             if (ioOrderResponse.getCheckStatus() == null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 ioOrderResponse.setCheckStatus(0 + ""); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             long count = ioOrderInvoiceMapper.selectCount( | 
			
		
	
		
			
				
					|  |  |  |  |                     new QueryWrapper<IoOrderInvoiceEntity>().eq("orderIdFk",ioOrderResponse.getBillNo()) | 
			
		
	
		
			
				
					|  |  |  |  |             ); | 
			
		
	
		
			
				
					|  |  |  |  |             if(count>0){ | 
			
		
	
		
			
				
					|  |  |  |  |                 ioOrderResponse.setInvoiceStatus(2); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         PageInfo<IoOrderResponse> pageInfo = new PageInfo<>(list); | 
			
		
	
		
			
				
					|  |  |  |  |         return ResultVOUtils.page(pageInfo); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  |  | 
 |