From b1516fedd7deedb61641321158fce862f77b4b4d Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期二, 22 十一月 2022 11:51:53 +0800 Subject: [PATCH] 更新访问路径白名单,部分接口修改 --- ycl-platform/src/main/java/com/ycl/service/NewsInformationService.java | 39 ++++++++++++++++++++++++--------------- 1 files changed, 24 insertions(+), 15 deletions(-) diff --git a/ycl-platform/src/main/java/com/ycl/service/NewsInformationService.java b/ycl-platform/src/main/java/com/ycl/service/NewsInformationService.java index cdfa76c..71bb300 100644 --- a/ycl-platform/src/main/java/com/ycl/service/NewsInformationService.java +++ b/ycl-platform/src/main/java/com/ycl/service/NewsInformationService.java @@ -1,15 +1,24 @@ -package com.ycl.service; - -import com.baomidou.mybatisplus.extension.service.IService; -import com.ycl.entity.NewsInformation; - -/** - * 鍜ㄨ琛�(NewsInformation)琛ㄦ湇鍔℃帴鍙� - * - * @author makejava - * @since 2022-11-16 16:52:30 - */ -public interface NewsInformationService extends IService<NewsInformation> { - -} - +package com.ycl.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.ycl.entity.NewsInformation; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +/** + * 璧勮琛�(NewsInformation)琛ㄦ湇鍔℃帴鍙� + * + * @author makejava + * @since 2022-11-17 11:38:27 + */ +public interface NewsInformationService extends IService<NewsInformation> { + int insertOneInformation(NewsInformation entity); + + NewsInformation selectInformationById(Integer InformationId); + + List<NewsInformation> selectAllInformation(); + + int updateInformationById(NewsInformation entity); +} + -- Gitblit v1.8.0