parent
d04ab215a2
commit
c4e15f4e28
@ -1,12 +1,25 @@
|
||||
package com.example.mapper;
|
||||
|
||||
import com.example.entity.Course;
|
||||
import org.apache.ibatis.annotations.Delete;
|
||||
import org.apache.ibatis.annotations.Insert;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface CourseMapper {
|
||||
|
||||
@Select("select * from course order by id desc")
|
||||
List<Course> selectAll();
|
||||
@Select("select * from course where name like concat('%',#{name},'%') and no like concat('%',#{no},'%') " +
|
||||
"and teacher like concat('%',#{teacher},'%') order by id desc")
|
||||
List<Course> selectAll(Course course);
|
||||
|
||||
@Insert("insert into course(name,no,descr,times,teacher) values (#{name},#{no},#{descr},#{times},#{teacher})")
|
||||
void insert(Course course);
|
||||
|
||||
@Update("update course set name = #{name},no = #{name},descr = #{descr},times = #{times},teacher = #{teacher} where id = #{id}")
|
||||
void updateById(Course course);
|
||||
|
||||
@Delete("delete from course where id = #{id}")
|
||||
void deleteById(Integer id);
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +1,13 @@
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\common\CorsConfig.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\common\Result.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\service\AdminService.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\controller\CourseController.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\SpringbootApplication.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\entity\Admin.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\mapper\AdminMapper.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\controller\WebController.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\entity\Course.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\exception\CustomException.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\exception\GlobalExceptionHandler.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\mapper\CourseMapper.java
|
||||
D:\Program\project\student\springboot\src\main\java\com\example\service\CourseService.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\controller\WebController.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\entity\Course.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\service\AdminService.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\controller\CourseController.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\mapper\CourseMapper.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\common\CorsConfig.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\common\Result.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\entity\Admin.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\mapper\AdminMapper.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\SpringbootApplication.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\exception\CustomException.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\exception\GlobalExceptionHandler.java
|
||||
C:\Users\LSH\IdeaProjects\1111\student\springboot\src\main\java\com\example\service\CourseService.java
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,3 @@
|
||||
// node_modules/element-plus/es/components/input/style/index.mjs
|
||||
import "C:/Users/LSH/IdeaProjects/1111/student/vue/node_modules/element-plus/theme-chalk/src/input.scss";
|
||||
//# sourceMappingURL=chunk-ASLK72SZ.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../element-plus/es/components/input/style/index.mjs"],
|
||||
"sourcesContent": ["import '../../base/style/index.mjs';\r\nimport 'element-plus/theme-chalk/src/input.scss';\r\n//# sourceMappingURL=index.mjs.map\r\n"],
|
||||
"mappings": ";AACA,OAAO;",
|
||||
"names": []
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
// node_modules/element-plus/es/components/tooltip/style/index.mjs
|
||||
import "C:/Users/LSH/IdeaProjects/1111/student/vue/node_modules/element-plus/theme-chalk/src/tooltip.scss";
|
||||
//# sourceMappingURL=chunk-BQ2OVMCC.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../element-plus/es/components/tooltip/style/index.mjs"],
|
||||
"sourcesContent": ["import '../../base/style/index.mjs';\r\nimport 'element-plus/theme-chalk/src/tooltip.scss';\r\nimport '../../popper/style/index.mjs';\r\n//# sourceMappingURL=index.mjs.map\r\n"],
|
||||
"mappings": ";AACA,OAAO;",
|
||||
"names": []
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
// node_modules/element-plus/es/components/popper/style/index.mjs
|
||||
import "C:/Users/LSH/IdeaProjects/1111/student/vue/node_modules/element-plus/theme-chalk/src/popper.scss";
|
||||
//# sourceMappingURL=chunk-C5ZZQD6B.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../element-plus/es/components/popper/style/index.mjs"],
|
||||
"sourcesContent": ["import '../../base/style/index.mjs';\r\nimport 'element-plus/theme-chalk/src/popper.scss';\r\n//# sourceMappingURL=index.mjs.map\r\n"],
|
||||
"mappings": ";AACA,OAAO;",
|
||||
"names": []
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
// node_modules/element-plus/es/components/scrollbar/style/index.mjs
|
||||
import "C:/Users/LSH/IdeaProjects/1111/student/vue/node_modules/element-plus/theme-chalk/src/scrollbar.scss";
|
||||
//# sourceMappingURL=chunk-CGUCDBFF.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../element-plus/es/components/scrollbar/style/index.mjs"],
|
||||
"sourcesContent": ["import '../../base/style/index.mjs';\r\nimport 'element-plus/theme-chalk/src/scrollbar.scss';\r\n//# sourceMappingURL=index.mjs.map\r\n"],
|
||||
"mappings": ";AACA,OAAO;",
|
||||
"names": []
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
// node_modules/element-plus/es/components/base/style/index.mjs
|
||||
import "C:/Users/LSH/IdeaProjects/1111/student/vue/node_modules/element-plus/theme-chalk/src/base.scss";
|
||||
//# sourceMappingURL=chunk-FJXVO5OZ.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../element-plus/es/components/base/style/index.mjs"],
|
||||
"sourcesContent": ["import 'element-plus/theme-chalk/src/base.scss';\r\n//# sourceMappingURL=index.mjs.map\r\n"],
|
||||
"mappings": ";AAAA,OAAO;",
|
||||
"names": []
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
// node_modules/element-plus/es/components/tag/style/index.mjs
|
||||
import "C:/Users/LSH/IdeaProjects/1111/student/vue/node_modules/element-plus/theme-chalk/src/tag.scss";
|
||||
//# sourceMappingURL=chunk-MBQX2QZO.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../element-plus/es/components/tag/style/index.mjs"],
|
||||
"sourcesContent": ["import '../../base/style/index.mjs';\r\nimport 'element-plus/theme-chalk/src/tag.scss';\r\n//# sourceMappingURL=index.mjs.map\r\n"],
|
||||
"mappings": ";AACA,OAAO;",
|
||||
"names": []
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
// node_modules/element-plus/es/components/checkbox/style/index.mjs
|
||||
import "C:/Users/LSH/IdeaProjects/1111/student/vue/node_modules/element-plus/theme-chalk/src/checkbox.scss";
|
||||
//# sourceMappingURL=chunk-RLDUGRP4.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../element-plus/es/components/checkbox/style/index.mjs"],
|
||||
"sourcesContent": ["import '../../base/style/index.mjs';\r\nimport 'element-plus/theme-chalk/src/checkbox.scss';\r\n//# sourceMappingURL=index.mjs.map\r\n"],
|
||||
"mappings": ";AACA,OAAO;",
|
||||
"names": []
|
||||
}
|
||||
6
student/vue/node_modules/.vite/deps/element-plus_es_components_dialog_style_index.js
generated
vendored
6
student/vue/node_modules/.vite/deps/element-plus_es_components_dialog_style_index.js
generated
vendored
@ -0,0 +1,6 @@
|
||||
import "./chunk-UGKGD7NU.js";
|
||||
import "./chunk-FJXVO5OZ.js";
|
||||
|
||||
// node_modules/element-plus/es/components/dialog/style/index.mjs
|
||||
import "C:/Users/LSH/IdeaProjects/1111/student/vue/node_modules/element-plus/theme-chalk/src/dialog.scss";
|
||||
//# sourceMappingURL=element-plus_es_components_dialog_style_index.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../element-plus/es/components/dialog/style/index.mjs"],
|
||||
"sourcesContent": ["import '../../base/style/index.mjs';\r\nimport 'element-plus/theme-chalk/src/dialog.scss';\r\nimport '../../overlay/style/index.mjs';\r\n//# sourceMappingURL=index.mjs.map\r\n"],
|
||||
"mappings": ";;;;AACA,OAAO;",
|
||||
"names": []
|
||||
}
|
||||
Loading…
Reference in new issue