提交代码

dev-discount
胡锐 2 years ago
parent 198405a46f
commit e6fd6f7749
  1. 4
      hai-service/src/main/java/com/hai/dao/HighOrderMapperExt.java

@ -1200,9 +1200,9 @@ public interface HighOrderMapperExt {
@Select({
"<script> " +
" select" +
" sum(b.total_price) refuelPrice," +
" case when sum(b.total_price) is not null then sum(b.total_price) else 0 end refuelPrice," +
" count(1) refuelNum," +
" sum(a.gas_oil_liters) refuelLiters",
" case when sum(a.gas_oil_liters) is not null then sum(a.gas_oil_liters) else 0 end refuelLiters" +
" from high_child_order a,high_order b " +
" where a.order_id = b.id " +
" and goods_type = 3 " +

Loading…
Cancel
Save