`id`,`name`,`signature`,`content`,`createtime`,`status`,`minutes`,`model_id`,`model_code`,`type`,`tenant_id`,`parent_tenant_id`,email_bg_img,`open`,msg_type,role_type
where 1 = 1
and `id` = #{id} and `name` = #{name} and `signature` = #{signature} and `content` = #{content} and `createtime` = #{createtime} and `status` = #{status} and `minutes` = #{minutes} and `model_id` = #{modelId} and `model_code` = #{modelCode} and `type` = #{type}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `open` = #{open} and `msg_type` = #{msgType} and `role_type` = #{roleType}
and id in
#{idItem}
order by ${sortColumns}
update wx_msg_validationcode_model set status=#{status} where `model_code` = #{modelCode}