|
|
@ -37,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="postId != null and postId != ''"> and employees.post_id = #{postId}</if> |
|
|
|
<if test="organizationId != null "> and employees.organization_id = #{organizationId}</if> |
|
|
|
<if test="name != null and name != ''"> and CONCAT(employees.name,employees.contact_number) like concat('%', #{name}, '%')</if> |
|
|
|
<if test="employeesType != null "> and employees.employees_type = #{employeesType}</if> |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
|
|
|
|