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

72 lines
1.4 KiB
Java

package com.engine.organization.mapper.scheme;
import com.engine.organization.entity.scheme.po.SchemePO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.Collection;
import java.util.List;
/**
* @Author weaver_cl
* @Description: TODO
* @Date 2022/3/9
* @Version V1.0
**/
public interface SchemeMapper {
/**
* ID
* @param schemeNo
* @return
*/
@Select("select * from jcl_org_scheme t where scheme_no = #{schemeNo}")
List<SchemePO> listByNo(String schemeNo);
/**
* ID
* @param ids
* @return
*/
List<SchemePO> listSchemesById(@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 schemePO
* @return
*/
int deleteScheme(SchemePO schemePO);
/**
*
*
* @param ids
*/
int deleteByIds(@Param("ids") Collection<Long> ids);
}