From 0b141796a1d2a56583a4c65ff654545024006f73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=8E=8B=E5=A5=8E=E5=85=B4?= <2220574228@qq.com>
Date: Thu, 30 Apr 2026 14:57:13 +0800
Subject: [PATCH] mnd-bi;
---
mhd-bi/Dockerfile | 17 ++
mhd-bi/pom.xml | 180 ++++++++++++++
.../main/java/com/mhd/bi/BiApplication.java | 234 ++++++++++++++++++
.../bi/domain/testTable/entity/TestTable.java | 28 +++
.../repository/facade/TestTableService.java | 8 +
.../repository/mapper/TestTableMapper.java | 16 ++
.../persistence/TestTableServiceImpl.java | 16 ++
.../facadeApi/testTable/TestTableApi.java | 45 ++++
mhd-bi/src/main/resources/banner.txt | 10 +
mhd-bi/src/main/resources/bootstrap.yml | 35 +++
mhd-bi/src/main/resources/logback.xml | 74 ++++++
.../main/resources/mapper/TextTableMapper.xml | 7 +
pom.xml | 1 +
13 files changed, 671 insertions(+)
create mode 100644 mhd-bi/Dockerfile
create mode 100644 mhd-bi/pom.xml
create mode 100644 mhd-bi/src/main/java/com/mhd/bi/BiApplication.java
create mode 100644 mhd-bi/src/main/java/com/mhd/bi/domain/testTable/entity/TestTable.java
create mode 100644 mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/facade/TestTableService.java
create mode 100644 mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/mapper/TestTableMapper.java
create mode 100644 mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/persistence/TestTableServiceImpl.java
create mode 100644 mhd-bi/src/main/java/com/mhd/bi/interfaces/facadeApi/testTable/TestTableApi.java
create mode 100644 mhd-bi/src/main/resources/banner.txt
create mode 100644 mhd-bi/src/main/resources/bootstrap.yml
create mode 100644 mhd-bi/src/main/resources/logback.xml
create mode 100644 mhd-bi/src/main/resources/mapper/TextTableMapper.xml
diff --git a/mhd-bi/Dockerfile b/mhd-bi/Dockerfile
new file mode 100644
index 000000000..e5e100e29
--- /dev/null
+++ b/mhd-bi/Dockerfile
@@ -0,0 +1,17 @@
+# 基础镜像
+FROM arm64v8/openjdk:8
+# author
+MAINTAINER manhuoda
+#指定东八区时区
+ENV TZ Asia/Shanghai
+#指定utf-8编码格
+ENV JAVA_TOOL_OPTIONS="-Dfile.encoding=UTF-8"
+# VOLUME 指定了临时文件目录为/tmp。
+# 其效果是在主机 /var/lib/docker 目录下创建了一个临时文件,并链接到容器的/tmp
+VOLUME /tmp
+#将当前jar 复制到容器根目录下
+ADD target/mhd-bi.jar mhd-bi.jar
+#暴露容器端口 Docker镜像告知Docker宿主机应用监听了端口
+EXPOSE 9200
+# 运行jar包
+ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Xms1000m", "-Xmx1500m","-jar","/mhd-bi.jar"]
\ No newline at end of file
diff --git a/mhd-bi/pom.xml b/mhd-bi/pom.xml
new file mode 100644
index 000000000..e98d8eafa
--- /dev/null
+++ b/mhd-bi/pom.xml
@@ -0,0 +1,180 @@
+
+
+
+ mhd
+ com.mhd
+ 3.6.0
+
+ 4.0.0
+
+ mhd-bi
+
+
+ 8
+ 8
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-openfeign
+
+
+ io.github.openfeign
+ feign-httpclient
+
+
+ org.springframework.cloud
+ spring-cloud-loadbalancer
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-discovery
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-nacos-config
+
+
+
+ com.alibaba.csp
+ sentinel-datasource-nacos
+
+
+
+ com.alibaba.cloud
+ spring-cloud-starter-alibaba-sentinel
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-sleuth
+
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+
+
+
+
+ com.alibaba.fastjson2
+ fastjson2
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-stream-rabbit
+
+
+
+ com.mhd
+ mhd-common-core
+
+
+
+ com.mhd
+ mhd-common-redis
+
+
+ com.dameng
+ DmJdbcDriver18
+ 8.1.1.193
+
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ 3.3.2
+
+
+
+ com.alibaba
+ druid-spring-boot-starter
+ 1.2.11
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-sleuth
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-zipkin
+ 2.2.8.RELEASE
+
+
+
+
+ com.mhd
+ mhd-common-security
+
+
+
+ com.mhd
+ mhd-api-system
+
+
+
+ com.mhd
+ mhd-common-log
+
+
+
+
+ net.sf.json-lib
+ json-lib
+ 2.4
+ jdk15
+
+
+
+ com.mhd
+ mhd-common-datasource
+
+
+
+
+
+ ${project.artifactId}
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.1.1.RELEASE
+
+
+
+ repackage
+
+
+
+
+
+
+
+
+
+ mhd-bi
+
+
+
+ com.spotify
+ dockerfile-maven-plugin
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mhd-bi/src/main/java/com/mhd/bi/BiApplication.java b/mhd-bi/src/main/java/com/mhd/bi/BiApplication.java
new file mode 100644
index 000000000..dc87a6747
--- /dev/null
+++ b/mhd-bi/src/main/java/com/mhd/bi/BiApplication.java
@@ -0,0 +1,234 @@
+package com.mhd.bi;
+
+import com.mhd.common.core.annotation.fieldsetvalue.CommonService;
+import com.mhd.common.core.annotation.fieldsetvalue.SetFeildValueAspect;
+import org.mybatis.spring.annotation.MapperScan;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
+import org.springframework.cloud.openfeign.EnableFeignClients;
+import org.springframework.context.annotation.Import;
+import org.springframework.scheduling.annotation.EnableAsync;
+
+@SpringBootApplication(scanBasePackages = {"com.mhd", "com.mhd.bi"})
+@EnableDiscoveryClient
+@EnableFeignClients(basePackages = {"com.mhd","com.mhd.bi.infrastructure.feign"})
+@MapperScan("com.mhd.bi.domain.**.mapper")
+@Import({SetFeildValueAspect.class, CommonService.class})
+@EnableAsync
+public class BiApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(BiApplication.class, args);
+ System.out.println("(♥◠‿◠)ノ゙ 可视化页面模块启动成功 ლ(´ڡ`ლ)゙ " +
+ "# _oo0oo_\n" +
+ "# o8888888o\n" +
+ "# 88\" . \"88\n" +
+ "# (| -_- |)\n" +
+ "# 0\\ = /0\n" +
+ "# ___/`---'\\___\n" +
+ "# .' \\\\| |// '.\n" +
+ "# / \\\\||| : |||// \\\n" +
+ "# / _||||| -:- |||||- \\\n" +
+ "# | | \\\\\\ - /// | |\n" +
+ "# | \\_| ''\\---/'' |_/ |\n" +
+ "# \\ .-\\__ '-' ___/-. /\n" +
+ "# ___'. .' /--.--\\ `. .'___\n" +
+ "# .\"\" '< `.___\\_<|>_/___.' >' \"\".\n" +
+ "# | | : `- \\`.;`\\ _ /`;.`/ - ` : | |\n" +
+ "# \\ \\ `_. \\_ __\\ /__ _/ .-` / /\n" +
+ "# =====`-.____`.___ \\_____/___.-`___.-'=====\n" +
+ "# `=---='\n" +
+ "#\n" +
+ "#\n" +
+ "# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" +
+ "#\n" +
+ "# 佛祖保佑 永无BUG\n" +
+ "#\n" +
+ "# ┏┓ ┏┓\n" +
+ "# ┏┛┻━━━┛┻┓\n" +
+ "# ┃ ┃\n" +
+ "# ┃ ━ ┃\n" +
+ "# ┃ ┳┛ ┗┳ ┃\n" +
+ "# ┃ ┃\n" +
+ "# ┃ ┻ ┃\n" +
+ "# ┃ ┃\n" +
+ "# ┗━┓ ┏━┛Codes are far away from bugs with the animal protecting\n" +
+ "# ┃ ┃ 神兽保佑,代码无bug\n" +
+ "# ┃ ┃\n" +
+ "# ┃ ┗━━━┓\n" +
+ "# ┃ ┣┓\n" +
+ "# ┃ ┏┛\n" +
+ "# ┗┓┓┏━┳┓┏┛\n" +
+ "# ┃┫┫ ┃┫┫\n" +
+ "# ┗┻┛ ┗┻┛\n" +
+ "#\n" +
+ "# ┏┓ ┏┓\n" +
+ "# ┏┛┻━━━┛┻┓\n" +
+ "# ┃ ┃ \n" +
+ "# ┃ ━ ┃\n" +
+ "# ┃ > <┃\n" +
+ "# ┃ ┃\n" +
+ "# ┃ . ⌒ ..┃\n" +
+ "# ┃ ┃\n" +
+ "# ┗━┓ ┏━┛\n" +
+ "# ┃ ┃ Codes are far away from bugs with the animal protecting \n" +
+ "# ┃ ┃ 神兽保佑,代码无bug\n" +
+ "# ┃ ┃ \n" +
+ "# ┃ ┃ \n" +
+ "# ┃ ┃\n" +
+ "# ┃ ┃ \n" +
+ "# ┃ ┗━━━┓\n" +
+ "# ┃ ┣┓\n" +
+ "# ┃ ┏┛\n" +
+ "# ┗┓┓┏━┳┓┏┛\n" +
+ "# ┃┫┫ ┃┫┫\n" +
+ "# ┗┻┛ ┗┻┛\n" +
+ "# ┏┓ ┏┓+ +\n" +
+ "# ┏┛┻━━━┛┻┓ + +\n" +
+ "# ┃ ┃ \n" +
+ "# ┃ ━ ┃ ++ + + +\n" +
+ "# ████━████ ┃+\n" +
+ "# ┃ ┃ +\n" +
+ "# ┃ ┻ ┃\n" +
+ "# ┃ ┃ + +\n" +
+ "# ┗━┓ ┏━┛\n" +
+ "# ┃ ┃ \n" +
+ "# ┃ ┃ + + + +\n" +
+ "# ┃ ┃ Codes are far away from bugs with the animal protecting \n" +
+ "# ┃ ┃ + 神兽保佑,代码无bug \n" +
+ "# ┃ ┃\n" +
+ "# ┃ ┃ + \n" +
+ "# ┃ ┗━━━┓ + +\n" +
+ "# ┃ ┣┓\n" +
+ "# ┃ ┏┛\n" +
+ "# ┗┓┓┏━┳┓┏┛ + + + +\n" +
+ "# ┃┫┫ ┃┫┫\n" +
+ "# ┗┻┛ ┗┻┛+ + + +\n" +
+ "# d*##$.\n" +
+ "# zP\"\"\"\"\"$e. $\" $o\n" +
+ "#4$ '$ $\" $\n" +
+ "#'$ '$ J$ $F\n" +
+ "# 'b $k $> $\n" +
+ "# $k $r J$ d$\n" +
+ "# '$ $ $\" $~\n" +
+ "# '$ \"$ '$E $\n" +
+ "# $ $L $\" $F ...\n" +
+ "# $. 4B $ $$$*\"\"\"*b\n" +
+ "# '$ $. $$ $$ $F\n" +
+ "# \"$ R$ $F $\" $\n" +
+ "# $k ?$ u* dF .$\n" +
+ "# ^$. $$\" z$ u$$$$e\n" +
+ "# #$b $E.dW@e$\" ?$\n" +
+ "# #$ .o$$# d$$$$c ?F\n" +
+ "# $ .d$$#\" . zo$> #$r .uF\n" +
+ "# $L .u$*\" $&$$$k .$$d$$F\n" +
+ "# $$\" \"\"^\"$$$P\"$P9$\n" +
+ "# JP .o$$$$u:$P $$\n" +
+ "# $ ..ue$\" \"\" $\"\n" +
+ "# d$ $F $\n" +
+ "# $$ ....udE 4B\n" +
+ "# #$ \"\"\"\"` $r @$\n" +
+ "# ^$L '$ $F\n" +
+ "# RN 4N $\n" +
+ "# *$b d$\n" +
+ "# $$k $F\n" +
+ "# $$b $F\n" +
+ "# $\"\" $F\n" +
+ "# '$ $\n" +
+ "# $L $\n" +
+ "# '$ $\n" +
+ "# $ $\n" +
+ "#\n" +
+ "#\n" +
+ "# ┌─┐ ┌─┐\n" +
+ "# ┌──┘ ┴───────┘ ┴──┐\n" +
+ "# │ │\n" +
+ "# │ ─── │\n" +
+ "# │ ─┬┘ └┬─ │\n" +
+ "# │ │\n" +
+ "# │ ─┴─ │\n" +
+ "# │ │\n" +
+ "# └───┐ ┌───┘\n" +
+ "# │ │\n" +
+ "# │ │\n" +
+ "# │ │\n" +
+ "# │ └──────────────┐\n" +
+ "# │ │\n" +
+ "# │ ├─┐\n" +
+ "# │ ┌─┘\n" +
+ "# │ │\n" +
+ "# └─┐ ┐ ┌───────┬──┐ ┌──┘\n" +
+ "# │ ─┤ ─┤ │ ─┤ ─┤\n" +
+ "# └──┴──┘ └──┴──┘\n" +
+ "# 神兽保佑\n" +
+ "# 代码无BUG!\n" +
+ "#\n" +
+ "# ___====-_ _-====___\n" +
+ "# _--^^^#####// \\\\#####^^^--_\n" +
+ "# _-^##########// ( ) \\\\##########^-_\n" +
+ "# -############// |\\^^/| \\\\############-\n" +
+ "# _/############// (@::@) \\\\############\\_\n" +
+ "# /#############(( \\\\// ))#############\\\n" +
+ "# -###############\\\\ (oo) //###############-\n" +
+ "# -#################\\\\ / VV \\ //#################-\n" +
+ "# -###################\\\\/ \\//###################-\n" +
+ "# _#/|##########/\\######( /\\ )######/\\##########|\\#_\n" +
+ "# |/ |#/\\#/\\#/\\/ \\#/\\##\\ | | /##/\\#/ \\/\\#/\\#/\\#| \\|\n" +
+ "# ` |/ V V ` V \\#\\| | | |/#/ V ' V V \\| '\n" +
+ "# ` ` ` ` / | | | | \\ ' ' ' '\n" +
+ "# ( | | | | )\n" +
+ "# __\\ | | | | /__\n" +
+ "# (vvv(VVV)(VVV)vvv)\n" +
+ "# 神兽保佑\n" +
+ "# 代码无BUG!\n" +
+ "# __----~~~~~~~~~~~------___\n" +
+ "# . . ~~//====...... __--~ ~~\n" +
+ "# -. \\_|// |||\\\\ ~~~~~~::::... /~\n" +
+ "# ___-==_ _-~o~ \\/ ||| \\\\ _/~~-\n" +
+ "# __---~~~.==~||\\=_ -_--~/_-~|- |\\\\ \\\\ _/~\n" +
+ "# _-~~ .=~ | \\\\-_ '-~7 /- / || \\ /\n" +
+ "# .~ .~ | \\\\ -_ / /- / || \\ /\n" +
+ "# / ____ / | \\\\ ~-_/ /|- _/ .|| \\ /\n" +
+ "# |~~ ~~|--~~~~--_ \\ ~==-/ | \\~--===~~ .\\\n" +
+ "# ' ~-| /| |-~\\~~ __--~~\n" +
+ "# |-~~-_/ | | ~\\_ _-~ /\\\n" +
+ "# / \\ \\__ \\/~ \\__\n" +
+ "# _--~ _/ | .-~~____--~-/ ~~==.\n" +
+ "# ((->/~ '.|||' -_| ~~-/ , . _||\n" +
+ "# -_ ~\\ ~~---l__i__i__i--~~_/\n" +
+ "# _-~-__ ~) \\--______________--~~\n" +
+ "# //.-~~~-~_--~- |-------~~~~~~~~\n" +
+ "# //.-~~~--\\\n" +
+ "# 神兽保佑\n" +
+ "# 代码无BUG!\n" +
+ "# ,----------------, ,---------,\n" +
+ "# ,-----------------------, ,\" ,\"|\n" +
+ "# ,\" ,\"| ,\" ,\" |\n" +
+ "# +-----------------------+ | ,\" ,\" |\n" +
+ "# | .-----------------. | | +---------+ |\n" +
+ "# | | | | | | -==----'| |\n" +
+ "# | | I LOVE DOS! | | | | | |\n" +
+ "# | | Bad command or | | |/----|`---= | |\n" +
+ "# | | C:\\>_ | | | ,/|==== ooo | ;\n" +
+ "# | | | | | // |(((( [33]| ,\"\n" +
+ "# | `-----------------' |,\" .;'| |(((( | ,\"\n" +
+ "# +-----------------------+ ;; | | |,\"\n" +
+ "# /_)______________(_/ //' | +---------+\n" +
+ "# ___________________________/___ `,\n" +
+ "# / oooooooooooooooo .o. oooo /, \\,\"-----------\n" +
+ "# / ==ooooooooooooooo==.o. ooo= // ,`\\--{)B ,\"\n" +
+ "# /_==__==========__==_ooo__ooo=_/' /___________,\"\n" +
+ "#\n" +
+ "# .-~~~~~~~~~-._ _.-~~~~~~~~~-.\n" +
+ "# __.' ~. .~ `.__\n" +
+ "# .'// \\./ \\\\`.\n" +
+ "# .'// | \\\\`.\n" +
+ "# .'// .-~\"\"\"\"\"\"\"~~~~-._ | _,-~~~~\"\"\"\"\"\"\"~-. \\\\`.\n" +
+ "# .'//.-\" `-. | .-' \"-.\\\\`.\n" +
+ "# .'//______.============-.. \\ | / ..-============.______\\\\`.\n" +
+ "# .'______________________________\\|/______________________________`.");
+
+ }
+
+}
\ No newline at end of file
diff --git a/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/entity/TestTable.java b/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/entity/TestTable.java
new file mode 100644
index 000000000..271f2349b
--- /dev/null
+++ b/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/entity/TestTable.java
@@ -0,0 +1,28 @@
+package com.mhd.bi.domain.testTable.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.mhd.common.core.annotation.Excel;
+import com.mhd.common.core.web.domain.BaseVOEntity;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+@Data
+public class TestTable implements Serializable {
+ private static final long serialVersionUID = 1L;
+
+ /** 车队id */
+ @ApiModelProperty("车队id")
+ @TableId(type = IdType.AUTO)
+ private Long id;
+
+ @ApiModelProperty(name = "txt")
+ private String txt;
+
+}
\ No newline at end of file
diff --git a/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/facade/TestTableService.java b/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/facade/TestTableService.java
new file mode 100644
index 000000000..511b76e02
--- /dev/null
+++ b/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/facade/TestTableService.java
@@ -0,0 +1,8 @@
+package com.mhd.bi.domain.testTable.repository.facade;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.mhd.bi.domain.testTable.entity.TestTable;
+
+public interface TestTableService extends IService
+{
+}
\ No newline at end of file
diff --git a/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/mapper/TestTableMapper.java b/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/mapper/TestTableMapper.java
new file mode 100644
index 000000000..5395cb3fc
--- /dev/null
+++ b/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/mapper/TestTableMapper.java
@@ -0,0 +1,16 @@
+package com.mhd.bi.domain.testTable.repository.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.mhd.bi.domain.testTable.entity.TestTable;
+
+import java.util.List;
+
+/**
+ * 车队Mapper接口
+ *
+ * @author zihao
+ * @date 2023-05-24
+ */
+public interface TestTableMapper extends BaseMapper
+{
+}
\ No newline at end of file
diff --git a/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/persistence/TestTableServiceImpl.java b/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/persistence/TestTableServiceImpl.java
new file mode 100644
index 000000000..7bddaf123
--- /dev/null
+++ b/mhd-bi/src/main/java/com/mhd/bi/domain/testTable/repository/persistence/TestTableServiceImpl.java
@@ -0,0 +1,16 @@
+package com.mhd.bi.domain.testTable.repository.persistence;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.mhd.bi.domain.testTable.entity.TestTable;
+import com.mhd.bi.domain.testTable.repository.facade.TestTableService;
+import com.mhd.bi.domain.testTable.repository.mapper.TestTableMapper;
+import org.springframework.stereotype.Service;
+
+import java.util.ArrayList;
+import java.util.List;
+
+@Service
+public class TestTableServiceImpl extends ServiceImpl implements TestTableService {
+
+}
\ No newline at end of file
diff --git a/mhd-bi/src/main/java/com/mhd/bi/interfaces/facadeApi/testTable/TestTableApi.java b/mhd-bi/src/main/java/com/mhd/bi/interfaces/facadeApi/testTable/TestTableApi.java
new file mode 100644
index 000000000..2c7b97e37
--- /dev/null
+++ b/mhd-bi/src/main/java/com/mhd/bi/interfaces/facadeApi/testTable/TestTableApi.java
@@ -0,0 +1,45 @@
+package com.mhd.bi.interfaces.facadeApi.testTable;
+
+import com.mhd.bi.domain.testTable.entity.TestTable;
+import com.mhd.bi.domain.testTable.repository.facade.TestTableService;
+import com.mhd.common.core.web.controller.BaseController;
+import com.mhd.common.core.web.domain.AjaxResult;
+import com.mhd.common.log.annotation.Log;
+import com.mhd.common.log.enums.BusinessType;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+
+@Api(tags = "test")
+@Slf4j
+@RestController
+@RequestMapping("/testTableApi")
+@CrossOrigin
+public class TestTableApi extends BaseController {
+
+ @Autowired
+ private TestTableService testTableService;
+
+
+ @ApiOperation("查询用户列表")
+ @GetMapping("/test")
+ public AjaxResult test(String txt) {
+ String result = txt;
+ return AjaxResult.success(result);
+ }
+
+
+ @ApiOperation("查询用户列表")
+ @GetMapping("/list")
+ public AjaxResult list(String txt) {
+ List list = testTableService.list();
+ return AjaxResult.success(list);
+ }
+
+
+}
\ No newline at end of file
diff --git a/mhd-bi/src/main/resources/banner.txt b/mhd-bi/src/main/resources/banner.txt
new file mode 100644
index 000000000..97c5c27c3
--- /dev/null
+++ b/mhd-bi/src/main/resources/banner.txt
@@ -0,0 +1,10 @@
+Spring Boot Version: ${spring-boot.version}
+Spring Application Name: ${spring.application.name}
+ _ _ _
+ (_) | | | |
+ _ __ _ _ ___ _ _ _ ______ __ _ _ _ | |_ | |__
+| '__|| | | | / _ \ | | | || ||______| / _` || | | || __|| '_ \
+| | | |_| || (_) || |_| || | | (_| || |_| || |_ | | | |
+|_| \__,_| \___/ \__, ||_| \__,_| \__,_| \__||_| |_|
+ __/ |
+ |___/
\ No newline at end of file
diff --git a/mhd-bi/src/main/resources/bootstrap.yml b/mhd-bi/src/main/resources/bootstrap.yml
new file mode 100644
index 000000000..6ccbd7ff9
--- /dev/null
+++ b/mhd-bi/src/main/resources/bootstrap.yml
@@ -0,0 +1,35 @@
+# Tomcat
+server:
+ port: 8021
+# Spring
+spring:
+ application:
+ # 应用名称
+ name: mhd-bi-service
+ profiles:
+ # 环境配置
+ active: dev
+ cloud:
+ nacos:
+ discovery:
+ server-addr: 127.0.0.1:8848
+ # 线上测试环境配置 容器名+端口号
+# server-addr: 10.102.192.5:6848
+# username: nacos
+# password: manhuoda@2023
+ #线上正式环境
+# server-addr: 10.102.192.5:6848
+# username: nacos
+# password: manhuoda@2023
+ config:
+ server-addr: 127.0.0.1:8848
+ # 线上测试环境配置 容器名+端口号
+# server-addr: 10.102.192.5:6848
+# username: nacos
+# password: manhuoda@2023
+ #线上正式环境
+ group: DEFAULT_GROUP # 默认分组就是DEFAULT_GROUP,如果使用默认分组可以不配置
+ file-extension: yml #默认properties
+ # 共享配置
+ shared-configs:
+ - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
\ No newline at end of file
diff --git a/mhd-bi/src/main/resources/logback.xml b/mhd-bi/src/main/resources/logback.xml
new file mode 100644
index 000000000..753c19c22
--- /dev/null
+++ b/mhd-bi/src/main/resources/logback.xml
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+ ${log.pattern}
+
+
+
+
+
+ ${log.path}/info.log
+
+
+
+ ${log.path}/info.%d{yyyy-MM-dd}.log
+
+ 60
+
+
+ ${log.pattern}
+
+
+
+ INFO
+
+ ACCEPT
+
+ DENY
+
+
+
+
+ ${log.path}/error.log
+
+
+
+ ${log.path}/error.%d{yyyy-MM-dd}.log
+
+ 60
+
+
+ ${log.pattern}
+
+
+
+ ERROR
+
+ ACCEPT
+
+ DENY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/mhd-bi/src/main/resources/mapper/TextTableMapper.xml b/mhd-bi/src/main/resources/mapper/TextTableMapper.xml
new file mode 100644
index 000000000..1ccbcf43a
--- /dev/null
+++ b/mhd-bi/src/main/resources/mapper/TextTableMapper.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index d98cdd603..839c541f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -302,6 +302,7 @@
mhd_oms
mhd_wms
mhd_bms
+ mhd-bi
pom