diff --git "a/multiple/\344\270\273\345\255\220Contoller.java" "b/multiple/\344\270\273\345\255\220Contoller.java" index a0ad264..f4c079f 100644 --- "a/multiple/\344\270\273\345\255\220Contoller.java" +++ "b/multiple/\344\270\273\345\255\220Contoller.java" @@ -7,13 +7,19 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.pig4cloud.pigx.common.core.util.R; -import com.pig4cloud.pigx.common.log.annotation.SysLog; +#if($opensource) +import ${package}.common.core.util.R; +import ${package}.log.annotation.SysLog; +import com.pig4cloud.plugin.excel.annotation.ResponseExcel; +#else +import ${package}.common.core.util.R; +import ${package}.common.log.annotation.SysLog; +import ${package}.common.excel.annotation.ResponseExcel; +#end import ${package}.${moduleName}.entity.${ClassName}Entity; import ${package}.${moduleName}.entity.${ChildClassName}Entity; import ${package}.${moduleName}.service.${ClassName}Service; import org.springframework.security.access.prepost.PreAuthorize; -import com.pig4cloud.pigx.common.excel.annotation.ResponseExcel; import io.swagger.v3.oas.annotations.security.SecurityRequirement; #if($isSpringBoot3) import org.springdoc.core.annotations.ParameterObject; diff --git "a/multiple/\344\270\273\345\256\236\344\275\223.java" "b/multiple/\344\270\273\345\256\236\344\275\223.java" index e6fb255..2599fd3 100644 --- "a/multiple/\344\270\273\345\256\236\344\275\223.java" +++ "b/multiple/\344\270\273\345\256\236\344\275\223.java" @@ -6,7 +6,7 @@ import lombok.Data; import lombok.EqualsAndHashCode; #if($isTenant) -import com.pig4cloud.pigx.common.core.util.TenantTable; +import ${package}.common.core.util.TenantTable; #end #foreach($import in $importList) import $import; diff --git "a/multiple/\345\255\220Mapper.java" "b/multiple/\345\255\220Mapper.java" index 7d89b7b..bb50033 100644 --- "a/multiple/\345\255\220Mapper.java" +++ "b/multiple/\345\255\220Mapper.java" @@ -1,6 +1,6 @@ package ${package}.${moduleName}.mapper; -import com.pig4cloud.pigx.common.data.datascope.PigxBaseMapper; +import ${package}.common.data.datascope.PigxBaseMapper; import ${package}.${moduleName}.entity.${ChildClassName}Entity; import org.apache.ibatis.annotations.Mapper; diff --git "a/multiple/\345\255\220\345\256\236\344\275\223.java" "b/multiple/\345\255\220\345\256\236\344\275\223.java" index 5791b94..336d649 100644 --- "a/multiple/\345\255\220\345\256\236\344\275\223.java" +++ "b/multiple/\345\255\220\345\256\236\344\275\223.java" @@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.extension.activerecord.Model; import io.swagger.v3.oas.annotations.media.Schema; #if($isChildTenant) -import com.pig4cloud.pigx.common.core.util.TenantTable; +import ${package}.common.core.util.TenantTable; #end import lombok.Data; import lombok.EqualsAndHashCode; diff --git a/single/Controller.java b/single/Controller.java index 737205c..af8012f 100644 --- a/single/Controller.java +++ b/single/Controller.java @@ -8,12 +8,18 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.pig4cloud.pigx.common.core.util.R; -import com.pig4cloud.pigx.common.log.annotation.SysLog; +#if($opensource) +import ${package}.common.core.util.R; +import ${package}.log.annotation.SysLog; +import com.pig4cloud.plugin.excel.annotation.ResponseExcel; +#else +import ${package}.common.core.util.R; +import ${package}.common.log.annotation.SysLog; +import ${package}.common.excel.annotation.ResponseExcel; +#end import ${package}.${moduleName}.entity.${ClassName}Entity; import ${package}.${moduleName}.service.${ClassName}Service; import org.springframework.security.access.prepost.PreAuthorize; -import com.pig4cloud.pigx.common.excel.annotation.ResponseExcel; import io.swagger.v3.oas.annotations.security.SecurityRequirement; #if($isSpringBoot3) import org.springdoc.core.annotations.ParameterObject; diff --git "a/single/\345\256\236\344\275\223.java" "b/single/\345\256\236\344\275\223.java" index 910b6cf..d6036fa 100644 --- "a/single/\345\256\236\344\275\223.java" +++ "b/single/\345\256\236\344\275\223.java" @@ -6,7 +6,7 @@ import lombok.Data; import lombok.EqualsAndHashCode; #if($isTenant) -import com.pig4cloud.pigx.common.core.util.TenantTable; +import ${package}.common.core.util.TenantTable; #end #foreach($import in $importList) import $import;