|
|
@ -1200,9 +1200,9 @@ public interface HighOrderMapperExt { |
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"<script> " + |
|
|
|
"<script> " + |
|
|
|
" select" + |
|
|
|
" 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," + |
|
|
|
" 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 " + |
|
|
|
" from high_child_order a,high_order b " + |
|
|
|
" where a.order_id = b.id " + |
|
|
|
" where a.order_id = b.id " + |
|
|
|
" and goods_type = 3 " + |
|
|
|
" and goods_type = 3 " + |
|
|
|