yumeng 3 年 前
コミット
3e12b34d74

+ 6 - 6
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/hosting/service/impl/KuaishouHostingTaskServiceImpl.java

@@ -343,19 +343,19 @@ public class KuaishouHostingTaskServiceImpl extends ServiceImpl<KuaishouHostingT
                 JSONObject intelliExtend = new JSONObject();
                 intelliExtend.put("isOpen", task.getIsOpen());
                 if (task.getNoAgeBreak() == 1) {
-                    intelliExtend.put("noAgeBreak", true);
-                } else {
                     intelliExtend.put("noAgeBreak", false);
+                } else {
+                    intelliExtend.put("noAgeBreak", true);
                 }
                 if (task.getNoGenderBreak() == 1) {
-                    intelliExtend.put("noGenderBreak", true);
-                } else {
                     intelliExtend.put("noGenderBreak", false);
+                } else {
+                    intelliExtend.put("noGenderBreak", true);
                 }
                 if (task.getNoAreaBreak() == 1) {
-                    intelliExtend.put("noAreaBreak", true);
-                } else {
                     intelliExtend.put("noAreaBreak", false);
+                } else {
+                    intelliExtend.put("noAreaBreak", true);
                 }
                 adDspTarget.put("intelli_extend", intelliExtend);
             }