`id`,`phone`,`expiretime`,`createtime`,`type`,`tenant_id`,`msg`,`signature`,`code`,`appid`
where 1 = 1
and `id` = #{id} and `phone` = #{phone} and `expiretime` = #{expiretime} and `createtime` = #{createtime} and `type` = #{type} and `tenant_id` = #{tenantId} and `msg` = #{msg} and `signature` = #{signature} and `code` = #{code}
and id in
#{idItem}
order by ${sortColumns}