Bläddra i källkod

查询使用realname

liujc 2 år sedan
förälder
incheckning
3857c18e21

+ 2 - 1
mec-biz/src/main/resources/config/mybatis/ExtracurricularExercisesMapper.xml

@@ -30,6 +30,7 @@
 		<result column="versionTag" property="versionTag" />
 		<result column="type" property="type" />
 		<result column="push_flag_" property="pushFlag" />
+		<result column="group_type_" property="groupType" />
 	</resultMap>
 
 	<sql id="queryPageCondition">
@@ -66,7 +67,7 @@
                 and ee.group_type_ = #{type}
             </if>
             <if test="search != null ">
-                and (su.username_ like '%' #{search} '%' or mg.name_ like '%' #{search} '%')
+                and (su.real_name_ like '%' #{search} '%' or mg.name_ like '%' #{search} '%')
             </if>
             <if test="type != null">
                 and ee.group_type_ = #{type}