|  | @@ -5,13 +5,18 @@ import com.keao.edu.auth.api.client.SysUserFeignService;
 | 
	
		
			
				|  |  |  import com.keao.edu.auth.api.entity.SysUser;
 | 
	
		
			
				|  |  |  import com.keao.edu.common.controller.BaseController;
 | 
	
		
			
				|  |  |  import com.keao.edu.common.entity.HttpResponseResult;
 | 
	
		
			
				|  |  | +import com.keao.edu.common.page.PageInfo;
 | 
	
		
			
				|  |  |  import com.keao.edu.thirdparty.adapay.ConfigInit;
 | 
	
		
			
				|  |  |  import com.keao.edu.thirdparty.adapay.Payment;
 | 
	
		
			
				|  |  |  import com.keao.edu.thirdparty.yqpay.Msg;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.dto.StudentExamPaymentDto;
 | 
	
		
			
				|  |  | +import com.keao.edu.user.entity.Employee;
 | 
	
		
			
				|  |  | +import com.keao.edu.user.entity.ExamRegistration;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.entity.ExamRegistrationPayment;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.entity.ExamSong;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.enums.TransStatusEnum;
 | 
	
		
			
				|  |  | +import com.keao.edu.user.page.ExamRegistrationQueryInfo;
 | 
	
		
			
				|  |  | +import com.keao.edu.user.service.EmployeeService;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.service.ExamRegistrationPaymentService;
 | 
	
		
			
				|  |  |  import com.keao.edu.user.service.ExamRegistrationService;
 | 
	
		
			
				|  |  |  import com.keao.edu.util.date.DateUtil;
 | 
	
	
		
			
				|  | @@ -21,6 +26,7 @@ import io.swagger.annotations.ApiImplicitParam;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiImplicitParams;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | +import org.springframework.security.access.prepost.PreAuthorize;
 | 
	
		
			
				|  |  |  import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import java.math.BigDecimal;
 | 
	
	
		
			
				|  | @@ -37,6 +43,22 @@ public class ExamOrderController extends BaseController {
 | 
	
		
			
				|  |  |      private ExamRegistrationPaymentService examRegistrationPaymentService;
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private SysUserFeignService sysUserFeignService;
 | 
	
		
			
				|  |  | +    @Autowired
 | 
	
		
			
				|  |  | +    private EmployeeService employeeService;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "缴费列表")
 | 
	
		
			
				|  |  | +    @GetMapping(value = "list")
 | 
	
		
			
				|  |  | +    @PreAuthorize("@pcs.hasPermissions('examOrder/pageList')")
 | 
	
		
			
				|  |  | +    public HttpResponseResult<PageInfo<ExamRegistration>> list(ExamRegistrationQueryInfo queryInfo) {
 | 
	
		
			
				|  |  | +        SysUser sysUser = sysUserFeignService.queryUserInfo();
 | 
	
		
			
				|  |  | +        if (!sysUser.getIsSuperAdmin() && Objects.isNull(queryInfo.getOrganId())) {
 | 
	
		
			
				|  |  | +            Employee employee = employeeService.get(sysUser.getId());
 | 
	
		
			
				|  |  | +            if (Objects.nonNull(employee)) {
 | 
	
		
			
				|  |  | +                queryInfo.setOrganId(employee.getOrganId());
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        return succeed(examRegistrationPaymentService.pageList(queryInfo));
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiOperation("获取用户项目未支付的订单")
 | 
	
		
			
				|  |  |      @ApiImplicitParams({
 |