You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
weaver-hrm-organization/src/com/engine/organization/mapper/extend/ExtendTitleMapper.java

55 lines
1.1 KiB
Java

package com.engine.organization.mapper.extend;
import com.engine.organization.entity.extend.po.ExtendTitlePO;
import org.apache.ibatis.annotations.Param;
import java.util.Collection;
import java.util.List;
/**
* @author:dxfeng
* @createTime: 2022/06/14
* @version: 1.0
*/
public interface ExtendTitleMapper {
/**
* 根据分组类型获取标题信息
*
* @param groupId
* @return
*/
List<ExtendTitlePO> getTitlesByGroupID(@Param("groupId") Long groupId);
/**
* 根据ID查询数据
*
* @param ids
* @return
*/
List<ExtendTitlePO> getTitlesByIds(@Param("ids") Collection<Long> ids);
/**
* 新增
*
* @param extendTitle
* @return
*/
int insertIgnoreNull(ExtendTitlePO extendTitle);
/**
* 更新
*
* @param extendTitle
* @return
*/
int updateExtendTitle(ExtendTitlePO extendTitle);
/**
* 根据ID批量删除数据
*
* @param ids
* @return
*/
int deleteExtendTitleByIds(@Param("ids") Collection<Long> ids);
}