面审新增keyword

This commit is contained in:
zhangchenbiao
2024-04-02 10:42:39 +08:00
parent 87ed098fff
commit aca8aebd54
2 changed files with 6 additions and 0 deletions

View File

@@ -62,6 +62,9 @@
xfsg_line_interview a inner join xfsg_line_info b on a.line_id = b.id
where
a.deleted = '0' and b.deleted = '0' and a.interview_type = #{interviewType}
<if test="keyword != null and keyword != ''">
and (b.username like concat('%', #{keyword}, '%') or b.mobile like concat('%', #{keyword}, '%'))
</if>
<if test="username != null and username != ''">
and b.username like concat('%', #{username}, '%')
</if>

View File

@@ -16,6 +16,9 @@ import java.util.List;
@Data
public class LineInterviewPageRequest extends PageBasicInfo {
@ApiModelProperty("姓名&手机号")
private String keyword;
@ApiModelProperty("线索姓名")
private String username;