升级工具包版本号,修改常量接口为常量类
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package xtools.app.gen.service.base;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.baomidou.mybatisplus.spring.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Component;
|
||||
import xtools.app.gen.mapper.GenDatasourceMapper;
|
||||
import xtools.app.gen.model.entity.GenDatasource;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package xtools.app.gen.service.base;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.baomidou.mybatisplus.spring.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Component;
|
||||
import xtools.app.gen.mapper.GenTableMapper;
|
||||
import xtools.app.gen.model.entity.GenTable;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package xtools.app.gen.service.base;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.baomidou.mybatisplus.spring.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Component;
|
||||
import xtools.app.gen.mapper.GenTableColumnMapper;
|
||||
import xtools.app.gen.model.entity.GenTableColumn;
|
||||
|
||||
+14
-2
@@ -28,7 +28,6 @@ import xtools.app.gen.service.base.GenTableBaseService;
|
||||
import xtools.app.gen.service.base.GenTableColumnBaseService;
|
||||
import xtools.app.gen.utils.DatasourceUtils;
|
||||
import xtools.app.gen.utils.GenUtils;
|
||||
import xtools.base.config.BaseParams;
|
||||
import xtools.boot.api.exection.BizError;
|
||||
import xtools.boot.api.exection.BizWarning;
|
||||
import xtools.boot.api.model.dto.Result;
|
||||
@@ -61,6 +60,19 @@ import java.util.regex.Pattern;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipOutputStream;
|
||||
|
||||
import static xtools.base.config.Constants.CP_COLON;
|
||||
import static xtools.base.config.Constants.CP_DOT;
|
||||
import static xtools.base.config.Constants.CP_EMPTY;
|
||||
import static xtools.base.config.Constants.CP_LINE;
|
||||
import static xtools.base.config.Constants.CP_NEGATIVE1;
|
||||
import static xtools.base.config.Constants.CP_NUM0;
|
||||
import static xtools.base.config.Constants.CP_NUM1;
|
||||
import static xtools.base.config.Constants.CP_NUM2;
|
||||
import static xtools.base.config.Constants.CP_NUM20;
|
||||
import static xtools.base.config.Constants.CP_NUM3;
|
||||
import static xtools.base.config.Constants.CP_SLASH;
|
||||
import static xtools.base.config.Constants.CP_UNDERLINE;
|
||||
|
||||
/**
|
||||
* <p>Title : GenServiceImpl</p>
|
||||
* <p>Description : GenServiceImpl</p>
|
||||
@@ -75,7 +87,7 @@ import java.util.zip.ZipOutputStream;
|
||||
@Primary
|
||||
@Service
|
||||
@RequiredArgsConstructor
|
||||
public class GenServiceImpl implements GenService, BaseParams {
|
||||
public class GenServiceImpl implements GenService {
|
||||
|
||||
private final GenProperties genProperties;
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package ${table.packageName}.${subPackageName};
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.baomidou.mybatisplus.spring.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import ${table.packageName}.mapper.${table.entityName}Mapper;
|
||||
|
||||
Reference in New Issue
Block a user