Browse Source

添加日志信息

tags/v2.4.1
xiaoying 1 year ago
parent
commit
ccd52e55b9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/TenantServiceImpl.java

+ 2
- 0
tuoheng_oidc_admin/src/main/java/com/tuoheng/service/impl/TenantServiceImpl.java View File

@@ -3,6 +3,7 @@ package com.tuoheng.service.impl;
import cn.hutool.core.date.DateUnit;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.json.JSONUtil;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
@@ -143,6 +144,7 @@ public class TenantServiceImpl implements TenantService {
if (ObjectUtil.isNotEmpty(clientRoleDto.getServiceId())) {
tenantEmploy.setServiceId(clientRoleDto.getServiceId());
}
log.info(JSONUtil.toJsonStr(tenantEmploy));
tenantEmployMapper.insert(tenantEmploy);
}
//拼接

Loading…
Cancel
Save