`id`, `tenant_id`, `parent_tenant_id`, `name`, `status`, `create_date`,`update_date`,`promoter_limit_rule`,`promoter_allow_count`, `bargainer_allow_same`, `bargainer_allow_count`
where `tenant_id` = #{tenantId}
and `id` = #{id}
and `parent_tenant_id` = #{parentTenantId}
and `status` = #{status}
and `name` like concat('%', #{name},'%')
and `promoter_limit_rule` = #{promoterLimitRule}
and `bargainer_allow_same` = #{bargainerAllowSame}
and `id` in
#{idItem}
update wx_press_batch set status = #{status} where `id` = #{id} and tenant_id=#{tenantId}
delete from wx_press_batch where `id` = #{id} and tenant_id=#{tenantId}