@@ -36,4 +36,9 @@ public class PushInfoSelectDto extends BaseSelectDto {
*/
private Integer whetherFlow;
+ /**
+ * 业务类型
+ */
+ private String businessType;
+
}
@@ -47,6 +47,11 @@ public class PushInfoServiceImpl extends ServiceImpl<PushInfoMapper, PushInfo> i
});
+ //业务类型过滤
+ if (ObjectUtil.isNotEmpty(dto.getBusinessType())){
+ wrapper.in("pi", PushInfo::getBusinessType, dto.getBusinessType().split(","));
+ }
Page<PushInfoVo> page = this.baseMapper.getPage(dto.getPage(), wrapper);
return page;