@@ -69,6 +69,10 @@
AND t.role_ids =
any(#{roleIds, typeHandler=StringListTypeHandler})
</if>
+ <if test="searchText !=null">
+ AND ( t.staff_name LIKE concat('%', #{searchText}, '%')
+ or t.staff_phone LIKE concat('%', #{searchText}, '%'))
+ </if>
</where>
</sql>
@@ -214,6 +214,8 @@ public class StaffQuery extends PageInfo<StaffQuery> implements Serializable {
@ApiModelProperty(value = "组织部门list")
private List<Integer> orgIds;
+ private String searchText;
+
private static final long serialVersionUID = 1L;
}