7 changed files with 289 additions and 71 deletions
@ -0,0 +1,125 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" |
|||
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"> |
|||
<modelVersion>4.0.0</modelVersion> |
|||
<parent> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>dk-modules</artifactId> |
|||
<version>2.2.2</version> |
|||
</parent> |
|||
|
|||
<artifactId>business</artifactId> |
|||
<description> |
|||
business系统业务模块 |
|||
</description> |
|||
<dependencies> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-nacos</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-sentinel</artifactId> |
|||
</dependency> |
|||
|
|||
<!-- RuoYi Common Log --> |
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-log</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-dict</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-doc</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-web</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-mybatis</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-dubbo</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-seata</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-idempotent</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-tenant</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-security</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-translation</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-sensitive</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>common-encrypt</artifactId> |
|||
</dependency> |
|||
|
|||
<!-- RuoYi Api System --> |
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>api-system</artifactId> |
|||
</dependency> |
|||
|
|||
<dependency> |
|||
<groupId>org.dromara</groupId> |
|||
<artifactId>api-resource</artifactId> |
|||
</dependency> |
|||
|
|||
</dependencies> |
|||
|
|||
<build> |
|||
<finalName>${project.artifactId}</finalName> |
|||
<plugins> |
|||
<plugin> |
|||
<groupId>org.springframework.boot</groupId> |
|||
<artifactId>spring-boot-maven-plugin</artifactId> |
|||
<version>${spring-boot.version}</version> |
|||
<executions> |
|||
<execution> |
|||
<goals> |
|||
<goal>repackage</goal> |
|||
</goals> |
|||
</execution> |
|||
</executions> |
|||
</plugin> |
|||
</plugins> |
|||
</build> |
|||
|
|||
</project> |
@ -0,0 +1,22 @@ |
|||
package org.dromara.business; |
|||
|
|||
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo; |
|||
import org.springframework.boot.SpringApplication; |
|||
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|||
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
|||
import org.springframework.boot.context.metrics.buffering.BufferingApplicationStartup; |
|||
|
|||
/** |
|||
* @auther yq |
|||
* @data 2025/2/25 |
|||
*/ |
|||
@EnableDubbo |
|||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) |
|||
public class BusinessApplication { |
|||
public static void main(String[] args) { |
|||
SpringApplication application = new SpringApplication(BusinessApplication.class); |
|||
application.setApplicationStartup(new BufferingApplicationStartup(2048)); |
|||
application.run(args); |
|||
System.out.println("(♥◠‿◠)ノ゙ 业务模块启动成功 ლ(´ڡ`ლ)゙ "); |
|||
} |
|||
} |
@ -0,0 +1,71 @@ |
|||
/* |
|||
Navicat Premium Data Transfer |
|||
|
|||
Source Server : 8.0 |
|||
Source Server Type : MySQL |
|||
Source Server Version : 80039 |
|||
Source Host : 127.0.0.1:3306 |
|||
Source Schema : jeecg-boot |
|||
|
|||
Target Server Type : MySQL |
|||
Target Server Version : 80039 |
|||
File Encoding : 65001 |
|||
|
|||
Date: 15/02/2025 16:05:24 |
|||
*/ |
|||
|
|||
SET NAMES utf8mb4; |
|||
SET FOREIGN_KEY_CHECKS = 0; |
|||
|
|||
-- ---------------------------- |
|||
-- Table structure for wayline_module |
|||
-- ---------------------------- |
|||
DROP TABLE IF EXISTS `wayline_module`; |
|||
CREATE TABLE `wayline_module` ( |
|||
`id` bigint NOT NULL AUTO_INCREMENT, |
|||
`dept_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门id', |
|||
`dept_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门名称', |
|||
`platform_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'plough' COMMENT '平台类型', |
|||
`platform_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '平台id', |
|||
`radius` geomcollection NOT NULL COMMENT '巡查范围', |
|||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', |
|||
PRIMARY KEY (`id`, `platform_id`) USING BTREE |
|||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; |
|||
|
|||
-- ---------------------------- |
|||
-- Table structure for wayline_module_handle |
|||
-- ---------------------------- |
|||
DROP TABLE IF EXISTS `wayline_module_handle`; |
|||
CREATE TABLE `wayline_module_handle` ( |
|||
`id` bigint NOT NULL AUTO_INCREMENT, |
|||
`images` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '图片', |
|||
`max_images` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '模板图片', |
|||
`mate_source_img_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模板图片', |
|||
`max_mate_source_img_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模板图片', |
|||
`lng` double NULL DEFAULT NULL COMMENT '经度', |
|||
`lat` double NULL DEFAULT NULL COMMENT '纬度', |
|||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', |
|||
`wheel_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '任务轮id', |
|||
`task_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '媒体id', |
|||
`dept_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门id', |
|||
`dept_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '部门名称', |
|||
`job_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '预警名称', |
|||
`platform_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '平台类型', |
|||
`task_image_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '图片id', |
|||
PRIMARY KEY (`id`) USING BTREE |
|||
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; |
|||
|
|||
-- ---------------------------- |
|||
-- Table structure for wayline_splice_tiff |
|||
-- ---------------------------- |
|||
DROP TABLE IF EXISTS `wayline_splice_tiff`; |
|||
CREATE TABLE `wayline_splice_tiff` ( |
|||
`id` bigint NOT NULL AUTO_INCREMENT, |
|||
`task_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '任务id', |
|||
`file_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '航线id', |
|||
`path_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '图片地址', |
|||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', |
|||
PRIMARY KEY (`id`) USING BTREE |
|||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; |
|||
|
|||
SET FOREIGN_KEY_CHECKS = 1; |
Loading…
Reference in new issue