|
@@ -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="station_pic" jdbcType="VARCHAR" property="stationPic" />
|
|
<result column="mno" jdbcType="INTEGER" property="mno" />
|
|
<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 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
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, mno
|
|
station_group_name, station_longitude, station_latitude, mno
|
|
</sql>
|
|
</sql>
|
|
<sql id="Blob_Column_List">
|
|
<sql id="Blob_Column_List">
|
|
@@ -149,7 +150,7 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- select
|
|
|
|
|
|
+ select
|
|
<include refid="Base_Column_List" />
|
|
<include refid="Base_Column_List" />
|
|
,
|
|
,
|
|
<include refid="Blob_Column_List" />
|
|
<include refid="Blob_Column_List" />
|
|
@@ -179,14 +180,14 @@
|
|
WARNING - @mbg.generated
|
|
WARNING - @mbg.generated
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
-->
|
|
-->
|
|
- insert into station_info (station_id, station_name, station_address,
|
|
|
|
- oil_gun_num, contacts, phone,
|
|
|
|
- station_group_id, station_group_name, station_longitude,
|
|
|
|
|
|
+ insert into station_info (station_id, station_name, station_address,
|
|
|
|
+ oil_gun_num, contacts, phone,
|
|
|
|
+ station_group_id, station_group_name, station_longitude,
|
|
station_latitude, mno, station_pic
|
|
station_latitude, mno, station_pic
|
|
)
|
|
)
|
|
- values (#{stationId,jdbcType=INTEGER}, #{stationName,jdbcType=VARCHAR}, #{stationAddress,jdbcType=VARCHAR},
|
|
|
|
- #{oilGunNum,jdbcType=INTEGER}, #{contacts,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
|
|
|
|
- #{stationGroupId,jdbcType=INTEGER}, #{stationGroupName,jdbcType=VARCHAR}, #{stationLongitude,jdbcType=VARCHAR},
|
|
|
|
|
|
+ values (#{stationId,jdbcType=INTEGER}, #{stationName,jdbcType=VARCHAR}, #{stationAddress,jdbcType=VARCHAR},
|
|
|
|
+ #{oilGunNum,jdbcType=INTEGER}, #{contacts,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
|
|
|
|
+ #{stationGroupId,jdbcType=INTEGER}, #{stationGroupName,jdbcType=VARCHAR}, #{stationLongitude,jdbcType=VARCHAR},
|
|
#{stationLatitude,jdbcType=VARCHAR}, #{mno,jdbcType=INTEGER}, #{stationPic,jdbcType=LONGVARBINARY}
|
|
#{stationLatitude,jdbcType=VARCHAR}, #{mno,jdbcType=INTEGER}, #{stationPic,jdbcType=LONGVARBINARY}
|
|
)
|
|
)
|
|
</insert>
|
|
</insert>
|
|
@@ -454,4 +455,4 @@
|
|
mno = #{mno,jdbcType=INTEGER}
|
|
mno = #{mno,jdbcType=INTEGER}
|
|
where station_id = #{stationId,jdbcType=INTEGER}
|
|
where station_id = #{stationId,jdbcType=INTEGER}
|
|
</update>
|
|
</update>
|
|
-</mapper>
|
|
|
|
|
|
+</mapper>
|