package com.qianwen.smartman.modules.system.service.impl;
|
|
import java.util.Date;
|
import com.qianwen.smartman.common.constant.DncConstant;
|
import com.qianwen.core.datascope.annotation.DataAuth;
|
import com.qianwen.core.mp.base.BaseServiceImpl;
|
import com.qianwen.smartman.modules.system.entity.DataScope;
|
import com.qianwen.smartman.modules.system.mapper.DataScopeMapper;
|
import com.qianwen.smartman.modules.system.service.IDataScopeService;
|
import com.qianwen.smartman.modules.system.service.IMenuService;
|
import org.springframework.context.ApplicationContext;
|
import org.springframework.stereotype.Service;
|
|
@Service
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/service/impl/DataScopeServiceImpl.class */
|
public class DataScopeServiceImpl extends BaseServiceImpl<DataScopeMapper, DataScope> implements IDataScopeService {
|
private ApplicationContext applicationContext;
|
private IMenuService menuService;
|
|
public DataScopeServiceImpl(final ApplicationContext applicationContext, final IMenuService menuService) {
|
this.applicationContext = applicationContext;
|
this.menuService = menuService;
|
}
|
|
public static void main(String[] args) {
|
System.out.println(new Date().getClass().getPackage().getName().concat(DncConstant.POINT).concat(new Date().getClass().getSimpleName()));
|
}
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/service/impl/DataScopeServiceImpl$DataAuthCollect.class */
|
public class DataAuthCollect {
|
private DataAuth dataAuth;
|
private String methodName;
|
private String className;
|
|
public void setDataAuth(final DataAuth dataAuth) {
|
this.dataAuth = dataAuth;
|
}
|
|
public void setMethodName(final String methodName) {
|
this.methodName = methodName;
|
}
|
|
public void setClassName(final String className) {
|
this.className = className;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DataAuthCollect) {
|
DataAuthCollect other = (DataAuthCollect) o;
|
if (other.canEqual(this)) {
|
Object this$dataAuth = getDataAuth();
|
Object other$dataAuth = other.getDataAuth();
|
if (this$dataAuth == null) {
|
if (other$dataAuth != null) {
|
return false;
|
}
|
} else if (!this$dataAuth.equals(other$dataAuth)) {
|
return false;
|
}
|
Object this$methodName = getMethodName();
|
Object other$methodName = other.getMethodName();
|
if (this$methodName == null) {
|
if (other$methodName != null) {
|
return false;
|
}
|
} else if (!this$methodName.equals(other$methodName)) {
|
return false;
|
}
|
Object this$className = getClassName();
|
Object other$className = other.getClassName();
|
return this$className == null ? other$className == null : this$className.equals(other$className);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof DataAuthCollect;
|
}
|
|
public int hashCode() {
|
Object $dataAuth = getDataAuth();
|
int result = (1 * 59) + ($dataAuth == null ? 43 : $dataAuth.hashCode());
|
Object $methodName = getMethodName();
|
int result2 = (result * 59) + ($methodName == null ? 43 : $methodName.hashCode());
|
Object $className = getClassName();
|
return (result2 * 59) + ($className == null ? 43 : $className.hashCode());
|
}
|
|
public String toString() {
|
return "DataScopeServiceImpl.DataAuthCollect(dataAuth=" + getDataAuth() + ", methodName=" + getMethodName() + ", className=" + getClassName() + ")";
|
}
|
|
public DataAuthCollect(final DataAuth dataAuth, final String methodName, final String className) {
|
this.dataAuth = dataAuth;
|
this.methodName = methodName;
|
this.className = className;
|
}
|
|
public DataAuth getDataAuth() {
|
return this.dataAuth;
|
}
|
|
public String getMethodName() {
|
return this.methodName;
|
}
|
|
public String getClassName() {
|
return this.className;
|
}
|
}
|
}
|