Explorar el Código

feat: 登录/退出判断

tags/24080901
刘帅 hace 1 año
padre
commit
66d6314b59
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CommonLogTask.java

+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/CommonLogTask.java Ver fichero

@@ -78,9 +78,9 @@ public class CommonLogTask {
commonLog.setUserRole("政府工作人员");
commonLog.setAreaCode(userInfo.getRegionCode());
String description = optLog.getDescription();
if (description.equals("登录")){
if ("登陆".equals(description)){
commonLog.setActionType(1);
}else if (description.equals("退出登录")){
}else if ("退出登陆".equals(description)){
commonLog.setActionType(2);
}else {
commonLog.setActionType(3);


Cargando…
Cancelar
Guardar