| | |
| | | package com.vci.ubcs.omd.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
| | | import com.vci.ubcs.omd.entity.BtmTypeAttribute; |
| | | import com.vci.ubcs.omd.entity.BtmType; |
| | | import org.apache.ibatis.annotations.Param; |
| | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | @Repository |
| | | public interface BtmTypeMapper extends BladeMapper<BtmType> { |
| | | /** |
| | | * 根据主键删除对象 |
| | | * @param oid 生命周期主键 |
| | | * @return 影响的行数 |
| | | */ |
| | | int deleteByPrimaryKey(String oid); |
| | | |
| | | /** |
| | | * 插入业务类型 |
| | | * @param record 要添加的业务类型对象 |
| | | * @return 影响的行数 |
| | | */ |
| | | int insert(BtmType record); |
| | | int deleteByPrimaryKey(@Param("oid") String oid); |
| | | |
| | | /** |
| | | * 根据主键获取数据对象 |
| | |
| | | * @param records 批量的信息 |
| | | * @return 执行总数 |
| | | */ |
| | | Long batchInsert(@Param("records") List<BtmTypeAttribute> records); |
| | | @InterceptorIgnore(tenantLine = "1") |
| | | Long batchInsert(@Param("records") List<BtmType> records); |
| | | |
| | | } |