瀏覽代碼

公众号计划修改

wangyunpeng 2 月之前
父節點
當前提交
68a609659b

+ 0 - 2
api-module/src/main/java/com/tzld/piaoquan/api/service/contentplatform/ContentPlatformPlanService.java

@@ -66,8 +66,6 @@ public interface ContentPlatformPlanService {
 
     void gzhPlanImport(List<String> channels);
 
-    void fwhPlanImport(List<String> channels);
-
     void qwPlanImport(List<String> channels);
 
     void gzhUpdateStagePublishStatus(Long id, Integer stagePublishStatus);

+ 0 - 15
api-module/src/main/java/com/tzld/piaoquan/api/service/contentplatform/impl/ContentPlatformPlanServiceImpl.java

@@ -655,21 +655,6 @@ public class ContentPlatformPlanServiceImpl implements ContentPlatformPlanServic
         }
     }
 
-    @Override
-    public void fwhPlanImport(List<String> channels) {
-        List<ContentPlatformAccount> accountList = accountService.getAccountListByChannels(channels);
-        for (ContentPlatformAccount account : accountList) {
-            Long now = System.currentTimeMillis();
-            List<ContentPlatformGzhAccount> gzhAccountList = cooperateAccountService.getAccountListByCreatorId(account.getId());
-            for (ContentPlatformGzhAccount gzhAccount : gzhAccountList) {
-                if (!StringUtils.hasText(gzhAccount.getExternalId())) {
-                    continue;
-                }
-
-            }
-        }
-    }
-
     @Override
     public void qwPlanImport(List<String> channels) {
         List<AdPutFlowRecordTencent> list = new ArrayList<>();

+ 1 - 1
api-module/src/main/resources/mapper/contentplatform/ext/ContentPlatformPlanMapperExt.xml

@@ -8,7 +8,7 @@
                                                create_account_id, create_timestamp, update_timestamp)
         values (#{record.type}, #{record.publishStage}, #{record.accountId}, #{record.scene}, #{record.externalId},
                 #{record.selectVideoType}, #{record.status}, #{record.stagePublishStatus}, #{record.createAccountId},
-                #{record.createTimestamp}, #{record.record.updateTimestamp})
+                #{record.createTimestamp}, #{record.updateTimestamp})
     </insert>
 
     <select id="getGzhPlanCount" resultType="java.lang.Integer">

+ 0 - 6
api-module/src/test/java/com/tzld/piaoquan/api/ContentPlatformTest.java

@@ -32,12 +32,6 @@ public class ContentPlatformTest {
         planService.gzhPlanImport(channels);
     }
 
-    @Test
-    public void testImportFwhPlan() {
-        List<String> channels = Arrays.asList("ml","yy","zh","llf","wxm","hc","xs","wx","yqst","lq","bh","qd","bz","sw","pj","cy","xsy","ls","zqh");
-        planService.fwhPlanImport(channels);
-    }
-
     @Test
     public void testImportQwPlan() {
         List<String> channels = Arrays.asList("ml2025", "mj", "nh", "qc", "tczy", "wb", "xj", "wxm", "xycsd", "shy");