|  | @@ -172,11 +172,17 @@ exports.cekBanyakDataSanksi = async (user, where = {}, q = {}) => {
 | 
	
		
			
				|  |  |        else if (where.delegasi) {
 | 
	
		
			
				|  |  |          w.role_data = 'lldikti'
 | 
	
		
			
				|  |  |          w.role_asal = 'dikti'
 | 
	
		
			
				|  |  | -      } else if (!where.banding) w.role_data = 'dikti'
 | 
	
		
			
				|  |  | +      } else if (where.banding)
 | 
	
		
			
				|  |  | +        w.level_sanksi = {
 | 
	
		
			
				|  |  | +          $in: [2, 3],
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      else w.role_data = 'dikti'
 | 
	
		
			
				|  |  | +      // else if (!where.banding) w.role_data = 'dikti'
 | 
	
		
			
				|  |  |        break
 | 
	
		
			
				|  |  |      case 2021:
 | 
	
		
			
				|  |  |        w['role_data'] = 'lldikti'
 | 
	
		
			
				|  |  |        w['pt.pembina.id'] = user.lembaga.id
 | 
	
		
			
				|  |  | +      if (where.banding) w.level_sanksi = 1
 | 
	
		
			
				|  |  |        break
 | 
	
		
			
				|  |  |      case 2022:
 | 
	
		
			
				|  |  |        w['pt.id'] = user.lembaga.id
 |