Selaa lähdekoodia

adq-账户报表

yumeng 1 vuosi sitten
vanhempi
commit
a0081678d8

+ 3 - 1
job-adq/src/main/java/cn/com/ctop/job/adq/data/mapper/xml/AdqAdminAdvertiserListMapper.xml

@@ -4,7 +4,7 @@
 
 
     <insert id="replaceAdqAccountList">
-        INSERT ignore into deepthink.adq_advertiser_list(
+        INSERT into deepthink.adq_advertiser_list(
         admin_advertiser_id,
         advertiser_id,
         advertiser_name,
@@ -23,5 +23,7 @@
             #{add.isMp}
             )
         </foreach>
+        on duplicate key update
+        advertiser_name= VALUES(advertiser_name)
     </insert>
 </mapper>