|  | @@ -1241,6 +1241,7 @@
 | 
	
		
			
				|  |  |                  case #{mode}
 | 
	
		
			
				|  |  |                      when '3' then round(ifnull(sum(f_volumnblc), 0))
 | 
	
		
			
				|  |  |                      when '2' then round(ifnull(sum(f_grossweightblc) / 1000, 0))
 | 
	
		
			
				|  |  | +                    when '5' then round(ifnull(sum(f_netweightblc) / 1000, 0))
 | 
	
		
			
				|  |  |                      else ifnull(sum(f_qtyblc), 0)
 | 
	
		
			
				|  |  |                  end as quantity
 | 
	
		
			
				|  |  |              </if>
 | 
	
	
		
			
				|  | @@ -1315,6 +1316,7 @@
 | 
	
		
			
				|  |  |                  case #{mode}
 | 
	
		
			
				|  |  |                  when '3' then round(ifnull(sum(tw.f_volumnblc), 0))
 | 
	
		
			
				|  |  |                  when '2' then round(ifnull(sum(tw.f_grossweightblc) / 1000, 0))
 | 
	
		
			
				|  |  | +                when '5' then round(ifnull(sum(tw.f_netweightblc) / 1000, 0))
 | 
	
		
			
				|  |  |                  else ifnull(sum(tw.f_qtyblc), 0)
 | 
	
		
			
				|  |  |                  end as quantity
 | 
	
		
			
				|  |  |              </if>
 |