|
@@ -5,7 +5,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
<result column="uuid" jdbcType="VARCHAR" property="uuid" />
|
|
@@ -16,20 +16,13 @@
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
<result column="show_tip" jdbcType="INTEGER" property="showTip" />
|
|
|
- </resultMap>
|
|
|
- <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.tzld.piaoquan.risk.control.model.po.WorkWechatRoomInfo">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
- -->
|
|
|
- <result column="tip_info" jdbcType="LONGVARCHAR" property="tipInfo" />
|
|
|
+ <result column="tip_info" jdbcType="VARCHAR" property="tipInfo" />
|
|
|
</resultMap>
|
|
|
<sql id="Example_Where_Clause">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
@@ -63,7 +56,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
@@ -97,48 +90,16 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
id, uuid, room_id, auto_remove_user_switch, create_user, update_user, create_time,
|
|
|
- update_time, show_tip
|
|
|
+ update_time, show_tip, tip_info
|
|
|
</sql>
|
|
|
- <sql id="Blob_Column_List">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
- -->
|
|
|
- tip_info
|
|
|
- </sql>
|
|
|
- <select id="selectByExampleWithBLOBs" parameterType="com.tzld.piaoquan.risk.control.model.po.WorkWechatRoomInfoExample" resultMap="ResultMapWithBLOBs">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
- -->
|
|
|
- select
|
|
|
- <if test="distinct">
|
|
|
- distinct
|
|
|
- </if>
|
|
|
- <include refid="Base_Column_List" />
|
|
|
- ,
|
|
|
- <include refid="Blob_Column_List" />
|
|
|
- from work_wechat_room_info
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- <if test="orderByClause != null">
|
|
|
- order by ${orderByClause}
|
|
|
- </if>
|
|
|
- <if test="page != null">
|
|
|
- limit #{page.offset} , #{page.pageSize}
|
|
|
- </if>
|
|
|
- </select>
|
|
|
<select id="selectByExample" parameterType="com.tzld.piaoquan.risk.control.model.po.WorkWechatRoomInfoExample" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
select
|
|
|
<if test="distinct">
|
|
@@ -156,16 +117,14 @@
|
|
|
limit #{page.offset} , #{page.pageSize}
|
|
|
</if>
|
|
|
</select>
|
|
|
- <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
- ,
|
|
|
- <include refid="Blob_Column_List" />
|
|
|
from work_wechat_room_info
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</select>
|
|
@@ -173,7 +132,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
delete from work_wechat_room_info
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
@@ -182,7 +141,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
delete from work_wechat_room_info
|
|
|
<if test="_parameter != null">
|
|
@@ -193,7 +152,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
insert into work_wechat_room_info (id, uuid, room_id,
|
|
|
auto_remove_user_switch, create_user, update_user,
|
|
@@ -202,13 +161,13 @@
|
|
|
values (#{id,jdbcType=BIGINT}, #{uuid,jdbcType=VARCHAR}, #{roomId,jdbcType=VARCHAR},
|
|
|
#{autoRemoveUserSwitch,jdbcType=INTEGER}, #{createUser,jdbcType=BIGINT}, #{updateUser,jdbcType=BIGINT},
|
|
|
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{showTip,jdbcType=INTEGER},
|
|
|
- #{tipInfo,jdbcType=LONGVARCHAR})
|
|
|
+ #{tipInfo,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.tzld.piaoquan.risk.control.model.po.WorkWechatRoomInfo">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
insert into work_wechat_room_info
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
@@ -272,7 +231,7 @@
|
|
|
#{showTip,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="tipInfo != null">
|
|
|
- #{tipInfo,jdbcType=LONGVARCHAR},
|
|
|
+ #{tipInfo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
@@ -280,7 +239,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
select count(*) from work_wechat_room_info
|
|
|
<if test="_parameter != null">
|
|
@@ -291,7 +250,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
update work_wechat_room_info
|
|
|
<set>
|
|
@@ -323,39 +282,18 @@
|
|
|
show_tip = #{record.showTip,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="record.tipInfo != null">
|
|
|
- tip_info = #{record.tipInfo,jdbcType=LONGVARCHAR},
|
|
|
+ tip_info = #{record.tipInfo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
</update>
|
|
|
- <update id="updateByExampleWithBLOBs" parameterType="map">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
- -->
|
|
|
- update work_wechat_room_info
|
|
|
- set id = #{record.id,jdbcType=BIGINT},
|
|
|
- uuid = #{record.uuid,jdbcType=VARCHAR},
|
|
|
- room_id = #{record.roomId,jdbcType=VARCHAR},
|
|
|
- auto_remove_user_switch = #{record.autoRemoveUserSwitch,jdbcType=INTEGER},
|
|
|
- create_user = #{record.createUser,jdbcType=BIGINT},
|
|
|
- update_user = #{record.updateUser,jdbcType=BIGINT},
|
|
|
- create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
- update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
- show_tip = #{record.showTip,jdbcType=INTEGER},
|
|
|
- tip_info = #{record.tipInfo,jdbcType=LONGVARCHAR}
|
|
|
- <if test="_parameter != null">
|
|
|
- <include refid="Update_By_Example_Where_Clause" />
|
|
|
- </if>
|
|
|
- </update>
|
|
|
<update id="updateByExample" parameterType="map">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
update work_wechat_room_info
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
@@ -366,7 +304,8 @@
|
|
|
update_user = #{record.updateUser,jdbcType=BIGINT},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
- show_tip = #{record.showTip,jdbcType=INTEGER}
|
|
|
+ show_tip = #{record.showTip,jdbcType=INTEGER},
|
|
|
+ tip_info = #{record.tipInfo,jdbcType=VARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -375,7 +314,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
update work_wechat_room_info
|
|
|
<set>
|
|
@@ -404,34 +343,16 @@
|
|
|
show_tip = #{showTip,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="tipInfo != null">
|
|
|
- tip_info = #{tipInfo,jdbcType=LONGVARCHAR},
|
|
|
+ tip_info = #{tipInfo,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
- <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.tzld.piaoquan.risk.control.model.po.WorkWechatRoomInfo">
|
|
|
- <!--
|
|
|
- WARNING - @mbg.generated
|
|
|
- This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
- -->
|
|
|
- update work_wechat_room_info
|
|
|
- set uuid = #{uuid,jdbcType=VARCHAR},
|
|
|
- room_id = #{roomId,jdbcType=VARCHAR},
|
|
|
- auto_remove_user_switch = #{autoRemoveUserSwitch,jdbcType=INTEGER},
|
|
|
- create_user = #{createUser,jdbcType=BIGINT},
|
|
|
- update_user = #{updateUser,jdbcType=BIGINT},
|
|
|
- create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
- update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- show_tip = #{showTip,jdbcType=INTEGER},
|
|
|
- tip_info = #{tipInfo,jdbcType=LONGVARCHAR}
|
|
|
- where id = #{id,jdbcType=BIGINT}
|
|
|
- </update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.risk.control.model.po.WorkWechatRoomInfo">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Wed May 28 17:13:07 CST 2025.
|
|
|
+ This element was generated on Wed May 28 17:51:39 CST 2025.
|
|
|
-->
|
|
|
update work_wechat_room_info
|
|
|
set uuid = #{uuid,jdbcType=VARCHAR},
|
|
@@ -441,7 +362,8 @@
|
|
|
update_user = #{updateUser,jdbcType=BIGINT},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- show_tip = #{showTip,jdbcType=INTEGER}
|
|
|
+ show_tip = #{showTip,jdbcType=INTEGER},
|
|
|
+ tip_info = #{tipInfo,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
</mapper>
|