فهرست منبع

批量创建--批量修改bug修复

zhaoxian 4 سال پیش
والد
کامیت
719adfdb9e

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/KuaishouBatchGroupPreviewServiceImpl.java

@@ -52,7 +52,7 @@ public class KuaishouBatchGroupPreviewServiceImpl extends ServiceImpl<KuaishouBa
             groupPreview.setBid(data.getInteger("bid"));
             groupPreview.setCpaBid(data.getInteger("cpaBid"));
             groupPreview.setDayBudget(data.getInteger("dayBudget"));
-            wrapper.eq("group_id", groupIds.getString(i));
+            groupWrapper.eq("id", groupIds.getString(i));
             if (!Check.isNull(groupPreview.getBid()) || !Check.isNull(groupPreview.getCpaBid()) || !Check.isNull(groupPreview.getDayBudget())) {
                 groupPreviewMapper.update(groupPreview, groupWrapper);
             }