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

62 lines
1.4 KiB
Java
Raw Normal View History

package com.engine.organization.mapper.extend;
2022-05-18 18:06:01 +08:00
import com.engine.organization.entity.extend.po.ExtendGroupPO;
2022-06-15 17:17:34 +08:00
import com.engine.organization.entity.fieldset.param.FieldTypeTreeParam;
2022-05-18 18:06:01 +08:00
import org.apache.ibatis.annotations.Param;
import java.util.Collection;
2022-05-18 18:06:01 +08:00
import java.util.List;
2022-06-16 17:57:03 +08:00
import java.util.Set;
2022-05-18 18:06:01 +08:00
/**
2022-06-14 11:07:48 +08:00
* @description:
2022-05-18 18:06:01 +08:00
* @author:dxfeng
* @createTime: 2022/05/18
* @version: 1.0
*/
public interface ExtendGroupMapper {
/**
* 列表查询
*
* @param extendType
2022-05-18 18:06:01 +08:00
* @return
*/
2022-06-14 16:10:26 +08:00
List<ExtendGroupPO> listByType(@Param("extendType") Integer extendType);
/**
* 根据ID 查询数据
*
* @param ids
* @return
*/
List<ExtendGroupPO> listGroupByIds(@Param("ids") Collection<Long> ids);
2022-06-15 18:03:01 +08:00
ExtendGroupPO getGroupById(@Param("id") Long id);
/**
* 根据ID 查询数据
*
* @param pid
* @return
*/
List<ExtendGroupPO> listGroupByPid(@Param("pid") Long pid);
/**
* 根据ID查询分组名称
*
* @param id
* @return
*/
String getGroupNameById(@Param("id") String id);
2022-06-15 17:17:34 +08:00
2022-06-16 17:57:03 +08:00
void insertIgnoreNull(ExtendGroupPO extendGroupPO);
2022-06-15 17:17:34 +08:00
2022-06-16 17:57:03 +08:00
void update(@Param("id")Long id, @Param("name")String name);
2022-06-15 17:17:34 +08:00
2022-06-16 17:57:03 +08:00
void delete(@Param("id") Long id);
2022-06-15 17:17:34 +08:00
2022-06-16 17:57:03 +08:00
void updateNameAndOrder(@Param("id")Long id, @Param("groupName")String groupName, @Param("showOrder")Integer showOrder);
2022-06-15 17:17:34 +08:00
2022-06-16 17:57:03 +08:00
void batchDelete(@Param("ids")Set<Long> removeSet);
2022-05-18 18:06:01 +08:00
}