|  | @@ -1304,8 +1304,8 @@ public class ExportController extends BaseController {
 | 
	
		
			
				|  |  |      @RequestMapping("export/studentVipPractice")
 | 
	
		
			
				|  |  |      @PreAuthorize("@pcs.hasPermissions('export/studentVipPractice')")
 | 
	
		
			
				|  |  |      public HttpResponseResult exportStudentVipPractice(String organId) throws IOException {
 | 
	
		
			
				|  |  | -        boolean hasCourse = courseScheduleStudentPaymentDao.hasCourse(organId, TenantContextHolder.getTenantId());
 | 
	
		
			
				|  |  | -        if (!hasCourse) {
 | 
	
		
			
				|  |  | +        Boolean hasCourse = courseScheduleStudentPaymentDao.hasCourse(organId, TenantContextHolder.getTenantId());
 | 
	
		
			
				|  |  | +        if (hasCourse == null || !hasCourse) {
 | 
	
		
			
				|  |  |              return failed("没有可导出的数据");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          Integer tenantId = TenantContextHolder.getTenantId();
 |