yonge 2 년 전
부모
커밋
3d96089126
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      mec-biz/src/main/resources/config/mybatis/CourseScheduleSwMapper.xml

+ 4 - 4
mec-biz/src/main/resources/config/mybatis/CourseScheduleSwMapper.xml

@@ -101,10 +101,10 @@
 				and cs.teach_mode_ = #{teachMode}
 			</if>
 			<if test="createStartDate != null">
-				and date(cs.create_time_) &gt;= #{createStartDate}
+				and class_date_ &gt;= #{createStartDate}
 			</if>
 			<if test="createEndDate != null">
-				and date(cs.create_time_) &lt;= #{createEndDate}
+				and class_date_ &lt;= #{createEndDate}
 			</if>
 		</where>
 		ORDER BY cs.id_
@@ -125,10 +125,10 @@
 				and cs.teach_mode_ = #{teachMode}
 			</if>
 			<if test="createStartDate != null">
-				and date(cs.create_time_) &gt;= #{createStartDate}
+				and class_date_ &gt;= #{createStartDate}
 			</if>
 			<if test="createEndDate != null">
-				and date(cs.create_time_) &lt;= #{createEndDate}
+				and class_date_ &lt;= #{createEndDate}
 			</if>
 		</where>
 	</select>