leo.li
2024-09-09 01b74230c065254bb44f5f6df17c4e19d33c5a04
update
2 files modified
6 ■■■■■ changed files
src/main/java/com/jw/ai/service/impl/DeviceLogServiceImpl.java 4 ●●●● patch | view | raw | blame | history
src/main/resources/mapper/JobExecLogMapper.xml 2 ●●●●● patch | view | raw | blame | history
src/main/java/com/jw/ai/service/impl/DeviceLogServiceImpl.java
@@ -106,7 +106,7 @@
                    }
                    obj.setExecPlatform(Constant.EC);
                }
                if (Constant.PY.equals(param.getExecPlatform())) {
                /*if (Constant.PY.equals(param.getExecPlatform())) {
                    // 线索作品
                    Object o1 = redisUtil.get(Constant.TASK_POST + obj.getTaskId() + ":" + obj.getUuid());
                    if (null != o1) {
@@ -126,7 +126,7 @@
                        redisUtil.set(Constant.TASK_CLUE_FANS + obj.getTaskId() + ":" + obj.getUuid(), "" + fansCount, 60 * 10);
                    }
                    obj.setExecPlatform(Constant.PY);
                }
                }*/
            });
        }
        return taskAnalysisVOIPage;
src/main/resources/mapper/JobExecLogMapper.xml
@@ -10,6 +10,8 @@
            t2.`name` AS taskName,
            t2.devices as deviceNo,
            t1.uuid,
            IF(t1.post_num IS NULL ,0,t1.post_num) cluePostNum,
            IF(t1.fans_num IS NULL ,0,t1.fans_num) clueCustomerNum,
            IF(t1.profile_num IS NULL ,0,t1.profile_num) clueFansNum,
            TIMESTAMPDIFF( MINUTE, t1.start_time, t1.finish_time ) AS costTime
        FROM