Ver código fonte

Merge branch 'test' of http://git.tjyourong.com.cn/ctop/adsp-boot into test

hcst_sunzhen 5 anos atrás
pai
commit
4136428d72

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/service/impl/ReleaseViewRecordServiceImpl.java

@@ -72,7 +72,7 @@ public class ReleaseViewRecordServiceImpl extends ServiceImpl<ReleaseViewRecordM
             queryWrapper.eq("user_id",userId);
         }
         if(null!=releaseId&&releaseId!=0){
-            queryWrapper.eq("release_id",userId);
+            queryWrapper.eq("release_id",releaseId);
         }
         queryWrapper.orderByDesc("id").last("limit 1");
         return this.getOne(queryWrapper);

+ 1 - 1
module-toutiao/src/main/resources/json_template/bytedance_filed_mapping.json

@@ -28,7 +28,7 @@
     "comment": "转化数"
   },
   "convertCost": {
-    "filed": "CASE WHEN sum(t1.cost) / sum(t1.convert_num) IS NULL THEN 0 ELSE ROUND((sum(t1.cost) / sum(t1.convert_num)) * 1000, 2 ) END AS convertCost ",
+    "filed": "CASE WHEN sum(t1.cost) / sum(t1.convert_num) IS NULL THEN 0 ELSE ROUND((sum(t1.cost) / sum(t1.convert_num)), 2 ) END AS convertCost ",
     "comment": "转化成本"
   },
   "convertRate": {