|
|
|
@ -14,7 +14,7 @@ public interface HighMerchantAccountMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Select({"select " + |
|
|
|
|
" case when sum(gas_price_cost) is not null then sum(gas_price_cost) ELSE 0 end " + |
|
|
|
|
" case when sum(gas_refuel_price) is not null then sum(gas_refuel_price) ELSE 0 end " + |
|
|
|
|
" from high_gas_order " + |
|
|
|
|
" where store_id in (SELECT id from high_merchant_store where merchant_id = #{merId}) and `status` in (2,5,6)"}) |
|
|
|
|
BigDecimal countMerGasOilAmount(@Param("merId") Long merId); |
|
|
|
|