Java Code Examples for org.jeecg.common.system.query.QueryGenerator#installAuthJdbc()

The following examples show how to use org.jeecg.common.system.query.QueryGenerator#installAuthJdbc() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JeecgDemoServiceImpl.java    From jeecg-cloud with Apache License 2.0 7 votes vote down vote up
@Override
public IPage<JeecgDemo> queryListWithPermission(int pageSize,int pageNo) {
	Page<JeecgDemo> page = new Page<>(pageNo, pageSize);
	//编程方式,获取当前请求的数据权限规则SQL片段
	String sql = QueryGenerator.installAuthJdbc(JeecgDemo.class);
	return this.baseMapper.queryListWithPermission(page, sql);
}
 
Example 2
Source File: JeecgDemoServiceImpl.java    From jeecg-boot-with-activiti with MIT License 5 votes vote down vote up
@Override
public IPage<JeecgDemo> queryListWithPermission(int pageSize,int pageNo) {
	Page<JeecgDemo> page = new Page<>(pageNo, pageSize);
	//编程方式,获取当前请求的数据权限规则SQL片段
	String sql = QueryGenerator.installAuthJdbc(JeecgDemo.class);
	return this.baseMapper.queryListWithPermission(page, sql);
}
 
Example 3
Source File: JeecgDemoServiceImpl.java    From teaching with Apache License 2.0 5 votes vote down vote up
@Override
public IPage<JeecgDemo> queryListWithPermission(int pageSize,int pageNo) {
	Page<JeecgDemo> page = new Page<>(pageNo, pageSize);
	//编程方式,获取当前请求的数据权限规则SQL片段
	String sql = QueryGenerator.installAuthJdbc(JeecgDemo.class);
	return this.baseMapper.queryListWithPermission(page, sql);
}
 
Example 4
Source File: JeecgDemoServiceImpl.java    From jeecg-boot with Apache License 2.0 5 votes vote down vote up
@Override
public IPage<JeecgDemo> queryListWithPermission(int pageSize,int pageNo) {
	Page<JeecgDemo> page = new Page<>(pageNo, pageSize);
	//编程方式,获取当前请求的数据权限规则SQL片段
	String sql = QueryGenerator.installAuthJdbc(JeecgDemo.class);
	return this.baseMapper.queryListWithPermission(page, sql);
}