diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderPileOccupy.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderPileOccupy.java index 37c197bec..31f58c7b9 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderPileOccupy.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/domain/OrderPileOccupy.java @@ -39,6 +39,11 @@ public class OrderPileOccupy { */ private String stationId; + /** + * 车牌号码 + */ + private String plateNumber; + /** * 订单号 */ diff --git a/jsowell-pile/src/main/resources/mapper/pile/OrderPileOccupyMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/OrderPileOccupyMapper.xml index d76d1f7fe..d05687fc7 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/OrderPileOccupyMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/OrderPileOccupyMapper.xml @@ -9,6 +9,7 @@ + @@ -31,6 +32,7 @@ `status`, member_id, station_id, + plate_number, order_code, transaction_code, start_time, @@ -63,13 +65,13 @@ useGeneratedKeys="true"> insert into order_pile_occupy (occupy_code, `status`, member_id, - station_id, order_code, transaction_code, + station_id, plate_number, order_code, transaction_code, start_time, end_time, pay_status, order_amount, pile_sn, connector_code, pile_connector_code, create_time, create_by, update_time, update_by, del_flag) values (#{occupyCode,jdbcType=VARCHAR}, #{status,jdbcType=CHAR}, #{memberId,jdbcType=VARCHAR}, - #{stationId,jdbcType=VARCHAR}, #{orderCode,jdbcType=VARCHAR}, #{transactionCode,jdbcType=VARCHAR}, + #{stationId,jdbcType=VARCHAR}, #{plateNumber,jdbcType=VARCHAR}, #{orderCode,jdbcType=VARCHAR}, #{transactionCode,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{payStatus,jdbcType=VARCHAR}, #{orderAmount,jdbcType=DECIMAL}, #{pileSn,jdbcType=VARCHAR}, #{connectorCode,jdbcType=VARCHAR}, #{pileConnectorCode,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR}, @@ -92,6 +94,9 @@ station_id, + + plate_number, + order_code, @@ -148,6 +153,9 @@ #{stationId,jdbcType=VARCHAR}, + + #{plateNumber,jdbcType=VARCHAR}, + #{orderCode,jdbcType=VARCHAR}, @@ -208,6 +216,9 @@ station_id = #{stationId,jdbcType=VARCHAR}, + + plate_number = #{plateNumber,jdbcType=VARCHAR}, + order_code = #{orderCode,jdbcType=VARCHAR}, @@ -260,6 +271,7 @@ `status` = #{status,jdbcType=CHAR}, member_id = #{memberId,jdbcType=VARCHAR}, station_id = #{stationId,jdbcType=VARCHAR}, + plate_number = #{plateNumber,jdbcType=VARCHAR}, order_code = #{orderCode,jdbcType=VARCHAR}, transaction_code = #{transactionCode,jdbcType=VARCHAR}, start_time = #{startTime,jdbcType=TIMESTAMP}, @@ -300,6 +312,11 @@ when id = #{item.id,jdbcType=INTEGER} then #{item.stationId,jdbcType=VARCHAR} + + + when id = #{item.id,jdbcType=INTEGER} then #{item.plateNumber,jdbcType=VARCHAR} + + when id = #{item.id,jdbcType=INTEGER} then #{item.orderCode,jdbcType=VARCHAR} @@ -408,6 +425,13 @@ + + + + when id = #{item.id,jdbcType=INTEGER} then #{item.plateNumber,jdbcType=VARCHAR} + + + @@ -515,13 +539,13 @@ insert into order_pile_occupy - (occupy_code, `status`, member_id, station_id, order_code, transaction_code, start_time, + (occupy_code, `status`, member_id, station_id, plate_number, order_code, transaction_code, start_time, end_time, pay_status, order_amount, pile_sn, connector_code, pile_connector_code, create_time, create_by, update_time, update_by, del_flag) values (#{item.occupyCode,jdbcType=VARCHAR}, #{item.status,jdbcType=CHAR}, #{item.memberId,jdbcType=VARCHAR}, - #{item.stationId,jdbcType=VARCHAR}, #{item.orderCode,jdbcType=VARCHAR}, + #{item.stationId,jdbcType=VARCHAR}, #{item.plateNumber,jdbcType=VARCHAR}, #{item.orderCode,jdbcType=VARCHAR}, #{item.transactionCode,jdbcType=VARCHAR}, #{item.startTime,jdbcType=TIMESTAMP}, #{item.endTime,jdbcType=TIMESTAMP}, #{item.payStatus,jdbcType=VARCHAR}, @@ -545,6 +569,7 @@ `status`, member_id, station_id, + plate_number, order_code, transaction_code, start_time, @@ -569,6 +594,7 @@ #{status,jdbcType=CHAR}, #{memberId,jdbcType=VARCHAR}, #{stationId,jdbcType=VARCHAR}, + #{plateNumber,jdbcType=VARCHAR}, #{orderCode,jdbcType=VARCHAR}, #{transactionCode,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, @@ -593,6 +619,7 @@ `status` = #{status,jdbcType=CHAR}, member_id = #{memberId,jdbcType=VARCHAR}, station_id = #{stationId,jdbcType=VARCHAR}, + plate_number = #{plateNumber,jdbcType=VARCHAR}, order_code = #{orderCode,jdbcType=VARCHAR}, transaction_code = #{transactionCode,jdbcType=VARCHAR}, start_time = #{startTime,jdbcType=TIMESTAMP}, @@ -629,6 +656,9 @@ station_id, + + plate_number, + order_code, @@ -689,6 +719,9 @@ #{stationId,jdbcType=VARCHAR}, + + #{plateNumber,jdbcType=VARCHAR}, + #{orderCode,jdbcType=VARCHAR}, @@ -749,6 +782,9 @@ station_id = #{stationId,jdbcType=VARCHAR}, + + plate_number = #{plateNumber,jdbcType=VARCHAR}, + order_code = #{orderCode,jdbcType=VARCHAR},