|  | @@ -3,7 +3,9 @@ package com.ym.mec.web.controller;
 | 
	
		
			
				|  |  |  import com.ym.mec.auth.api.client.SysUserFeignService;
 | 
	
		
			
				|  |  |  import com.ym.mec.auth.api.entity.SysUser;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.dao.EmployeeDao;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.dao.StudentPaymentOrderDao;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.dao.SysConfigDao;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.dto.BasicUserDto;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.dto.StudentPaymentRouteOrderDto;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.entity.Employee;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.entity.StudentPaymentOrder;
 | 
	
	
		
			
				|  | @@ -30,6 +32,7 @@ import org.springframework.web.bind.annotation.RestController;
 | 
	
		
			
				|  |  |  import java.math.BigDecimal;
 | 
	
		
			
				|  |  |  import java.util.Arrays;
 | 
	
		
			
				|  |  |  import java.util.List;
 | 
	
		
			
				|  |  | +import java.util.stream.Collectors;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  @RequestMapping("routeOrder")
 | 
	
		
			
				|  |  |  @Api(tags = "分润订单服务")
 | 
	
	
		
			
				|  | @@ -42,6 +45,8 @@ public class StudentPaymentRouteOrderController extends BaseController {
 | 
	
		
			
				|  |  |      private SysUserFeignService sysUserFeignService;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private EmployeeDao employeeDao;
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private StudentPaymentOrderDao studentPaymentOrderDao;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiOperation(value = "财务订单列表")
 | 
	
		
			
				|  |  |      @GetMapping("/finance")
 | 
	
	
		
			
				|  | @@ -64,6 +69,13 @@ public class StudentPaymentRouteOrderController extends BaseController {
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        if(StringUtils.isNotBlank(queryInfo.getSearch())){
 | 
	
		
			
				|  |  | +            List<BasicUserDto> users = studentPaymentOrderDao.getUsers(queryInfo.getSearch());
 | 
	
		
			
				|  |  | +            List<Integer> userIds = users.stream().map(BasicUserDto::getUserId).collect(Collectors.toList());
 | 
	
		
			
				|  |  | +            if(userIds.size() >0){
 | 
	
		
			
				|  |  | +                queryInfo.setUserIds(userIds);
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          PageInfo<StudentPaymentRouteOrderDto> studentPaymentRouteOrderPageInfo = studentPaymentRouteOrderService.OrderQueryPage(queryInfo);
 | 
	
		
			
				|  |  |          return succeed(studentPaymentRouteOrderPageInfo);
 |