From 5d15dde821e18906ba7fe0ebf6dc3a5651a808ef Mon Sep 17 00:00:00 2001 From: pd <2776455882@qq.com> Date: Tue, 21 Jul 2020 14:36:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=9E=E9=AA=8C=E7=8F=AD?= =?UTF-8?q?=E7=BA=A7=E8=AF=A6=E6=83=85=E6=9C=89=E5=85=B3=E7=9A=84sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 14 +++++++------- .../com/yipin/liuwanr/mapper/AssesmentMapper.java | 3 ++- .../liuwanr/mapper/ExperimentalClassMapper.java | 4 ++-- .../mapper/TeacherProjectAndCourseMapper.java | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index c5e5840..0fbc240 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,6 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.yipin @@ -149,15 +149,15 @@ - org.apache.poi - poi - 3.17 + org.apache.poi + poi + 3.17 - org.apache.poi - poi-ooxml - 3.17 + org.apache.poi + poi-ooxml + 3.17 diff --git a/src/main/java/com/yipin/liuwanr/mapper/AssesmentMapper.java b/src/main/java/com/yipin/liuwanr/mapper/AssesmentMapper.java index 40a371a..d122cb6 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/AssesmentMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/AssesmentMapper.java @@ -32,7 +32,8 @@ public interface AssesmentMapper { * 查询项目权限为考核的项目 * @return */ - @Select("select projectId,projectName,projectPermissions,founder,creationTime from hr_project_management where isdel=0 and projectPermissions=1 AND systemId in (SELECT systemId FROM course WHERE courseId=#{courseId})") + @Select("select projectId,projectName,projectPermissions,founder,creationTime from hr_project_management " + + " where isdel=0 and projectPermissions=1 AND systemId in (SELECT systemId FROM course WHERE courseId=#{courseId})") List queryGetByAssesmentProject(Integer courseId); diff --git a/src/main/java/com/yipin/liuwanr/mapper/ExperimentalClassMapper.java b/src/main/java/com/yipin/liuwanr/mapper/ExperimentalClassMapper.java index 76c1951..6c02983 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/ExperimentalClassMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/ExperimentalClassMapper.java @@ -85,11 +85,11 @@ public interface ExperimentalClassMapper { */ @Select({" "}) List getExperimentalClassDetails(Student student); diff --git a/src/main/java/com/yipin/liuwanr/mapper/TeacherProjectAndCourseMapper.java b/src/main/java/com/yipin/liuwanr/mapper/TeacherProjectAndCourseMapper.java index 75138eb..ea484aa 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/TeacherProjectAndCourseMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/TeacherProjectAndCourseMapper.java @@ -31,7 +31,7 @@ public interface TeacherProjectAndCourseMapper { * @return */ @Select({"