You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
443 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.ruoyi.system.handle;
import org.dromara.warm.flow.core.handler.TenantHandler;
/**
* 全局租户处理器(可通过配置文件注入,也可用@Bean/@Component方式
*
* @author warm
*/
public class CustomTenantHandler implements TenantHandler {
@Override
public String getTenantId() {
// 这里返回系统中的当前办理人的租户ID一般会有工具类获取
return "000000";
}
}