| | |
| | | package com.sandu.ximon.admin.controller; |
| | | |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.github.pagehelper.PageHelper; |
| | |
| | | wrapper= Wrappers.lambdaQuery(PlayPlanNv.class).eq(PlayPlanNv::getUserId,SecurityUtils.getUserId()); |
| | | } |
| | | wrapper=Wrappers.lambdaQuery(PlayPlanNv.class); |
| | | if(null!=keyword){ |
| | | if(StrUtil.isNotBlank(keyword)){ |
| | | wrapper.like(PlayPlanNv::getName,keyword); |
| | | } |
| | | return ResponseUtil.successPage(playPlanNvService.list(wrapper)); |