Explorar el Código

add log

release_toaliyun_real
xiaohanzi hace 5 años
padre
commit
2a747980b1
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      mallinkService/src/main/java/com/iformall/domain/po/base/BaseTenantEntity.java

+ 4
- 1
mallinkService/src/main/java/com/iformall/domain/po/base/BaseTenantEntity.java Ver fichero

@@ -4,6 +4,8 @@ import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

import org.apache.commons.lang3.StringUtils;

/**
@@ -11,6 +13,7 @@ import org.apache.commons.lang3.StringUtils;
* @date 2019/4/24 14:32
*/
@Data
@Slf4j
@EqualsAndHashCode(callSuper = true)
public class BaseTenantEntity extends BaseEntity {
@io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId")
@@ -25,7 +28,7 @@ public class BaseTenantEntity extends BaseEntity {
private TenantEntity tenantInfo;

public void updateTenantInfo(TenantEntity info) {
System.out.println("info.tenantId:"+info.getTenantId()+". info.parentTenantId:"+info.getParentTenantId()+".");
log.info("info.tenantId:"+info.getTenantId()+". info.parentTenantId:"+info.getParentTenantId()+".");
setTenantId(info.getTenantId());
if (StringUtils.isNotBlank(info.getParentTenantId())) {
setParentTenantId(info.getParentTenantId());


Cargando…
Cancelar
Guardar