`id`,`tenant_id`,`parent_tenant_id`,`theme_id`,`name`,`remarks`,`theme_type`,`icon`,`style`,`link_type`,`link_url`,`out_link_appid`,
`sort`,`is_using`,
`create_date`,`update_date`
where del_status = 0
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `theme_id` = #{themeId}
and `name` like concat('%', #{name},'%')
and `theme_type` = #{themeType}
and `link_type` = #{linkType}
and `is_using` = #{isUsing}
order by `is_using` desc, `sort` asc, `update_date` desc
update wx_customize_module set `del_status` = 1, update_date = now() where id = #{id};
update wx_customize_module set `del_status` = 1, update_date = now() where tenant_id = #{tenantId};