@@ -55,4 +55,7 @@ public class CertificateTpQueryBo extends BaseEntity {
/** 证书键值 */
@ApiModelProperty("证书键值")
private String keyValue;
+
+ @ApiModelProperty("证书模板ID数组")
+ private List<Long> tpIds;
}
@@ -43,6 +43,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{item}
</foreach>
</if>
+ <if test="tpIds != null and tpIds.size()!=0 ">
+ AND ct.tp_id in
+ <foreach collection="tpIds" item="item" index="index" open="(" close=")" separator=",">
+ #{item}
+ </foreach>
+ </if>
</select>
</mapper>