|
@@ -9,6 +9,7 @@ import com.jiayue.ssi.annotation.PreventReplay;
|
|
|
import com.jiayue.ssi.backenum.AuditType;
|
|
|
import com.jiayue.ssi.backenum.BusinessType;
|
|
|
import com.jiayue.ssi.constant.CustomException;
|
|
|
+import com.jiayue.ssi.constant.PermissionCharacter;
|
|
|
import com.jiayue.ssi.entity.SysOperLog;
|
|
|
import com.jiayue.ssi.entity.SysRole;
|
|
|
import com.jiayue.ssi.service.SysOperLogService;
|
|
@@ -48,7 +49,7 @@ public class SysOperlogController {
|
|
|
try {
|
|
|
// 根据当前用户获取角色
|
|
|
SysRole sysRole = sysRoleService.selectRoleListByUserId();
|
|
|
- if ("ywsjy".equals(sysRole.getRoleKey())){
|
|
|
+ if (PermissionCharacter.P_SJYW.equals(sysRole.getRoleKey())){
|
|
|
// 业务审计员
|
|
|
Map<String,String> map = new HashMap<>();
|
|
|
map.put("value","1");
|
|
@@ -157,7 +158,7 @@ public class SysOperlogController {
|
|
|
}
|
|
|
}
|
|
|
SysRole sysRole = sysRoleService.selectRoleListByUserId();
|
|
|
- if (!"sjgly".equals(sysRole.getRoleKey())){
|
|
|
+ if (PermissionCharacter.P_SJYW.equals(sysRole.getRoleKey())){
|
|
|
// 业务审计员
|
|
|
wrapper.eq("audit_type", "1");
|
|
|
}
|