37 lines
668 B
Java
37 lines
668 B
Java
package com.rzyc.mapper;
|
|
|
|
import com.rzyc.model.InPostItem;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* <p>
|
|
* Mapper 接口
|
|
* </p>
|
|
*
|
|
* @author
|
|
* @since 2023-01-03
|
|
*/
|
|
@Repository
|
|
public interface InPostItemMapper extends BaseMapper<InPostItem> {
|
|
|
|
/**
|
|
* 插入list
|
|
*
|
|
* @param list
|
|
* @return int
|
|
*/
|
|
int insertList(@Param("list") List<InPostItem> list);
|
|
|
|
/**
|
|
* 查询清单
|
|
*
|
|
* @param postId
|
|
* @return InPostItem
|
|
*/
|
|
InPostItem selectByPostId(String postId);
|
|
|
|
} |