|
@@ -1,7 +1,7 @@
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?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">
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
-<mapper namespace="com.tzld.piaoquan.api.dao.mapper.NewPushMessageCallbackMapper">
|
|
|
|
- <resultMap id="BaseResultMap" type="com.tzld.piaoquan.api.model.po.PushMessageCallback">
|
|
|
|
|
|
+<mapper namespace="com.tzld.piaoquan.growth.common.dao.mapper.PushMessageCallbackMapper">
|
|
|
|
+ <resultMap id="BaseResultMap" type="com.tzld.piaoquan.growth.common.model.po.PushMessageCallback">
|
|
<id column="id" jdbcType="BIGINT" property="id"/>
|
|
<id column="id" jdbcType="BIGINT" property="id"/>
|
|
<result column="gh_id" jdbcType="VARCHAR" property="ghId"/>
|
|
<result column="gh_id" jdbcType="VARCHAR" property="ghId"/>
|
|
<result column="open_id" jdbcType="VARCHAR" property="openId"/>
|
|
<result column="open_id" jdbcType="VARCHAR" property="openId"/>
|
|
@@ -75,7 +75,7 @@
|
|
, gh_id, open_id, timestamp, msg_type, video_id, create_time
|
|
, gh_id, open_id, timestamp, msg_type, video_id, create_time
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample"
|
|
<select id="selectByExample"
|
|
- parameterType="com.tzld.piaoquan.api.model.po.PushMessageCallbackExample"
|
|
|
|
|
|
+ parameterType="com.tzld.piaoquan.growth.common.model.po.PushMessageCallbackExample"
|
|
resultMap="BaseResultMap">
|
|
resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
<if test="distinct">
|
|
<if test="distinct">
|
|
@@ -102,13 +102,13 @@
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
</delete>
|
|
</delete>
|
|
<delete id="deleteByExample"
|
|
<delete id="deleteByExample"
|
|
- parameterType="com.tzld.piaoquan.api.model.po.PushMessageCallbackExample">
|
|
|
|
|
|
+ parameterType="com.tzld.piaoquan.growth.common.model.po.PushMessageCallbackExample">
|
|
delete from push_message_callback
|
|
delete from push_message_callback
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
<include refid="Example_Where_Clause"/>
|
|
<include refid="Example_Where_Clause"/>
|
|
</if>
|
|
</if>
|
|
</delete>
|
|
</delete>
|
|
- <insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.PushMessageCallback">
|
|
|
|
|
|
+ <insert id="insert" parameterType="com.tzld.piaoquan.growth.common.model.po.PushMessageCallback">
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
SELECT LAST_INSERT_ID()
|
|
SELECT LAST_INSERT_ID()
|
|
</selectKey>
|
|
</selectKey>
|
|
@@ -120,7 +120,7 @@
|
|
)
|
|
)
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective"
|
|
<insert id="insertSelective"
|
|
- parameterType="com.tzld.piaoquan.api.model.po.PushMessageCallback">
|
|
|
|
|
|
+ parameterType="com.tzld.piaoquan.growth.common.model.po.PushMessageCallback">
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
SELECT LAST_INSERT_ID()
|
|
SELECT LAST_INSERT_ID()
|
|
</selectKey>
|
|
</selectKey>
|
|
@@ -167,7 +167,7 @@
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
<select id="countByExample"
|
|
<select id="countByExample"
|
|
- parameterType="com.tzld.piaoquan.api.model.po.PushMessageCallbackExample"
|
|
|
|
|
|
+ parameterType="com.tzld.piaoquan.growth.common.model.po.PushMessageCallbackExample"
|
|
resultType="java.lang.Long">
|
|
resultType="java.lang.Long">
|
|
select count(*) from push_message_callback
|
|
select count(*) from push_message_callback
|
|
<if test="_parameter != null">
|
|
<if test="_parameter != null">
|
|
@@ -217,7 +217,7 @@
|
|
</if>
|
|
</if>
|
|
</update>
|
|
</update>
|
|
<update id="updateByPrimaryKeySelective"
|
|
<update id="updateByPrimaryKeySelective"
|
|
- parameterType="com.tzld.piaoquan.api.model.po.PushMessageCallback">
|
|
|
|
|
|
+ parameterType="com.tzld.piaoquan.growth.common.model.po.PushMessageCallback">
|
|
update push_message_callback
|
|
update push_message_callback
|
|
<set>
|
|
<set>
|
|
<if test="ghId != null">
|
|
<if test="ghId != null">
|
|
@@ -242,7 +242,7 @@
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
</update>
|
|
</update>
|
|
<update id="updateByPrimaryKey"
|
|
<update id="updateByPrimaryKey"
|
|
- parameterType="com.tzld.piaoquan.api.model.po.PushMessageCallback">
|
|
|
|
|
|
+ parameterType="com.tzld.piaoquan.growth.common.model.po.PushMessageCallback">
|
|
update push_message_callback
|
|
update push_message_callback
|
|
set gh_id = #{ghId,jdbcType=VARCHAR},
|
|
set gh_id = #{ghId,jdbcType=VARCHAR},
|
|
open_id = #{openId,jdbcType=VARCHAR},
|
|
open_id = #{openId,jdbcType=VARCHAR},
|