|
|
|
@ -14,7 +14,8 @@ public interface BsGasOrderMapperExt { |
|
|
|
|
" SELECT" + |
|
|
|
|
" count( 1 ) totalCount," + |
|
|
|
|
" case when sum( gas_refuel_price ) then sum( gas_refuel_price ) else 0 end totalRefuelPrice, " + |
|
|
|
|
" case when sum( gas_oil_liters ) then sum( gas_oil_liters ) else 0 end totalOilLiters " + |
|
|
|
|
" case when sum( gas_oil_liters ) then sum( gas_oil_liters ) else 0 end totalOilLiters," + |
|
|
|
|
" case when sum( actual_pay_price ) then sum( actual_pay_price ) else 0 end totalActualPayPrice " + |
|
|
|
|
" FROM" + |
|
|
|
|
" bs_gas_order" + |
|
|
|
|
" where 1 = 1" + |
|
|
|
|