mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-12-12 12:19:27 +08:00
🎉 2.1.0.RELEASE
This commit is contained in:
parent
f4bde35ff6
commit
6c40dca2d0
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springblade.core.tenant;
|
package org.springblade.core.boot.tenant;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.tenant.TenantHandler;
|
import com.baomidou.mybatisplus.extension.plugins.tenant.TenantHandler;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springblade.core.tenant;
|
package org.springblade.core.boot.tenant;
|
||||||
|
|
||||||
import org.springblade.core.tool.utils.RandomType;
|
import org.springblade.core.tool.utils.RandomType;
|
||||||
import org.springblade.core.tool.utils.StringUtil;
|
import org.springblade.core.tool.utils.StringUtil;
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springblade.core.tenant;
|
package org.springblade.core.boot.tenant;
|
||||||
|
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import lombok.Setter;
|
import lombok.Setter;
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springblade.core.tenant;
|
package org.springblade.core.boot.tenant;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.core.MybatisConfiguration;
|
import com.baomidou.mybatisplus.core.MybatisConfiguration;
|
||||||
import com.baomidou.mybatisplus.core.parser.ISqlParser;
|
import com.baomidou.mybatisplus.core.parser.ISqlParser;
|
@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springblade.core.tenant;
|
package org.springblade.core.boot.tenant;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 租户id生成器
|
* 租户id生成器
|
||||||
@ -24,7 +24,8 @@ public interface TenantId {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 生成自定义租户id
|
* 生成自定义租户id
|
||||||
* @return
|
*
|
||||||
|
* @return string
|
||||||
*/
|
*/
|
||||||
String generate();
|
String generate();
|
||||||
|
|
@ -13,12 +13,11 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.springblade.core.tenant.mp;
|
package org.springblade.core.mp.base;
|
||||||
|
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springblade.core.mp.base.BaseEntity;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 租户基础实体类
|
* 租户基础实体类
|
@ -1,25 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
<parent>
|
|
||||||
<artifactId>blade-tool</artifactId>
|
|
||||||
<groupId>org.springblade</groupId>
|
|
||||||
<version>2.1.0</version>
|
|
||||||
</parent>
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<artifactId>blade-core-tenant</artifactId>
|
|
||||||
<name>${project.artifactId}</name>
|
|
||||||
<version>${blade.tool.version}</version>
|
|
||||||
<packaging>jar</packaging>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.springblade</groupId>
|
|
||||||
<artifactId>blade-core-mybatis</artifactId>
|
|
||||||
<version>${blade.tool.version}</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
|
1
pom.xml
1
pom.xml
@ -68,7 +68,6 @@
|
|||||||
<module>blade-core-mybatis</module>
|
<module>blade-core-mybatis</module>
|
||||||
<module>blade-core-swagger</module>
|
<module>blade-core-swagger</module>
|
||||||
<module>blade-core-cloud</module>
|
<module>blade-core-cloud</module>
|
||||||
<module>blade-core-tenant</module>
|
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
Loading…
Reference in New Issue
Block a user