`id`, `tenant_id`, `parent_tenant_id`, `coupon_batch_id`, `coupon_id`, `create_date`,`update_date`,`coupon_batch_status`
where `tenant_id` = #{tenantId}
and `id` = #{id}
and `parent_tenant_id` = #{parentTenantId}
and `press_batch_id` = #{pressBatchId}
and `coupon_id` = #{couponId}
and `press_batch_status` = #{pressBatchStatus}
and `id` in
#{idItem}
update wx_coupon_batch_item set coupon_batch_status = #{couponBatchStatus} where `coupon_batch_id` = #{couponBatchId} and tenant_id=#{tenantId}
delete from wx_coupon_batch_item where `id` = #{id} and tenant_id=#{tenantId}
delete from wx_coupon_batch_item where `coupon_batch_id` = #{couponBatchId} and tenant_id=#{tenantId}