yonge 4 年 前
コミット
e84c998a2a

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

@@ -248,7 +248,7 @@
                 AND e.job_nature_ = #{jobNature}
             </if>
             <if test="search != null">
-                AND (su.real_name_ LIKE CONCAT('%',#{search},'%') OR su.phone_ LIKE CONCAT('%',#{search},'%'))
+                AND (su.real_name_ LIKE CONCAT('%',#{search},'%') OR su.phone_ LIKE CONCAT('%',#{search},'%') or su.id_ like CONCAT('%',#{search},'%'))
             </if>
             <if test="roleId != null">
                 AND sur.role_id_ = #{roleId}