Explorar el Código

Merge remote-tracking branch 'origin/system_fee' into system_fee

zouxuan hace 4 años
padre
commit
ca0828cdb0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/EmployeeMapper.xml

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

@@ -219,7 +219,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>
         </where>
         ORDER BY e.create_time_ DESC <include refid="global.limit"/>) ue