xiaoyi
3 天以前 f71dabccb0e4c2fa410683e6058eb906a7dbf094
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package cn.iocoder.yudao.module.mes.dal.mysql.md.item;
 
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.mes.dal.dataobject.md.item.MesMdItemBatchConfigDO;
import org.apache.ibatis.annotations.Mapper;
 
@Mapper
public interface MesMdItemBatchConfigMapper extends BaseMapperX<MesMdItemBatchConfigDO> {
 
    default MesMdItemBatchConfigDO selectByItemId(Long itemId) {
        return selectOne(MesMdItemBatchConfigDO::getItemId, itemId);
    }
 
    default int deleteByItemId(Long itemId) {
        return delete(MesMdItemBatchConfigDO::getItemId, itemId);
    }
 
}