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/SysConfMapper.java | 31 +++++++++++++++++++++---------- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/SysConfMapper.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/SysConfMapper.java index f72c1e3..2929a46 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/SysConfMapper.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/SysConfMapper.java @@ -1,13 +1,15 @@ package com.panzhihua.service_community.dao; +import com.panzhihua.common.model.vos.community.CommunityPublicityVO; +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.PageSysConfDTO; import com.panzhihua.common.model.vos.community.SysConfVO; import com.panzhihua.service_community.model.dos.SysConfDO; -import org.apache.ibatis.annotations.Mapper; -import org.apache.ibatis.annotations.Param; /** * DAO @@ -16,17 +18,26 @@ * @version 1.0 * @since 1.0 * @date 2021-06-09 - * */ + */ @Mapper public interface SysConfMapper extends BaseMapper<SysConfDO> { - /** - * 分页查询 - * @param pageSysConfDTO - * @return - */ - IPage<SysConfVO> findByPage(Page page, @Param("pageSysConfDTO")PageSysConfDTO pageSysConfDTO); + /** + * 分页查询 + * + * @param pageSysConfDTO + * @return + */ + IPage<SysConfVO> findByPage(Page page, @Param("pageSysConfDTO") PageSysConfDTO pageSysConfDTO); - String getSysConfValue(@Param("key")String key,@Param("communityId") Long communityId); + String getSysConfValue(@Param("key") String key, @Param("communityId") Long communityId); + + CommunityPublicityVO getData(@Param("communityId") String communityId); + + int addDate(@Param("item") CommunityPublicityVO item); + + int editDate(@Param("item") CommunityPublicityVO item); + + int deleteData(@Param("communityId") String communityId); } -- Gitblit v1.7.1