|  |  | @ -11,6 +11,7 @@ import com.glxp.api.res.collect.CollectOrderBizResponse; | 
			
		
	
		
		
			
				
					
					|  |  |  | import org.springframework.stereotype.Service; |  |  |  | import org.springframework.stereotype.Service; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | import javax.annotation.Resource; |  |  |  | import javax.annotation.Resource; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import java.util.ArrayList; | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.util.Collections; |  |  |  | import java.util.Collections; | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.util.List; |  |  |  | import java.util.List; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -29,9 +30,38 @@ public class IoCollectOrderBizService extends ServiceImpl<IoCollectOrderBizMappe | 
			
		
	
		
		
			
				
					
					|  |  |  |             PageHelper.offsetPage(offset, collectOrderRequest.getLimit()); |  |  |  |             PageHelper.offsetPage(offset, collectOrderRequest.getLimit()); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<CollectOrderBizResponse> data = collectOrderBizMapper.filterList(collectOrderRequest); |  |  |  |         List<CollectOrderBizResponse> data = collectOrderBizMapper.filterList(collectOrderRequest); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         for (CollectOrderBizResponse collectOrderBizResponse : data){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             collectOrderBizResponse.setProductLocation(setProductName(collectOrderBizResponse)); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         return data; |  |  |  |         return data; | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     public String setProductName(CollectOrderBizResponse collectOrderBizResponse){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             StringBuilder sb = new StringBuilder(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (collectOrderBizResponse.getRegionName() != null && !collectOrderBizResponse.getRegionName().isEmpty()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 sb.append(collectOrderBizResponse.getRegionName()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (collectOrderBizResponse.getFreightName() != null && !collectOrderBizResponse.getFreightName().isEmpty()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if (sb.length() > 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     sb.append("-"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 sb.append(collectOrderBizResponse.getFreightName()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (collectOrderBizResponse.getQueueName() != null && !collectOrderBizResponse.getQueueName().isEmpty()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if (sb.length() > 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     sb.append("-"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 sb.append(collectOrderBizResponse.getQueueName()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (collectOrderBizResponse.getWorkplaceQueueCode() != null && !collectOrderBizResponse.getWorkplaceQueueCode().isEmpty()) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                if (sb.length() > 0) {
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                    sb.append("-");
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | //                }
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 sb.append("(").append(collectOrderBizResponse.getWorkplaceQueueCode()).append(")"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return sb.toString(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public List<IoCollectOrderBiz> listByBillNo(String billNo) { |  |  |  |     public List<IoCollectOrderBiz> listByBillNo(String billNo) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         List<IoCollectOrderBiz> list = super.list(Wrappers.lambdaQuery(IoCollectOrderBiz.class) |  |  |  |         List<IoCollectOrderBiz> list = super.list(Wrappers.lambdaQuery(IoCollectOrderBiz.class) | 
			
		
	
	
		
		
			
				
					|  |  | 
 |