mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
更新solon自v2.5.2版本之后即将弃用的注解,将@ProxyComponent改为@Component
This commit is contained in:
parent
53dd6b378d
commit
f81b5e0a35
@ -4,7 +4,7 @@ import com.mybatisflex.solon.service.impl.ServiceImpl;
|
||||
import #(packageConfig.entityPackage).#(table.buildEntityClassName());
|
||||
import #(packageConfig.mapperPackage).#(table.buildMapperClassName());
|
||||
import #(packageConfig.servicePackage).#(table.buildServiceClassName());
|
||||
import org.noear.solon.annotation.ProxyComponent;
|
||||
import org.noear.solon.annotation.Component;
|
||||
|
||||
/**
|
||||
* #(table.getComment()) 服务层实现。
|
||||
@ -12,7 +12,7 @@ import org.noear.solon.annotation.ProxyComponent;
|
||||
* @author #(javadocConfig.getAuthor())
|
||||
* @since #(javadocConfig.getSince())
|
||||
*/
|
||||
@ProxyComponent
|
||||
@Component
|
||||
public class #(table.buildServiceImplClassName()) extends ServiceImpl<#(table.buildMapperClassName()), #(table.buildEntityClassName())> implements #(table.buildServiceClassName()) {
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user