合并解决冲突或升级jdk17语法
This commit is contained in:
parent
59339cc59e
commit
1629688cd4
@ -93,7 +93,7 @@ public class FrontierProtectionDevServiceImpl extends ServiceImpl<FrontierProtec
|
||||
String projectSn = MapUtils.getString(paramMap, "projectSn");
|
||||
CountFrontierProtectionVo vo = frontierProtectionDevAlarmMapper.countFrontierProtectionDev(paramMap);
|
||||
vo.setDeviceNum(Math.toIntExact(frontierProtectionDevMapper.selectCount(new LambdaQueryWrapper<FrontierProtectionDev>()
|
||||
.eq(FrontierProtectionDev::getProjectSn, projectSn)));
|
||||
.eq(FrontierProtectionDev::getProjectSn, projectSn))));
|
||||
vo.setOnlineNum(vo.getDeviceNum());
|
||||
vo.setOfflineNum(0);
|
||||
int count =(int) frontierProtectionDevAlarmService.count(new LambdaQueryWrapper<FrontierProtectionDevAlarm>()
|
||||
|
||||
@ -35,6 +35,8 @@ import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import jakarta.annotation.Resource;
|
||||
|
||||
import java.time.LocalTime;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@ -28,6 +28,7 @@ import com.zhgd.xmgl.modules.xz.entity.XzAiDeductRule;
|
||||
import com.zhgd.xmgl.modules.xz.service.IXzAiDeductRuleService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import net.javacrumbs.shedlock.spring.annotation.SchedulerLock;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user