|
@@ -16,6 +16,7 @@
|
|
<result column="station_group_name" jdbcType="VARCHAR" property="stationGroupName" />
|
|
<result column="station_group_name" jdbcType="VARCHAR" property="stationGroupName" />
|
|
<result column="station_longitude" jdbcType="VARCHAR" property="stationLongitude" />
|
|
<result column="station_longitude" jdbcType="VARCHAR" property="stationLongitude" />
|
|
<result column="station_latitude" jdbcType="VARCHAR" property="stationLatitude" />
|
|
<result column="station_latitude" jdbcType="VARCHAR" property="stationLatitude" />
|
|
|
|
+ <result column="mno" jdbcType="INTEGER" property="mno" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.platform.yijia.pojo.StationInfo">
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.platform.yijia.pojo.StationInfo">
|
|
<!--
|
|
<!--
|
|
@@ -96,7 +97,7 @@
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
station_id, station_name, station_address, oil_gun_num, contacts, phone, station_group_id,
|
|
station_id, station_name, station_address, oil_gun_num, contacts, phone, station_group_id,
|
|
- station_group_name, station_longitude, station_latitude
|
|
|
|
|
|
+ station_group_name, station_longitude, station_latitude, mno
|
|
</sql>
|
|
</sql>
|
|
<sql id="Blob_Column_List">
|
|
<sql id="Blob_Column_List">
|
|
<!--
|
|
<!--
|
|
@@ -181,11 +182,13 @@
|
|
insert into station_info (station_id, station_name, station_address,
|
|
insert into station_info (station_id, station_name, station_address,
|
|
oil_gun_num, contacts, phone,
|
|
oil_gun_num, contacts, phone,
|
|
station_group_id, station_group_name, station_longitude,
|
|
station_group_id, station_group_name, station_longitude,
|
|
- station_latitude, station_pic)
|
|
|
|
|
|
+ station_latitude, mno, station_pic
|
|
|
|
+ )
|
|
values (#{stationId,jdbcType=INTEGER}, #{stationName,jdbcType=VARCHAR}, #{stationAddress,jdbcType=VARCHAR},
|
|
values (#{stationId,jdbcType=INTEGER}, #{stationName,jdbcType=VARCHAR}, #{stationAddress,jdbcType=VARCHAR},
|
|
#{oilGunNum,jdbcType=INTEGER}, #{contacts,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
|
|
#{oilGunNum,jdbcType=INTEGER}, #{contacts,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
|
|
#{stationGroupId,jdbcType=INTEGER}, #{stationGroupName,jdbcType=VARCHAR}, #{stationLongitude,jdbcType=VARCHAR},
|
|
#{stationGroupId,jdbcType=INTEGER}, #{stationGroupName,jdbcType=VARCHAR}, #{stationLongitude,jdbcType=VARCHAR},
|
|
- #{stationLatitude,jdbcType=VARCHAR}, #{stationPic,jdbcType=LONGVARBINARY})
|
|
|
|
|
|
+ #{stationLatitude,jdbcType=VARCHAR}, #{mno,jdbcType=INTEGER}, #{stationPic,jdbcType=LONGVARBINARY}
|
|
|
|
+ )
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.platform.yijia.pojo.StationInfo">
|
|
<insert id="insertSelective" parameterType="com.platform.yijia.pojo.StationInfo">
|
|
<!--
|
|
<!--
|
|
@@ -224,6 +227,9 @@
|
|
<if test="stationLatitude != null">
|
|
<if test="stationLatitude != null">
|
|
station_latitude,
|
|
station_latitude,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="mno != null">
|
|
|
|
+ mno,
|
|
|
|
+ </if>
|
|
<if test="stationPic != null">
|
|
<if test="stationPic != null">
|
|
station_pic,
|
|
station_pic,
|
|
</if>
|
|
</if>
|
|
@@ -259,6 +265,9 @@
|
|
<if test="stationLatitude != null">
|
|
<if test="stationLatitude != null">
|
|
#{stationLatitude,jdbcType=VARCHAR},
|
|
#{stationLatitude,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="mno != null">
|
|
|
|
+ #{mno,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
<if test="stationPic != null">
|
|
<if test="stationPic != null">
|
|
#{stationPic,jdbcType=LONGVARBINARY},
|
|
#{stationPic,jdbcType=LONGVARBINARY},
|
|
</if>
|
|
</if>
|
|
@@ -311,6 +320,9 @@
|
|
<if test="record.stationLatitude != null">
|
|
<if test="record.stationLatitude != null">
|
|
station_latitude = #{record.stationLatitude,jdbcType=VARCHAR},
|
|
station_latitude = #{record.stationLatitude,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="record.mno != null">
|
|
|
|
+ mno = #{record.mno,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
<if test="record.stationPic != null">
|
|
<if test="record.stationPic != null">
|
|
station_pic = #{record.stationPic,jdbcType=LONGVARBINARY},
|
|
station_pic = #{record.stationPic,jdbcType=LONGVARBINARY},
|
|
</if>
|
|
</if>
|
|
@@ -335,6 +347,7 @@
|
|
station_group_name = #{record.stationGroupName,jdbcType=VARCHAR},
|
|
station_group_name = #{record.stationGroupName,jdbcType=VARCHAR},
|
|
station_longitude = #{record.stationLongitude,jdbcType=VARCHAR},
|
|
station_longitude = #{record.stationLongitude,jdbcType=VARCHAR},
|
|
station_latitude = #{record.stationLatitude,jdbcType=VARCHAR},
|
|
station_latitude = #{record.stationLatitude,jdbcType=VARCHAR},
|
|
|
|
+ mno = #{record.mno,jdbcType=INTEGER},
|
|
station_pic = #{record.stationPic,jdbcType=LONGVARBINARY}
|
|
station_pic = #{record.stationPic,jdbcType=LONGVARBINARY}
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -355,7 +368,8 @@
|
|
station_group_id = #{record.stationGroupId,jdbcType=INTEGER},
|
|
station_group_id = #{record.stationGroupId,jdbcType=INTEGER},
|
|
station_group_name = #{record.stationGroupName,jdbcType=VARCHAR},
|
|
station_group_name = #{record.stationGroupName,jdbcType=VARCHAR},
|
|
station_longitude = #{record.stationLongitude,jdbcType=VARCHAR},
|
|
station_longitude = #{record.stationLongitude,jdbcType=VARCHAR},
|
|
- station_latitude = #{record.stationLatitude,jdbcType=VARCHAR}
|
|
|
|
|
|
+ station_latitude = #{record.stationLatitude,jdbcType=VARCHAR},
|
|
|
|
+ mno = #{record.mno,jdbcType=INTEGER}
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -394,6 +408,9 @@
|
|
<if test="stationLatitude != null">
|
|
<if test="stationLatitude != null">
|
|
station_latitude = #{stationLatitude,jdbcType=VARCHAR},
|
|
station_latitude = #{stationLatitude,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="mno != null">
|
|
|
|
+ mno = #{mno,jdbcType=INTEGER},
|
|
|
|
+ </if>
|
|
<if test="stationPic != null">
|
|
<if test="stationPic != null">
|
|
station_pic = #{stationPic,jdbcType=LONGVARBINARY},
|
|
station_pic = #{stationPic,jdbcType=LONGVARBINARY},
|
|
</if>
|
|
</if>
|
|
@@ -415,6 +432,7 @@
|
|
station_group_name = #{stationGroupName,jdbcType=VARCHAR},
|
|
station_group_name = #{stationGroupName,jdbcType=VARCHAR},
|
|
station_longitude = #{stationLongitude,jdbcType=VARCHAR},
|
|
station_longitude = #{stationLongitude,jdbcType=VARCHAR},
|
|
station_latitude = #{stationLatitude,jdbcType=VARCHAR},
|
|
station_latitude = #{stationLatitude,jdbcType=VARCHAR},
|
|
|
|
+ mno = #{mno,jdbcType=INTEGER},
|
|
station_pic = #{stationPic,jdbcType=LONGVARBINARY}
|
|
station_pic = #{stationPic,jdbcType=LONGVARBINARY}
|
|
where station_id = #{stationId,jdbcType=INTEGER}
|
|
where station_id = #{stationId,jdbcType=INTEGER}
|
|
</update>
|
|
</update>
|
|
@@ -432,7 +450,8 @@
|
|
station_group_id = #{stationGroupId,jdbcType=INTEGER},
|
|
station_group_id = #{stationGroupId,jdbcType=INTEGER},
|
|
station_group_name = #{stationGroupName,jdbcType=VARCHAR},
|
|
station_group_name = #{stationGroupName,jdbcType=VARCHAR},
|
|
station_longitude = #{stationLongitude,jdbcType=VARCHAR},
|
|
station_longitude = #{stationLongitude,jdbcType=VARCHAR},
|
|
- station_latitude = #{stationLatitude,jdbcType=VARCHAR}
|
|
|
|
|
|
+ station_latitude = #{stationLatitude,jdbcType=VARCHAR},
|
|
|
|
+ mno = #{mno,jdbcType=INTEGER}
|
|
where station_id = #{stationId,jdbcType=INTEGER}
|
|
where station_id = #{stationId,jdbcType=INTEGER}
|
|
</update>
|
|
</update>
|
|
</mapper>
|
|
</mapper>
|