Jelajahi Sumber

修正升压站报警异常

shilin 1 tahun lalu
induk
melakukan
9285185b54

+ 12 - 12
alarm-service/src/main/java/com/gyee/alarm/service/auto/impl/AlarmTsServiceImpl.java

@@ -21,20 +21,20 @@ public class AlarmTsServiceImpl extends ServiceImpl<AlarmTsMapper, AlarmTs> impl
     private AlarmTsMapper alarmTsMapper;
 
 
-
+    @Override
     public void createSuperTable(String type) {
 
         alarmTsMapper.createAlarmSuperTable(type);
 
     }
 
-
+    @Override
     public void dropSuperTable(String type) {
 
         alarmTsMapper.dropSuperTable(type);
 
     }
-
+    @Override
     public int createTable(String tbName, String alarmid, String alarmtype,
                            String characteristic, String components,
                            String description,
@@ -65,7 +65,7 @@ public class AlarmTsServiceImpl extends ServiceImpl<AlarmTsMapper, AlarmTs> impl
                 triggertype, uniformcode,superTableName,   name, nemCode,  faultCause,  resolvent,faultType,aname);
     }
 
-
+    @Override
     public int updateTable(String tbName, String alarmid, String alarmtype,
                            String characteristic, String components,
                            String description,
@@ -96,19 +96,19 @@ public class AlarmTsServiceImpl extends ServiceImpl<AlarmTsMapper, AlarmTs> impl
                 triggertype, uniformcode,superTableName,   name, nemCode,  faultCause,  resolvent,faultType,aname);
     }
 
-
+    @Override
     public int createTable(AlarmVo vo) {
         return alarmTsMapper.createTable(vo);
     }
 
 
-
+    @Override
     public int insertOne(AlarmTs one) {
         return alarmTsMapper.insertOne(one);
     }
 
 
-
+    @Override
     public void insertList(List<AlarmTag>  alarmTags )  {
 
         if(StringUtils.notEmp(alarmTags) && !alarmTags.isEmpty())
@@ -119,7 +119,7 @@ public class AlarmTsServiceImpl extends ServiceImpl<AlarmTsMapper, AlarmTs> impl
 
 
     }
-
+    @Override
     public void createSql(List<AlarmTag>  alarmTags )   {
 
         StringBuilder sb = new StringBuilder("INSERT INTO ");
@@ -155,7 +155,7 @@ public class AlarmTsServiceImpl extends ServiceImpl<AlarmTsMapper, AlarmTs> impl
 
 
 
-
+    @Override
     public List<AlarmVo> findTags(String stbaleName)
     {
         List<AlarmVo> ls=new ArrayList<>();
@@ -166,7 +166,7 @@ public class AlarmTsServiceImpl extends ServiceImpl<AlarmTsMapper, AlarmTs> impl
 
         return ls;
     }
-
+    @Override
     public List<AlarmTsVo> selectByGroup(String superTableName, String stationid, long begin, long end)
     {
         List<AlarmTsVo> ls=new ArrayList<>();
@@ -178,7 +178,7 @@ public class AlarmTsServiceImpl extends ServiceImpl<AlarmTsMapper, AlarmTs> impl
         return ls;
     }
 
-
+    @Override
     public   List<AlarmVo> selectByTbName(String tbName,long limit,long offset)
     {
         List<AlarmVo> ls=new ArrayList<>();
@@ -189,7 +189,7 @@ public class AlarmTsServiceImpl extends ServiceImpl<AlarmTsMapper, AlarmTs> impl
 
         return ls;
     }
-
+    @Override
     public List<AlarmSimpleVo> selectLastRowByTbname(String superTableName, String tbnames){
         List<AlarmSimpleVo> ls=new ArrayList<>();
         if(StringUtils.notEmp(superTableName) && StringUtils.notEmp(tbnames))