package com.bonus.canteen.core.device.door.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bonus.canteen.core.device.door.mapper.DcCustDoorMapper;
import com.bonus.canteen.core.device.door.model.DcCustDoor;
import com.bonus.canteen.core.device.door.service.DcCustDoorService;
import org.springframework.stereotype.Service;


@Service
public class DcCustDoorServiceImpl extends ServiceImpl<DcCustDoorMapper, DcCustDoor> implements DcCustDoorService {
   @Override
   public Boolean removeByCustId(Long custId) {
      return this.remove(Wrappers.<DcCustDoor>lambdaQuery().eq(DcCustDoor::getCustId, custId));
   }
}
