| | |
| | | import cn.iocoder.yudao.module.mes.dal.dataobject.wm.barcode.MesWmBarcodeDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.Collection; |
| | | |
| | | /** |
| | | * MES 条码清单 Mapper |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | @Mapper |
| | | public interface MesWmBarcodeMapper extends BaseMapperX<MesWmBarcodeDO> { |
| | |
| | | return selectCount(MesWmBarcodeDO::getConfigId, configId); |
| | | } |
| | | |
| | | default int deleteByBizTypeAndBizIds(Integer bizType, Collection<Long> bizIds) { |
| | | return delete(new LambdaQueryWrapperX<MesWmBarcodeDO>() |
| | | .eq(MesWmBarcodeDO::getBizType, bizType) |
| | | .inIfPresent(MesWmBarcodeDO::getBizId, bizIds)); |
| | | } |
| | | |
| | | } |