package com.yuchen.saas.park.service.service.property;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yuchen.saas.park.api.entity.property.PropertyBusinessChargesBill;
import com.yuchen.saas.park.service.mapper.property.PropertyBusinessChargesBillMapper;
import org.springframework.stereotype.Service;

@Service
public class PropertyBusinessChargesBillService extends ServiceImpl<PropertyBusinessChargesBillMapper, PropertyBusinessChargesBill> {

    public void removeChargesBill(long businessChargesId) {
        LambdaQueryWrapper<PropertyBusinessChargesBill> qw = new LambdaQueryWrapper<>();
        qw.eq(PropertyBusinessChargesBill::getBusinessChargesId,businessChargesId);
        this.remove(qw);
    }

}
