修改C端启动充电
This commit is contained in:
parent
a20f92f234
commit
8f96c7f6f4
@ -118,11 +118,11 @@
|
|||||||
update xhpc_app_user set balance=#{balance} where app_user_id=#{userId}
|
update xhpc_app_user set balance=#{balance} where app_user_id=#{userId}
|
||||||
</update>
|
</update>
|
||||||
<select id="countXhpcRealTimeOrder" resultType="String">
|
<select id="countXhpcRealTimeOrder" resultType="String">
|
||||||
select charge_order_id as chargeOrderId from xhpc_charge_order where user_id =#{userId} and status=0 and del_flag =0 limit 1
|
select charge_order_id as chargeOrderId from xhpc_charge_order where user_id =#{userId} and status=0 and del_flag =0 and source =0 limit 1
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="countXhpcChargeOrder" resultType="int">
|
<select id="countXhpcChargeOrder" resultType="int">
|
||||||
select count(charge_order_id) from xhpc_charge_order where user_id =#{userId} and status =2 and del_flag =0
|
select count(charge_order_id) from xhpc_charge_order where user_id =#{userId} and status =2 and source =0 and del_flag =0
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getXhpcTerminalSerialNumber" resultMap="BaseResultMap">
|
<select id="getXhpcTerminalSerialNumber" resultMap="BaseResultMap">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user