| 
					
				 | 
			
			
				@@ -47,12 +47,14 @@ class BaseService extends Service { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     get tableName() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (this.depart <= 0) return this._table; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (!this.ctx.tender) throw  new TypeError('统计计算缺少必要数据'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (!this.ctx.tender) throw  new TypeError('tableName error: Without Tender'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return this._table + '_' + (this.ctx.tender.id % this.depart); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     departTableName(key) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (this.depart <= 0 || !key) throw  new TypeError('统计计算缺少必要数据'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (this.depart <= 0) return this._table; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (!key) throw  new TypeError('tableName error: Without DepartKey'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return this._table + '_' + (key % this.depart); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |