|
@@ -131,7 +131,7 @@
|
|
|
|
|
|
<select id="getQwPlanList"
|
|
<select id="getQwPlanList"
|
|
resultType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlan">
|
|
resultType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformQwPlan">
|
|
- select count(*)
|
|
|
|
|
|
+ select *
|
|
from content_platform_qw_plan
|
|
from content_platform_qw_plan
|
|
where create_account_id = #{createAccountId}
|
|
where create_account_id = #{createAccountId}
|
|
and type = #{param.type}
|
|
and type = #{param.type}
|
|
@@ -160,7 +160,7 @@
|
|
|
|
|
|
<insert id="insertQwPlanReturnId" useGeneratedKeys="true" keyProperty="id">
|
|
<insert id="insertQwPlanReturnId" useGeneratedKeys="true" keyProperty="id">
|
|
insert into content_platform_qw_plan (`type`, scene, page_url, root_source_id, create_account_id,
|
|
insert into content_platform_qw_plan (`type`, scene, page_url, root_source_id, create_account_id,
|
|
- create_timestamp, update_timestam)
|
|
|
|
|
|
+ create_timestamp, update_timestamp)
|
|
values ( #{record.type}, #{record.scene}, #{record.pageUrl}, #{record.rootSourceId},
|
|
values ( #{record.type}, #{record.scene}, #{record.pageUrl}, #{record.rootSourceId},
|
|
#{record.createAccountId}, #{record.createTimestamp}, #{record.updateTimestamp})
|
|
#{record.createAccountId}, #{record.createTimestamp}, #{record.updateTimestamp})
|
|
</insert>
|
|
</insert>
|