|
@@ -5,7 +5,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
<result column="uuid" jdbcType="VARCHAR" property="uuid" />
|
|
@@ -15,12 +15,21 @@
|
|
|
<result column="update_user" jdbcType="BIGINT" property="updateUser" />
|
|
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
+ <result column="showTip" 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 Tue May 27 19:40:21 CST 2025.
|
|
|
+ -->
|
|
|
+ <result column="tipInfo" jdbcType="LONGVARCHAR" 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 Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
@@ -54,7 +63,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
@@ -88,16 +97,48 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
id, uuid, room_id, auto_remove_user_switch, create_user, update_user, create_time,
|
|
|
- update_time
|
|
|
+ update_time, showTip
|
|
|
</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 Tue May 27 19:40:21 CST 2025.
|
|
|
+ -->
|
|
|
+ tipInfo
|
|
|
+ </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 Tue May 27 19:40:21 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 Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
select
|
|
|
<if test="distinct">
|
|
@@ -115,14 +156,16 @@
|
|
|
limit #{page.offset} , #{page.pageSize}
|
|
|
</if>
|
|
|
</select>
|
|
|
- <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
+ ,
|
|
|
+ <include refid="Blob_Column_List" />
|
|
|
from work_wechat_room_info
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</select>
|
|
@@ -130,7 +173,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
delete from work_wechat_room_info
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
@@ -139,7 +182,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
delete from work_wechat_room_info
|
|
|
<if test="_parameter != null">
|
|
@@ -150,20 +193,22 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
insert into work_wechat_room_info (id, uuid, room_id,
|
|
|
auto_remove_user_switch, create_user, update_user,
|
|
|
- create_time, update_time)
|
|
|
+ create_time, update_time, showTip,
|
|
|
+ tipInfo)
|
|
|
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})
|
|
|
+ #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{showtip,jdbcType=INTEGER},
|
|
|
+ #{tipinfo,jdbcType=LONGVARCHAR})
|
|
|
</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 Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
insert into work_wechat_room_info
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
@@ -191,6 +236,12 @@
|
|
|
<if test="updateTime != null">
|
|
|
update_time,
|
|
|
</if>
|
|
|
+ <if test="showtip != null">
|
|
|
+ showTip,
|
|
|
+ </if>
|
|
|
+ <if test="tipinfo != null">
|
|
|
+ tipInfo,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
@@ -217,13 +268,19 @@
|
|
|
<if test="updateTime != null">
|
|
|
#{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="showtip != null">
|
|
|
+ #{showtip,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="tipinfo != null">
|
|
|
+ #{tipinfo,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.tzld.piaoquan.risk.control.model.po.WorkWechatRoomInfoExample" resultType="java.lang.Long">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
select count(*) from work_wechat_room_info
|
|
|
<if test="_parameter != null">
|
|
@@ -234,7 +291,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
update work_wechat_room_info
|
|
|
<set>
|
|
@@ -262,16 +319,43 @@
|
|
|
<if test="record.updateTime != null">
|
|
|
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="record.showtip != null">
|
|
|
+ showTip = #{record.showtip,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.tipinfo != null">
|
|
|
+ tipInfo = #{record.tipinfo,jdbcType=LONGVARCHAR},
|
|
|
+ </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 Tue May 27 19:40:21 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},
|
|
|
+ showTip = #{record.showtip,jdbcType=INTEGER},
|
|
|
+ tipInfo = #{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 Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
update work_wechat_room_info
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
@@ -281,7 +365,8 @@
|
|
|
create_user = #{record.createUser,jdbcType=BIGINT},
|
|
|
update_user = #{record.updateUser,jdbcType=BIGINT},
|
|
|
create_time = #{record.createTime,jdbcType=TIMESTAMP},
|
|
|
- update_time = #{record.updateTime,jdbcType=TIMESTAMP}
|
|
|
+ update_time = #{record.updateTime,jdbcType=TIMESTAMP},
|
|
|
+ showTip = #{record.showtip,jdbcType=INTEGER}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -290,7 +375,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
update work_wechat_room_info
|
|
|
<set>
|
|
@@ -315,14 +400,38 @@
|
|
|
<if test="updateTime != null">
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="showtip != null">
|
|
|
+ showTip = #{showtip,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="tipinfo != null">
|
|
|
+ tipInfo = #{tipinfo,jdbcType=LONGVARCHAR},
|
|
|
+ </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 Tue May 27 19:40:21 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},
|
|
|
+ showTip = #{showtip,jdbcType=INTEGER},
|
|
|
+ tipInfo = #{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 Fri May 23 14:34:49 CST 2025.
|
|
|
+ This element was generated on Tue May 27 19:40:21 CST 2025.
|
|
|
-->
|
|
|
update work_wechat_room_info
|
|
|
set uuid = #{uuid,jdbcType=VARCHAR},
|
|
@@ -331,7 +440,8 @@
|
|
|
create_user = #{createUser,jdbcType=BIGINT},
|
|
|
update_user = #{updateUser,jdbcType=BIGINT},
|
|
|
create_time = #{createTime,jdbcType=TIMESTAMP},
|
|
|
- update_time = #{updateTime,jdbcType=TIMESTAMP}
|
|
|
+ update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ showTip = #{showtip,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
</mapper>
|