新增占桩订单后管页面

This commit is contained in:
Lemon
2023-09-08 09:30:43 +08:00
parent 72699df4dc
commit 557fa69811
10 changed files with 612 additions and 100 deletions

View File

@@ -905,4 +905,25 @@
order by create_time desc
limit 1
</select>
<select id="selectOrderPileOccupyList" parameterType="com.jsowell.pile.domain.OrderPileOccupy" resultMap="BaseResultMap">
select
<include refid="Base_Column_List"/>
from order_pile_occupy
<where>
<if test="occupyCode != null and occupyCode != ''"> and occupy_code = #{occupyCode}</if>
<if test="status != null and status != ''"> and status = #{status}</if>
<if test="memberId != null and memberId != ''"> and member_id = #{memberId}</if>
<if test="stationId != null and stationId != ''"> and station_id = #{stationId}</if>
<if test="orderCode != null and orderCode != ''"> and order_code = #{orderCode}</if>
<if test="transactionCode != null and transactionCode != ''"> and transaction_code = #{transactionCode}</if>
<if test="startTime != null "> and start_time = #{startTime}</if>
<if test="endTime != null "> and end_time = #{endTime}</if>
<if test="payStatus != null and payStatus != ''"> and pay_status = #{payStatus}</if>
<if test="orderAmount != null "> and order_amount = #{orderAmount}</if>
<if test="pileSn != null and pileSn != ''"> and pile_sn = #{pileSn}</if>
<if test="connectorCode != null and connectorCode != ''"> and connector_code = #{connectorCode}</if>
<if test="pileConnectorCode != null and pileConnectorCode != ''"> and pile_connector_code = #{pileConnectorCode}</if>
</where>
</select>
</mapper>