浏览代码

新增待评论推送

周箭河 5 年之前
父节点
当前提交
388b3296b7
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      mec-biz/src/main/resources/config/mybatis/CourseScheduleReviewMapper.xml

+ 2 - 3
mec-biz/src/main/resources/config/mybatis/CourseScheduleReviewMapper.xml

@@ -147,10 +147,9 @@
 
 
     <sql id="practiceGroupReviewsQueryCondition">
     <sql id="practiceGroupReviewsQueryCondition">
         <where>
         <where>
-            AND pg.id_ > 0 AND cs.group_type_='PRACTICE' AND cs.status_='OVER' AND (cs.del_flag_ = 0 OR cs.del_flag_ IS
-            NULL)
+            AND pg.id_ > 0 AND cs.group_type_='PRACTICE' AND cs.status_='OVER' AND (cs.del_flag_ = 0 OR cs.del_flag_ IS NULL)
             <if test="search!=null and search!=''">
             <if test="search!=null and search!=''">
-                AND (pg.name_ LIKE CONCAT('%',#{search},'%') OR pg.id_= #{search})
+                AND (cs.name_ LIKE CONCAT('%',#{search},'%') OR cs.id_= #{search})
             </if>
             </if>
             <if test="organId != null">
             <if test="organId != null">
                 AND FIND_IN_SET(pg.organ_id_,#{organId})
                 AND FIND_IN_SET(pg.organ_id_,#{organId})