新增身份证号批量查询

This commit is contained in:
2025-04-21 11:27:27 +08:00
parent 9b4519aec7
commit fc9ed565c1
2 changed files with 10 additions and 0 deletions

View File

@@ -161,6 +161,12 @@
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="param.idCards != null">
AND a.id_card IN
<foreach collection="param.idCards" item="item" separator="," open="(" close=")">
#{item}
</foreach>
</if>
<if test="param.province != null"> <if test="param.province != null">
AND a.province LIKE CONCAT('%', #{param.province}, '%') AND a.province LIKE CONCAT('%', #{param.province}, '%')
</if> </if>

View File

@@ -247,6 +247,10 @@ public class UserParam extends BaseParam {
@TableField(exist = false) @TableField(exist = false)
private Set<String> phones; private Set<String> phones;
@ApiModelProperty("用户身份证集合")
@TableField(exist = false)
private Set<String> idCards;
@ApiModelProperty("是否查询用户详细资料表") @ApiModelProperty("是否查询用户详细资料表")
@TableField(exist = false) @TableField(exist = false)
private Boolean showProfile; private Boolean showProfile;