fix 修复 补全代码生成导包

feature/model
疯狂的狮子li 2 years ago
parent 4e1f970195
commit 21968ea8e6

@ -2,6 +2,8 @@ package ${packageName}.domain.bo;
import ${packageName}.domain.${ClassName}; import ${packageName}.domain.${ClassName};
import org.dromara.common.mybatis.core.domain.BaseEntity; import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper; import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;

@ -8,6 +8,7 @@ package ${packageName}.domain;
#if($IsTenant==1) #if($IsTenant==1)
import org.dromara.common.tenant.core.TenantEntity; import org.dromara.common.tenant.core.TenantEntity;
#else #else
import org.dromara.common.mybatis.core.domain.BaseEntity;
#end #end
import com.baomidou.mybatisplus.annotation.*; import com.baomidou.mybatisplus.annotation.*;
import lombok.Data; import lombok.Data;

@ -1,7 +1,8 @@
package ${packageName}.service.impl; package ${packageName}.service.impl;
import org.dromara.common.core.utils.MapstructUtils; import org.dromara.common.core.utils.MapstructUtils;
#if($table.crud || $table.sub) import org.dromara.common.core.utils.StringUtils;
#if($table.crud || $table.sub)
import org.dromara.common.mybatis.core.page.TableDataInfo; import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery; import org.dromara.common.mybatis.core.page.PageQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

Loading…
Cancel
Save