mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-30 08:00:00 +08:00
update 后管占桩订单页面
This commit is contained in:
@@ -934,4 +934,33 @@
|
||||
status = '1', pay_status = '2'
|
||||
where occupy_code = #{occupyCode,jdbcType=VARCHAR}
|
||||
</update>
|
||||
|
||||
<select id="getOrderPileOccupyList" resultType="com.jsowell.pile.vo.web.OccupyOrderVO">
|
||||
SELECT
|
||||
t1.id,
|
||||
t1.occupy_code AS occupyCode,
|
||||
t1.STATUS,
|
||||
t1.member_id AS memberId,
|
||||
t1.station_id AS stationId,
|
||||
t2.station_name AS stationName,
|
||||
t1.start_time AS startTime,
|
||||
t1.end_time AS endTime,
|
||||
t1.pay_status AS payStatus,
|
||||
t1.order_amount AS orderAmount,
|
||||
t1.pile_sn AS pileSn,
|
||||
t1.connector_code AS connectorCode
|
||||
FROM
|
||||
order_pile_occupy t1
|
||||
JOIN pile_station_info t2 ON t1.station_id = t2.id
|
||||
AND t1.del_flag = '0'
|
||||
<where>
|
||||
<if test="occupyCode != null and occupyCode != ''"> and t1.occupy_code = #{occupyCode}</if>
|
||||
<if test="memberId != null and memberId != ''"> and t1.member_id = #{memberId}</if>
|
||||
<if test="stationId != null and stationId != ''"> and t1.station_id = #{stationId}</if>
|
||||
<if test="startTime != null "> and t1.start_time = #{startTime}</if>
|
||||
<if test="orderAmount != null "> and t1.order_amount = #{orderAmount}</if>
|
||||
<if test="pileSn != null and pileSn != ''"> and t1.pile_sn = #{pileSn}</if>
|
||||
<if test="pileConnectorCode != null and pileConnectorCode != ''"> and t1.pile_connector_code = #{pileConnectorCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user