|  |  |  | @ -18,6 +18,7 @@ import com.glxp.api.res.collect.CollectOrderBizResponse; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.res.collect.IoCollectOrderResponse; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.collect.IoCollectOrderBizService; | 
			
		
	
		
			
				
					|  |  |  |  | import com.glxp.api.service.collect.IoCollectOrderService; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.beans.BeanUtils; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.stereotype.Controller; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.web.bind.annotation.GetMapping; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.web.bind.annotation.PostMapping; | 
			
		
	
	
		
			
				
					|  |  |  | @ -25,6 +26,7 @@ import org.springframework.web.bind.annotation.RequestBody; | 
			
		
	
		
			
				
					|  |  |  |  | import org.springframework.web.bind.annotation.RestController; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import javax.annotation.Resource; | 
			
		
	
		
			
				
					|  |  |  |  | import java.util.Date; | 
			
		
	
		
			
				
					|  |  |  |  | import java.util.List; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | @RestController | 
			
		
	
	
		
			
				
					|  |  |  | @ -87,6 +89,45 @@ public class IoCollectOrderController extends BaseController { | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     /** | 
			
		
	
		
			
				
					|  |  |  |  |      * 单据挂起 | 
			
		
	
		
			
				
					|  |  |  |  |      * | 
			
		
	
		
			
				
					|  |  |  |  |      * @return | 
			
		
	
		
			
				
					|  |  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |  |     @GetMapping("/udiwms/basic/collect/order/draft") | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse saveDraftOrder(@RequestBody CollectOrderRequest collectOrderRequest) { | 
			
		
	
		
			
				
					|  |  |  |  |         IoCollectOrder collectOrder = new IoCollectOrder(); | 
			
		
	
		
			
				
					|  |  |  |  |         BeanUtils.copyProperties(collectOrderRequest, collectOrder); | 
			
		
	
		
			
				
					|  |  |  |  |         collectOrder.setTagStatus(-1); | 
			
		
	
		
			
				
					|  |  |  |  |         collectOrder.setUpdateTime(new Date()); | 
			
		
	
		
			
				
					|  |  |  |  |         collectOrder.setUpdateUser(getUserId()); | 
			
		
	
		
			
				
					|  |  |  |  |         collectOrderService.updateById(collectOrder); | 
			
		
	
		
			
				
					|  |  |  |  |         return ResultVOUtils.success(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     /** | 
			
		
	
		
			
				
					|  |  |  |  |      * 单据挂起 | 
			
		
	
		
			
				
					|  |  |  |  |      * | 
			
		
	
		
			
				
					|  |  |  |  |      * @return | 
			
		
	
		
			
				
					|  |  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |  |     @GetMapping("/udiwms/basic/collect/order/finish") | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse saveFinishOrder(@RequestBody CollectOrderRequest collectOrderRequest) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         //1.校验是否全部自动赋码
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         //2.校验扫码是否完成
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         IoCollectOrder collectOrder = new IoCollectOrder(); | 
			
		
	
		
			
				
					|  |  |  |  |         BeanUtils.copyProperties(collectOrderRequest, collectOrder); | 
			
		
	
		
			
				
					|  |  |  |  |         collectOrder.setTagStatus(3); | 
			
		
	
		
			
				
					|  |  |  |  |         collectOrder.setUpdateTime(new Date()); | 
			
		
	
		
			
				
					|  |  |  |  |         collectOrder.setUpdateUser(getUserId()); | 
			
		
	
		
			
				
					|  |  |  |  |         collectOrderService.updateById(collectOrder); | 
			
		
	
		
			
				
					|  |  |  |  |         return ResultVOUtils.success(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     @PostMapping("/udiwms/basic/collect/order/bindWork") | 
			
		
	
		
			
				
					|  |  |  |  |     public BaseResponse bindWork(@RequestBody CollectOrderBindWorkRequest bindWorkRequest) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |