Explorar o código

fix 考试时间

he2802 %!s(int64=3) %!d(string=hai) anos
pai
achega
0a6c12b927

+ 3 - 1
zhongzheng-system/src/main/resources/mapper/modules/course/CourseMapper.xml

@@ -317,7 +317,9 @@
         <if test="majorId != null and majorId != ''">
             AND c.major_id = #{majorId}
         </if>
-
+        <if test="key != null and key != ''">
+            AND (c.course_name like concat('%', #{key}, '%') or c.code = #{key} or c.prefix_name like concat('%', #{key}, '%'))
+        </if>
 
     </select>