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/post/PostInfoMapper.java

81 lines
1.6 KiB
Java

package com.engine.organization.mapper.post;
3 years ago
import com.engine.organization.entity.postion.po.PostInfoPO;
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
3 years ago
* @description:
* @Date 2022/5/13
* @Version V1.0
**/
public interface PostInfoMapper {
/**
* No
*
* @param postInfoNo
* @return
*/
List<PostInfoPO> listByNo(@Param("postInfoNo") String postInfoNo);
3 years ago
PostInfoPO getPostInfoByNameAndPostId(@Param("postInfoName") String postInfoName, @Param("postId") Long postId);
/**
* ID
3 years ago
*
* @param id
* @return
*/
PostInfoPO getPostInfoByID(@Param("id") long id);
/**
* ID
*
* @param ids
* @return
*/
@MapKey("id")
3 years ago
List<Map<String, Object>> listPostInfosByIds(@Param("ids") Collection<Long> ids);
/**
*
3 years ago
*
* @param postInfoPO
* @return
*/
int insertIgnoreNull(PostInfoPO postInfoPO);
/**
*
*
* @param postInfoPO
* @return
*/
int updatePostInfo(PostInfoPO postInfoPO);
/**
*
*
* @param postInfoPO
* @return
*/
int updateForbiddenTagById(PostInfoPO postInfoPO);
3 years ago
/**
*
*
* @param ids
*/
int deleteByIds(@Param("ids") Collection<Long> ids);
List<PostInfoPO> getPostInfosByIds(@Param("ids") Collection<Long> ids);
}