ShopMapper.java 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. package com.caimei.mapper;
  2. import com.caimei.model.dto.ShopInfoDto;
  3. import com.caimei.model.po.CmBrandAuthFilePo;
  4. import com.caimei.model.po.UserPo;
  5. import com.caimei.model.vo.*;
  6. import org.apache.ibatis.annotations.Mapper;
  7. import org.apache.ibatis.annotations.Param;
  8. import java.util.List;
  9. /**
  10. * Description
  11. *
  12. * @author : Aslee
  13. * @date : 2021/5/11
  14. */
  15. @Mapper
  16. public interface ShopMapper {
  17. List<ShopListVo> getShopList(@Param("listType") Integer listType, @Param("shopName") String shopName, @Param("shopType") Integer shopType, @Param("brandId") Integer brandId, @Param("mobile") String mobile, @Param("linkMan") String linkMan);
  18. void updateShopStatusByUserId(@Param("authUserId") Integer authUserId, @Param("status") Integer status);
  19. String getShopMobileByUserId(Integer authUserId);
  20. CmBrandAuthFilePo getStatementFile(CmBrandAuthFilePo searchFile);
  21. void insertStatementFile(CmBrandAuthFilePo cmBrandAuthFile);
  22. Integer getFileNumByMd5Hex(String md5Hex);
  23. void deleteStatementFile(Integer id);
  24. void insertShop(UserPo shop);
  25. void updateBrandAuthLogo(@Param("brandId") Integer brandId, @Param("brandAuthLogo") String brandAuthLogo);
  26. void updateFileUserId(@Param("statementFileId") Integer statementFileId,@Param("authUserId") Integer authUserId);
  27. void insertShopInfo(ShopInfoDto shopInfo);
  28. void updateShopByUserId(UserPo shop);
  29. ShopFormVo getShopByUserId(Integer authUserId);
  30. List<BrandVo> getBrandList(@Param("type") Integer type,@Param("authUserId") Integer authUserId);
  31. List<CountryVo> getCountryList();
  32. Integer getUserIdByMobile(String mobile);
  33. List<ShopBrandVo> getDbInfoBrandList(Integer authUserId);
  34. void deleteShopInfoById(Integer infoId);
  35. void updateShopInfo(ShopInfoDto shopInfoVo);
  36. List<ShopInfoVo> getShopInfoByUserId(Integer authUserId);
  37. Integer getUserIdByShopName(String shopName);
  38. Integer getAuthWaitAuditNum(Integer authUserId);
  39. Integer getProductWaitAuditNum(Integer authUserId);
  40. Integer getProductCount(@Param("authUserId") Integer authUserId, @Param("brandId") Integer brandId);
  41. List<FeedbackVo> getFeedbackList(@Param("authUserId") Integer authUserId, @Param("clubName") String clubName, @Param("mobile") String mobile, @Param("handleStatus") Integer handleStatus);
  42. FeedbackVo getFeedback(Integer feedbackId);
  43. void handleFeedback(@Param("feedbackId") Integer feedbackId, @Param("handleResult") String handleResult);
  44. Integer getShopStatus(Integer authUserId);
  45. Integer getUserIdByAppId(String appId);
  46. String getAppSecretByAppId(String appId);
  47. String getAppId(Integer authUserId);
  48. String getShopNameByAppId(String appId);
  49. }