package com.caimei.mapper; import com.caimei.model.dto.ShopInfoDto; import com.caimei.model.po.CmBrandAuthFilePo; import com.caimei.model.po.UserPo; import com.caimei.model.vo.*; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * Description * * @author : Aslee * @date : 2021/5/11 */ @Mapper public interface ShopMapper { List 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); void updateShopStatusByUserId(@Param("authUserId") Integer authUserId, @Param("status") Integer status); String getShopMobileByUserId(Integer authUserId); CmBrandAuthFilePo getStatementFile(CmBrandAuthFilePo searchFile); void insertStatementFile(CmBrandAuthFilePo cmBrandAuthFile); Integer getFileNumByMd5Hex(String md5Hex); void deleteStatementFile(Integer id); void insertShop(UserPo shop); void updateBrandAuthLogo(@Param("brandId") Integer brandId, @Param("brandAuthLogo") String brandAuthLogo); void updateFileUserId(@Param("statementFileId") Integer statementFileId,@Param("authUserId") Integer authUserId); void insertShopInfo(ShopInfoDto shopInfo); void updateShopByUserId(UserPo shop); ShopFormVo getShopByUserId(Integer authUserId); List getBrandList(@Param("type") Integer type,@Param("authUserId") Integer authUserId); List getCountryList(); Integer getUserIdByMobile(String mobile); List getDbInfoBrandList(Integer authUserId); void deleteShopInfoById(Integer infoId); void updateShopInfo(ShopInfoDto shopInfoVo); List getShopInfoByUserId(Integer authUserId); Integer getUserIdByShopName(String shopName); Integer getAuthWaitAuditNum(Integer authUserId); Integer getProductWaitAuditNum(Integer authUserId); Integer getProductCount(@Param("authUserId") Integer authUserId, @Param("brandId") Integer brandId); List getFeedbackList(@Param("authUserId") Integer authUserId, @Param("clubName") String clubName, @Param("mobile") String mobile, @Param("handleStatus") Integer handleStatus); FeedbackVo getFeedback(Integer feedbackId); void handleFeedback(@Param("feedbackId") Integer feedbackId, @Param("handleResult") String handleResult); Integer getShopStatus(Integer authUserId); Integer getUserIdByAppId(String appId); String getAppSecretByAppId(String appId); String getAppId(Integer authUserId); String getShopNameByAppId(String appId); }