新增 后管财务中心运营商订单列表页

This commit is contained in:
Lemon
2023-07-06 17:38:30 +08:00
parent eb9e1fb0b1
commit 35efeb8993
11 changed files with 285 additions and 17 deletions

View File

@@ -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>