From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsMerchantDAO.java | 65 +++++++++++++++++++++++++++++++- 1 files changed, 63 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsMerchantDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsMerchantDAO.java index 99ba730..979afbd 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsMerchantDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/McsMerchantDAO.java @@ -2,9 +2,15 @@ import java.util.List; -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.panzhihua.common.model.dtos.community.microCommercialStreet.PageMcsMerchantDTO; +import com.panzhihua.common.model.vos.community.microCommercialStreet.IndexTopStatisticsVO; +import com.panzhihua.common.model.vos.community.microCommercialStreet.McsMerchantVO; import com.panzhihua.service_community.entity.McsMerchant; /** @@ -36,4 +42,59 @@ */ int insertOrUpdateBatch(@Param("entities") List<McsMerchant> entities); + /** + * 根据id查询商家信息 + * @param merchantId + * @return + */ + McsMerchantVO getMcsMerchantById(@Param("merchantId") Long merchantId); + + /** + * 分页查询数字商业街商家 + * @param page + * @param pageMcsMerchantDTO + * @return + */ + IPage<McsMerchantVO> pageMcsMerchant(@Param("page") Page page, @Param("pageMcsMerchantDTO") PageMcsMerchantDTO pageMcsMerchantDTO); + + /** + * 根据账号查询商家 + * @param account + * @return + */ + McsMerchantVO getMcsMerchantByAccount(@Param("account") String account); + + /** + * 首页顶部数据 + * @return + */ + IndexTopStatisticsVO getMcsIndexTopData(); + + /** + * H5分页查询数字商业街商家 + * @param page + * @param pageMcsMerchantDTO + * @return + */ + IPage<McsMerchantVO> pageH5McsMerchant(@Param("page") Page page, @Param("pageMcsMerchantDTO") PageMcsMerchantDTO pageMcsMerchantDTO); + + /** + * 查询需要处理的已到期商家 + * @return + */ + List<Long> selectNeedDealExpiredMerchant(); + + /** + * 修改is_pause状态为TRUE + * @param needDealIds + * @return + */ + Integer updateIsPauseStatus(@Param("needDealIds") List<Long> needDealIds); + + /** + * 设置相关联用户为启用状态 + * @param userId + * @return + */ + Integer enableUserStatus(@Param("userId") Long userId); } -- Gitblit v1.7.1