|
|
@@ -12,6 +12,7 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.ningdatech.log.mapper.OptLogMapper; |
|
|
|
import com.ningdatech.log.model.domain.OptLog; |
|
|
|
import com.ningdatech.pmapi.common.constant.BizConst; |
|
|
|
import com.ningdatech.pmapi.common.constant.RegionConst; |
|
|
|
import com.ningdatech.pmapi.organization.mapper.DingEmployeeInfoMapper; |
|
|
|
import com.ningdatech.pmapi.organization.model.entity.DingEmployeeInfo; |
|
|
|
import com.ningdatech.pmapi.scheduler.task.model.CommonLog; |
|
|
@@ -89,7 +90,7 @@ public class CommonLogTask { |
|
|
|
commonLog.setUserId(String.valueOf(userInfo.getId())); |
|
|
|
} |
|
|
|
commonLog.setUserRole("政府工作人员"); |
|
|
|
commonLog.setAreaCode(userInfo.getRegionCode()); |
|
|
|
commonLog.setAreaCode(userInfo.getRegionCode() + RegionConst.NINE_CODE_LAST); |
|
|
|
String description = optLog.getDescription(); |
|
|
|
if ("用户登录".equals(description)){ |
|
|
|
commonLog.setActionType(1); |
|
|
|