|
@@ -25,7 +25,7 @@
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<insert id="insertOperationRecordInfoAccount">
|
|
<insert id="insertOperationRecordInfoAccount">
|
|
- insert into
|
|
|
|
|
|
+ replace into
|
|
ctop_kuaishou_operation_record_account
|
|
ctop_kuaishou_operation_record_account
|
|
(
|
|
(
|
|
account_id,
|
|
account_id,
|
|
@@ -36,9 +36,7 @@
|
|
object_name,
|
|
object_name,
|
|
operation_target,
|
|
operation_target,
|
|
object_id,
|
|
object_id,
|
|
- field_name,
|
|
|
|
- original_data,
|
|
|
|
- update_data
|
|
|
|
|
|
+ log
|
|
)
|
|
)
|
|
values
|
|
values
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
@@ -51,9 +49,7 @@
|
|
#{record.objectName},
|
|
#{record.objectName},
|
|
#{record.operationTarget},
|
|
#{record.operationTarget},
|
|
#{record.objectId},
|
|
#{record.objectId},
|
|
- #{record.fieldName},
|
|
|
|
- #{record.originalData},
|
|
|
|
- #{record.updateData}
|
|
|
|
|
|
+ #{record.log}
|
|
)
|
|
)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
|
|
@@ -86,7 +82,7 @@
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<insert id="insertOperationRecordInfoCampaign">
|
|
<insert id="insertOperationRecordInfoCampaign">
|
|
- insert into
|
|
|
|
|
|
+ replace into
|
|
ctop_kuaishou_operation_record_campaign
|
|
ctop_kuaishou_operation_record_campaign
|
|
(
|
|
(
|
|
account_id,
|
|
account_id,
|
|
@@ -97,9 +93,7 @@
|
|
object_name,
|
|
object_name,
|
|
operation_target,
|
|
operation_target,
|
|
object_id,
|
|
object_id,
|
|
- field_name,
|
|
|
|
- original_data,
|
|
|
|
- update_data
|
|
|
|
|
|
+ log
|
|
)
|
|
)
|
|
values
|
|
values
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
@@ -112,9 +106,7 @@
|
|
#{record.objectName},
|
|
#{record.objectName},
|
|
#{record.operationTarget},
|
|
#{record.operationTarget},
|
|
#{record.objectId},
|
|
#{record.objectId},
|
|
- #{record.fieldName},
|
|
|
|
- #{record.originalData},
|
|
|
|
- #{record.updateData}
|
|
|
|
|
|
+ #{record.log}
|
|
)
|
|
)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
|
|
@@ -144,7 +136,7 @@
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<insert id="insertOperationRecordInfoUnit">
|
|
<insert id="insertOperationRecordInfoUnit">
|
|
- insert into
|
|
|
|
|
|
+ replace into
|
|
ctop_kuaishou_operation_record_unit
|
|
ctop_kuaishou_operation_record_unit
|
|
(
|
|
(
|
|
account_id,
|
|
account_id,
|
|
@@ -155,9 +147,7 @@
|
|
object_name,
|
|
object_name,
|
|
operation_target,
|
|
operation_target,
|
|
object_id,
|
|
object_id,
|
|
- field_name,
|
|
|
|
- original_data,
|
|
|
|
- update_data
|
|
|
|
|
|
+ log
|
|
)
|
|
)
|
|
values
|
|
values
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
@@ -170,9 +160,7 @@
|
|
#{record.objectName},
|
|
#{record.objectName},
|
|
#{record.operationTarget},
|
|
#{record.operationTarget},
|
|
#{record.objectId},
|
|
#{record.objectId},
|
|
- #{record.fieldName},
|
|
|
|
- #{record.originalData},
|
|
|
|
- #{record.updateData}
|
|
|
|
|
|
+ #{record.log}
|
|
)
|
|
)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
|
|
@@ -204,7 +192,7 @@
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<insert id="insertOperationRecordInfoCreative">
|
|
<insert id="insertOperationRecordInfoCreative">
|
|
- insert into
|
|
|
|
|
|
+ replace into
|
|
ctop_kuaishou_operation_record_creative
|
|
ctop_kuaishou_operation_record_creative
|
|
(
|
|
(
|
|
account_id,
|
|
account_id,
|
|
@@ -215,9 +203,7 @@
|
|
object_name,
|
|
object_name,
|
|
operation_target,
|
|
operation_target,
|
|
object_id,
|
|
object_id,
|
|
- field_name,
|
|
|
|
- original_data,
|
|
|
|
- update_data
|
|
|
|
|
|
+ log
|
|
)
|
|
)
|
|
values
|
|
values
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
@@ -230,9 +216,7 @@
|
|
#{record.objectName},
|
|
#{record.objectName},
|
|
#{record.operationTarget},
|
|
#{record.operationTarget},
|
|
#{record.objectId},
|
|
#{record.objectId},
|
|
- #{record.fieldName},
|
|
|
|
- #{record.originalData},
|
|
|
|
- #{record.updateData}
|
|
|
|
|
|
+ #{record.log}
|
|
)
|
|
)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
|
|
@@ -263,7 +247,7 @@
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<insert id="insertOperationRecordInfoVideo">
|
|
<insert id="insertOperationRecordInfoVideo">
|
|
- insert into
|
|
|
|
|
|
+ replace into
|
|
ctop_kuaishou_operation_record_video
|
|
ctop_kuaishou_operation_record_video
|
|
(
|
|
(
|
|
account_id,
|
|
account_id,
|
|
@@ -274,9 +258,7 @@
|
|
object_name,
|
|
object_name,
|
|
operation_target,
|
|
operation_target,
|
|
object_id,
|
|
object_id,
|
|
- field_name,
|
|
|
|
- original_data,
|
|
|
|
- update_data
|
|
|
|
|
|
+ log
|
|
)
|
|
)
|
|
values
|
|
values
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
@@ -289,9 +271,7 @@
|
|
#{record.objectName},
|
|
#{record.objectName},
|
|
#{record.operationTarget},
|
|
#{record.operationTarget},
|
|
#{record.objectId},
|
|
#{record.objectId},
|
|
- #{record.fieldName},
|
|
|
|
- #{record.originalData},
|
|
|
|
- #{record.updateData}
|
|
|
|
|
|
+ #{record.log}
|
|
)
|
|
)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
|
|
@@ -323,7 +303,7 @@
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<insert id="insertOperationRecordInfoApp">
|
|
<insert id="insertOperationRecordInfoApp">
|
|
- insert into
|
|
|
|
|
|
+ replace into
|
|
ctop_kuaishou_operation_record_app
|
|
ctop_kuaishou_operation_record_app
|
|
(
|
|
(
|
|
account_id,
|
|
account_id,
|
|
@@ -334,9 +314,7 @@
|
|
object_name,
|
|
object_name,
|
|
operation_target,
|
|
operation_target,
|
|
object_id,
|
|
object_id,
|
|
- field_name,
|
|
|
|
- original_data,
|
|
|
|
- update_data
|
|
|
|
|
|
+ log
|
|
)
|
|
)
|
|
values
|
|
values
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
@@ -349,9 +327,7 @@
|
|
#{record.objectName},
|
|
#{record.objectName},
|
|
#{record.operationTarget},
|
|
#{record.operationTarget},
|
|
#{record.objectId},
|
|
#{record.objectId},
|
|
- #{record.fieldName},
|
|
|
|
- #{record.originalData},
|
|
|
|
- #{record.updateData}
|
|
|
|
|
|
+ #{record.log}
|
|
)
|
|
)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
|
|
@@ -382,7 +358,7 @@
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<insert id="insertOperationRecordInfoPackage">
|
|
<insert id="insertOperationRecordInfoPackage">
|
|
- insert into
|
|
|
|
|
|
+ replace into
|
|
ctop_kuaishou_operation_record_package
|
|
ctop_kuaishou_operation_record_package
|
|
(
|
|
(
|
|
account_id,
|
|
account_id,
|
|
@@ -393,9 +369,7 @@
|
|
object_name,
|
|
object_name,
|
|
operation_target,
|
|
operation_target,
|
|
object_id,
|
|
object_id,
|
|
- field_name,
|
|
|
|
- original_data,
|
|
|
|
- update_data
|
|
|
|
|
|
+ log
|
|
)
|
|
)
|
|
values
|
|
values
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
<foreach item="record" index="index" collection="records" separator="," >
|
|
@@ -408,9 +382,7 @@
|
|
#{record.objectName},
|
|
#{record.objectName},
|
|
#{record.operationTarget},
|
|
#{record.operationTarget},
|
|
#{record.objectId},
|
|
#{record.objectId},
|
|
- #{record.fieldName},
|
|
|
|
- #{record.originalData},
|
|
|
|
- #{record.updateData}
|
|
|
|
|
|
+ #{record.log}
|
|
)
|
|
)
|
|
</foreach>
|
|
</foreach>
|
|
|
|
|