mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update 电单车
This commit is contained in:
@@ -2989,4 +2989,21 @@
|
||||
AND t1.create_time BETWEEN #{startTime,jdbcType=VARCHAR} AND DATE_ADD(#{endTime,jdbcType=VARCHAR}, INTERVAL 1 DAY)
|
||||
order by t1.create_time
|
||||
</select>
|
||||
|
||||
<select id="queryOrdersByPileConnectorCodeAndStatus" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from order_basic_info
|
||||
where del_flag = '0'
|
||||
and pile_connector_code = #{pileConnectorCode,jdbcType=VARCHAR}
|
||||
<if test="orderStatus != null and orderStatus != ''">
|
||||
and order_status = #{orderStatus,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="payStatus != null and payStatus != ''">
|
||||
and pay_status = #{payStatus,jdbcType=VARCHAR}
|
||||
</if>
|
||||
order by create_time DESC
|
||||
limit 20
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user