|
@@ -71,7 +71,7 @@ public class WarningInfoServiceImpl extends ServiceImpl<WarningInfoMapper, Warni
|
|
String type = warningInfoPageParam.getType();
|
|
String type = warningInfoPageParam.getType();
|
|
QueryWrapper<WarningInfo> queryWrapper = new QueryWrapper<>();
|
|
QueryWrapper<WarningInfo> queryWrapper = new QueryWrapper<>();
|
|
if(ObjectUtil.isNotEmpty(warningInfoPageParam.getWarningType())) {
|
|
if(ObjectUtil.isNotEmpty(warningInfoPageParam.getWarningType())) {
|
|
- queryWrapper.lambda().eq(WarningInfo::getWarningType, warningInfoPageParam.getWarningType());
|
|
|
|
|
|
+ queryWrapper.lambda().eq(WarningInfo::getWarningTypeId, warningInfoPageParam.getWarningType());
|
|
}
|
|
}
|
|
if(ObjectUtil.isNotEmpty(warningInfoPageParam.getUnitId())) {
|
|
if(ObjectUtil.isNotEmpty(warningInfoPageParam.getUnitId())) {
|
|
queryWrapper.lambda().eq(WarningInfo::getUnitId, warningInfoPageParam.getUnitId());
|
|
queryWrapper.lambda().eq(WarningInfo::getUnitId, warningInfoPageParam.getUnitId());
|