|
@@ -1,22 +1,22 @@
|
|
|
-package com.persagy.modules.tool.service.codegen.impl;
|
|
|
+package com.yushu.modules.tool.service.codegen.impl;
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
-import com.persagy.framework.common.pojo.PageResult;
|
|
|
-import com.persagy.framework.common.util.collection.CollectionUtils;
|
|
|
-import com.persagy.modules.infra.codegen.config.CodegenProperties;
|
|
|
-import com.persagy.modules.tool.controller.codegen.vo.ToolCodegenUpdateReqVO;
|
|
|
-import com.persagy.modules.tool.controller.codegen.vo.table.ToolCodegenTablePageReqVO;
|
|
|
-import com.persagy.modules.tool.convert.codegen.ToolCodegenConvert;
|
|
|
-import com.persagy.modules.tool.dal.dataobject.codegen.ToolCodegenColumnDO;
|
|
|
-import com.persagy.modules.tool.dal.dataobject.codegen.ToolCodegenTableDO;
|
|
|
-import com.persagy.modules.tool.dal.dataobject.codegen.ToolSchemaColumnDO;
|
|
|
-import com.persagy.modules.tool.dal.dataobject.codegen.ToolSchemaTableDO;
|
|
|
-import com.persagy.modules.tool.dal.mysql.codegen.ToolCodegenColumnMapper;
|
|
|
-import com.persagy.modules.tool.dal.mysql.codegen.ToolCodegenTableMapper;
|
|
|
-import com.persagy.modules.tool.dal.mysql.codegen.ToolSchemaColumnMapper;
|
|
|
-import com.persagy.modules.tool.dal.mysql.codegen.ToolSchemaTableMapper;
|
|
|
-import com.persagy.modules.tool.enums.codegen.ToolCodegenImportTypeEnum;
|
|
|
-import com.persagy.modules.tool.service.codegen.ToolCodegenService;
|
|
|
+import com.yushu.framework.common.pojo.PageResult;
|
|
|
+import com.yushu.framework.common.util.collection.CollectionUtils;
|
|
|
+import com.yushu.modules.infra.codegen.config.CodegenProperties;
|
|
|
+import com.yushu.modules.tool.controller.codegen.vo.ToolCodegenUpdateReqVO;
|
|
|
+import com.yushu.modules.tool.controller.codegen.vo.table.ToolCodegenTablePageReqVO;
|
|
|
+import com.yushu.modules.tool.convert.codegen.ToolCodegenConvert;
|
|
|
+import com.yushu.modules.tool.dal.dataobject.codegen.ToolCodegenColumnDO;
|
|
|
+import com.yushu.modules.tool.dal.dataobject.codegen.ToolCodegenTableDO;
|
|
|
+import com.yushu.modules.tool.dal.dataobject.codegen.ToolSchemaColumnDO;
|
|
|
+import com.yushu.modules.tool.dal.dataobject.codegen.ToolSchemaTableDO;
|
|
|
+import com.yushu.modules.tool.dal.mysql.codegen.ToolCodegenColumnMapper;
|
|
|
+import com.yushu.modules.tool.dal.mysql.codegen.ToolCodegenTableMapper;
|
|
|
+import com.yushu.modules.tool.dal.mysql.codegen.ToolSchemaColumnMapper;
|
|
|
+import com.yushu.modules.tool.dal.mysql.codegen.ToolSchemaTableMapper;
|
|
|
+import com.yushu.modules.tool.enums.codegen.ToolCodegenImportTypeEnum;
|
|
|
+import com.yushu.modules.tool.service.codegen.ToolCodegenService;
|
|
|
import org.apache.commons.collections4.KeyValue;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
@@ -28,8 +28,8 @@ import java.util.Map;
|
|
|
import java.util.Set;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
-import static com.persagy.framework.common.exception.util.ServiceExceptionUtil.exception;
|
|
|
-import static com.persagy.modules.tool.enums.ToolErrorCodeConstants.*;
|
|
|
+import static com.yushu.framework.common.exception.util.ServiceExceptionUtil.exception;
|
|
|
+import static com.yushu.modules.tool.enums.ToolErrorCodeConstants.*;
|
|
|
|
|
|
/**
|
|
|
* 代码生成 Service 实现类
|