Browse Source

Merge branch 'feature/0812_opt' of http://git.dayaedu.com/yonge/cooleshow into feature/0812_opt

liujc 8 months ago
parent
commit
7a5a310278

+ 1 - 1
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/TeacherServiceImpl.java

@@ -735,7 +735,7 @@ public class TeacherServiceImpl extends ServiceImpl<TeacherDao, Teacher> impleme
         // 重置学生关联客服绑定
         // 重置学生关联客服绑定
         studentService.update(null, new UpdateWrapper<Student>().lambda()
         studentService.update(null, new UpdateWrapper<Student>().lambda()
                 .eq(Student::getImCustomerId, imCustomerServiceId)
                 .eq(Student::getImCustomerId, imCustomerServiceId)
-                .set(Student::getImCustomerId, imCustomerServiceId)
+                .set(Student::getImCustomerId, "")
                 .set(Student::getCustomerId, null));
                 .set(Student::getCustomerId, null));
     }
     }
 
 

+ 1 - 0
cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseGroupMapper.xml

@@ -181,6 +181,7 @@
             <if test="param.search != null and param.search !=''">
             <if test="param.search != null and param.search !=''">
                 and  (
                 and  (
                     cg.id_ like concat('%',#{param.search},'%')
                     cg.id_ like concat('%',#{param.search},'%')
+                    or cg.name_ like concat('%',#{param.search},'%')
                     or su.id_ like concat('%',#{param.search},'%')
                     or su.id_ like concat('%',#{param.search},'%')
                     or su.username_ like concat('%',#{param.search},'%')
                     or su.username_ like concat('%',#{param.search},'%')
                     or su.phone_  like concat('%',#{param.search},'%')
                     or su.phone_  like concat('%',#{param.search},'%')