change 4 лет назад
Родитель
Сommit
361fd9a0bd

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/course/CourseHandoutsMapper.xml

@@ -87,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="handoutsName != null and handoutsName != ''">
         <if test="handoutsName != null and handoutsName != ''">
             AND s.handouts_name like (concat('%', #{handoutsName}, '%'))
             AND s.handouts_name like (concat('%', #{handoutsName}, '%'))
         </if>
         </if>
+        GROUP BY s.handouts_id
     </select>
     </select>
 
 
 </mapper>
 </mapper>