网页版资源同步
This commit is contained in:
1
pom.xml
1
pom.xml
@ -183,7 +183,6 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>yjearth</finalName>
|
<finalName>yjearth</finalName>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|||||||
@ -34,7 +34,7 @@ public class CodeUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 传入需要生成代码的表名
|
// 传入需要生成代码的表名
|
||||||
Generation("icon_library");
|
Generation("web_source");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Generation(String... tableName) {
|
public static void Generation(String... tableName) {
|
||||||
|
|||||||
@ -51,6 +51,7 @@ public class DatabaseManager {
|
|||||||
classes.add(MilitaryLibrary.class);
|
classes.add(MilitaryLibrary.class);
|
||||||
classes.add(IconLibrary.class);
|
classes.add(IconLibrary.class);
|
||||||
classes.add(BusinessConfig.class);
|
classes.add(BusinessConfig.class);
|
||||||
|
classes.add(WebSource.class);
|
||||||
ENTITY_CLASSES = Collections.unmodifiableList(classes);
|
ENTITY_CLASSES = Collections.unmodifiableList(classes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
22
src/main/java/com/yj/earth/design/WebSource.java
Normal file
22
src/main/java/com/yj/earth/design/WebSource.java
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package com.yj.earth.design;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class WebSource {
|
||||||
|
@Schema(description = "主键")
|
||||||
|
private String id;
|
||||||
|
@Schema(description = "资源名称")
|
||||||
|
private String name;
|
||||||
|
@Schema(description = "资源路径")
|
||||||
|
private String path;
|
||||||
|
@Schema(description = "资源类型")
|
||||||
|
private String type;
|
||||||
|
@Schema(description = "创建时间")
|
||||||
|
private LocalDateTime createdAt;
|
||||||
|
@Schema(description = "更新时间")
|
||||||
|
private LocalDateTime updatedAt;
|
||||||
|
}
|
||||||
@ -44,3 +44,6 @@ graphhopper:
|
|||||||
- car
|
- car
|
||||||
- bike
|
- bike
|
||||||
- foot
|
- foot
|
||||||
|
|
||||||
|
sync:
|
||||||
|
folder: E:\\地理资源
|
||||||
|
|||||||
Reference in New Issue
Block a user