|
|
|
@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Constants;
|
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
|
|
import org.apache.poi.ss.formula.functions.T;
|
|
|
|
|
import org.dromara.common.mybatis.annotation.DataColumn;
|
|
|
|
|
import org.dromara.common.mybatis.annotation.DataPermission;
|
|
|
|
|
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
|
|
|
|
@ -33,7 +34,7 @@ public interface TestDemoMapper extends BaseMapperPlus<TestDemo, TestDemoVo> {
|
|
|
|
|
@DataColumn(key = "deptName", value = "dept_id"),
|
|
|
|
|
@DataColumn(key = "userName", value = "user_id")
|
|
|
|
|
})
|
|
|
|
|
<P extends IPage<TestDemo>> P selectPage(P page, @Param(Constants.WRAPPER) Wrapper<TestDemo> queryWrapper);
|
|
|
|
|
List<TestDemo> selectList(IPage<TestDemo> page, @Param(Constants.WRAPPER) Wrapper<TestDemo> queryWrapper);
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
@DataPermission({
|
|
|
|
|