1
This commit is contained in:
parent
140fb75010
commit
fc4b5395fd
@ -209,10 +209,10 @@ public class EqSnDetailServiceImpl extends ServiceImpl<EqSnDetailMapper, EqSnDet
|
||||
|
||||
@Override
|
||||
public Boolean sendPhoto(List<String> snList, List<Map<String, String>> userPhotoList) {
|
||||
// if(!"druid".equals(Global.newInstance().getActive())){
|
||||
// log.info("非生产环境, 无需下发照片");
|
||||
// return true;
|
||||
// }
|
||||
if(!"druid".equals(Global.newInstance().getActive())){
|
||||
log.info("非生产环境, 无需下发照片");
|
||||
return true;
|
||||
}
|
||||
//检查设备是否在链接状态
|
||||
Map<String, Session> sessionMap = checkSession(snList);
|
||||
|
||||
@ -287,10 +287,10 @@ public class EqSnDetailServiceImpl extends ServiceImpl<EqSnDetailMapper, EqSnDet
|
||||
@Override
|
||||
public Boolean sendDelete(List<String> snList, List<String> deleteUserList) {
|
||||
|
||||
// if(!"druid".equals(Global.newInstance().getActive())){
|
||||
// log.info("非生产环境, 无需删除照片");
|
||||
// return true;
|
||||
// }
|
||||
if(!"druid".equals(Global.newInstance().getActive())){
|
||||
log.info("非生产环境, 无需删除照片");
|
||||
return true;
|
||||
}
|
||||
//检查设备是否在链接状态
|
||||
Map<String, Session> sessionMap = checkSession(snList);
|
||||
//发送数据的类型
|
||||
|
||||
Loading…
Reference in New Issue
Block a user