Bladeren bron

人群包功能开发,状态优先级排列显示

zhaoxian 4 jaren geleden
bovenliggende
commit
41dd4ac6bb

+ 2 - 0
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/ai/mapper/xml/KuaishouCrowdPackMapper.xml

@@ -45,6 +45,7 @@
         ELSE ''
         END as 'typeStr',
         t4.statusStr,
+        t4.`status`,
         IFNULL(t1.signature,'') as 'signature',
         IFNULL(cover_num,0) as 'coverNum'
         FROM ctop_kuaishou_crowd_package t1
@@ -172,6 +173,7 @@
                           INNER JOIN ctop_user_allocation t2 ON t1.account_id = t2.account_id
                           INNER JOIN ctop_project t3 ON t3.id = t2.project_id
                  where signature = #{signature}
+                 and data_status =1
                  GROUP BY t1.account_id
              ) t1
                  LEFT JOIN(