提交代码

dev
胡锐 4 months ago
parent c5d8b4ccc3
commit 2a52f6da86
  1. 3
      service/src/main/java/com/hfkj/dao/BsGasOrderMapperExt.java

@ -14,7 +14,8 @@ public interface BsGasOrderMapperExt {
" SELECT" + " SELECT" +
" count( 1 ) totalCount," + " count( 1 ) totalCount," +
" case when sum( gas_refuel_price ) then sum( gas_refuel_price ) else 0 end totalRefuelPrice, " + " 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" + " FROM" +
" bs_gas_order" + " bs_gas_order" +
" where 1 = 1" + " where 1 = 1" +

Loading…
Cancel
Save