|
@@ -127,6 +127,7 @@ public interface FsCourseTrafficLogMapper
|
|
|
"<if test='createTime != null'>AND create_time <= #{createTime}</if> " +
|
|
|
"</script>")
|
|
|
List<Long> findRecordsNumByIds( @Param("createTime") Date createTime);
|
|
|
+
|
|
|
@Update("<script>" +
|
|
|
"UPDATE fs_course_traffic_log SET status = #{status} WHERE log_id IN " +
|
|
|
"<foreach item='id' collection='ids' open='(' separator=',' close=')'>" +
|
|
@@ -145,14 +146,14 @@ public interface FsCourseTrafficLogMapper
|
|
|
"</script>")
|
|
|
Long findRecordsNum(@Param("companyId") Long companyId);
|
|
|
|
|
|
- // 批量更新状态
|
|
|
- @Update("<script>" +
|
|
|
- "UPDATE fs_course_traffic_log SET status = 1 WHERE log_id IN " +
|
|
|
- "<foreach item='id' collection='ids' open='(' separator=',' close=')'>" +
|
|
|
- "#{id}" +
|
|
|
- "</foreach>" +
|
|
|
- "</script>")
|
|
|
- int updateStatusByIds(@Param("ids") List<Long> ids);
|
|
|
+// // 批量更新状态
|
|
|
+// @Update("<script>" +
|
|
|
+// "UPDATE fs_course_traffic_log SET status = 1 WHERE log_id IN " +
|
|
|
+// "<foreach item='id' collection='ids' open='(' separator=',' close=')'>" +
|
|
|
+// "#{id}" +
|
|
|
+// "</foreach>" +
|
|
|
+// "</script>")
|
|
|
+// int updateStatusByIds(@Param("ids") List<Long> ids);
|
|
|
|
|
|
@Select("<script>" +
|
|
|
"SELECT internet_traffic FROM fs_course_traffic_log WHERE log_id IN " +
|