| 
					
				 | 
			
			
				@@ -13,6 +13,8 @@ import com.yonge.cooleshow.biz.dal.entity.TenantActivationCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.entity.TenantAlbumPurchase; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.entity.TenantInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.entity.TenantStaff; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.yonge.cooleshow.biz.dal.enums.SendStatusEnum; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import com.yonge.cooleshow.biz.dal.enums.im.EImSendStatus; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.service.TenantActivationCodeService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.service.TenantAlbumPurchaseService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.yonge.cooleshow.biz.dal.service.TenantInfoService; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -138,7 +140,7 @@ public class TenantActivationCodeController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @GetMapping("/exportActiveCode") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @ApiOperation(value = "导出模板") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public void exportActiveCode(HttpServletResponse response) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public void exportActiveCode(HttpServletResponse response,String orderNo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SysUser sysUser = sysUserFeignService.queryUserInfo(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (sysUser == null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             throw new BizException("请登录"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -149,6 +151,8 @@ public class TenantActivationCodeController extends BaseController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 new TenantActivationCodeWrapper.TenantActivationCodeQuery(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         query.setTenantId(tenantId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         query.setActivationStatus(false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        query.setTenantAlbumPurchaseId(Long.valueOf(orderNo)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        query.setSendStatus(EActivationCode.WAIT); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         query.setPage(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         query.setRows(9999); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         IPage<TenantActivationCodeWrapper.TenantActivationCode> queryInfo = 
			 |