chenlu
9 天以前 97fba4a0e38c0b8455d43d2935aa996676407361
north-glass-erp/src/main/java/com/example/erp/mapper/sd/ProductMapper.java
@@ -1,5 +1,6 @@
package com.example.erp.mapper.sd;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.erp.entity.sd.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@@ -7,9 +8,19 @@
import java.util.List;
@Mapper
public interface ProductMapper {
public interface ProductMapper extends BaseMapper<Product> {
    List<Product> defaultProduct(@Param("offset") Integer offset,
                                 @Param("pageSize") Integer pageSiz,
                                 @Param("glassTypeId") String glassTypeId,
                                 @Param("product") Product product);
                                 @Param("product") Product product,String field, String orderBy);
    Integer getPageTotal(Integer offset, Integer pageSize, String glassTypeId, Product product);
    boolean updateProductStateById(Integer id,Integer state);
    List<Product> selectProduct(@Param("productName") String productName,@Param("productNameValue") String productNameValue);
    List<Product> selectProductId(@Param("productName") String productName,@Param("productNameValue") String productNameValue,@Param("id") Long id);
    Double getGlassThickness(Integer productId, Integer technologyNumber);
}