mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
新增 后管财务中心运营商订单列表页
This commit is contained in:
@@ -1062,4 +1062,29 @@
|
||||
and refund_amount > '0.00'
|
||||
and create_time BETWEEN #{startTime} and #{endTime}
|
||||
</select>
|
||||
|
||||
<select id="getMerchantOrderInfoList" resultType="com.jsowell.pile.vo.base.MerchantOrderInfoVO">
|
||||
select
|
||||
t1.order_code as orderCode,
|
||||
t1.transaction_code as transactionCode,
|
||||
t1.order_status as orderStatus,
|
||||
t1.station_id as stationId,
|
||||
t2.station_name as stationName,
|
||||
t1.order_amount as orderAmount,
|
||||
t1.settlement_time as orderSettleTime
|
||||
from order_basic_info t1
|
||||
left join pile_station_info t2 on t1.station_id = t2.id
|
||||
where
|
||||
t1.del_flag = '0'
|
||||
and t1.merchant_id = #{dto.merchantId,jdbcType=VARCHAR}
|
||||
<if test="dto.startTime != null" >
|
||||
and t1.create_time <![CDATA[ >= ]]> #{dto.startTime,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="dto.endTime != null" >
|
||||
and t1.settlement_time <![CDATA[ <= ]]> #{dto.endTime,jdbcType=VARCHAR}
|
||||
</if>
|
||||
|
||||
|
||||
order by t1.create_time desc
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user