From 3628162e27cee96e4c3acd3cd4936342dbfe46d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=99=A8=E5=93=80?= <2076029107@qq.com>
Date: Wed, 7 Aug 2024 09:04:58 +0800
Subject: [PATCH] =?UTF-8?q?8.7=E8=80=83=E8=AF=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.gitignore | 35 ++++++
bwie-test/pom.xml | 59 ++++++++++
bwie-test/src/main/java/com/bwie/rk/test.java | 32 +++++
pom.xml | 111 ++++++++++++++++++
4 files changed, 237 insertions(+)
create mode 100644 .gitignore
create mode 100644 bwie-test/pom.xml
create mode 100644 bwie-test/src/main/java/com/bwie/rk/test.java
create mode 100644 pom.xml
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..65f20b1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,35 @@
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### IntelliJ IDEA ###
+.idea/
+*.iws
+*.iml
+*.ipr
+
+### Eclipse ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
+
+### Mac OS ###
+.DS_Store
diff --git a/bwie-test/pom.xml b/bwie-test/pom.xml
new file mode 100644
index 0000000..43592c0
--- /dev/null
+++ b/bwie-test/pom.xml
@@ -0,0 +1,59 @@
+
+
+ 4.0.0
+
+ com.bwie
+ yp_rk87
+ 1.0-SNAPSHOT
+
+
+ bwie-test
+
+
+
+
+ com.bwie
+ bwie-common
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ com.alibaba
+ druid-spring-boot-starter
+
+
+
+ mysql
+ mysql-connector-java
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+
+
+
+ com.sun.mail
+ javax.mail
+ 1.5.6
+
+
+
+ com.aliyun.oss
+ aliyun-sdk-oss
+ 3.12.0
+
+
+
+
diff --git a/bwie-test/src/main/java/com/bwie/rk/test.java b/bwie-test/src/main/java/com/bwie/rk/test.java
new file mode 100644
index 0000000..be78cd7
--- /dev/null
+++ b/bwie-test/src/main/java/com/bwie/rk/test.java
@@ -0,0 +1,32 @@
+package com.bwie.rk;
+
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+import java.math.BigDecimal;
+
+/**
+ * @Author:杨鹏
+ * @Package:com.bwie.rk
+ * @Project:yp_rk87
+ * @name:test
+ * @Date:2024/8/7 8:44
+ */
+@SpringBootApplication
+public class test {
+
+ public static void main(String[] args) {
+ int num1 = 10;
+ int num2 =5;
+ BigDecimal bigDecimal = BigDecimal.valueOf(num1);
+ BigDecimal bigDecimal1 = BigDecimal.valueOf(num2);
+ //1. 使用BigDecimal进行加法计算,并打印在控制台上。(20分)
+ System.out.println("加法"+bigDecimal.add(bigDecimal1));
+ //2. 使用BigDecimal进行减法计算,并打印在控制台上。(20分)
+ System.out.println("减法"+bigDecimal.subtract(bigDecimal1));
+ //3. 使用BigDecimal进行乘法计算,并打印在控制台上。(20分)
+ System.out.println("乘法"+bigDecimal.multiply(bigDecimal1));
+ //4. 使用BigDecimal进行除法计算,并打印在控制台上。(20分)
+ System.out.println("除法"+bigDecimal.divide(bigDecimal1));
+ }
+
+}
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..2fd46d4
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,111 @@
+
+
+ 4.0.0
+
+ com.bwie
+ yp_rk87
+ 1.0-SNAPSHOT
+ pom
+
+ bwie-common
+ bwie-test
+
+
+
+ 8
+ 8
+ UTF-8
+ 2021.0.0
+ 2021.1
+ 0.9.1
+ 1.2.80
+ 5.8.3
+ 2.0.1
+ 1.0-SNAPSHOT
+ 1.2.8
+ 2.2.2
+ 1.4.1
+
+
+
+
+ spring-boot-starter-parent
+ org.springframework.boot
+ 2.6.2
+
+
+
+
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ ${spring.cloud-version}
+ pom
+ import
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-alibaba-dependencies
+ ${spring.cloud.alibaba-version}
+ pom
+ import
+
+
+
+ io.jsonwebtoken
+ jjwt
+ ${jwt.version}
+
+
+
+ com.alibaba
+ fastjson
+ ${fastjson.version}
+
+
+
+ cn.hutool
+ hutool-all
+ ${hutool.version}
+
+
+
+ com.aliyun
+ dysmsapi20170525
+ ${dysms.version}
+
+
+
+ com.bwie
+ bwie-common
+ ${common.version}
+
+
+
+ com.alibaba
+ druid-spring-boot-starter
+ ${druid.version}
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ ${mybatis.version}
+
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ ${pagehelper.version}
+
+
+
+
+