From 54563295e5afb868e735cfd0b829d55f91f0b01b Mon Sep 17 00:00:00 2001
From: sk1551 <15175617877@163.com>
Date: Mon, 20 Jul 2020 19:38:04 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B8=B8=E6=88=8F=E6=95=B0?=
=?UTF-8?q?=E5=AD=A6=E7=AE=A1=E7=90=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-ui/public/index.html | 417 +++++-----
.../report.20200705.171820.12992.0.001.json | 746 ++++++++++++++++++
ruoyi-ui/src/api/benyi/math.js | 53 ++
ruoyi-ui/src/components/BenYi/Doc/index.vue | 7 +-
ruoyi-ui/src/layout/components/Navbar.vue | 408 +++++-----
ruoyi-ui/src/views/benyi/math/index.vue | 338 ++++++++
.../benyi/controller/ByMathController.java | 103 +++
.../ruoyi/project/benyi/domain/ByMath.java | 122 +++
.../project/benyi/mapper/ByMathMapper.java | 61 ++
.../project/benyi/service/IByMathService.java | 61 ++
.../benyi/service/impl/ByMathServiceImpl.java | 95 +++
.../resources/mybatis/benyi/ByMathMapper.xml | 88 +++
12 files changed, 2085 insertions(+), 414 deletions(-)
create mode 100644 ruoyi-ui/report.20200705.171820.12992.0.001.json
create mode 100644 ruoyi-ui/src/api/benyi/math.js
create mode 100644 ruoyi-ui/src/views/benyi/math/index.vue
create mode 100644 ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByMathController.java
create mode 100644 ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByMath.java
create mode 100644 ruoyi/src/main/java/com/ruoyi/project/benyi/mapper/ByMathMapper.java
create mode 100644 ruoyi/src/main/java/com/ruoyi/project/benyi/service/IByMathService.java
create mode 100644 ruoyi/src/main/java/com/ruoyi/project/benyi/service/impl/ByMathServiceImpl.java
create mode 100644 ruoyi/src/main/resources/mybatis/benyi/ByMathMapper.xml
diff --git a/ruoyi-ui/public/index.html b/ruoyi-ui/public/index.html
index 525e2acd6..1fcd3c539 100644
--- a/ruoyi-ui/public/index.html
+++ b/ruoyi-ui/public/index.html
@@ -1,207 +1,210 @@
-
-
-
-
-
-
-
-
- <%= webpackConfig.name %>
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ <%= webpackConfig.name %>
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-ui/report.20200705.171820.12992.0.001.json b/ruoyi-ui/report.20200705.171820.12992.0.001.json
new file mode 100644
index 000000000..90ab86b4c
--- /dev/null
+++ b/ruoyi-ui/report.20200705.171820.12992.0.001.json
@@ -0,0 +1,746 @@
+
+{
+ "header": {
+ "reportVersion": 1,
+ "event": "Allocation failed - JavaScript heap out of memory",
+ "trigger": "FatalError",
+ "filename": "report.20200705.171820.12992.0.001.json",
+ "dumpEventTime": "2020-07-05T17:18:20Z",
+ "dumpEventTimeStamp": "1593940700842",
+ "processId": 12992,
+ "cwd": "D:\\播智教育\\2020\\benyi\\ruoyi-ui",
+ "commandLine": [
+ "node",
+ "D:\\播智教育\\2020\\benyi\\ruoyi-ui\\node_modules\\.bin\\\\..\\@vue\\cli-service\\bin\\vue-cli-service.js",
+ "serve"
+ ],
+ "nodejsVersion": "v12.16.1",
+ "wordSize": 64,
+ "arch": "x64",
+ "platform": "win32",
+ "componentVersions": {
+ "node": "12.16.1",
+ "v8": "7.8.279.23-node.31",
+ "uv": "1.34.0",
+ "zlib": "1.2.11",
+ "brotli": "1.0.7",
+ "ares": "1.15.0",
+ "modules": "72",
+ "nghttp2": "1.40.0",
+ "napi": "5",
+ "llhttp": "2.0.4",
+ "http_parser": "2.9.3",
+ "openssl": "1.1.1d",
+ "cldr": "35.1",
+ "icu": "64.2",
+ "tz": "2019c",
+ "unicode": "12.1"
+ },
+ "release": {
+ "name": "node",
+ "lts": "Erbium",
+ "headersUrl": "https://nodejs.org/download/release/v12.16.1/node-v12.16.1-headers.tar.gz",
+ "sourceUrl": "https://nodejs.org/download/release/v12.16.1/node-v12.16.1.tar.gz",
+ "libUrl": "https://nodejs.org/download/release/v12.16.1/win-x64/node.lib"
+ },
+ "osName": "Windows_NT",
+ "osRelease": "10.0.18362",
+ "osVersion": "Windows 10 Home China",
+ "osMachine": "x86_64",
+ "cpus": [
+ {
+ "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
+ "speed": 1800,
+ "user": 492625,
+ "nice": 0,
+ "sys": 937875,
+ "idle": 15655578,
+ "irq": 221437
+ },
+ {
+ "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
+ "speed": 1800,
+ "user": 167843,
+ "nice": 0,
+ "sys": 401859,
+ "idle": 16515656,
+ "irq": 6406
+ },
+ {
+ "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
+ "speed": 1800,
+ "user": 565078,
+ "nice": 0,
+ "sys": 837984,
+ "idle": 15682296,
+ "irq": 7984
+ },
+ {
+ "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
+ "speed": 1800,
+ "user": 190734,
+ "nice": 0,
+ "sys": 259046,
+ "idle": 16635578,
+ "irq": 1859
+ },
+ {
+ "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
+ "speed": 1800,
+ "user": 495718,
+ "nice": 0,
+ "sys": 851640,
+ "idle": 15738000,
+ "irq": 8359
+ },
+ {
+ "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
+ "speed": 1800,
+ "user": 281671,
+ "nice": 0,
+ "sys": 339328,
+ "idle": 16464359,
+ "irq": 3625
+ },
+ {
+ "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
+ "speed": 1800,
+ "user": 582937,
+ "nice": 0,
+ "sys": 809281,
+ "idle": 15693125,
+ "irq": 6265
+ },
+ {
+ "model": "Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz",
+ "speed": 1800,
+ "user": 275843,
+ "nice": 0,
+ "sys": 485734,
+ "idle": 16323765,
+ "irq": 3046
+ }
+ ],
+ "networkInterfaces": [
+ {
+ "name": "SV-Connection",
+ "internal": false,
+ "mac": "08:00:58:00:00:05",
+ "address": "fe80::65a4:22c7:4682:24f9",
+ "netmask": "ffff:ffff:ffff:ffff::",
+ "family": "IPv6",
+ "scopeid": 11
+ },
+ {
+ "name": "SV-Connection",
+ "internal": false,
+ "mac": "08:00:58:00:00:05",
+ "address": "192.168.199.94",
+ "netmask": "255.255.255.0",
+ "family": "IPv4"
+ },
+ {
+ "name": "WLAN",
+ "internal": false,
+ "mac": "00:f4:8d:d4:13:e7",
+ "address": "fe80::79f4:1bd4:8a94:c004",
+ "netmask": "ffff:ffff:ffff:ffff::",
+ "family": "IPv6",
+ "scopeid": 29
+ },
+ {
+ "name": "WLAN",
+ "internal": false,
+ "mac": "00:f4:8d:d4:13:e7",
+ "address": "192.168.5.58",
+ "netmask": "255.255.255.0",
+ "family": "IPv4"
+ },
+ {
+ "name": "Loopback Pseudo-Interface 1",
+ "internal": true,
+ "mac": "00:00:00:00:00:00",
+ "address": "::1",
+ "netmask": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff",
+ "family": "IPv6",
+ "scopeid": 0
+ },
+ {
+ "name": "Loopback Pseudo-Interface 1",
+ "internal": true,
+ "mac": "00:00:00:00:00:00",
+ "address": "127.0.0.1",
+ "netmask": "255.0.0.0",
+ "family": "IPv4"
+ }
+ ],
+ "host": "DESKTOP-5QMQNV1"
+ },
+ "javascriptStack": {
+ "message": "No stack.",
+ "stack": [
+ "Unavailable."
+ ]
+ },
+ "nativeStack": [
+ {
+ "pc": "0x00007ff6224119f9",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622415e1c",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622414dd8",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6225134cb",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622d29f4e",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622d12021",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622bde57c",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622be6521",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622bdbb13",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622bda184",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622bfb36d",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622960c51",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff623174ddd",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff623120701",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6230f9d8c",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6230f9d8c",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6230f9d8c",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6230f9d8c",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6230f9d8c",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6230f9d8c",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6230f72c1",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6230f6eac",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622c37c33",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622c375b6",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff622d0862d",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff62253a73e",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff62253a977",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6225398ba",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6224dac92",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff62253a3d3",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff6223e67ac",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff62322be08",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff863a77bd4",
+ "symbol": ""
+ },
+ {
+ "pc": "0x00007ff863f4ce51",
+ "symbol": ""
+ }
+ ],
+ "javascriptHeap": {
+ "totalMemory": 3203072,
+ "totalCommittedMemory": 3203072,
+ "usedMemory": 2425536,
+ "availableMemory": 2195662200,
+ "memoryLimit": 2197815296,
+ "heapSpaces": {
+ "read_only_space": {
+ "memorySize": 262144,
+ "committedMemory": 262144,
+ "capacity": 32808,
+ "used": 32808,
+ "available": 0
+ },
+ "new_space": {
+ "memorySize": 1048576,
+ "committedMemory": 1048576,
+ "capacity": 1047456,
+ "used": 1047440,
+ "available": 16
+ },
+ "old_space": {
+ "memorySize": 1196032,
+ "committedMemory": 1196032,
+ "capacity": 957040,
+ "used": 954536,
+ "available": 2504
+ },
+ "code_space": {
+ "memorySize": 430080,
+ "committedMemory": 430080,
+ "capacity": 153152,
+ "used": 153152,
+ "available": 0
+ },
+ "map_space": {
+ "memorySize": 266240,
+ "committedMemory": 266240,
+ "capacity": 237600,
+ "used": 237600,
+ "available": 0
+ },
+ "large_object_space": {
+ "memorySize": 0,
+ "committedMemory": 0,
+ "capacity": 0,
+ "used": 0,
+ "available": 0
+ },
+ "code_large_object_space": {
+ "memorySize": 0,
+ "committedMemory": 0,
+ "capacity": 0,
+ "used": 0,
+ "available": 0
+ },
+ "new_large_object_space": {
+ "memorySize": 0,
+ "committedMemory": 0,
+ "capacity": 1047456,
+ "used": 0,
+ "available": 1047456
+ }
+ }
+ },
+ "resourceUsage": {
+ "userCpuSeconds": 0.062,
+ "kernelCpuSeconds": 0.078,
+ "cpuConsumptionPercent": 14,
+ "maxRss": 31289344,
+ "pageFaults": {
+ "IORequired": 7829,
+ "IONotRequired": 0
+ },
+ "fsActivity": {
+ "reads": 0,
+ "writes": 6
+ }
+ },
+ "libuv": [
+ ],
+ "environmentVariables": {
+ "=D:": "D:\\播智教育\\2020\\benyi\\ruoyi-ui",
+ "ALLUSERSPROFILE": "C:\\ProgramData",
+ "APPDATA": "C:\\Users\\Administrator\\AppData\\Roaming",
+ "asl.log": "Destination=file",
+ "ChocolateyInstall": "C:\\ProgramData\\chocolatey",
+ "COLORTERM": "truecolor",
+ "CommonProgramFiles": "C:\\Program Files\\Common Files",
+ "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
+ "CommonProgramW6432": "C:\\Program Files\\Common Files",
+ "COMPUTERNAME": "DESKTOP-5QMQNV1",
+ "ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
+ "configsetroot": "C:\\WINDOWS\\ConfigSetRoot",
+ "dp0": "D:\\播智教育\\2020\\benyi\\ruoyi-ui\\node_modules\\.bin\\",
+ "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
+ "FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer",
+ "FPS_BROWSER_USER_PROFILE_STRING": "Default",
+ "GIT_ASKPASS": "c:\\Users\\Administrator\\AppData\\Local\\Programs\\VSCode-win32-x64-1.45.1\\resources\\app\\extensions\\git\\dist\\askpass.sh",
+ "HOME": "C:\\Users\\Administrator",
+ "HOMEDRIVE": "C:",
+ "HOMEPATH": "\\Users\\Administrator",
+ "INIT_CWD": "D:\\播智教育\\2020\\benyi\\ruoyi-ui",
+ "LANG": "zh_CN.UTF-8",
+ "LOCALAPPDATA": "C:\\Users\\Administrator\\AppData\\Local",
+ "LOGONSERVER": "\\\\DESKTOP-5QMQNV1",
+ "MAVEN_HOME": "*:\\Develop_soft\\Maven\\apache-maven-3.5.4",
+ "NODE": "C:\\Program Files (x86)\\nodejs\\node.exe",
+ "NODE_EXE": "C:\\Program Files (x86)\\nodejs\\\\node.exe",
+ "NPM_CLI_JS": "C:\\Program Files (x86)\\nodejs\\\\node_modules\\npm\\bin\\npm-cli.js",
+ "npm_config_access": "",
+ "npm_config_allow_same_version": "",
+ "npm_config_also": "",
+ "npm_config_always_auth": "",
+ "npm_config_argv": "{\"remain\":[],\"cooked\":[\"run\",\"dev\"],\"original\":[\"run\",\"dev\"]}",
+ "npm_config_audit": "true",
+ "npm_config_audit_level": "low",
+ "npm_config_auth_type": "legacy",
+ "npm_config_before": "",
+ "npm_config_bin_links": "true",
+ "npm_config_browser": "",
+ "npm_config_ca": "",
+ "npm_config_cache": "C:\\Users\\Administrator\\AppData\\Roaming\\npm-cache",
+ "npm_config_cache_lock_retries": "10",
+ "npm_config_cache_lock_stale": "60000",
+ "npm_config_cache_lock_wait": "10000",
+ "npm_config_cache_max": "Infinity",
+ "npm_config_cache_min": "10",
+ "npm_config_cafile": "",
+ "npm_config_cert": "",
+ "npm_config_cidr": "",
+ "npm_config_color": "true",
+ "npm_config_commit_hooks": "true",
+ "npm_config_depth": "Infinity",
+ "npm_config_description": "true",
+ "npm_config_dev": "",
+ "npm_config_dry_run": "",
+ "npm_config_editor": "notepad.exe",
+ "npm_config_engine_strict": "",
+ "npm_config_fetch_retries": "2",
+ "npm_config_fetch_retry_factor": "10",
+ "npm_config_fetch_retry_maxtimeout": "60000",
+ "npm_config_fetch_retry_mintimeout": "10000",
+ "npm_config_force": "",
+ "npm_config_format_package_lock": "true",
+ "npm_config_fund": "true",
+ "npm_config_git": "git",
+ "npm_config_git_tag_version": "true",
+ "npm_config_global": "",
+ "npm_config_globalconfig": "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\etc\\npmrc",
+ "npm_config_globalignorefile": "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\etc\\npmignore",
+ "npm_config_global_style": "",
+ "npm_config_group": "",
+ "npm_config_ham_it_up": "",
+ "npm_config_heading": "npm",
+ "npm_config_https_proxy": "",
+ "npm_config_if_present": "",
+ "npm_config_ignore_prepublish": "",
+ "npm_config_ignore_scripts": "",
+ "npm_config_init_author_email": "",
+ "npm_config_init_author_name": "",
+ "npm_config_init_author_url": "",
+ "npm_config_init_license": "ISC",
+ "npm_config_init_module": "C:\\Users\\Administrator\\.npm-init.js",
+ "npm_config_init_version": "1.0.0",
+ "npm_config_json": "",
+ "npm_config_key": "",
+ "npm_config_legacy_bundling": "",
+ "npm_config_link": "",
+ "npm_config_local_address": "",
+ "npm_config_loglevel": "notice",
+ "npm_config_logs_max": "10",
+ "npm_config_long": "",
+ "npm_config_maxsockets": "50",
+ "npm_config_message": "%s",
+ "npm_config_metrics_registry": "https://registry.npmjs.org/",
+ "npm_config_node_gyp": "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js",
+ "npm_config_node_options": "",
+ "npm_config_node_version": "12.16.1",
+ "npm_config_noproxy": "",
+ "npm_config_offline": "",
+ "npm_config_onload_script": "",
+ "npm_config_only": "",
+ "npm_config_optional": "true",
+ "npm_config_otp": "",
+ "npm_config_package_lock": "true",
+ "npm_config_package_lock_only": "",
+ "npm_config_parseable": "",
+ "npm_config_prefer_offline": "",
+ "npm_config_prefer_online": "",
+ "npm_config_prefix": "C:\\Users\\Administrator\\AppData\\Roaming\\npm",
+ "npm_config_preid": "",
+ "npm_config_production": "",
+ "npm_config_progress": "true",
+ "npm_config_proxy": "",
+ "npm_config_read_only": "",
+ "npm_config_rebuild_bundle": "true",
+ "npm_config_registry": "https://registry.npmjs.org/",
+ "npm_config_rollback": "true",
+ "npm_config_save": "true",
+ "npm_config_save_bundle": "",
+ "npm_config_save_dev": "",
+ "npm_config_save_exact": "",
+ "npm_config_save_optional": "",
+ "npm_config_save_prefix": "^",
+ "npm_config_save_prod": "",
+ "npm_config_scope": "",
+ "npm_config_scripts_prepend_node_path": "warn-only",
+ "npm_config_script_shell": "",
+ "npm_config_searchexclude": "",
+ "npm_config_searchlimit": "20",
+ "npm_config_searchopts": "",
+ "npm_config_searchstaleness": "900",
+ "npm_config_send_metrics": "",
+ "npm_config_shell": "C:\\WINDOWS\\system32\\cmd.exe",
+ "npm_config_shrinkwrap": "true",
+ "npm_config_sign_git_commit": "",
+ "npm_config_sign_git_tag": "",
+ "npm_config_sso_poll_frequency": "500",
+ "npm_config_sso_type": "oauth",
+ "npm_config_strict_ssl": "true",
+ "npm_config_tag": "latest",
+ "npm_config_tag_version_prefix": "v",
+ "npm_config_timing": "",
+ "npm_config_tmp": "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp",
+ "npm_config_umask": "0000",
+ "npm_config_unicode": "",
+ "npm_config_unsafe_perm": "true",
+ "npm_config_update_notifier": "true",
+ "npm_config_usage": "",
+ "npm_config_user": "",
+ "npm_config_userconfig": "C:\\Users\\Administrator\\.npmrc",
+ "npm_config_user_agent": "npm/6.13.4 node/v12.16.1 win32 x64",
+ "npm_config_version": "",
+ "npm_config_versions": "",
+ "npm_config_viewer": "browser",
+ "npm_execpath": "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js",
+ "npm_lifecycle_event": "dev",
+ "npm_lifecycle_script": "vue-cli-service serve",
+ "npm_node_execpath": "C:\\Program Files (x86)\\nodejs\\node.exe",
+ "npm_package_author_name": "本一智慧平台",
+ "npm_package_browserslist_0": "> 1%",
+ "npm_package_browserslist_1": "last 2 versions",
+ "npm_package_dependencies_axios": "0.18.1",
+ "npm_package_dependencies_clipboard": "2.0.4",
+ "npm_package_dependencies_driver_js": "^0.9.8",
+ "npm_package_dependencies_echarts": "4.2.1",
+ "npm_package_dependencies_element_ui": "2.13.0",
+ "npm_package_dependencies_file_saver": "2.0.1",
+ "npm_package_dependencies_fuse_js": "3.4.4",
+ "npm_package_dependencies_jsencrypt": "3.0.0-rc.1",
+ "npm_package_dependencies_js_beautify": "^1.10.2",
+ "npm_package_dependencies_js_cookie": "2.2.0",
+ "npm_package_dependencies_normalize_css": "7.0.0",
+ "npm_package_dependencies_nprogress": "0.2.0",
+ "npm_package_dependencies_path_to_regexp": "2.4.0",
+ "npm_package_dependencies_screenfull": "4.2.0",
+ "npm_package_dependencies_sortablejs": "1.8.4",
+ "npm_package_dependencies_video_js": "^7.7.6",
+ "npm_package_dependencies_vue": "2.6.10",
+ "npm_package_dependencies_vuedraggable": "2.20.0",
+ "npm_package_dependencies_vuex": "3.1.0",
+ "npm_package_dependencies_vue_count_to": "1.0.13",
+ "npm_package_dependencies_vue_cropper": "0.4.9",
+ "npm_package_dependencies_vue_lunar_full_calendar": "^1.3.2",
+ "npm_package_dependencies_vue_quill_editor": "3.0.6",
+ "npm_package_dependencies_vue_router": "3.0.2",
+ "npm_package_dependencies_vue_simple_uploader": "^0.7.4",
+ "npm_package_dependencies_vue_splitpane": "1.0.4",
+ "npm_package_dependencies_vue_video_player": "^5.0.2",
+ "npm_package_dependencies_v_distpicker": "^1.2.2",
+ "npm_package_dependencies__fullcalendar_core": "^4.4.0",
+ "npm_package_dependencies__fullcalendar_daygrid": "^4.4.0",
+ "npm_package_dependencies__fullcalendar_interaction": "^4.4.0",
+ "npm_package_dependencies__fullcalendar_list": "^4.4.0",
+ "npm_package_dependencies__fullcalendar_moment": "^4.4.0",
+ "npm_package_dependencies__fullcalendar_timegrid": "^4.4.0",
+ "npm_package_dependencies__fullcalendar_vue": "^4.4.0",
+ "npm_package_dependencies__riophae_vue_treeselect": "0.4.0",
+ "npm_package_description": "本一智慧平台管理系统",
+ "npm_package_devDependencies_autoprefixer": "^9.5.1",
+ "npm_package_devDependencies_babel_core": "7.0.0-bridge.0",
+ "npm_package_devDependencies_babel_eslint": "10.0.1",
+ "npm_package_devDependencies_babel_jest": "23.6.0",
+ "npm_package_devDependencies_chalk": "2.4.2",
+ "npm_package_devDependencies_chokidar": "2.1.5",
+ "npm_package_devDependencies_connect": "3.6.6",
+ "npm_package_devDependencies_eslint": "5.15.3",
+ "npm_package_devDependencies_eslint_plugin_vue": "5.2.2",
+ "npm_package_devDependencies_html_webpack_plugin": "3.2.0",
+ "npm_package_devDependencies_http_proxy_middleware": "^0.19.1",
+ "npm_package_devDependencies_husky": "1.3.1",
+ "npm_package_devDependencies_lint_staged": "8.1.5",
+ "npm_package_devDependencies_mockjs": "1.0.1-beta3",
+ "npm_package_devDependencies_node_sass": "^4.9.0",
+ "npm_package_devDependencies_plop": "2.3.0",
+ "npm_package_devDependencies_runjs": "^4.3.2",
+ "npm_package_devDependencies_sass_loader": "^7.1.0",
+ "npm_package_devDependencies_script_ext_html_webpack_plugin": "2.1.3",
+ "npm_package_devDependencies_script_loader": "0.7.2",
+ "npm_package_devDependencies_serve_static": "^1.13.2",
+ "npm_package_devDependencies_svgo": "1.2.0",
+ "npm_package_devDependencies_svg_sprite_loader": "4.1.3",
+ "npm_package_devDependencies_vue_template_compiler": "2.6.10",
+ "npm_package_devDependencies__babel_core": "7.0.0",
+ "npm_package_devDependencies__babel_parser": "^7.7.4",
+ "npm_package_devDependencies__babel_register": "7.0.0",
+ "npm_package_devDependencies__vue_cli_plugin_babel": "3.5.3",
+ "npm_package_devDependencies__vue_cli_plugin_eslint": "^3.9.1",
+ "npm_package_devDependencies__vue_cli_plugin_unit_jest": "3.5.3",
+ "npm_package_devDependencies__vue_cli_service": "3.5.3",
+ "npm_package_devDependencies__vue_test_utils": "1.0.0-beta.29",
+ "npm_package_engines_node": ">=8.9",
+ "npm_package_engines_npm": ">= 3.0.0",
+ "npm_package_husky_hooks_pre_commit": "lint-staged",
+ "npm_package_keywords_0": "vue",
+ "npm_package_keywords_1": "admin",
+ "npm_package_keywords_2": "dashboard",
+ "npm_package_keywords_3": "element-ui",
+ "npm_package_keywords_4": "boilerplate",
+ "npm_package_keywords_5": "admin-template",
+ "npm_package_keywords_6": "management-system",
+ "npm_package_license": "MIT",
+ "npm_package_lint_staged_src_______js_vue__0": "eslint --fix",
+ "npm_package_lint_staged_src_______js_vue__1": "git add",
+ "npm_package_main": ".eslintrc.js",
+ "npm_package_name": "ruoyi",
+ "npm_package_readmeFilename": "README.md",
+ "npm_package_repository_type": "git",
+ "npm_package_repository_url": "https://gitee.com/y_project/RuoYi-Vue.git",
+ "npm_package_scripts_build_prod": "vue-cli-service build",
+ "npm_package_scripts_build_stage": "vue-cli-service build --mode staging",
+ "npm_package_scripts_dev": "vue-cli-service serve",
+ "npm_package_scripts_lint": "eslint --ext .js,.vue src",
+ "npm_package_scripts_new": "plop",
+ "npm_package_scripts_preview": "node build/index.js --preview",
+ "npm_package_scripts_svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
+ "npm_package_scripts_test_ci": "npm run lint && npm run test:unit",
+ "npm_package_scripts_test_unit": "jest --clearCache && vue-cli-service test:unit",
+ "npm_package_version": "2.2.0",
+ "NPM_PREFIX_NPM_CLI_JS": "C:\\Users\\Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js",
+ "NUMBER_OF_PROCESSORS": "8",
+ "OneDrive": "C:\\Users\\Administrator\\OneDrive",
+ "OS": "Windows_NT",
+ "Path": "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\npm-lifecycle\\node-gyp-bin;D:\\播智教育\\2020\\benyi\\ruoyi-ui\\node_modules\\.bin;D:\\app\\Administrator\\product\\11.2.0\\client_1;D:\\app\\Administrator\\product\\11.2.0\\client_1\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;D:\\Develop_soft\\Java\\jdk1.8.0_201\\bin;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Users\\lc\\AppData\\Local\\Postman\\app-7.0.5;*:\\Develop_soft\\Maven\\apache-maven-3.5.4\\bin;C:\\Program Files\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\Binn\\ManagementStudio\\;C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\DTS\\Binn\\;C:\\WINDOWS\\system32\\config\\systemprofile\\.dnx\\bin;C:\\Program Files\\Microsoft DNX\\Dnvm\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files (x86)\\VisualSVN\\bin;C:\\Program Files\\TortoiseSVN\\bin;\"%JMETER_HOME%\\lib\\ext\\ApacheJMeter_core.jar;%JMETER_HOME%\\lib\\jorphan.jar;\";*:\\Develop_soft\\apache-jmeter-5.1.1\\bin;D:\\Develop_soft\\apache-jmeter-5.1.1\\bin;D:\\Develop_soft\\Reids\\redis-win-3.2.100;D:\\Develop_soft\\Redis\\;D:\\Develop_soft\\plsql;C:\\Program Files (x86)\\nodejs\\;C:\\ProgramData\\chocolatey\\bin;D:\\Develop_soft\\TortoiseGit\\bin;C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Users\\Administrator\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
+ "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC",
+ "PROCESSOR_ARCHITECTURE": "AMD64",
+ "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 142 Stepping 10, GenuineIntel",
+ "PROCESSOR_LEVEL": "6",
+ "PROCESSOR_REVISION": "8e0a",
+ "ProgramData": "C:\\ProgramData",
+ "ProgramFiles": "C:\\Program Files",
+ "ProgramFiles(x86)": "C:\\Program Files (x86)",
+ "ProgramW6432": "C:\\Program Files",
+ "PROMPT": "$P$G",
+ "PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files (x86)\\Microsoft SQL Server\\110\\Tools\\PowerShell\\Modules\\",
+ "PUBLIC": "C:\\Users\\Public",
+ "SESSIONNAME": "Console",
+ "SystemDrive": "C:",
+ "SystemRoot": "C:\\WINDOWS",
+ "TEMP": "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp",
+ "TERM_PROGRAM": "vscode",
+ "TERM_PROGRAM_VERSION": "1.45.1",
+ "TMP": "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp",
+ "TNS_ADMIN": "D:\\app\\lc\\product\\11.2.0\\client_1",
+ "USERDOMAIN": "DESKTOP-5QMQNV1",
+ "USERDOMAIN_ROAMINGPROFILE": "DESKTOP-5QMQNV1",
+ "USERNAME": "Administrator",
+ "USERPROFILE": "C:\\Users\\Administrator",
+ "VS140COMNTOOLS": "*:\\Develop_soft\\visual studio2015\\Common7\\Tools\\",
+ "VSCODE_GIT_ASKPASS_MAIN": "c:\\Users\\Administrator\\AppData\\Local\\Programs\\VSCode-win32-x64-1.45.1\\resources\\app\\extensions\\git\\dist\\askpass-main.js",
+ "VSCODE_GIT_ASKPASS_NODE": "C:\\Users\\Administrator\\AppData\\Local\\Programs\\VSCode-win32-x64-1.45.1\\Code.exe",
+ "VSCODE_GIT_IPC_HANDLE": "\\\\.\\pipe\\vscode-git-212a868f6e-sock",
+ "VSSDK140Install": "*:\\Develop_soft\\visual studio2015\\VSSDK\\",
+ "windir": "C:\\WINDOWS",
+ "_prog": "node"
+ },
+ "sharedObjects": [
+ "C:\\Program Files (x86)\\nodejs\\node.exe",
+ "C:\\WINDOWS\\SYSTEM32\\ntdll.dll",
+ "C:\\WINDOWS\\System32\\KERNEL32.DLL",
+ "C:\\WINDOWS\\System32\\KERNELBASE.dll",
+ "C:\\WINDOWS\\System32\\WS2_32.dll",
+ "C:\\WINDOWS\\System32\\RPCRT4.dll",
+ "C:\\WINDOWS\\System32\\PSAPI.DLL",
+ "C:\\WINDOWS\\System32\\ADVAPI32.dll",
+ "C:\\WINDOWS\\System32\\msvcrt.dll",
+ "C:\\WINDOWS\\SYSTEM32\\dbghelp.dll",
+ "C:\\WINDOWS\\System32\\sechost.dll",
+ "C:\\WINDOWS\\System32\\ucrtbase.dll",
+ "C:\\WINDOWS\\System32\\USER32.dll",
+ "C:\\WINDOWS\\System32\\win32u.dll",
+ "C:\\WINDOWS\\System32\\GDI32.dll",
+ "C:\\WINDOWS\\System32\\gdi32full.dll",
+ "C:\\WINDOWS\\System32\\msvcp_win.dll",
+ "C:\\WINDOWS\\System32\\CRYPT32.dll",
+ "C:\\WINDOWS\\System32\\MSASN1.dll",
+ "C:\\WINDOWS\\SYSTEM32\\USERENV.dll",
+ "C:\\WINDOWS\\System32\\bcrypt.dll",
+ "C:\\WINDOWS\\SYSTEM32\\IPHLPAPI.DLL",
+ "C:\\WINDOWS\\System32\\profapi.dll",
+ "C:\\WINDOWS\\SYSTEM32\\WINMM.dll",
+ "C:\\WINDOWS\\SYSTEM32\\winmmbase.dll",
+ "C:\\WINDOWS\\System32\\cfgmgr32.dll",
+ "C:\\WINDOWS\\System32\\bcryptPrimitives.dll",
+ "C:\\WINDOWS\\System32\\IMM32.DLL",
+ "C:\\WINDOWS\\System32\\powrprof.dll",
+ "C:\\WINDOWS\\System32\\UMPDC.dll",
+ "C:\\WINDOWS\\SYSTEM32\\CRYPTBASE.DLL",
+ "C:\\WINDOWS\\system32\\uxtheme.dll",
+ "C:\\WINDOWS\\System32\\combase.dll",
+ "C:\\WINDOWS\\system32\\mswsock.dll",
+ "C:\\WINDOWS\\System32\\kernel.appcore.dll",
+ "C:\\WINDOWS\\System32\\NSI.dll",
+ "C:\\WINDOWS\\SYSTEM32\\dhcpcsvc6.DLL",
+ "C:\\WINDOWS\\SYSTEM32\\dhcpcsvc.DLL",
+ "C:\\WINDOWS\\SYSTEM32\\DNSAPI.dll",
+ "C:\\WINDOWS\\system32\\napinsp.dll",
+ "C:\\WINDOWS\\system32\\pnrpnsp.dll",
+ "C:\\WINDOWS\\System32\\winrnr.dll",
+ "C:\\WINDOWS\\system32\\NLAapi.dll",
+ "C:\\WINDOWS\\system32\\wshbth.dll"
+ ]
+}
\ No newline at end of file
diff --git a/ruoyi-ui/src/api/benyi/math.js b/ruoyi-ui/src/api/benyi/math.js
new file mode 100644
index 000000000..b3c03225f
--- /dev/null
+++ b/ruoyi-ui/src/api/benyi/math.js
@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询游戏数学列表
+export function listMath(query) {
+ return request({
+ url: '/benyi/math/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询游戏数学详细
+export function getMath(id) {
+ return request({
+ url: '/benyi/math/' + id,
+ method: 'get'
+ })
+}
+
+// 新增游戏数学
+export function addMath(data) {
+ return request({
+ url: '/benyi/math',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改游戏数学
+export function updateMath(data) {
+ return request({
+ url: '/benyi/math',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除游戏数学
+export function delMath(id) {
+ return request({
+ url: '/benyi/math/' + id,
+ method: 'delete'
+ })
+}
+
+// 导出游戏数学
+export function exportMath(query) {
+ return request({
+ url: '/benyi/math/export',
+ method: 'get',
+ params: query
+ })
+}
\ No newline at end of file
diff --git a/ruoyi-ui/src/components/BenYi/Doc/index.vue b/ruoyi-ui/src/components/BenYi/Doc/index.vue
index 1fba6db9d..ebec00942 100644
--- a/ruoyi-ui/src/components/BenYi/Doc/index.vue
+++ b/ruoyi-ui/src/components/BenYi/Doc/index.vue
@@ -1,20 +1,21 @@
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ruoyi-ui/src/views/benyi/math/index.vue b/ruoyi-ui/src/views/benyi/math/index.vue
new file mode 100644
index 000000000..6bf939439
--- /dev/null
+++ b/ruoyi-ui/src/views/benyi/math/index.vue
@@ -0,0 +1,338 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByMathController.java b/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByMathController.java
new file mode 100644
index 000000000..0bfe19147
--- /dev/null
+++ b/ruoyi/src/main/java/com/ruoyi/project/benyi/controller/ByMathController.java
@@ -0,0 +1,103 @@
+package com.ruoyi.project.benyi.controller;
+
+import java.util.List;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
+import com.ruoyi.project.benyi.domain.ByMath;
+import com.ruoyi.project.benyi.service.IByMathService;
+import com.ruoyi.framework.web.controller.BaseController;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.framework.web.page.TableDataInfo;
+
+/**
+ * 游戏数学Controller
+ *
+ * @author tsbz
+ * @date 2020-07-20
+ */
+@RestController
+@RequestMapping("/benyi/math")
+public class ByMathController extends BaseController
+{
+ @Autowired
+ private IByMathService byMathService;
+
+/**
+ * 查询游戏数学列表
+ */
+@PreAuthorize("@ss.hasPermi('benyi:math:list')")
+@GetMapping("/list")
+ public TableDataInfo list(ByMath byMath)
+ {
+ startPage();
+ List list = byMathService.selectByMathList(byMath);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出游戏数学列表
+ */
+ @PreAuthorize("@ss.hasPermi('benyi:math:export')")
+ @Log(title = "游戏数学", businessType = BusinessType.EXPORT)
+ @GetMapping("/export")
+ public AjaxResult export(ByMath byMath)
+ {
+ List list = byMathService.selectByMathList(byMath);
+ ExcelUtil util = new ExcelUtil(ByMath.class);
+ return util.exportExcel(list, "math");
+ }
+
+ /**
+ * 获取游戏数学详细信息
+ */
+ @PreAuthorize("@ss.hasPermi('benyi:math:query')")
+ @GetMapping(value = "/{id}")
+ public AjaxResult getInfo(@PathVariable("id") Long id)
+ {
+ return AjaxResult.success(byMathService.selectByMathById(id));
+ }
+
+ /**
+ * 新增游戏数学
+ */
+ @PreAuthorize("@ss.hasPermi('benyi:math:add')")
+ @Log(title = "游戏数学", businessType = BusinessType.INSERT)
+ @PostMapping
+ public AjaxResult add(@RequestBody ByMath byMath)
+ {
+ return toAjax(byMathService.insertByMath(byMath));
+ }
+
+ /**
+ * 修改游戏数学
+ */
+ @PreAuthorize("@ss.hasPermi('benyi:math:edit')")
+ @Log(title = "游戏数学", businessType = BusinessType.UPDATE)
+ @PutMapping
+ public AjaxResult edit(@RequestBody ByMath byMath)
+ {
+ return toAjax(byMathService.updateByMath(byMath));
+ }
+
+ /**
+ * 删除游戏数学
+ */
+ @PreAuthorize("@ss.hasPermi('benyi:math:remove')")
+ @Log(title = "游戏数学", businessType = BusinessType.DELETE)
+ @DeleteMapping("/{ids}")
+ public AjaxResult remove(@PathVariable Long[] ids)
+ {
+ return toAjax(byMathService.deleteByMathByIds(ids));
+ }
+}
diff --git a/ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByMath.java b/ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByMath.java
new file mode 100644
index 000000000..1dcfb1859
--- /dev/null
+++ b/ruoyi/src/main/java/com/ruoyi/project/benyi/domain/ByMath.java
@@ -0,0 +1,122 @@
+package com.ruoyi.project.benyi.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import com.ruoyi.framework.web.domain.BaseEntity;
+
+/**
+ * 游戏数学对象 by_math
+ *
+ * @author tsbz
+ * @date 2020-07-20
+ */
+public class ByMath extends BaseEntity
+ {
+private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 名称 */
+ @Excel(name = "名称")
+ private String name;
+
+ /** 学习目标 */
+ @Excel(name = "学习目标")
+ private String target;
+
+ /** 年龄段表现特征 */
+ @Excel(name = "年龄段表现特征")
+ private String feature;
+
+ /** 教学建议 */
+ @Excel(name = "教学建议")
+ private String suggest;
+
+ /** 适用班级 */
+ @Excel(name = "适用班级")
+ private Integer classtypeId;
+
+ /** 序号 */
+ @Excel(name = "序号")
+ private Long sort;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setTarget(String target)
+ {
+ this.target = target;
+ }
+
+ public String getTarget()
+ {
+ return target;
+ }
+ public void setFeature(String feature)
+ {
+ this.feature = feature;
+ }
+
+ public String getFeature()
+ {
+ return feature;
+ }
+ public void setSuggest(String suggest)
+ {
+ this.suggest = suggest;
+ }
+
+ public String getSuggest()
+ {
+ return suggest;
+ }
+ public void setClasstypeId(Integer classtypeId)
+ {
+ this.classtypeId = classtypeId;
+ }
+
+ public Integer getClasstypeId()
+ {
+ return classtypeId;
+ }
+ public void setSort(Long sort)
+ {
+ this.sort = sort;
+ }
+
+ public Long getSort()
+ {
+ return sort;
+ }
+
+@Override
+public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("name", getName())
+ .append("target", getTarget())
+ .append("feature", getFeature())
+ .append("suggest", getSuggest())
+ .append("classtypeId", getClasstypeId())
+ .append("sort", getSort())
+ .append("createTime", getCreateTime())
+ .toString();
+ }
+ }
diff --git a/ruoyi/src/main/java/com/ruoyi/project/benyi/mapper/ByMathMapper.java b/ruoyi/src/main/java/com/ruoyi/project/benyi/mapper/ByMathMapper.java
new file mode 100644
index 000000000..8c8afad2a
--- /dev/null
+++ b/ruoyi/src/main/java/com/ruoyi/project/benyi/mapper/ByMathMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.project.benyi.mapper;
+
+import java.util.List;
+import com.ruoyi.project.benyi.domain.ByMath;
+
+/**
+ * 游戏数学Mapper接口
+ *
+ * @author tsbz
+ * @date 2020-07-20
+ */
+public interface ByMathMapper
+{
+ /**
+ * 查询游戏数学
+ *
+ * @param id 游戏数学ID
+ * @return 游戏数学
+ */
+ public ByMath selectByMathById(Long id);
+
+ /**
+ * 查询游戏数学列表
+ *
+ * @param byMath 游戏数学
+ * @return 游戏数学集合
+ */
+ public List selectByMathList(ByMath byMath);
+
+ /**
+ * 新增游戏数学
+ *
+ * @param byMath 游戏数学
+ * @return 结果
+ */
+ public int insertByMath(ByMath byMath);
+
+ /**
+ * 修改游戏数学
+ *
+ * @param byMath 游戏数学
+ * @return 结果
+ */
+ public int updateByMath(ByMath byMath);
+
+ /**
+ * 删除游戏数学
+ *
+ * @param id 游戏数学ID
+ * @return 结果
+ */
+ public int deleteByMathById(Long id);
+
+ /**
+ * 批量删除游戏数学
+ *
+ * @param ids 需要删除的数据ID
+ * @return 结果
+ */
+ public int deleteByMathByIds(Long[] ids);
+}
diff --git a/ruoyi/src/main/java/com/ruoyi/project/benyi/service/IByMathService.java b/ruoyi/src/main/java/com/ruoyi/project/benyi/service/IByMathService.java
new file mode 100644
index 000000000..f6e617557
--- /dev/null
+++ b/ruoyi/src/main/java/com/ruoyi/project/benyi/service/IByMathService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.project.benyi.service;
+
+import java.util.List;
+import com.ruoyi.project.benyi.domain.ByMath;
+
+/**
+ * 游戏数学Service接口
+ *
+ * @author tsbz
+ * @date 2020-07-20
+ */
+public interface IByMathService
+{
+ /**
+ * 查询游戏数学
+ *
+ * @param id 游戏数学ID
+ * @return 游戏数学
+ */
+ public ByMath selectByMathById(Long id);
+
+ /**
+ * 查询游戏数学列表
+ *
+ * @param byMath 游戏数学
+ * @return 游戏数学集合
+ */
+ public List selectByMathList(ByMath byMath);
+
+ /**
+ * 新增游戏数学
+ *
+ * @param byMath 游戏数学
+ * @return 结果
+ */
+ public int insertByMath(ByMath byMath);
+
+ /**
+ * 修改游戏数学
+ *
+ * @param byMath 游戏数学
+ * @return 结果
+ */
+ public int updateByMath(ByMath byMath);
+
+ /**
+ * 批量删除游戏数学
+ *
+ * @param ids 需要删除的游戏数学ID
+ * @return 结果
+ */
+ public int deleteByMathByIds(Long[] ids);
+
+ /**
+ * 删除游戏数学信息
+ *
+ * @param id 游戏数学ID
+ * @return 结果
+ */
+ public int deleteByMathById(Long id);
+}
diff --git a/ruoyi/src/main/java/com/ruoyi/project/benyi/service/impl/ByMathServiceImpl.java b/ruoyi/src/main/java/com/ruoyi/project/benyi/service/impl/ByMathServiceImpl.java
new file mode 100644
index 000000000..9c17a1cb0
--- /dev/null
+++ b/ruoyi/src/main/java/com/ruoyi/project/benyi/service/impl/ByMathServiceImpl.java
@@ -0,0 +1,95 @@
+package com.ruoyi.project.benyi.service.impl;
+
+import java.util.List;
+ import com.ruoyi.common.utils.DateUtils;
+ import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.project.benyi.mapper.ByMathMapper;
+import com.ruoyi.project.benyi.domain.ByMath;
+import com.ruoyi.project.benyi.service.IByMathService;
+
+/**
+ * 游戏数学Service业务层处理
+ *
+ * @author tsbz
+ * @date 2020-07-20
+ */
+@Service
+public class ByMathServiceImpl implements IByMathService
+{
+ @Autowired
+ private ByMathMapper byMathMapper;
+
+ /**
+ * 查询游戏数学
+ *
+ * @param id 游戏数学ID
+ * @return 游戏数学
+ */
+ @Override
+ public ByMath selectByMathById(Long id)
+ {
+ return byMathMapper.selectByMathById(id);
+ }
+
+ /**
+ * 查询游戏数学列表
+ *
+ * @param byMath 游戏数学
+ * @return 游戏数学
+ */
+ @Override
+ public List selectByMathList(ByMath byMath)
+ {
+ return byMathMapper.selectByMathList(byMath);
+ }
+
+ /**
+ * 新增游戏数学
+ *
+ * @param byMath 游戏数学
+ * @return 结果
+ */
+ @Override
+ public int insertByMath(ByMath byMath)
+ {
+ byMath.setCreateTime(DateUtils.getNowDate());
+ return byMathMapper.insertByMath(byMath);
+ }
+
+ /**
+ * 修改游戏数学
+ *
+ * @param byMath 游戏数学
+ * @return 结果
+ */
+ @Override
+ public int updateByMath(ByMath byMath)
+ {
+ return byMathMapper.updateByMath(byMath);
+ }
+
+ /**
+ * 批量删除游戏数学
+ *
+ * @param ids 需要删除的游戏数学ID
+ * @return 结果
+ */
+ @Override
+ public int deleteByMathByIds(Long[] ids)
+ {
+ return byMathMapper.deleteByMathByIds(ids);
+ }
+
+ /**
+ * 删除游戏数学信息
+ *
+ * @param id 游戏数学ID
+ * @return 结果
+ */
+ @Override
+ public int deleteByMathById(Long id)
+ {
+ return byMathMapper.deleteByMathById(id);
+ }
+}
diff --git a/ruoyi/src/main/resources/mybatis/benyi/ByMathMapper.xml b/ruoyi/src/main/resources/mybatis/benyi/ByMathMapper.xml
new file mode 100644
index 000000000..fae9f9a91
--- /dev/null
+++ b/ruoyi/src/main/resources/mybatis/benyi/ByMathMapper.xml
@@ -0,0 +1,88 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, name, target, feature, suggest, classtype_id, sort, create_time from by_math
+
+
+
+
+
+
+
+ insert into by_math
+
+ id,
+ name,
+ target,
+ feature,
+ suggest,
+ classtype_id,
+ sort,
+ create_time,
+
+
+ #{id},
+ #{name},
+ #{target},
+ #{feature},
+ #{suggest},
+ #{classtypeId},
+ #{sort},
+ #{createTime},
+
+
+
+
+ update by_math
+
+ name = #{name},
+ target = #{target},
+ feature = #{feature},
+ suggest = #{suggest},
+ classtype_id = #{classtypeId},
+ sort = #{sort},
+ create_time = #{createTime},
+
+ where id = #{id}
+
+
+
+ delete from by_math where id = #{id}
+
+
+
+ delete from by_math where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file