This commit is contained in:
parent
c8575c1dab
commit
d0be7a6ffe
|
@ -227,8 +227,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
@ -270,8 +269,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
@ -313,8 +311,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
@ -356,8 +353,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
@ -399,8 +395,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
@ -442,8 +437,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
@ -485,8 +479,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
@ -528,8 +521,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
@ -570,8 +562,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
@ -613,8 +604,7 @@ public class MonitorService {
|
||||||
picture.setPicUrl(picUrl);
|
picture.setPicUrl(picUrl);
|
||||||
/*picture.setInsertTime(new Date());
|
/*picture.setInsertTime(new Date());
|
||||||
channelPictureMapper.insert(picture);*/
|
channelPictureMapper.insert(picture);*/
|
||||||
ChannelPicture id = channelPictureMapper.selectById(channelCode);
|
if (channelCode == null){
|
||||||
if (id == null){
|
|
||||||
channelPictureMapper.insert(picture);
|
channelPictureMapper.insert(picture);
|
||||||
}else {
|
}else {
|
||||||
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
QueryWrapper<ChannelPicture> queryWrapper = new QueryWrapper<>();
|
||||||
|
|
Loading…
Reference in New Issue