This commit is contained in:
parent
6eff04bf7d
commit
28486c637e
|
@ -30,8 +30,6 @@ public interface CameraChannelMapper extends BaseMapper<CameraChannel> {
|
|||
@Select("select c.* from t_camera_channel c where channel_code in " +
|
||||
"(select b.channel_code from t_channel_mtm_label b where b.label_code = #{labelCode}) ")
|
||||
List<ChannelLabelDto> selectLabel(@Param("labelCode") String labelCode);
|
||||
//@Update("update t_camera_channel set state = list")
|
||||
void updateState(@Param("list") List list);
|
||||
|
||||
@Select("select * from t_label")
|
||||
List<Label> selectAllLabel();
|
||||
|
@ -58,7 +56,7 @@ public interface CameraChannelMapper extends BaseMapper<CameraChannel> {
|
|||
|
||||
List<CameraChannelNLDto> selectNLAll(@Param("page") Integer page,@Param("pageSize") Integer pageSize);
|
||||
|
||||
@Select("SELECT * FROM t_camera_channel WHERE channel_code < '105_37028560031310878272' AND channel_code > '105_37028531031320000001' ORDER BY channel_code DESC")
|
||||
@Select("SELECT * FROM t_camera_channel WHERE channel_code < '042_37021595001320007890' AND channel_code > '042_37021536001320005082' ORDER BY channel_code DESC")
|
||||
List<CameraChannel> selectCameraChannel();
|
||||
|
||||
}
|
||||
|
|
|
@ -676,14 +676,6 @@ public class MonitorService{
|
|||
list.addAll(results);
|
||||
}
|
||||
}
|
||||
// List<CameraCheck> list1 = JSONObject.parseArray(JSONObject.toJSONString(jsonArray),CameraCheck.class);
|
||||
// Map<String, CameraCheck> collect = list.stream().collect(Collectors.groupingBy(
|
||||
// CameraCheck::getChannelCode,
|
||||
// Collectors.collectingAndThen(
|
||||
// Collectors.reducing((c1, c2) -> c1.getCheckTime().compareTo(c2.getCheckTime()) > 0 ? c1 : c2), Optional::get)
|
||||
// )
|
||||
// );
|
||||
//
|
||||
//通过set对channel_code去重
|
||||
Set<String> set = new HashSet<>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue