后端框架
parent
f16094885f
commit
90a5f9152f
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,156 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="AutoImportSettings">
|
||||||
|
<option name="autoReloadType" value="SELECTIVE" />
|
||||||
|
</component>
|
||||||
|
<component name="ChangeListManager">
|
||||||
|
<list default="true" id="a2d0a5ad-79f5-4399-aeeb-01924fb2adda" name="更改" comment="">
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-common/src/main/java/com/bwie/common/domain/request/VoClazz.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-common/src/main/java/com/bwie/common/domain/request/VoInsertClazz.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-common/src/main/java/com/bwie/common/domain/request/VoStu.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-common/src/main/java/com/bwie/common/domain/response/DTOClazz.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-common/src/main/java/com/bwie/common/domain/response/DTOStudent.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-modules/bwie-clazz/pom.xml" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-modules/bwie-clazz/src/main/java/com/bwie/ClazzApplication.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-modules/bwie-clazz/src/main/java/com/bwie/controller/ClazzController.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-modules/bwie-clazz/src/main/java/com/bwie/dao/ClazzDao.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-modules/bwie-clazz/src/main/java/com/bwie/service/ClazzService.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-modules/bwie-clazz/src/main/java/com/bwie/service/impl/ClazzServiceImpl.java" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-modules/bwie-clazz/src/main/resources/bootstrap.yml" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/bwie-modules/bwie-clazz/src/main/resources/mapper/ClazzMapper.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/.gitignore" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/compiler.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/encodings.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/encodings.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/jarRepositories.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/jarRepositories.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/uiDesigner.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/uiDesigner.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/bwie-12_16manage.iml" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
|
||||||
|
</list>
|
||||||
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||||
|
</component>
|
||||||
|
<component name="FileTemplateManagerImpl">
|
||||||
|
<option name="RECENT_TEMPLATES">
|
||||||
|
<list>
|
||||||
|
<option value="Interface" />
|
||||||
|
<option value="XML file" />
|
||||||
|
<option value="Class" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="Git.Settings">
|
||||||
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||||
|
</component>
|
||||||
|
<component name="MavenImportPreferences">
|
||||||
|
<option name="generalSettings">
|
||||||
|
<MavenGeneralSettings>
|
||||||
|
<option name="localRepository" value="D:\javaWeb\maven_repository" />
|
||||||
|
<option name="mavenHome" value="$PROJECT_DIR$/../javaWeb/apache-maven-3.6.1" />
|
||||||
|
<option name="userSettingsFile" value="D:\javaWeb\apache-maven-3.6.1\conf\settings.xml" />
|
||||||
|
</MavenGeneralSettings>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectColorInfo">{
|
||||||
|
"customColor": "",
|
||||||
|
"associatedIndex": 1
|
||||||
|
}</component>
|
||||||
|
<component name="ProjectId" id="2ZeJEgX5d1XCs5AJOVKNmSKK3UG" />
|
||||||
|
<component name="ProjectLevelVcsManager">
|
||||||
|
<ConfirmationsSetting value="2" id="Add" />
|
||||||
|
</component>
|
||||||
|
<component name="ProjectViewState">
|
||||||
|
<option name="showLibraryContents" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="PropertiesComponent">{
|
||||||
|
"keyToString": {
|
||||||
|
"RequestMappingsPanelOrder0": "0",
|
||||||
|
"RequestMappingsPanelOrder1": "1",
|
||||||
|
"RequestMappingsPanelWidth0": "75",
|
||||||
|
"RequestMappingsPanelWidth1": "75",
|
||||||
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
|
"WebServerToolWindowFactoryState": "false",
|
||||||
|
"git-widget-placeholder": "master",
|
||||||
|
"jdk.selected.JAVA_MODULE": "1.8",
|
||||||
|
"last_opened_file_path": "C:/Users/zhen/Desktop/Springcould-ruoyi/Bwie-Cloud/pom.xml",
|
||||||
|
"node.js.detected.package.eslint": "true",
|
||||||
|
"node.js.detected.package.tslint": "true",
|
||||||
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
|
"settings.editor.selected.configurable": "MavenSettings",
|
||||||
|
"vue.rearranger.settings.migration": "true"
|
||||||
|
}
|
||||||
|
}</component>
|
||||||
|
<component name="ReactorSettings">
|
||||||
|
<option name="notificationShown" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="RecentsManager">
|
||||||
|
<key name="CopyFile.RECENT_KEYS">
|
||||||
|
<recent name="D:\test\bwie-modules\bwie-clazz\src\main\java\com\bwie\service" />
|
||||||
|
<recent name="D:\test\bwie-modules\bwie-clazz\src\main\java\com\bwie" />
|
||||||
|
<recent name="D:\test\bwie-modules\bwie-clazz\src\main\resources" />
|
||||||
|
</key>
|
||||||
|
</component>
|
||||||
|
<component name="RunDashboard">
|
||||||
|
<option name="configurationTypes">
|
||||||
|
<set>
|
||||||
|
<option value="SpringBootApplicationConfigurationType" />
|
||||||
|
</set>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="RunManager">
|
||||||
|
<configuration default="true" type="JetRunConfigurationType">
|
||||||
|
<module name="test" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<configuration default="true" type="KotlinStandaloneScriptRunConfigurationType">
|
||||||
|
<module name="test" />
|
||||||
|
<option name="filePath" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<configuration name="ClazzApplication" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" temporary="true" nameIsGenerated="true">
|
||||||
|
<module name="bwie-clazz" />
|
||||||
|
<option name="SPRING_BOOT_MAIN_CLASS" value="com.bwie.ClazzApplication" />
|
||||||
|
<extension name="coverage">
|
||||||
|
<pattern>
|
||||||
|
<option name="PATTERN" value="com.bwie.*" />
|
||||||
|
<option name="ENABLED" value="true" />
|
||||||
|
</pattern>
|
||||||
|
</extension>
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
<recent_temporary>
|
||||||
|
<list>
|
||||||
|
<item itemvalue="Spring Boot.ClazzApplication" />
|
||||||
|
</list>
|
||||||
|
</recent_temporary>
|
||||||
|
</component>
|
||||||
|
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="应用程序级" UseSingleDictionary="true" transferred="true" />
|
||||||
|
<component name="TaskManager">
|
||||||
|
<task active="true" id="Default" summary="默认任务">
|
||||||
|
<changelist id="a2d0a5ad-79f5-4399-aeeb-01924fb2adda" name="更改" comment="" />
|
||||||
|
<created>1702776504661</created>
|
||||||
|
<option name="number" value="Default" />
|
||||||
|
<option name="presentableId" value="Default" />
|
||||||
|
<updated>1702776504661</updated>
|
||||||
|
<workItem from="1702776508940" duration="98000" />
|
||||||
|
<workItem from="1702784095617" duration="6654000" />
|
||||||
|
<workItem from="1702862700997" duration="1731000" />
|
||||||
|
<workItem from="1703052165836" duration="682000" />
|
||||||
|
</task>
|
||||||
|
<servers />
|
||||||
|
</component>
|
||||||
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
|
<option name="version" value="3" />
|
||||||
|
</component>
|
||||||
|
</project>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,41 @@
|
||||||
|
# Tomcat
|
||||||
|
server:
|
||||||
|
port: 9005
|
||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
main:
|
||||||
|
allow-circular-references: true
|
||||||
|
jackson:
|
||||||
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
|
time-zone: GMT+8
|
||||||
|
application:
|
||||||
|
# 应用名称
|
||||||
|
name: bwie-book
|
||||||
|
profiles:
|
||||||
|
# 环境配置
|
||||||
|
active: dev
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 124.223.114.120:8848
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 124.223.114.120:8848
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
fdfs:
|
||||||
|
so-timeout: 1500 # socket 连接时长
|
||||||
|
connect-timeout: 600 # 连接 tracker 服务器超时时长
|
||||||
|
# 这两个是你服务器的 IP 地址,注意 23000 端口也要打开,阿里云服务器记得配置安全组。tracker 要和 stroage 服务进行交流
|
||||||
|
tracker-list: 124.223.86.235:22122
|
||||||
|
web-server-url: 124.223.86.235:8888
|
||||||
|
pool:
|
||||||
|
jmx-enabled: false
|
||||||
|
# 生成缩略图
|
||||||
|
thumb-image:
|
||||||
|
height: 500
|
||||||
|
width: 500
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,45 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.bwie.dao.ClazzDao">
|
||||||
|
|
||||||
|
<resultMap id="map" type="com.bwie.common.domain.response.DTOStudent">
|
||||||
|
<id property="stuId" column="stu_id"></id>
|
||||||
|
<result property="username" column="username"></result>
|
||||||
|
<result property="password" column="password"></result>
|
||||||
|
<result property="age" column="age"></result>
|
||||||
|
<result property="name" column="name"></result>
|
||||||
|
<result property="gender" column="gender"></result>
|
||||||
|
<result property="phoneNum" column="phone_num"></result>
|
||||||
|
<result property="email" column="email"></result>
|
||||||
|
<result property="avatar" column="avatar"></result>
|
||||||
|
<result property="clazzId" column="clazz_id"></result>
|
||||||
|
|
||||||
|
<association property="dtoClazz" javaType="com.bwie.common.domain.response.DTOClazz">
|
||||||
|
<id property="clazzId" column="clazz_id"></id>
|
||||||
|
<result property="clazzName" column="clazz_name"></result>
|
||||||
|
</association>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<select id="clazzList" resultType="com.bwie.common.domain.response.DTOClazz">
|
||||||
|
select *
|
||||||
|
from clazz
|
||||||
|
<where>
|
||||||
|
<if test="null!=clazzName and ''!=clazzName">
|
||||||
|
and clazz_name like concat('%',#{clazzName},'%')
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
<select id="stuList" resultMap="map">
|
||||||
|
SELECT c.clazz_name,s.* FROM clazz c LEFT JOIN student s on c.clazz_id=s.clazz_id
|
||||||
|
<where>
|
||||||
|
<if test="null!=clazzId">
|
||||||
|
and c.clazz_id=#{clazzId}
|
||||||
|
</if>
|
||||||
|
<if test="null!=stuName and ''!=stuName">
|
||||||
|
and s.name like concat('%'#{stuName},'%')
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue