1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- package com.caimei.mapper;
- import com.caimei.model.po.ProductParamPo;
- import com.caimei.model.po.ProductPo;
- import com.caimei.model.vo.ProductFormVo;
- import com.caimei.model.vo.ProductListVo;
- import com.caimei.model.vo.WxProductListVo;
- import com.caimei.module.base.entity.po.CmBrandProductParamPo;
- import com.caimei.module.base.entity.vo.AuthProductVo;
- import com.caimei.module.base.entity.vo.StatementFileVo;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import java.util.Date;
- import java.util.List;
- /**
- * Description
- *
- * @author : Aslee
- * @date : 2021/5/17
- */
- @Mapper
- public interface AuthProductMapper {
- List<ProductListVo> getProductList(@Param("listType") Integer listType, @Param("authId") Integer authId, @Param("productName") String productName, @Param("snCode") String snCode, @Param("status") Integer status, @Param("auditStatus") Integer auditStatus);
- void updateProductStatusByProductId(@Param("productId") Integer productId, @Param("status") Integer status);
- void deleteProductByProductId(Integer productId);
- void insertProduct(ProductPo product);
- void updateProductByProductId(ProductPo product);
- void deleteParamsByProductId(Integer productId);
- void insertProductParam(@Param("productId") Integer productId, @Param("paramName") String paramName, @Param("paramContent") String paramContent);
- Integer getProductIdBySnCode(String snCode);
- ProductFormVo getProductFormByProductId(Integer productId);
- List<ProductParamPo> getParamsByProductId(Integer productId);
- List<Integer> getProductIdsByAuthId(Integer authId);
- ProductPo getImageByProductId(Integer productId);
- List<ProductPo> getAllImage();
- void updateImageByProductId(ProductPo product);
- void updateProductAuditStatus(@Param("productId") Integer productId, @Param("status") Integer status, @Param("auditStatus") Integer auditStatus, @Param("invalidReason") String invalidReason, @Param("auditBy") Integer auditBy, @Param("auditTime") Date auditTime);
- List<WxProductListVo> getWxProductList(@Param("appId") String appId, @Param("productName") String productName);
- Integer getBrandIdByBrandName(String brand);
- List<ProductFormVo> getAuthProductList(Integer authId);
- void updateCertificateImage(ProductPo product);
- AuthProductVo getAuthProductByProductId(Integer productId);
- StatementFileVo getStatementFile(Integer authUserId, Integer brandId);
- List<CmBrandProductParamPo> getAuthProductParams(Integer productId);
- List<WxProductListVo> getClubProductList(Integer authId);
- }
|