|
|
@ -12,8 +12,12 @@ import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator;
|
|
|
|
import com.baomidou.mybatisplus.core.incrementer.IdentifierGenerator;
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
|
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
|
import org.apache.velocity.Template;
|
|
|
|
|
|
|
|
import org.apache.velocity.VelocityContext;
|
|
|
|
|
|
|
|
import org.apache.velocity.app.Velocity;
|
|
|
|
import org.dromara.common.core.constant.Constants;
|
|
|
|
import org.dromara.common.core.constant.Constants;
|
|
|
|
import org.dromara.common.core.constant.GenConstants;
|
|
|
|
|
|
|
|
import org.dromara.common.core.exception.ServiceException;
|
|
|
|
import org.dromara.common.core.exception.ServiceException;
|
|
|
|
import org.dromara.common.core.utils.JsonUtils;
|
|
|
|
import org.dromara.common.core.utils.JsonUtils;
|
|
|
|
import org.dromara.common.core.utils.StreamUtils;
|
|
|
|
import org.dromara.common.core.utils.StreamUtils;
|
|
|
@ -22,6 +26,7 @@ import org.dromara.common.core.utils.file.FileUtils;
|
|
|
|
import org.dromara.common.mybatis.core.page.PageQuery;
|
|
|
|
import org.dromara.common.mybatis.core.page.PageQuery;
|
|
|
|
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
|
|
|
import org.dromara.common.mybatis.core.page.TableDataInfo;
|
|
|
|
import org.dromara.common.satoken.utils.LoginHelper;
|
|
|
|
import org.dromara.common.satoken.utils.LoginHelper;
|
|
|
|
|
|
|
|
import org.dromara.gen.constant.GenConstants;
|
|
|
|
import org.dromara.gen.domain.GenTable;
|
|
|
|
import org.dromara.gen.domain.GenTable;
|
|
|
|
import org.dromara.gen.domain.GenTableColumn;
|
|
|
|
import org.dromara.gen.domain.GenTableColumn;
|
|
|
|
import org.dromara.gen.mapper.GenTableColumnMapper;
|
|
|
|
import org.dromara.gen.mapper.GenTableColumnMapper;
|
|
|
@ -29,11 +34,6 @@ import org.dromara.gen.mapper.GenTableMapper;
|
|
|
|
import org.dromara.gen.util.GenUtils;
|
|
|
|
import org.dromara.gen.util.GenUtils;
|
|
|
|
import org.dromara.gen.util.VelocityInitializer;
|
|
|
|
import org.dromara.gen.util.VelocityInitializer;
|
|
|
|
import org.dromara.gen.util.VelocityUtils;
|
|
|
|
import org.dromara.gen.util.VelocityUtils;
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
|
|
import org.apache.velocity.Template;
|
|
|
|
|
|
|
|
import org.apache.velocity.VelocityContext;
|
|
|
|
|
|
|
|
import org.apache.velocity.app.Velocity;
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
|
|
|
|