|
|
@@ -40,6 +40,7 @@ public class EarlyWarningRecordsServiceImpl extends ServiceImpl<EarlyWarningReco |
|
|
|
Page<WflowEarlyWarningRecords> page = req.page(); |
|
|
|
LambdaQueryWrapper<WflowEarlyWarningRecords> wrapper = Wrappers.lambdaQuery(WflowEarlyWarningRecords.class) |
|
|
|
.eq(WflowEarlyWarningRecords::getRuleType, ruleType) |
|
|
|
.eq(StringUtils.isNotBlank(req.getAreaCode()),WflowEarlyWarningRecords::getAreaCode,req.getAreaCode()) |
|
|
|
.like(StringUtils.isNotBlank(req.getProjectName()), WflowEarlyWarningRecords::getProjectName, req.getProjectName()) |
|
|
|
.like(StringUtils.isNotBlank(req.getBuildOrgName()), WflowEarlyWarningRecords::getBuildOrgName, req.getBuildOrgName()) |
|
|
|
.ge(Objects.nonNull(req.getStartTime()),WflowEarlyWarningRecords::getWarningTime,req.getStartTime()) |
|
|
|