From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/java/com/yeshi/fanli/mapping/push/PushQueueRecordMapper.xml | 126 +++++++++++++++++++++--------------------- 1 files changed, 63 insertions(+), 63 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/push/PushQueueRecordMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/push/PushQueueRecordMapper.xml index 2bc5e2a..fd5712c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/mapping/push/PushQueueRecordMapper.xml +++ b/fanli/src/main/java/com/yeshi/fanli/mapping/push/PushQueueRecordMapper.xml @@ -1,63 +1,63 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> - -<mapper namespace="com.yeshi.fanli.dao.mybatis.push.PushQueueRecordMapper"> - <resultMap id="BaseResultMap" type="com.yeshi.fanli.entity.push.PushQueueRecord"> - <id column="qe_id" property="id" jdbcType="BIGINT"/> - <result column="qe_type" property="type" jdbcType="INTEGER"/> - <result column="qe_content" property="jsonContent" jdbcType="VARCHAR"/> - <result column="qe_start_cursor" property="startCursor" jdbcType="BIGINT"/> - <result column="qe_end_cursor" property="endCursor" jdbcType="BIGINT"/> - <result column="qe_record_cursor" property="recordCursor" jdbcType="BIGINT"/> - <result column="qe_push_num" property="pushNum" jdbcType="INTEGER"/> - <result column="qe_state" property="state" jdbcType="INTEGER"/> - <result column="qe_createtime" property="createtime" jdbcType="TIMESTAMP"/> - <result column="qe_endtime" property="endtime" jdbcType="TIMESTAMP"/> - </resultMap> - <sql id="Base_Column_List">qe_id,qe_type,qe_content,qe_start_cursor,qe_end_cursor,qe_record_cursor,qe_push_num,qe_state,qe_createtime,qe_endtime</sql> - <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long">select - <include refid="Base_Column_List"/>from yeshi_ec_push_queue where qe_id = #{id,jdbcType=BIGINT} - </select> - <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">delete from yeshi_ec_push_queue where qe_id = #{id,jdbcType=BIGINT}</delete> - <insert id="insert" parameterType="com.yeshi.fanli.entity.push.PushQueueRecord" useGeneratedKeys="true" keyProperty="id">insert into yeshi_ec_push_queue (qe_id,qe_type,qe_content,qe_start_cursor,qe_end_cursor,qe_record_cursor,qe_push_num,qe_state,qe_createtime,qe_endtime) values (#{id,jdbcType=BIGINT},#{type,jdbcType=INTEGER},#{jsonContent,jdbcType=VARCHAR},#{startCursor,jdbcType=BIGINT},#{endCursor,jdbcType=BIGINT},#{recordCursor,jdbcType=BIGINT},#{pushNum,jdbcType=INTEGER},#{state,jdbcType=INTEGER},#{createtime,jdbcType=TIMESTAMP},#{endtime,jdbcType=TIMESTAMP})</insert> - <insert id="insertSelective" parameterType="com.yeshi.fanli.entity.push.PushQueueRecord" useGeneratedKeys="true" keyProperty="id">insert into yeshi_ec_push_queue - <trim prefix="(" suffix=")" suffixOverrides=","> - <if test="id != null">qe_id,</if> - <if test="type != null">qe_type,</if> - <if test="jsonContent != null">qe_content,</if> - <if test="startCursor != null">qe_start_cursor,</if> - <if test="endCursor != null">qe_end_cursor,</if> - <if test="recordCursor != null">qe_record_cursor,</if> - <if test="pushNum != null">qe_push_num,</if> - <if test="state != null">qe_state,</if> - <if test="createtime != null">qe_createtime,</if> - <if test="endtime != null">qe_endtime,</if> - </trim>values - <trim prefix="(" suffix=")" suffixOverrides=","> - <if test="id != null">#{id,jdbcType=BIGINT},</if> - <if test="type != null">#{type,jdbcType=INTEGER},</if> - <if test="jsonContent != null">#{jsonContent,jdbcType=VARCHAR},</if> - <if test="startCursor != null">#{startCursor,jdbcType=BIGINT},</if> - <if test="endCursor != null">#{endCursor,jdbcType=BIGINT},</if> - <if test="recordCursor != null">#{recordCursor,jdbcType=BIGINT},</if> - <if test="pushNum != null">#{pushNum,jdbcType=INTEGER},</if> - <if test="state != null">#{state,jdbcType=INTEGER},</if> - <if test="createtime != null">#{createtime,jdbcType=TIMESTAMP},</if> - <if test="endtime != null">#{endtime,jdbcType=TIMESTAMP},</if> - </trim> - </insert> - <update id="updateByPrimaryKey" parameterType="com.yeshi.fanli.entity.push.PushQueueRecord">update yeshi_ec_push_queue set qe_type = #{type,jdbcType=INTEGER},qe_content = #{jsonContent,jdbcType=VARCHAR},qe_start_cursor = #{startCursor,jdbcType=BIGINT},qe_end_cursor = #{endCursor,jdbcType=BIGINT},qe_record_cursor = #{recordCursor,jdbcType=BIGINT},qe_push_num = #{pushNum,jdbcType=INTEGER},qe_state = #{state,jdbcType=INTEGER},qe_createtime = #{createtime,jdbcType=TIMESTAMP},qe_endtime = #{endtime,jdbcType=TIMESTAMP} where qe_id = #{id,jdbcType=BIGINT}</update> - <update id="updateByPrimaryKeySelective" parameterType="com.yeshi.fanli.entity.push.PushQueueRecord">update yeshi_ec_push_queue - <set> - <if test="type != null">qe_type=#{type,jdbcType=INTEGER},</if> - <if test="jsonContent != null">qe_content=#{jsonContent,jdbcType=VARCHAR},</if> - <if test="startCursor != null">qe_start_cursor=#{startCursor,jdbcType=BIGINT},</if> - <if test="endCursor != null">qe_end_cursor=#{endCursor,jdbcType=BIGINT},</if> - <if test="recordCursor != null">qe_record_cursor=#{recordCursor,jdbcType=BIGINT},</if> - <if test="pushNum != null">qe_push_num=#{pushNum,jdbcType=INTEGER},</if> - <if test="state != null">qe_state=#{state,jdbcType=INTEGER},</if> - <if test="createtime != null">qe_createtime=#{createtime,jdbcType=TIMESTAMP},</if> - <if test="endtime != null">qe_endtime=#{endtime,jdbcType=TIMESTAMP},</if> - </set> where qe_id = #{id,jdbcType=BIGINT} - </update> -</mapper> +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> + +<mapper namespace="com.yeshi.fanli.dao.mybatis.push.PushQueueRecordMapper"> + <resultMap id="BaseResultMap" type="com.yeshi.fanli.entity.push.PushQueueRecord"> + <id column="qe_id" property="id" jdbcType="BIGINT"/> + <result column="qe_type" property="type" jdbcType="INTEGER"/> + <result column="qe_content" property="jsonContent" jdbcType="VARCHAR"/> + <result column="qe_start_cursor" property="startCursor" jdbcType="BIGINT"/> + <result column="qe_end_cursor" property="endCursor" jdbcType="BIGINT"/> + <result column="qe_record_cursor" property="recordCursor" jdbcType="BIGINT"/> + <result column="qe_push_num" property="pushNum" jdbcType="INTEGER"/> + <result column="qe_state" property="state" jdbcType="INTEGER"/> + <result column="qe_createtime" property="createtime" jdbcType="TIMESTAMP"/> + <result column="qe_endtime" property="endtime" jdbcType="TIMESTAMP"/> + </resultMap> + <sql id="Base_Column_List">qe_id,qe_type,qe_content,qe_start_cursor,qe_end_cursor,qe_record_cursor,qe_push_num,qe_state,qe_createtime,qe_endtime</sql> + <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long">select + <include refid="Base_Column_List"/>from yeshi_ec_push_queue where qe_id = #{id,jdbcType=BIGINT} + </select> + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">delete from yeshi_ec_push_queue where qe_id = #{id,jdbcType=BIGINT}</delete> + <insert id="insert" parameterType="com.yeshi.fanli.entity.push.PushQueueRecord" useGeneratedKeys="true" keyProperty="id">insert into yeshi_ec_push_queue (qe_id,qe_type,qe_content,qe_start_cursor,qe_end_cursor,qe_record_cursor,qe_push_num,qe_state,qe_createtime,qe_endtime) values (#{id,jdbcType=BIGINT},#{type,jdbcType=INTEGER},#{jsonContent,jdbcType=VARCHAR},#{startCursor,jdbcType=BIGINT},#{endCursor,jdbcType=BIGINT},#{recordCursor,jdbcType=BIGINT},#{pushNum,jdbcType=INTEGER},#{state,jdbcType=INTEGER},#{createtime,jdbcType=TIMESTAMP},#{endtime,jdbcType=TIMESTAMP})</insert> + <insert id="insertSelective" parameterType="com.yeshi.fanli.entity.push.PushQueueRecord" useGeneratedKeys="true" keyProperty="id">insert into yeshi_ec_push_queue + <trim prefix="(" suffix=")" suffixOverrides=","> + <if test="id != null">qe_id,</if> + <if test="type != null">qe_type,</if> + <if test="jsonContent != null">qe_content,</if> + <if test="startCursor != null">qe_start_cursor,</if> + <if test="endCursor != null">qe_end_cursor,</if> + <if test="recordCursor != null">qe_record_cursor,</if> + <if test="pushNum != null">qe_push_num,</if> + <if test="state != null">qe_state,</if> + <if test="createtime != null">qe_createtime,</if> + <if test="endtime != null">qe_endtime,</if> + </trim>values + <trim prefix="(" suffix=")" suffixOverrides=","> + <if test="id != null">#{id,jdbcType=BIGINT},</if> + <if test="type != null">#{type,jdbcType=INTEGER},</if> + <if test="jsonContent != null">#{jsonContent,jdbcType=VARCHAR},</if> + <if test="startCursor != null">#{startCursor,jdbcType=BIGINT},</if> + <if test="endCursor != null">#{endCursor,jdbcType=BIGINT},</if> + <if test="recordCursor != null">#{recordCursor,jdbcType=BIGINT},</if> + <if test="pushNum != null">#{pushNum,jdbcType=INTEGER},</if> + <if test="state != null">#{state,jdbcType=INTEGER},</if> + <if test="createtime != null">#{createtime,jdbcType=TIMESTAMP},</if> + <if test="endtime != null">#{endtime,jdbcType=TIMESTAMP},</if> + </trim> + </insert> + <update id="updateByPrimaryKey" parameterType="com.yeshi.fanli.entity.push.PushQueueRecord">update yeshi_ec_push_queue set qe_type = #{type,jdbcType=INTEGER},qe_content = #{jsonContent,jdbcType=VARCHAR},qe_start_cursor = #{startCursor,jdbcType=BIGINT},qe_end_cursor = #{endCursor,jdbcType=BIGINT},qe_record_cursor = #{recordCursor,jdbcType=BIGINT},qe_push_num = #{pushNum,jdbcType=INTEGER},qe_state = #{state,jdbcType=INTEGER},qe_createtime = #{createtime,jdbcType=TIMESTAMP},qe_endtime = #{endtime,jdbcType=TIMESTAMP} where qe_id = #{id,jdbcType=BIGINT}</update> + <update id="updateByPrimaryKeySelective" parameterType="com.yeshi.fanli.entity.push.PushQueueRecord">update yeshi_ec_push_queue + <set> + <if test="type != null">qe_type=#{type,jdbcType=INTEGER},</if> + <if test="jsonContent != null">qe_content=#{jsonContent,jdbcType=VARCHAR},</if> + <if test="startCursor != null">qe_start_cursor=#{startCursor,jdbcType=BIGINT},</if> + <if test="endCursor != null">qe_end_cursor=#{endCursor,jdbcType=BIGINT},</if> + <if test="recordCursor != null">qe_record_cursor=#{recordCursor,jdbcType=BIGINT},</if> + <if test="pushNum != null">qe_push_num=#{pushNum,jdbcType=INTEGER},</if> + <if test="state != null">qe_state=#{state,jdbcType=INTEGER},</if> + <if test="createtime != null">qe_createtime=#{createtime,jdbcType=TIMESTAMP},</if> + <if test="endtime != null">qe_endtime=#{endtime,jdbcType=TIMESTAMP},</if> + </set> where qe_id = #{id,jdbcType=BIGINT} + </update> +</mapper> -- Gitblit v1.8.0