parent
174825a378
commit
53a2f2f57c
@ -0,0 +1,8 @@
|
||||
package com.tamguo.modules.sys.dao;
|
||||
|
||||
import com.tamguo.config.dao.SuperMapper;
|
||||
import com.tamguo.modules.sys.model.SysRoleDataScopeEntity;
|
||||
|
||||
public interface SysRoleDataScopeMapper extends SuperMapper<SysRoleDataScopeEntity>{
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package com.tamguo.modules.sys.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotations.TableName;
|
||||
|
||||
@TableName(value="sys_role_data_scope")
|
||||
public class SysRoleDataScopeEntity {
|
||||
|
||||
private String roleCode;
|
||||
private String ctrlType;
|
||||
private String ctrlData;
|
||||
private String ctrlPermi;
|
||||
|
||||
public String getRoleCode() {
|
||||
return roleCode;
|
||||
}
|
||||
public void setRoleCode(String roleCode) {
|
||||
this.roleCode = roleCode;
|
||||
}
|
||||
public String getCtrlType() {
|
||||
return ctrlType;
|
||||
}
|
||||
public void setCtrlType(String ctrlType) {
|
||||
this.ctrlType = ctrlType;
|
||||
}
|
||||
public String getCtrlData() {
|
||||
return ctrlData;
|
||||
}
|
||||
public void setCtrlData(String ctrlData) {
|
||||
this.ctrlData = ctrlData;
|
||||
}
|
||||
public String getCtrlPermi() {
|
||||
return ctrlPermi;
|
||||
}
|
||||
public void setCtrlPermi(String ctrlPermi) {
|
||||
this.ctrlPermi = ctrlPermi;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.tamguo.modules.sys.service;
|
||||
|
||||
import com.baomidou.mybatisplus.service.IService;
|
||||
import com.tamguo.modules.sys.model.SysRoleDataScopeEntity;
|
||||
|
||||
public interface ISysRoleDataScopeService extends IService<SysRoleDataScopeEntity>{
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package com.tamguo.modules.sys.service.impl;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
||||
import com.tamguo.modules.sys.dao.SysRoleDataScopeMapper;
|
||||
import com.tamguo.modules.sys.model.SysRoleDataScopeEntity;
|
||||
import com.tamguo.modules.sys.service.ISysRoleDataScopeService;
|
||||
|
||||
@Service
|
||||
public class SysRoleDataScopeServiceImpl extends ServiceImpl<SysRoleDataScopeMapper, SysRoleDataScopeEntity> implements ISysRoleDataScopeService{
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.tamguo.modules.sys.dao.SysRoleDataScopeMapper">
|
||||
|
||||
</mapper>
|
Loading…
Reference in new issue