package com.njcn.advance.mapper.govern.voltage;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.advance.pojo.po.govern.voltage.SgProductLine;
import com.njcn.advance.pojo.vo.govern.voltage.SgProductLineVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hongawen
 * @since 2024-03-14
 */
public interface SgProductLineMapper extends BaseMapper<SgProductLine> {

    Page<SgProductLineVO> page(@Param("page")Page<SgProductLineVO> objectPage, @Param("ew") QueryWrapper<SgProductLineVO> queryWrapper);


    List<SgProductLineVO> querySgProductLineByUserId(@Param("ew") QueryWrapper<SgProductLineVO> sgProductLineVOQueryWrapper);

    String getUserNameByProductId(@Param("productId")String id);
}
