|
@@ -13,6 +13,7 @@ import com.bizmatics.persistence.mapper.system.SysRoleMenuMapper;
|
|
|
import com.bizmatics.persistence.mapper.system.SysUserRoleMapper;
|
|
|
import com.bizmatics.service.aop.DataScope;
|
|
|
import com.bizmatics.service.system.ISysRoleService;
|
|
|
+import com.bizmatics.service.util.SecurityUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
@@ -48,6 +49,8 @@ public class SysRoleServiceImpl implements ISysRoleService
|
|
|
@DataScope(deptAlias = "d")
|
|
|
public List<SysRole> selectRoleList(SysRole role)
|
|
|
{
|
|
|
+ String createByOne = SecurityUtils.getLoginUser().getUser().getUserName();
|
|
|
+ role.setCreateByOne(createByOne);
|
|
|
return roleMapper.selectRoleList(role);
|
|
|
}
|
|
|
|