| | |
| | | package com.vci.ubcs.omd.mapper; |
| | | |
| | | import com.vci.ubcs.omd.entity.BtmTypeAttribute; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springblade.core.mp.mapper.BladeMapper; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * Description: |
| | | * Description: 业务类型关联属性的mapper |
| | | * |
| | | * @author LiHang |
| | | * @date 2023/4/23 |
| | | */ |
| | | public interface BtmTypeAttributeMapper extends BladeMapper<BtmTypeAttribute> { |
| | | |
| | | int batchDelete(List<String> records); |
| | | |
| | | |
| | | int batchUpdate(List<BtmTypeAttribute> btmTypeAttributeDOList); |
| | | |
| | | /** |
| | | * 获取业务类型中的指定属性 |
| | | * @param id 业务类型的主键 |
| | | * @param attributeIdCollection 属性的id, |
| | | * @return 属性的数据对象 |
| | | */ |
| | | List<BtmTypeAttribute> selectByBtmTypeIdAndAttributeIds(@Param("btmTypeId")String id, @Param("ids") Collection<String> attributeIdCollection); |
| | | |
| | | /** |
| | | * 通过业务类型的英文名称获取关联的属性 |
| | | * @param ids 业务类型的英文名称集合 |
| | | * @return 包含的属性 |
| | | */ |
| | | List<BtmTypeAttribute> selectByBtmTypeIds(@Param("ids") Collection<String> ids); |
| | | } |