mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 占桩订单逻辑
This commit is contained in:
@@ -818,17 +818,6 @@
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="queryOccupiedOrder" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from order_pile_occupy
|
||||
where del_flag = '0'
|
||||
and status = '0'
|
||||
and pay_status = '0'
|
||||
and pile_sn = #{pileSn,jdbcType=VARCHAR}
|
||||
and connector_code = #{connectorCode,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="queryUnPayOrderByMemberId" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
@@ -855,21 +844,18 @@
|
||||
member_id = #{memberId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="getOrderInfoByPile" resultMap="BaseResultMap">
|
||||
<select id="queryOccupiedOrder" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from
|
||||
order_pile_occupy
|
||||
where
|
||||
pile_sn = #{pileSn,jdbcType=VARCHAR}
|
||||
and
|
||||
connector_code = #{connectorCode,jdbcType=VARCHAR}
|
||||
order by
|
||||
create_time DESC
|
||||
limit 1
|
||||
<include refid="Base_Column_List"/>
|
||||
from order_pile_occupy
|
||||
where del_flag = '0'
|
||||
and status = '0'
|
||||
and pile_sn = #{pileSn,jdbcType=VARCHAR}
|
||||
and connector_code = #{connectorCode,jdbcType=VARCHAR}
|
||||
order by create_time DESC
|
||||
</select>
|
||||
|
||||
<select id="getDraftOccupyOrder" resultMap="BaseResultMap">
|
||||
<select id="queryDraftOccupyOrder" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List"/>
|
||||
from
|
||||
|
||||
Reference in New Issue
Block a user