whyclxw
2024-12-12 53a01d18096982d75248d1d368021577b9638287
src/main/java/com/whyc/service/BattAlarmHisService.java
@@ -19,8 +19,8 @@
    public Response getHisAlarm(int binfId, String startTime, String endTime,int pageNum,int pageSize)throws ParseException, InterruptedException  {
        BattAlarmHistory his=new BattAlarmHistory();
        his.setBinfId(binfId);
        PageInfo pageInfo=util.getPageInfoByMonthTable(pageNum,pageSize, ThreadLocalUtil.parse(startTime,1),ThreadLocalUtil.parse(endTime,1)
        ,"db_alarm","batt_alarm",his);
        PageInfo pageInfo=util.getPageInfo(pageNum,pageSize, ThreadLocalUtil.parse(startTime,1),ThreadLocalUtil.parse(endTime,1)
        ,"db_alarm","batt_alarm_history",his);
        return new Response().setII(1,pageInfo.getList()!=null,pageInfo,"查询电池组历史时间告警");
    }
}