| | |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.util.ObjectUtils; |
| | | |
| | | import java.util.Set; |
| | | |
| | |
| | | |
| | | @Override |
| | | public Expression getTenantId() { |
| | | Integer tenantId = SecurityUtils.getLoginUser().getTenantId(); |
| | | return new LongValue(tenantId); |
| | | try { |
| | | Integer tenantId = SecurityUtils.getLoginUser().getTenantId(); |
| | | return new LongValue(tenantId); |
| | | } catch (Exception e) { |
| | | return null; |
| | | } |
| | | } |
| | | |
| | | @Override |