提交代码

dev-discount
胡锐 2 years ago
parent ea723f08f0
commit 34c626ee8d
  1. 2
      hai-service/src/main/java/com/hai/dao/HighMerchantAccountMapperExt.java

@ -14,7 +14,7 @@ public interface HighMerchantAccountMapperExt {
@Select({"select " + @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 " + " from high_gas_order " +
" where store_id in (SELECT id from high_merchant_store where merchant_id = #{merId}) and `status` in (2,5,6)"}) " 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); BigDecimal countMerGasOilAmount(@Param("merId") Long merId);

Loading…
Cancel
Save