mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
枪口信息表添加 车位号 字段
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<result property="name" column="name" />
|
||||
<result property="pileConnectorCode" column="pile_connector_code" />
|
||||
<result property="status" column="status" />
|
||||
<result property="parkNo" column="park_no" />
|
||||
<result property="pileSn" column="pile_sn" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
@@ -18,7 +19,7 @@
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPileConnectorInfoVo">
|
||||
select id, name, pile_connector_code, status, pile_sn, create_by, create_time, update_by, update_time, del_flag from pile_connector_info
|
||||
select id, name, pile_connector_code, status, park_no, pile_sn, create_by, create_time, update_by, update_time, del_flag from pile_connector_info
|
||||
</sql>
|
||||
|
||||
<select id="selectPileConnectorInfoList" parameterType="com.jsowell.pile.domain.PileConnectorInfo"
|
||||
@@ -51,6 +52,7 @@
|
||||
<if test="name != null">name,</if>
|
||||
<if test="pileConnectorCode != null">pile_connector_code,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="parkNo != null">park_no,</if>
|
||||
<if test="pileSn != null">pile_sn,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
@@ -62,6 +64,7 @@
|
||||
<if test="name != null">#{name},</if>
|
||||
<if test="pileConnectorCode != null">#{pileConnectorCode},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="parkNo != null">#{parkNo},</if>
|
||||
<if test="pileSn != null">#{pileSn},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
@@ -77,6 +80,7 @@
|
||||
<if test="name != null">name = #{name},</if>
|
||||
<if test="pileConnectorCode != null">pile_connector_code = #{pileConnectorCode},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="parkNo != null">park_no = #{parkNo},</if>
|
||||
<if test="pileSn != null">pile_sn = #{pileSn},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
@@ -120,13 +124,14 @@
|
||||
|
||||
<insert id="batchInsertConnectorInfo">
|
||||
insert into pile_connector_info
|
||||
(name,pile_connector_code,status,pile_sn,create_by,update_by,del_flag)
|
||||
(name,pile_connector_code,status,park_no,pile_sn,create_by,update_by,del_flag)
|
||||
values
|
||||
<foreach collection="connectorList" item="item" separator=",">
|
||||
(
|
||||
#{item.name,jdbcType=VARCHAR},
|
||||
#{item.pileConnectorCode,jdbcType=VARCHAR},
|
||||
#{item.status,jdbcType=VARCHAR},
|
||||
#{item.parkNo,jdbcType=VARCHAR},
|
||||
#{item.pileSn,jdbcType=VARCHAR},
|
||||
#{item.createBy,jdbcType=VARCHAR},
|
||||
#{item.updateBy,jdbcType=VARCHAR},
|
||||
|
||||
Reference in New Issue
Block a user