@@ -12,7 +12,6 @@ import com.keao.edu.im.api.entity.ImUserModel;
import com.keao.edu.user.dao.EmployeeDao;
import com.keao.edu.user.dao.SysUserDao;
import com.keao.edu.user.entity.Employee;
-import com.keao.edu.user.enums.YesOrNoEnum;
import com.keao.edu.user.service.EmployeeService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
@@ -101,7 +101,7 @@
</update>
<sql id="employeeQueryPage">
<where>
- e.del_flag_ = 1 AND e.tenant_id_ = #{tenantId}
+ e.del_flag_ = 0 AND e.tenant_id_ = #{tenantId}
<if test="search != null and search != ''">
AND (e.user_id_ = #{search} OR su.phone_ LIKE CONCAT('%',#{search},'%') OR su.real_name_ LIKE CONCAT('%',#{search},'%'))
</if>