【同步】BOOT 和 CLOUD 的功能

This commit is contained in:
YunaiV
2026-05-23 23:17:59 +08:00
parent 9782e75514
commit 4363135bf8
38 changed files with 3759 additions and 11 deletions
@@ -17,7 +17,7 @@ public class IotAlertRecordPageReqVO extends PageParam {
private Long configId;
@Schema(description = "告警级别", example = "1")
private Integer level;
private Integer configLevel;
@Schema(description = "产品编号", example = "2050")
private Long productId;
@@ -22,7 +22,7 @@ public interface IotAlertRecordMapper extends BaseMapperX<IotAlertRecordDO> {
default PageResult<IotAlertRecordDO> selectPage(IotAlertRecordPageReqVO reqVO) {
return selectPage(reqVO, new LambdaQueryWrapperX<IotAlertRecordDO>()
.eqIfPresent(IotAlertRecordDO::getConfigId, reqVO.getConfigId())
.eqIfPresent(IotAlertRecordDO::getConfigLevel, reqVO.getLevel())
.eqIfPresent(IotAlertRecordDO::getConfigLevel, reqVO.getConfigLevel())
.eqIfPresent(IotAlertRecordDO::getProductId, reqVO.getProductId())
.eqIfPresent(IotAlertRecordDO::getDeviceId, reqVO.getDeviceId())
.eqIfPresent(IotAlertRecordDO::getProcessStatus, reqVO.getProcessStatus())