This commit is contained in:
parent
c9f838b5ab
commit
44c16c5312
|
@ -543,16 +543,16 @@ public class MonitorService {
|
||||||
ChannelPicture picture = new ChannelPicture();
|
ChannelPicture picture = new ChannelPicture();
|
||||||
picture.setChannelCode(channelCode);
|
picture.setChannelCode(channelCode);
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);*/
|
||||||
/*if (channelCode == null){
|
if (channelCode == null){
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("channel_code", channelCode);
|
queryWrapper.eq("channel_code", channelCode);
|
||||||
picture.setInsertTime(new Date());
|
picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.update(picture, queryWrapper);
|
channelPictureMapper.update(picture, queryWrapper);
|
||||||
}*/
|
}
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
|
|
||||||
log.info( "[monitor-capture] " +channelCode + " 截图图片失败 " + e.getMessage());
|
log.info( "[monitor-capture] " +channelCode + " 截图图片失败 " + e.getMessage());
|
||||||
|
@ -585,16 +585,16 @@ public class MonitorService {
|
||||||
ChannelPicture picture = new ChannelPicture();
|
ChannelPicture picture = new ChannelPicture();
|
||||||
picture.setChannelCode(channelCode);
|
picture.setChannelCode(channelCode);
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);*/
|
||||||
/*if (channelCode == null){
|
if (channelCode == null){
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
queryWrapper.eq("channel_code", channelCode);
|
queryWrapper.eq("channel_code", channelCode);
|
||||||
picture.setInsertTime(new Date());
|
picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.update(picture, queryWrapper);
|
channelPictureMapper.update(picture, queryWrapper);
|
||||||
}*/
|
}
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
|
|
||||||
log.info( "[monitor-capture] " +channelCode + " 截图图片失败 " + e.getMessage());
|
log.info( "[monitor-capture] " +channelCode + " 截图图片失败 " + e.getMessage());
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
(
|
(
|
||||||
#{item.DLMC},#{item.KSDL},#{item.ZZDL},#{item.SSQS},#{item.CPH},#{item.ZYWCL},
|
#{item.DLMC},#{item.KSDL},#{item.ZZDL},#{item.SSQS},#{item.CPH},#{item.ZYWCL},
|
||||||
#{item.ZYRQ},#{item.ZYLX},#{item.ZYSJ},#{item.ZYTS},#{item.ZYPC},#{item.ZYZD},
|
#{item.ZYRQ},#{item.ZYLX},#{item.ZYSJ},#{item.ZYTS},#{item.ZYPC},#{item.ZYZD},
|
||||||
#{item.ZYKD},#{item.ZYMJ},#{item.WZYDS},#{item.ZYCSDS},#{item.ZYGPSDS},#{item.updatetime}
|
#{item.ZYKD},#{item.ZYMJ},#{item.WZYDS},#{item.ZYCSDS},#{item.ZYGPSDS},#{item.updatetime}
|
||||||
)
|
)
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
Loading…
Reference in New Issue