|
@@ -274,7 +274,7 @@
|
|
|
where id = #{id}
|
|
|
</select>
|
|
|
|
|
|
- <select id="selectKuaishouPromoterById3" parameterType="Long" resultMap="KuaishouPromoterResult">
|
|
|
+ <select id="selectKuaishouPromoterById3" parameterType="Long" resultType="com.ruixuan.isc.entity.JYKuaishouPromoter">
|
|
|
select id,
|
|
|
media_id,
|
|
|
user_id,
|
|
@@ -306,7 +306,7 @@
|
|
|
</select>
|
|
|
|
|
|
|
|
|
- <select id="getFailInfo3" resultMap="KuaishouPromoterResult">
|
|
|
+ <select id="getFailInfo3" resultType="com.ruixuan.isc.entity.JYKuaishouPromoter">
|
|
|
select id,
|
|
|
media_id,
|
|
|
user_id,
|
|
@@ -382,7 +382,7 @@
|
|
|
limit 1
|
|
|
</select>
|
|
|
|
|
|
- <select id="getOneByIdAndPromoterId3" resultMap="KuaishouPromoterResult">
|
|
|
+ <select id="getOneByIdAndPromoterId3" resultType="com.ruixuan.isc.entity.JYKuaishouPromoter">
|
|
|
select
|
|
|
id,
|
|
|
media_id,
|
|
@@ -492,7 +492,7 @@
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
- <insert id="insertKuaishouPromoter3" parameterType="com.ruixuan.isc.entity.KuaishouPromoter" useGeneratedKeys="true"
|
|
|
+ <insert id="insertKuaishouPromoter3" parameterType="com.ruixuan.isc.entity.JYKuaishouPromoter" useGeneratedKeys="true"
|
|
|
keyProperty="id">
|
|
|
insert into jy_kuaishou_promoter
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
@@ -637,7 +637,7 @@
|
|
|
where promoter_id = #{promoterId}
|
|
|
</update>
|
|
|
|
|
|
- <update id="updateKuaishouPromoterByPromoterId3" parameterType="com.ruixuan.isc.entity.KuaishouPromoter">
|
|
|
+ <update id="updateKuaishouPromoterByPromoterId3" parameterType="com.ruixuan.isc.entity.JYKuaishouPromoter">
|
|
|
update jy_kuaishou_promoter
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="userId != null">user_id = #{userId},</if>
|