第三方平台站点关系表新增 启动方式字段

This commit is contained in:
Lemon
2024-03-18 09:25:01 +08:00
parent d07b0f6ac9
commit 04afd5aa53
6 changed files with 33 additions and 37 deletions

View File

@@ -8,6 +8,7 @@
<result property="id" column="id" />
<result property="stationId" column="station_id" />
<result property="thirdPartyType" column="third_party_type" />
<result property="startMode" column="start_mode" />
<result property="createTime" column="create_time" />
<result property="createBy" column="create_by" />
<result property="updateTime" column="update_time" />
@@ -16,11 +17,11 @@
</resultMap>
<sql id="selectThirdPartyStationRelationVo">
select id, station_id, third_party_type, create_time, create_by, update_time, update_by, del_flag from thirdparty_station_relation
select id, station_id, third_party_type, start_mode, create_time, create_by, update_time, update_by, del_flag from thirdparty_station_relation
</sql>
<sql id="Base_Column_List" >
id, station_id, third_party_type, create_time, create_by, update_time, update_by, del_flag
id, station_id, third_party_type, start_mode, create_time, create_by, update_time, update_by, del_flag
</sql>
<select id="selectThirdPartyStationRelationList" parameterType="com.jsowell.pile.domain.ThirdPartyStationRelation" resultMap="ThirdPartyStationRelationResult">
@@ -40,6 +41,7 @@
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="stationId != null">station_id,</if>
<if test="thirdPartyType != null">third_party_type,</if>
<if test="startMode != null">start_mode,</if>
<if test="createTime != null">create_time,</if>
<if test="createBy != null">create_by,</if>
<if test="updateTime != null">update_time,</if>
@@ -49,6 +51,7 @@
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="stationId != null">#{stationId},</if>
<if test="thirdPartyType != null">#{thirdPartyType},</if>
<if test="startMode != null">#{startMode},</if>
<if test="createTime != null">#{createTime},</if>
<if test="createBy != null">#{createBy},</if>
<if test="updateTime != null">#{updateTime},</if>
@@ -62,6 +65,7 @@
<trim prefix="SET" suffixOverrides=",">
<if test="stationId != null">station_id = #{stationId},</if>
<if test="thirdPartyType != null">third_party_type = #{thirdPartyType},</if>
<if test="startMode != null">start_mode = #{startMode},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
@@ -86,6 +90,7 @@
select
t1.station_id as stationId,
t1.third_party_type as thirdPartyType,
t1.start_mode as startMode,
t2.url_address as urlAddress,
t2.operator_id as operatorId,
t2.operator_secret as operatorSecret,
@@ -107,6 +112,7 @@
select
t1.station_id as stationId,
t1.third_party_type as thirdPartyType,
t1.start_mode as startMode,
t2.url_address as urlAddress,
t2.operator_id as operatorId,
t2.operator_secret as operatorSecret,