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

77 lines
1.5 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 dxfeng
* @Description: TODO
* @Date 2022/5/9
* @Version V1.0
**/
public interface SchemeMapper {
/**
* No
*
* @param schemeNo
* @return
*/
@Select("select * from jcl_org_scheme t where scheme_no = #{schemeNo} AND delete_type = 0")
List<SchemePO> listByNo(String schemeNo);
/**
* ID
*
* @param id
* @return
*/
@Select("select * from jcl_org_scheme t where id = #{id} AND delete_type = 0")
SchemePO getSchemeByID(@Param("id") long id);
/**
* ID
*
* @param ids
* @return
*/
List<SchemePO> 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);
}