feat : 模块抽离 + 自定义查分表模块基本完成

This commit is contained in:
clay
2024-04-10 14:31:08 +08:00
parent da94c4fa32
commit cde8e3a928
377 changed files with 3249 additions and 136 deletions

View File

@@ -36,7 +36,7 @@ dubbo:
protocol: protocol:
name: dubbo name: dubbo
port: -1 port: -1
serialization: fastjson2 # serialization: fastjson2
registry: registry:
address: nacos://${spring.cloud.nacos.discovery.server-addr} address: nacos://${spring.cloud.nacos.discovery.server-addr}
username: ${spring.cloud.nacos.discovery.username} username: ${spring.cloud.nacos.discovery.username}

View File

@@ -34,7 +34,7 @@ public class CaptchaConfig {
//鱼眼 com.google.code.kaptcha.impl.FishEyeGimpy //鱼眼 com.google.code.kaptcha.impl.FishEyeGimpy
//阴影 com.google.code.kaptcha.impl.ShadowGimpy //阴影 com.google.code.kaptcha.impl.ShadowGimpy
// properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_STRING,"123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ#$!@&%"); // properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_STRING,"123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ#$!@&%");
properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_STRING,"123456789#$@&%"); properties.setProperty(KAPTCHA_TEXTPRODUCER_CHAR_STRING,"0123456789");
properties.setProperty(KAPTCHA_OBSCURIFICATOR_IMPL, "com.google.code.kaptcha.impl.ShadowGimpy"); properties.setProperty(KAPTCHA_OBSCURIFICATOR_IMPL, "com.google.code.kaptcha.impl.ShadowGimpy");
DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); DefaultKaptcha defaultKaptcha = new DefaultKaptcha();
Config config = new Config(properties); Config config = new Config(properties);

View File

@@ -39,7 +39,7 @@ dubbo:
protocol: protocol:
name: dubbo name: dubbo
port: -1 port: -1
serialization: fastjson2 # serialization: fastjson2
registry: registry:
address: nacos://${spring.cloud.nacos.discovery.server-addr} address: nacos://${spring.cloud.nacos.discovery.server-addr}
username: ${spring.cloud.nacos.discovery.username} username: ${spring.cloud.nacos.discovery.username}

View File

@@ -1,6 +1,5 @@
package cn.fateverse.code.entity; package cn.fateverse.code.entity;
import cn.hutool.core.util.StrUtil;
import cn.fateverse.code.util.constant.CodeGenConstants; import cn.fateverse.code.util.constant.CodeGenConstants;
import cn.fateverse.common.core.annotaion.EnableAutoField; import cn.fateverse.common.core.annotaion.EnableAutoField;
import cn.fateverse.common.core.entity.BaseEntity; import cn.fateverse.common.core.entity.BaseEntity;

View File

@@ -34,7 +34,7 @@ dubbo:
protocol: protocol:
name: dubbo name: dubbo
port: -1 port: -1
serialization: fastjson2 # serialization: fastjson2
registry: registry:
address: nacos://${spring.cloud.nacos.discovery.server-addr} address: nacos://${spring.cloud.nacos.discovery.server-addr}
username: ${spring.cloud.nacos.discovery.username} username: ${spring.cloud.nacos.discovery.username}

View File

@@ -3,14 +3,14 @@ import { PlusCircleTwoTone, EditTwoTone, DeleteTwoTone, ExclamationCircleOutline
import Table, { ColumnsType } from "antd/lib/table"; import Table, { ColumnsType } from "antd/lib/table";
import { TableRowSelection } from "antd/lib/table/interface"; import { TableRowSelection } from "antd/lib/table/interface";
import React, { Fragment, useEffect, useReducer, useState } from "react"; import React, { Fragment, useEffect, useReducer, useState } from "react";
import { get${ClassName}List, get${ClassName}Details, add${ClassName}, edit${ClassName}, del${ClassName} } from "../../api/${businessName}"; import { get${ClassName}List, get${ClassName}Details, add${ClassName}, edit${ClassName}, del${ClassName} } from "./view.tsx${businessName}";
#if($table.hasDictSelect()) #if($table.hasDictSelect())
import { DTag } from "../../components/DTag"; import { DTag } from "../../components/DTag";
import { getCacheType } from "../../utils/cache"; import { getCacheType } from "../../utils/cache";
#end #end
import SearchForm from "../../components/SearchForm"; import SearchForm from "../../components/SearchForm";
import { IModalConfig, IResponse } from "../../type"; import { IModalConfig, IResponse } from "../../type";
import { DataType } from "../../type/${businessName}"; import { DataType } from "./view.tsx${businessName}";
import confirm from "antd/lib/modal/confirm"; import confirm from "antd/lib/modal/confirm";
import { parseDateTime, queryReducer, reducerPagination } from "../../utils/tool"; import { parseDateTime, queryReducer, reducerPagination } from "../../utils/tool";

View File

@@ -3,19 +3,28 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<artifactId>visual</artifactId> <artifactId>custom-query</artifactId>
<groupId>cn.fateverse</groupId> <groupId>cn.fateverse</groupId>
<version>1.0.0</version> <version>1.0.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>custom-query</artifactId> <artifactId>custom-query-biz</artifactId>
<description>自定义查询模块</description>
<properties> <properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.deploy.skip>true</maven.deploy.skip> <maven.deploy.skip>true</maven.deploy.skip>
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>cn.fateverse</groupId>
<artifactId>custom-query-submter</artifactId>
<version>1.0.0</version>
</dependency>
<dependency> <dependency>
<groupId>cn.fateverse</groupId> <groupId>cn.fateverse</groupId>
<artifactId>common-security</artifactId> <artifactId>common-security</artifactId>
@@ -89,4 +98,5 @@
</plugins> </plugins>
</build> </build>
</project> </project>

Some files were not shown because too many files have changed in this diff Show More