From d25897a9e4a96079e3ef9d767083e631ead13a1c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 21 Jul 2021 16:23:51 +0800
Subject: [PATCH] Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop
---
gc-sys/src/main/java/com/xzx/gc/system/mapper/SysNewsMapper.java | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/gc-sys/src/main/java/com/xzx/gc/system/mapper/SysNewsMapper.java b/gc-sys/src/main/java/com/xzx/gc/system/mapper/SysNewsMapper.java
new file mode 100644
index 0000000..db8778f
--- /dev/null
+++ b/gc-sys/src/main/java/com/xzx/gc/system/mapper/SysNewsMapper.java
@@ -0,0 +1,24 @@
+package com.xzx.gc.system.mapper;
+
+import com.xzx.gc.entity.SysNews;
+import com.xzx.gc.system.dto.SysNewsListDto;
+import com.xzx.gc.system.vo.SysNewsListVo;
+import com.xzx.gc.util.GcMapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+public interface SysNewsMapper extends GcMapper<SysNews> {
+
+ List<SysNewsListVo> selectSysNewsListVo(SysNewsListDto sysNewsListDto);
+
+ SysNews selectById(@Param("id")Long id);
+
+ void updateById(@Param("newsId")long newsId);
+
+ void updateStatusById(@Param("newsId")long id, @Param("status")Integer status);
+
+ void updateSysNews(@Param("title")String title, @Param("content")String content,
+ @Param("sort")Integer sort, @Param("newsId")long id);
+
+}
--
Gitblit v1.9.1