|
@@ -36,6 +36,9 @@ public class TbFamilyEventsServiceImpl extends ServiceImpl<TbFamilyEventsMapper,
|
|
if (StringUtils.isNotBlank(events.getTitle())){
|
|
if (StringUtils.isNotBlank(events.getTitle())){
|
|
lqw.like(TbFamilyEvents::getTitle ,events.getTitle());
|
|
lqw.like(TbFamilyEvents::getTitle ,events.getTitle());
|
|
}
|
|
}
|
|
|
|
+ if (StringUtils.isNotBlank(events.getContents())){
|
|
|
|
+ lqw.like(TbFamilyEvents::getContents ,events.getContents());
|
|
|
|
+ }
|
|
List<TbFamilyEvents> list = this.list(lqw);
|
|
List<TbFamilyEvents> list = this.list(lqw);
|
|
if (list.size() > 0) {
|
|
if (list.size() > 0) {
|
|
list.forEach(item->{
|
|
list.forEach(item->{
|