weaver-hrm-organization/src/com/engine/organization/mapper/extend/ExtendTitleMapper.java

55 lines
1.1 KiB
Java
Raw Normal View History

2022-06-14 13:58:58 +08:00
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
*/
2022-06-14 14:31:52 +08:00
List<ExtendTitlePO> getTitlesByGroupID(@Param("groupId") Long groupId);
2022-06-14 13:58:58 +08:00
2022-06-15 11:25:23 +08:00
/**
* 根据ID查询数据
*
* @param ids
* @return
*/
2022-06-14 13:58:58 +08:00
List<ExtendTitlePO> getTitlesByIds(@Param("ids") Collection<Long> ids);
2022-06-15 11:25:23 +08:00
/**
* 新增
*
* @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);
2022-06-14 13:58:58 +08:00
}