src/main/java/mapper/ProductimageMapper.java
(完整代码) 1KBpackage mapper;
import java.util.List;
import model.Productimage;
import model.ProductimageExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
@Repository
public interface ProductimageMapper {
long countByExample(ProductimageExample example);
int deleteByExample(ProductimageExample example);
int deleteByPrimaryKey(Integer id);
int insert(Productimage record);
int insertSelective(Productimage record);
List<Productimage> selectByExample(ProductimageExample example);
@Select("select * from ProductImage where pid = #{pid}")
List<Productimage> selectByPid(Integer pid);
@Select("select * from ProductImage where pid = #{pid} limit 1")
Productimage selectOneByPid(Integer pid);
@Select("select * from ProductImage where pid = #{pid} and type = #{type} order by id desc limit 10")
List<Productimage> list(@Param("pid") Integer pid, @Param("type")String type);
Productimage selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Productimage record, @Param("example") ProductimageExample example);
int updateByExample(@Param("record") Productimage record, @Param("example") ProductimageExample example);
int updateByPrimaryKeySelective(Productimage record);
int updateByPrimaryKey(Productimage record);
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
