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/scheme/SchemeMapper.java

83 lines
1.5 KiB
Java

package com.engine.organization.mapper.scheme;
import com.engine.organization.entity.scheme.po.SchemePO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;
import java.util.Collection;
import java.util.List;
import java.util.Map;
/**
* @Author dxfeng
* @Description: TODO
* @Date 2022/5/9
* @Version V1.0
**/
public interface SchemeMapper {
/**
* No
*
* @param schemeNo
* @return
*/
List<SchemePO> listByNo(@Param("schemeNo") String schemeNo);
/**
* ID
*
* @return
*/
List<String> listUsedId();
/**
* ID
*
* @param id
* @return
*/
SchemePO getSchemeByID(@Param("id") long id);
/**
* ID
*
* @param ids
* @return
*/
@MapKey("id")
List<Map<String, Object>> listSchemesByIds(@Param("ids") Collection<Long> ids);
/**
* null
*
* @param schemePO
* @return
*/
int insertIgnoreNull(SchemePO schemePO);
/**
*
*
* @param schemePO
* @return
*/
int updateScheme(SchemePO schemePO);
/**
*
*
* @param schemePO
* @return
*/
int updateForbiddenTagById(SchemePO schemePO);
/**
*
*
* @param ids
*/
int deleteByIds(@Param("ids") Collection<Long> ids);
}