diff --git a/pom.xml b/pom.xml
index bafcabc5f..609170ce6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -209,6 +209,7 @@
ruoyi-quartz
ruoyi-generator
ruoyi-common
+ ruoyi-news
pom
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java
index a0e726bd4..e60908ff4 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/RuoYiApplication.java
@@ -16,15 +16,19 @@ public class RuoYiApplication
{
// System.setProperty("spring.devtools.restart.enabled", "false");
SpringApplication.run(RuoYiApplication.class, args);
- System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" +
- " .-------. ____ __ \n" +
- " | _ _ \\ \\ \\ / / \n" +
- " | ( ' ) | \\ _. / ' \n" +
- " |(_ o _) / _( )_ .' \n" +
- " | (_,_).' __ ___(_ o _)' \n" +
- " | |\\ \\ | || |(_,_)' \n" +
- " | | \\ `' /| `-' / \n" +
- " | | \\ / \\ / \n" +
- " ''-' `'-' `-..-' ");
+ System.out.println(" \n" +
+ " ////////////////////////////////////////\n" +
+ " .----------------. .----------------.\n" +
+ "| .--------------. || .--------------. |\n" +
+ "| | _______ | || | _________ | |\n" +
+ "| | |_ __ \\ | || | | _ _ | | |\n" +
+ "| | | |__) | | || | |_/ | | \\_| | |\n" +
+ "| | | __ / | || | | | | |\n" +
+ "| | _| | \\ \\_ | || | _| |_ | |\n" +
+ "| | |____| |___| | || | |_____| | |\n" +
+ "| | | || | | |\n" +
+ "| '--------------' || '--------------' |\n" +
+ " '----------------' '----------------'\n" +
+ "//////////////////////////////////////// ");
}
}
\ No newline at end of file
diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml
index 3c46fd50b..8362273fe 100644
--- a/ruoyi-admin/src/main/resources/application-druid.yml
+++ b/ruoyi-admin/src/main/resources/application-druid.yml
@@ -8,7 +8,7 @@ spring:
master:
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
- password: password
+ password: Feina1220
# 从库数据源
slave:
# 从数据源开关/默认关闭
diff --git a/ruoyi-admin/src/main/resources/banner.txt b/ruoyi-admin/src/main/resources/banner.txt
index 94662592f..c3b45d257 100644
--- a/ruoyi-admin/src/main/resources/banner.txt
+++ b/ruoyi-admin/src/main/resources/banner.txt
@@ -1,24 +1,15 @@
Application Version: ${ruoyi.version}
Spring Boot Version: ${spring-boot.version}
-////////////////////////////////////////////////////////////////////
-// _ooOoo_ //
-// o8888888o //
-// 88" . "88 //
-// (| ^_^ |) //
-// O\ = /O //
-// ____/`---'\____ //
-// .' \\| |// `. //
-// / \\||| : |||// \ //
-// / _||||| -:- |||||- \ //
-// | | \\\ - /// | | //
-// | \_| ''\---/'' | | //
-// \ .-\__ `-` ___/-. / //
-// ___`. .' /--.--\ `. . ___ //
-// ."" '< `.___\_<|>_/___.' >'"". //
-// | | : `- \`.;`\ _ /`;.`/ - ` : | | //
-// \ \ `-. \_ __\ /__ _/ .-` / / //
-// ========`-.____`-.___\_____/___.-`____.-'======== //
-// `=---=' //
-// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
-// 佛祖保佑 永不宕机 永无BUG //
-////////////////////////////////////////////////////////////////////
\ No newline at end of file
+////////////////////////////////////////
+ .----------------. .----------------.
+| .--------------. || .--------------. |
+| | _______ | || | _________ | |
+| | |_ __ \ | || | | _ _ | | |
+| | | |__) | | || | |_/ | | \_| | |
+| | | __ / | || | | | | |
+| | _| | \ \_ | || | _| |_ | |
+| | |____| |___| | || | |_____| | |
+| | | || | | |
+| '--------------' || '--------------' |
+ '----------------' '----------------'
+////////////////////////////////////////
\ No newline at end of file
diff --git a/ruoyi-news/pom.xml b/ruoyi-news/pom.xml
new file mode 100644
index 000000000..0b127ca20
--- /dev/null
+++ b/ruoyi-news/pom.xml
@@ -0,0 +1,133 @@
+
+
+
+ ruoyi
+ com.ruoyi
+ 4.7.4
+
+ 4.0.0
+ jar
+ ruoyi-news
+
+
+ news服务入口
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-thymeleaf
+
+
+
+
+ org.springframework.boot
+ spring-boot-devtools
+ true
+
+
+
+
+ io.springfox
+ springfox-boot-starter
+
+
+
+
+ io.swagger
+ swagger-models
+ 1.6.2
+
+
+
+
+ mysql
+ mysql-connector-java
+
+
+
+
+ com.ruoyi
+ ruoyi-framework
+
+
+
+
+ com.ruoyi
+ ruoyi-quartz
+
+
+
+
+ com.ruoyi
+ ruoyi-generator
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+ 2.1.1.RELEASE
+
+ true
+
+
+
+
+ repackage
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-war-plugin
+ 3.0.0
+
+ false
+ ${project.artifactId}
+
+
+
+
+ ${project.artifactId}
+
+
+
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsDutyTableController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsDutyTableController.java
new file mode 100644
index 000000000..7effa2f0e
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsDutyTableController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsDutyTable;
+import com.ruoyi.news.service.INewsDutyTableService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/table")
+public class NewsDutyTableController extends BaseController
+{
+ private String prefix = "news/table";
+
+ @Autowired
+ private INewsDutyTableService newsDutyTableService;
+
+ @RequiresPermissions("news:table:view")
+ @GetMapping()
+ public String table()
+ {
+ return prefix + "/table";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:table:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsDutyTable newsDutyTable)
+ {
+ startPage();
+ List list = newsDutyTableService.selectNewsDutyTableList(newsDutyTable);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:table:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsDutyTable newsDutyTable)
+ {
+ List list = newsDutyTableService.selectNewsDutyTableList(newsDutyTable);
+ ExcelUtil util = new ExcelUtil(NewsDutyTable.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:table:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsDutyTable newsDutyTable)
+ {
+ return toAjax(newsDutyTableService.insertNewsDutyTable(newsDutyTable));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:table:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsDutyTable newsDutyTable = newsDutyTableService.selectNewsDutyTableById(id);
+ mmap.put("newsDutyTable", newsDutyTable);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:table:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsDutyTable newsDutyTable)
+ {
+ return toAjax(newsDutyTableService.updateNewsDutyTable(newsDutyTable));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:table:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsDutyTableService.deleteNewsDutyTableByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantFalvController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantFalvController.java
new file mode 100644
index 000000000..1b727f2f3
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantFalvController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsImportantFalv;
+import com.ruoyi.news.service.INewsImportantFalvService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/falv")
+public class NewsImportantFalvController extends BaseController
+{
+ private String prefix = "news/falv";
+
+ @Autowired
+ private INewsImportantFalvService newsImportantFalvService;
+
+ @RequiresPermissions("news:falv:view")
+ @GetMapping()
+ public String falv()
+ {
+ return prefix + "/falv";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:falv:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsImportantFalv newsImportantFalv)
+ {
+ startPage();
+ List list = newsImportantFalvService.selectNewsImportantFalvList(newsImportantFalv);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:falv:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsImportantFalv newsImportantFalv)
+ {
+ List list = newsImportantFalvService.selectNewsImportantFalvList(newsImportantFalv);
+ ExcelUtil util = new ExcelUtil(NewsImportantFalv.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:falv:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsImportantFalv newsImportantFalv)
+ {
+ return toAjax(newsImportantFalvService.insertNewsImportantFalv(newsImportantFalv));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:falv:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsImportantFalv newsImportantFalv = newsImportantFalvService.selectNewsImportantFalvById(id);
+ mmap.put("newsImportantFalv", newsImportantFalv);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:falv:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsImportantFalv newsImportantFalv)
+ {
+ return toAjax(newsImportantFalvService.updateNewsImportantFalv(newsImportantFalv));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:falv:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsImportantFalvService.deleteNewsImportantFalvByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantNewsController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantNewsController.java
new file mode 100644
index 000000000..177cb3df6
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantNewsController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsImportantNews;
+import com.ruoyi.news.service.INewsImportantNewsService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/news")
+public class NewsImportantNewsController extends BaseController
+{
+ private String prefix = "news/news";
+
+ @Autowired
+ private INewsImportantNewsService newsImportantNewsService;
+
+ @RequiresPermissions("news:news:view")
+ @GetMapping()
+ public String news()
+ {
+ return prefix + "/news";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:news:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsImportantNews newsImportantNews)
+ {
+ startPage();
+ List list = newsImportantNewsService.selectNewsImportantNewsList(newsImportantNews);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:news:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsImportantNews newsImportantNews)
+ {
+ List list = newsImportantNewsService.selectNewsImportantNewsList(newsImportantNews);
+ ExcelUtil util = new ExcelUtil(NewsImportantNews.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:news:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsImportantNews newsImportantNews)
+ {
+ return toAjax(newsImportantNewsService.insertNewsImportantNews(newsImportantNews));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:news:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsImportantNews newsImportantNews = newsImportantNewsService.selectNewsImportantNewsById(id);
+ mmap.put("newsImportantNews", newsImportantNews);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:news:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsImportantNews newsImportantNews)
+ {
+ return toAjax(newsImportantNewsService.updateNewsImportantNews(newsImportantNews));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:news:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsImportantNewsService.deleteNewsImportantNewsByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantTrainingController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantTrainingController.java
new file mode 100644
index 000000000..9f9260524
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantTrainingController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsImportantTraining;
+import com.ruoyi.news.service.INewsImportantTrainingService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/training")
+public class NewsImportantTrainingController extends BaseController
+{
+ private String prefix = "news/training";
+
+ @Autowired
+ private INewsImportantTrainingService newsImportantTrainingService;
+
+ @RequiresPermissions("news:training:view")
+ @GetMapping()
+ public String training()
+ {
+ return prefix + "/training";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:training:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsImportantTraining newsImportantTraining)
+ {
+ startPage();
+ List list = newsImportantTrainingService.selectNewsImportantTrainingList(newsImportantTraining);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:training:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsImportantTraining newsImportantTraining)
+ {
+ List list = newsImportantTrainingService.selectNewsImportantTrainingList(newsImportantTraining);
+ ExcelUtil util = new ExcelUtil(NewsImportantTraining.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:training:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsImportantTraining newsImportantTraining)
+ {
+ return toAjax(newsImportantTrainingService.insertNewsImportantTraining(newsImportantTraining));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:training:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsImportantTraining newsImportantTraining = newsImportantTrainingService.selectNewsImportantTrainingById(id);
+ mmap.put("newsImportantTraining", newsImportantTraining);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:training:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsImportantTraining newsImportantTraining)
+ {
+ return toAjax(newsImportantTrainingService.updateNewsImportantTraining(newsImportantTraining));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:training:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsImportantTrainingService.deleteNewsImportantTrainingByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantTuwenController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantTuwenController.java
new file mode 100644
index 000000000..0c7e503a4
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantTuwenController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsImportantTuwen;
+import com.ruoyi.news.service.INewsImportantTuwenService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/tuwen")
+public class NewsImportantTuwenController extends BaseController
+{
+ private String prefix = "news/tuwen";
+
+ @Autowired
+ private INewsImportantTuwenService newsImportantTuwenService;
+
+ @RequiresPermissions("news:tuwen:view")
+ @GetMapping()
+ public String tuwen()
+ {
+ return prefix + "/tuwen";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:tuwen:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsImportantTuwen newsImportantTuwen)
+ {
+ startPage();
+ List list = newsImportantTuwenService.selectNewsImportantTuwenList(newsImportantTuwen);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:tuwen:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsImportantTuwen newsImportantTuwen)
+ {
+ List list = newsImportantTuwenService.selectNewsImportantTuwenList(newsImportantTuwen);
+ ExcelUtil util = new ExcelUtil(NewsImportantTuwen.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:tuwen:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsImportantTuwen newsImportantTuwen)
+ {
+ return toAjax(newsImportantTuwenService.insertNewsImportantTuwen(newsImportantTuwen));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:tuwen:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsImportantTuwen newsImportantTuwen = newsImportantTuwenService.selectNewsImportantTuwenById(id);
+ mmap.put("newsImportantTuwen", newsImportantTuwen);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:tuwen:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsImportantTuwen newsImportantTuwen)
+ {
+ return toAjax(newsImportantTuwenService.updateNewsImportantTuwen(newsImportantTuwen));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:tuwen:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsImportantTuwenService.deleteNewsImportantTuwenByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantVideoController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantVideoController.java
new file mode 100644
index 000000000..e4aa672a7
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantVideoController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsImportantVideo;
+import com.ruoyi.news.service.INewsImportantVideoService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/video")
+public class NewsImportantVideoController extends BaseController
+{
+ private String prefix = "news/video";
+
+ @Autowired
+ private INewsImportantVideoService newsImportantVideoService;
+
+ @RequiresPermissions("news:video:view")
+ @GetMapping()
+ public String video()
+ {
+ return prefix + "/video";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:video:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsImportantVideo newsImportantVideo)
+ {
+ startPage();
+ List list = newsImportantVideoService.selectNewsImportantVideoList(newsImportantVideo);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:video:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsImportantVideo newsImportantVideo)
+ {
+ List list = newsImportantVideoService.selectNewsImportantVideoList(newsImportantVideo);
+ ExcelUtil util = new ExcelUtil(NewsImportantVideo.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:video:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsImportantVideo newsImportantVideo)
+ {
+ return toAjax(newsImportantVideoService.insertNewsImportantVideo(newsImportantVideo));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:video:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsImportantVideo newsImportantVideo = newsImportantVideoService.selectNewsImportantVideoById(id);
+ mmap.put("newsImportantVideo", newsImportantVideo);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:video:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsImportantVideo newsImportantVideo)
+ {
+ return toAjax(newsImportantVideoService.updateNewsImportantVideo(newsImportantVideo));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:video:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsImportantVideoService.deleteNewsImportantVideoByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantZhuantiController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantZhuantiController.java
new file mode 100644
index 000000000..cc7711042
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsImportantZhuantiController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsImportantZhuanti;
+import com.ruoyi.news.service.INewsImportantZhuantiService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/zhuanti")
+public class NewsImportantZhuantiController extends BaseController
+{
+ private String prefix = "news/zhuanti";
+
+ @Autowired
+ private INewsImportantZhuantiService newsImportantZhuantiService;
+
+ @RequiresPermissions("news:zhuanti:view")
+ @GetMapping()
+ public String zhuanti()
+ {
+ return prefix + "/zhuanti";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:zhuanti:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsImportantZhuanti newsImportantZhuanti)
+ {
+ startPage();
+ List list = newsImportantZhuantiService.selectNewsImportantZhuantiList(newsImportantZhuanti);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:zhuanti:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsImportantZhuanti newsImportantZhuanti)
+ {
+ List list = newsImportantZhuantiService.selectNewsImportantZhuantiList(newsImportantZhuanti);
+ ExcelUtil util = new ExcelUtil(NewsImportantZhuanti.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:zhuanti:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsImportantZhuanti newsImportantZhuanti)
+ {
+ return toAjax(newsImportantZhuantiService.insertNewsImportantZhuanti(newsImportantZhuanti));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:zhuanti:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsImportantZhuanti newsImportantZhuanti = newsImportantZhuantiService.selectNewsImportantZhuantiById(id);
+ mmap.put("newsImportantZhuanti", newsImportantZhuanti);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:zhuanti:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsImportantZhuanti newsImportantZhuanti)
+ {
+ return toAjax(newsImportantZhuantiService.updateNewsImportantZhuanti(newsImportantZhuanti));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:zhuanti:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsImportantZhuantiService.deleteNewsImportantZhuantiByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsNotificationController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsNotificationController.java
new file mode 100644
index 000000000..df7b18a8f
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsNotificationController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsNotification;
+import com.ruoyi.news.service.INewsNotificationService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/notification")
+public class NewsNotificationController extends BaseController
+{
+ private String prefix = "news/notification";
+
+ @Autowired
+ private INewsNotificationService newsNotificationService;
+
+ @RequiresPermissions("news:notification:view")
+ @GetMapping()
+ public String notification()
+ {
+ return prefix + "/notification";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:notification:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsNotification newsNotification)
+ {
+ startPage();
+ List list = newsNotificationService.selectNewsNotificationList(newsNotification);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:notification:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsNotification newsNotification)
+ {
+ List list = newsNotificationService.selectNewsNotificationList(newsNotification);
+ ExcelUtil util = new ExcelUtil(NewsNotification.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:notification:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsNotification newsNotification)
+ {
+ return toAjax(newsNotificationService.insertNewsNotification(newsNotification));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:notification:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsNotification newsNotification = newsNotificationService.selectNewsNotificationById(id);
+ mmap.put("newsNotification", newsNotification);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:notification:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsNotification newsNotification)
+ {
+ return toAjax(newsNotificationService.updateNewsNotification(newsNotification));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:notification:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsNotificationService.deleteNewsNotificationByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsPhotoController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsPhotoController.java
new file mode 100644
index 000000000..f586d5882
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsPhotoController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsPhoto;
+import com.ruoyi.news.service.INewsPhotoService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/photo")
+public class NewsPhotoController extends BaseController
+{
+ private String prefix = "news/photo";
+
+ @Autowired
+ private INewsPhotoService newsPhotoService;
+
+ @RequiresPermissions("news:photo:view")
+ @GetMapping()
+ public String photo()
+ {
+ return prefix + "/photo";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:photo:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsPhoto newsPhoto)
+ {
+ startPage();
+ List list = newsPhotoService.selectNewsPhotoList(newsPhoto);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:photo:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsPhoto newsPhoto)
+ {
+ List list = newsPhotoService.selectNewsPhotoList(newsPhoto);
+ ExcelUtil util = new ExcelUtil(NewsPhoto.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:photo:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsPhoto newsPhoto)
+ {
+ return toAjax(newsPhotoService.insertNewsPhoto(newsPhoto));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:photo:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsPhoto newsPhoto = newsPhotoService.selectNewsPhotoById(id);
+ mmap.put("newsPhoto", newsPhoto);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:photo:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsPhoto newsPhoto)
+ {
+ return toAjax(newsPhotoService.updateNewsPhoto(newsPhoto));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:photo:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsPhotoService.deleteNewsPhotoByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsProjectLearningController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsProjectLearningController.java
new file mode 100644
index 000000000..146efc09d
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsProjectLearningController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsProjectLearning;
+import com.ruoyi.news.service.INewsProjectLearningService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/learning")
+public class NewsProjectLearningController extends BaseController
+{
+ private String prefix = "news/learning";
+
+ @Autowired
+ private INewsProjectLearningService newsProjectLearningService;
+
+ @RequiresPermissions("news:learning:view")
+ @GetMapping()
+ public String learning()
+ {
+ return prefix + "/learning";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:learning:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsProjectLearning newsProjectLearning)
+ {
+ startPage();
+ List list = newsProjectLearningService.selectNewsProjectLearningList(newsProjectLearning);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:learning:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsProjectLearning newsProjectLearning)
+ {
+ List list = newsProjectLearningService.selectNewsProjectLearningList(newsProjectLearning);
+ ExcelUtil util = new ExcelUtil(NewsProjectLearning.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:learning:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsProjectLearning newsProjectLearning)
+ {
+ return toAjax(newsProjectLearningService.insertNewsProjectLearning(newsProjectLearning));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:learning:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsProjectLearning newsProjectLearning = newsProjectLearningService.selectNewsProjectLearningById(id);
+ mmap.put("newsProjectLearning", newsProjectLearning);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:learning:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsProjectLearning newsProjectLearning)
+ {
+ return toAjax(newsProjectLearningService.updateNewsProjectLearning(newsProjectLearning));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:learning:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsProjectLearningService.deleteNewsProjectLearningByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsSwatNewsController.java b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsSwatNewsController.java
new file mode 100644
index 000000000..ffd1628d0
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/controller/NewsSwatNewsController.java
@@ -0,0 +1,127 @@
+package com.ruoyi.news.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.news.domain.NewsSwatNews;
+import com.ruoyi.news.service.INewsSwatNewsService;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【请填写功能名称】Controller
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Controller
+@RequestMapping("/news/news")
+public class NewsSwatNewsController extends BaseController
+{
+ private String prefix = "news/news";
+
+ @Autowired
+ private INewsSwatNewsService newsSwatNewsService;
+
+ @RequiresPermissions("news:news:view")
+ @GetMapping()
+ public String news()
+ {
+ return prefix + "/news";
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:news:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(NewsSwatNews newsSwatNews)
+ {
+ startPage();
+ List list = newsSwatNewsService.selectNewsSwatNewsList(newsSwatNews);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出【请填写功能名称】列表
+ */
+ @RequiresPermissions("news:news:export")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(NewsSwatNews newsSwatNews)
+ {
+ List list = newsSwatNewsService.selectNewsSwatNewsList(newsSwatNews);
+ ExcelUtil util = new ExcelUtil(NewsSwatNews.class);
+ return util.exportExcel(list, "【请填写功能名称】数据");
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:news:add")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(NewsSwatNews newsSwatNews)
+ {
+ return toAjax(newsSwatNewsService.insertNewsSwatNews(newsSwatNews));
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ */
+ @RequiresPermissions("news:news:edit")
+ @GetMapping("/edit/{id}")
+ public String edit(@PathVariable("id") Long id, ModelMap mmap)
+ {
+ NewsSwatNews newsSwatNews = newsSwatNewsService.selectNewsSwatNewsById(id);
+ mmap.put("newsSwatNews", newsSwatNews);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存【请填写功能名称】
+ */
+ @RequiresPermissions("news:news:edit")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(NewsSwatNews newsSwatNews)
+ {
+ return toAjax(newsSwatNewsService.updateNewsSwatNews(newsSwatNews));
+ }
+
+ /**
+ * 删除【请填写功能名称】
+ */
+ @RequiresPermissions("news:news:remove")
+ @Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(newsSwatNewsService.deleteNewsSwatNewsByIds(ids));
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsDutyTable.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsDutyTable.java
new file mode 100644
index 000000000..585667df5
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsDutyTable.java
@@ -0,0 +1,82 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_duty_table
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsDutyTable extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 值班领导 */
+ @Excel(name = "值班领导")
+ private String diriger;
+
+ /** 值班干部 */
+ @Excel(name = "值班干部")
+ private String cadre;
+
+ /** 值班日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "值班日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setDiriger(String diriger)
+ {
+ this.diriger = diriger;
+ }
+
+ public String getDiriger()
+ {
+ return diriger;
+ }
+ public void setCadre(String cadre)
+ {
+ this.cadre = cadre;
+ }
+
+ public String getCadre()
+ {
+ return cadre;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("diriger", getDiriger())
+ .append("cadre", getCadre())
+ .append("date", getDate())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantFalv.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantFalv.java
new file mode 100644
index 000000000..3c5f79646
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantFalv.java
@@ -0,0 +1,208 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_important_falv
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsImportantFalv extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 标题 */
+ @Excel(name = "标题")
+ private String title;
+
+ /** 内容 */
+ @Excel(name = "内容")
+ private String contenu;
+
+ /** 图文轮播 */
+ @Excel(name = "图文轮播")
+ private String image;
+
+ /** 创建人ID */
+ @Excel(name = "创建人ID")
+ private Long auteurid;
+
+ /** 作者 */
+ @Excel(name = "作者")
+ private String auteur;
+
+ /** 修改人ID */
+ @Excel(name = "修改人ID")
+ private Long corrigerid;
+
+ /** 来源 */
+ @Excel(name = "来源")
+ private String source;
+
+ /** 点击数量 */
+ @Excel(name = "点击数量")
+ private Long clicks;
+
+ /** 类型 */
+ @Excel(name = "类型")
+ private Long type;
+
+ /** 更新日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ /** 分类 */
+ @Excel(name = "分类")
+ private Long classify;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+ public void setContenu(String contenu)
+ {
+ this.contenu = contenu;
+ }
+
+ public String getContenu()
+ {
+ return contenu;
+ }
+ public void setImage(String image)
+ {
+ this.image = image;
+ }
+
+ public String getImage()
+ {
+ return image;
+ }
+ public void setAuteurid(Long auteurid)
+ {
+ this.auteurid = auteurid;
+ }
+
+ public Long getAuteurid()
+ {
+ return auteurid;
+ }
+ public void setAuteur(String auteur)
+ {
+ this.auteur = auteur;
+ }
+
+ public String getAuteur()
+ {
+ return auteur;
+ }
+ public void setCorrigerid(Long corrigerid)
+ {
+ this.corrigerid = corrigerid;
+ }
+
+ public Long getCorrigerid()
+ {
+ return corrigerid;
+ }
+ public void setSource(String source)
+ {
+ this.source = source;
+ }
+
+ public String getSource()
+ {
+ return source;
+ }
+ public void setClicks(Long clicks)
+ {
+ this.clicks = clicks;
+ }
+
+ public Long getClicks()
+ {
+ return clicks;
+ }
+ public void setType(Long type)
+ {
+ this.type = type;
+ }
+
+ public Long getType()
+ {
+ return type;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+ public void setClassify(Long classify)
+ {
+ this.classify = classify;
+ }
+
+ public Long getClassify()
+ {
+ return classify;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("title", getTitle())
+ .append("contenu", getContenu())
+ .append("image", getImage())
+ .append("auteurid", getAuteurid())
+ .append("auteur", getAuteur())
+ .append("corrigerid", getCorrigerid())
+ .append("source", getSource())
+ .append("clicks", getClicks())
+ .append("type", getType())
+ .append("date", getDate())
+ .append("classify", getClassify())
+ .append("status", getStatus())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantNews.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantNews.java
new file mode 100644
index 000000000..06a5c009b
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantNews.java
@@ -0,0 +1,208 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_important_news
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsImportantNews extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 标题 */
+ @Excel(name = "标题")
+ private String title;
+
+ /** 内容 */
+ @Excel(name = "内容")
+ private String contenu;
+
+ /** 图文轮播 */
+ @Excel(name = "图文轮播")
+ private String image;
+
+ /** 创建人ID */
+ @Excel(name = "创建人ID")
+ private Long auteurid;
+
+ /** 作者 */
+ @Excel(name = "作者")
+ private String auteur;
+
+ /** 修改人ID */
+ @Excel(name = "修改人ID")
+ private Long corrigerid;
+
+ /** 来源 */
+ @Excel(name = "来源")
+ private String source;
+
+ /** 点击数量 */
+ @Excel(name = "点击数量")
+ private Long clicks;
+
+ /** 类型 */
+ @Excel(name = "类型")
+ private Long type;
+
+ /** 更新日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ /** 分类 */
+ @Excel(name = "分类")
+ private Long classify;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+ public void setContenu(String contenu)
+ {
+ this.contenu = contenu;
+ }
+
+ public String getContenu()
+ {
+ return contenu;
+ }
+ public void setImage(String image)
+ {
+ this.image = image;
+ }
+
+ public String getImage()
+ {
+ return image;
+ }
+ public void setAuteurid(Long auteurid)
+ {
+ this.auteurid = auteurid;
+ }
+
+ public Long getAuteurid()
+ {
+ return auteurid;
+ }
+ public void setAuteur(String auteur)
+ {
+ this.auteur = auteur;
+ }
+
+ public String getAuteur()
+ {
+ return auteur;
+ }
+ public void setCorrigerid(Long corrigerid)
+ {
+ this.corrigerid = corrigerid;
+ }
+
+ public Long getCorrigerid()
+ {
+ return corrigerid;
+ }
+ public void setSource(String source)
+ {
+ this.source = source;
+ }
+
+ public String getSource()
+ {
+ return source;
+ }
+ public void setClicks(Long clicks)
+ {
+ this.clicks = clicks;
+ }
+
+ public Long getClicks()
+ {
+ return clicks;
+ }
+ public void setType(Long type)
+ {
+ this.type = type;
+ }
+
+ public Long getType()
+ {
+ return type;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+ public void setClassify(Long classify)
+ {
+ this.classify = classify;
+ }
+
+ public Long getClassify()
+ {
+ return classify;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("title", getTitle())
+ .append("contenu", getContenu())
+ .append("image", getImage())
+ .append("auteurid", getAuteurid())
+ .append("auteur", getAuteur())
+ .append("corrigerid", getCorrigerid())
+ .append("source", getSource())
+ .append("clicks", getClicks())
+ .append("type", getType())
+ .append("date", getDate())
+ .append("classify", getClassify())
+ .append("status", getStatus())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantTraining.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantTraining.java
new file mode 100644
index 000000000..d2de9b30c
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantTraining.java
@@ -0,0 +1,208 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_important_training
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsImportantTraining extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 标题 */
+ @Excel(name = "标题")
+ private String title;
+
+ /** 内容 */
+ @Excel(name = "内容")
+ private String contenu;
+
+ /** 图文轮播 */
+ @Excel(name = "图文轮播")
+ private String image;
+
+ /** 创建人ID */
+ @Excel(name = "创建人ID")
+ private Long auteurid;
+
+ /** 作者 */
+ @Excel(name = "作者")
+ private String auteur;
+
+ /** 修改人ID */
+ @Excel(name = "修改人ID")
+ private Long corrigerid;
+
+ /** 来源 */
+ @Excel(name = "来源")
+ private String source;
+
+ /** 点击数量 */
+ @Excel(name = "点击数量")
+ private Long clicks;
+
+ /** 类型 */
+ @Excel(name = "类型")
+ private Long type;
+
+ /** 更新日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ /** 分类 */
+ @Excel(name = "分类")
+ private Long classify;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+ public void setContenu(String contenu)
+ {
+ this.contenu = contenu;
+ }
+
+ public String getContenu()
+ {
+ return contenu;
+ }
+ public void setImage(String image)
+ {
+ this.image = image;
+ }
+
+ public String getImage()
+ {
+ return image;
+ }
+ public void setAuteurid(Long auteurid)
+ {
+ this.auteurid = auteurid;
+ }
+
+ public Long getAuteurid()
+ {
+ return auteurid;
+ }
+ public void setAuteur(String auteur)
+ {
+ this.auteur = auteur;
+ }
+
+ public String getAuteur()
+ {
+ return auteur;
+ }
+ public void setCorrigerid(Long corrigerid)
+ {
+ this.corrigerid = corrigerid;
+ }
+
+ public Long getCorrigerid()
+ {
+ return corrigerid;
+ }
+ public void setSource(String source)
+ {
+ this.source = source;
+ }
+
+ public String getSource()
+ {
+ return source;
+ }
+ public void setClicks(Long clicks)
+ {
+ this.clicks = clicks;
+ }
+
+ public Long getClicks()
+ {
+ return clicks;
+ }
+ public void setType(Long type)
+ {
+ this.type = type;
+ }
+
+ public Long getType()
+ {
+ return type;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+ public void setClassify(Long classify)
+ {
+ this.classify = classify;
+ }
+
+ public Long getClassify()
+ {
+ return classify;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("title", getTitle())
+ .append("contenu", getContenu())
+ .append("image", getImage())
+ .append("auteurid", getAuteurid())
+ .append("auteur", getAuteur())
+ .append("corrigerid", getCorrigerid())
+ .append("source", getSource())
+ .append("clicks", getClicks())
+ .append("type", getType())
+ .append("date", getDate())
+ .append("classify", getClassify())
+ .append("status", getStatus())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantTuwen.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantTuwen.java
new file mode 100644
index 000000000..8050915db
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantTuwen.java
@@ -0,0 +1,208 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_important_tuwen
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsImportantTuwen extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 标题 */
+ @Excel(name = "标题")
+ private String title;
+
+ /** 内容 */
+ @Excel(name = "内容")
+ private String contenu;
+
+ /** 图文轮播 */
+ @Excel(name = "图文轮播")
+ private String image;
+
+ /** 创建人ID */
+ @Excel(name = "创建人ID")
+ private Long auteurid;
+
+ /** 作者 */
+ @Excel(name = "作者")
+ private String auteur;
+
+ /** 修改人ID */
+ @Excel(name = "修改人ID")
+ private Long corrigerid;
+
+ /** 来源 */
+ @Excel(name = "来源")
+ private String source;
+
+ /** 点击数量 */
+ @Excel(name = "点击数量")
+ private Long clicks;
+
+ /** 类型 */
+ @Excel(name = "类型")
+ private Long type;
+
+ /** 更新日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ /** 分类 */
+ @Excel(name = "分类")
+ private Long classify;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+ public void setContenu(String contenu)
+ {
+ this.contenu = contenu;
+ }
+
+ public String getContenu()
+ {
+ return contenu;
+ }
+ public void setImage(String image)
+ {
+ this.image = image;
+ }
+
+ public String getImage()
+ {
+ return image;
+ }
+ public void setAuteurid(Long auteurid)
+ {
+ this.auteurid = auteurid;
+ }
+
+ public Long getAuteurid()
+ {
+ return auteurid;
+ }
+ public void setAuteur(String auteur)
+ {
+ this.auteur = auteur;
+ }
+
+ public String getAuteur()
+ {
+ return auteur;
+ }
+ public void setCorrigerid(Long corrigerid)
+ {
+ this.corrigerid = corrigerid;
+ }
+
+ public Long getCorrigerid()
+ {
+ return corrigerid;
+ }
+ public void setSource(String source)
+ {
+ this.source = source;
+ }
+
+ public String getSource()
+ {
+ return source;
+ }
+ public void setClicks(Long clicks)
+ {
+ this.clicks = clicks;
+ }
+
+ public Long getClicks()
+ {
+ return clicks;
+ }
+ public void setType(Long type)
+ {
+ this.type = type;
+ }
+
+ public Long getType()
+ {
+ return type;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+ public void setClassify(Long classify)
+ {
+ this.classify = classify;
+ }
+
+ public Long getClassify()
+ {
+ return classify;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("title", getTitle())
+ .append("contenu", getContenu())
+ .append("image", getImage())
+ .append("auteurid", getAuteurid())
+ .append("auteur", getAuteur())
+ .append("corrigerid", getCorrigerid())
+ .append("source", getSource())
+ .append("clicks", getClicks())
+ .append("type", getType())
+ .append("date", getDate())
+ .append("classify", getClassify())
+ .append("status", getStatus())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantVideo.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantVideo.java
new file mode 100644
index 000000000..3f3a4d92a
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantVideo.java
@@ -0,0 +1,208 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_important_video
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsImportantVideo extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 标题 */
+ @Excel(name = "标题")
+ private String title;
+
+ /** 内容 */
+ @Excel(name = "内容")
+ private String contenu;
+
+ /** 封面 */
+ @Excel(name = "封面")
+ private String image;
+
+ /** 视频 */
+ @Excel(name = "视频")
+ private String video;
+
+ /** 创建人ID */
+ @Excel(name = "创建人ID")
+ private Long auteurid;
+
+ /** 作者 */
+ @Excel(name = "作者")
+ private String auteur;
+
+ /** 修改人ID */
+ @Excel(name = "修改人ID")
+ private Long corrigerid;
+
+ /** 来源 */
+ @Excel(name = "来源")
+ private String source;
+
+ /** 点击数量 */
+ @Excel(name = "点击数量")
+ private Long clicks;
+
+ /** 类型 */
+ @Excel(name = "类型")
+ private Long type;
+
+ /** 更新日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+ public void setContenu(String contenu)
+ {
+ this.contenu = contenu;
+ }
+
+ public String getContenu()
+ {
+ return contenu;
+ }
+ public void setImage(String image)
+ {
+ this.image = image;
+ }
+
+ public String getImage()
+ {
+ return image;
+ }
+ public void setVideo(String video)
+ {
+ this.video = video;
+ }
+
+ public String getVideo()
+ {
+ return video;
+ }
+ public void setAuteurid(Long auteurid)
+ {
+ this.auteurid = auteurid;
+ }
+
+ public Long getAuteurid()
+ {
+ return auteurid;
+ }
+ public void setAuteur(String auteur)
+ {
+ this.auteur = auteur;
+ }
+
+ public String getAuteur()
+ {
+ return auteur;
+ }
+ public void setCorrigerid(Long corrigerid)
+ {
+ this.corrigerid = corrigerid;
+ }
+
+ public Long getCorrigerid()
+ {
+ return corrigerid;
+ }
+ public void setSource(String source)
+ {
+ this.source = source;
+ }
+
+ public String getSource()
+ {
+ return source;
+ }
+ public void setClicks(Long clicks)
+ {
+ this.clicks = clicks;
+ }
+
+ public Long getClicks()
+ {
+ return clicks;
+ }
+ public void setType(Long type)
+ {
+ this.type = type;
+ }
+
+ public Long getType()
+ {
+ return type;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("title", getTitle())
+ .append("contenu", getContenu())
+ .append("image", getImage())
+ .append("video", getVideo())
+ .append("auteurid", getAuteurid())
+ .append("auteur", getAuteur())
+ .append("corrigerid", getCorrigerid())
+ .append("source", getSource())
+ .append("clicks", getClicks())
+ .append("type", getType())
+ .append("date", getDate())
+ .append("status", getStatus())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantZhuanti.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantZhuanti.java
new file mode 100644
index 000000000..4d31bf113
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsImportantZhuanti.java
@@ -0,0 +1,208 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_important_zhuanti
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsImportantZhuanti extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 标题 */
+ @Excel(name = "标题")
+ private String title;
+
+ /** 内容 */
+ @Excel(name = "内容")
+ private String contenu;
+
+ /** 图文轮播 */
+ @Excel(name = "图文轮播")
+ private String image;
+
+ /** 创建人ID */
+ @Excel(name = "创建人ID")
+ private Long auteurid;
+
+ /** 作者 */
+ @Excel(name = "作者")
+ private String auteur;
+
+ /** 修改人ID */
+ @Excel(name = "修改人ID")
+ private Long corrigerid;
+
+ /** 来源 */
+ @Excel(name = "来源")
+ private String source;
+
+ /** 点击数量 */
+ @Excel(name = "点击数量")
+ private Long clicks;
+
+ /** 类型 */
+ @Excel(name = "类型")
+ private Long type;
+
+ /** 更新日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ /** 分类 */
+ @Excel(name = "分类")
+ private Long classify;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+ public void setContenu(String contenu)
+ {
+ this.contenu = contenu;
+ }
+
+ public String getContenu()
+ {
+ return contenu;
+ }
+ public void setImage(String image)
+ {
+ this.image = image;
+ }
+
+ public String getImage()
+ {
+ return image;
+ }
+ public void setAuteurid(Long auteurid)
+ {
+ this.auteurid = auteurid;
+ }
+
+ public Long getAuteurid()
+ {
+ return auteurid;
+ }
+ public void setAuteur(String auteur)
+ {
+ this.auteur = auteur;
+ }
+
+ public String getAuteur()
+ {
+ return auteur;
+ }
+ public void setCorrigerid(Long corrigerid)
+ {
+ this.corrigerid = corrigerid;
+ }
+
+ public Long getCorrigerid()
+ {
+ return corrigerid;
+ }
+ public void setSource(String source)
+ {
+ this.source = source;
+ }
+
+ public String getSource()
+ {
+ return source;
+ }
+ public void setClicks(Long clicks)
+ {
+ this.clicks = clicks;
+ }
+
+ public Long getClicks()
+ {
+ return clicks;
+ }
+ public void setType(Long type)
+ {
+ this.type = type;
+ }
+
+ public Long getType()
+ {
+ return type;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+ public void setClassify(Long classify)
+ {
+ this.classify = classify;
+ }
+
+ public Long getClassify()
+ {
+ return classify;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("title", getTitle())
+ .append("contenu", getContenu())
+ .append("image", getImage())
+ .append("auteurid", getAuteurid())
+ .append("auteur", getAuteur())
+ .append("corrigerid", getCorrigerid())
+ .append("source", getSource())
+ .append("clicks", getClicks())
+ .append("type", getType())
+ .append("date", getDate())
+ .append("classify", getClassify())
+ .append("status", getStatus())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsNotification.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsNotification.java
new file mode 100644
index 000000000..65a295fd0
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsNotification.java
@@ -0,0 +1,152 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_notification
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsNotification extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 标题 */
+ @Excel(name = "标题")
+ private String title;
+
+ /** 单位 */
+ @Excel(name = "单位")
+ private String unit;
+
+ /** 授课人 */
+ @Excel(name = "授课人")
+ private String instructor;
+
+ /** 内容 */
+ @Excel(name = "内容")
+ private String contenu;
+
+ /** 发布者 */
+ @Excel(name = "发布者")
+ private String auteur;
+
+ /** 创建日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ /** 附件 */
+ @Excel(name = "附件")
+ private String files;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+ public void setUnit(String unit)
+ {
+ this.unit = unit;
+ }
+
+ public String getUnit()
+ {
+ return unit;
+ }
+ public void setInstructor(String instructor)
+ {
+ this.instructor = instructor;
+ }
+
+ public String getInstructor()
+ {
+ return instructor;
+ }
+ public void setContenu(String contenu)
+ {
+ this.contenu = contenu;
+ }
+
+ public String getContenu()
+ {
+ return contenu;
+ }
+ public void setAuteur(String auteur)
+ {
+ this.auteur = auteur;
+ }
+
+ public String getAuteur()
+ {
+ return auteur;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+ public void setFiles(String files)
+ {
+ this.files = files;
+ }
+
+ public String getFiles()
+ {
+ return files;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("title", getTitle())
+ .append("unit", getUnit())
+ .append("instructor", getInstructor())
+ .append("contenu", getContenu())
+ .append("auteur", getAuteur())
+ .append("date", getDate())
+ .append("files", getFiles())
+ .append("status", getStatus())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsPhoto.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsPhoto.java
new file mode 100644
index 000000000..96ec012b7
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsPhoto.java
@@ -0,0 +1,82 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_photo
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsPhoto extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 图片 */
+ @Excel(name = "图片")
+ private String image;
+
+ /** 来源 */
+ @Excel(name = "来源")
+ private String url;
+
+ /** 上传日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "上传日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setImage(String image)
+ {
+ this.image = image;
+ }
+
+ public String getImage()
+ {
+ return image;
+ }
+ public void setUrl(String url)
+ {
+ this.url = url;
+ }
+
+ public String getUrl()
+ {
+ return url;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("image", getImage())
+ .append("url", getUrl())
+ .append("date", getDate())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsProjectLearning.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsProjectLearning.java
new file mode 100644
index 000000000..e081b0db6
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsProjectLearning.java
@@ -0,0 +1,79 @@
+package com.ruoyi.news.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_project_learning
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsProjectLearning extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 图片 */
+ @Excel(name = "图片")
+ private String image;
+
+ /** 链接 */
+ @Excel(name = "链接")
+ private String url;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setImage(String image)
+ {
+ this.image = image;
+ }
+
+ public String getImage()
+ {
+ return image;
+ }
+ public void setUrl(String url)
+ {
+ this.url = url;
+ }
+
+ public String getUrl()
+ {
+ return url;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("image", getImage())
+ .append("url", getUrl())
+ .append("status", getStatus())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsSwatNews.java b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsSwatNews.java
new file mode 100644
index 000000000..bbd7dd3d0
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/domain/NewsSwatNews.java
@@ -0,0 +1,222 @@
+package com.ruoyi.news.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 【请填写功能名称】对象 news_swat_news
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public class NewsSwatNews extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 编号 */
+ private Long id;
+
+ /** 第几期 */
+ @Excel(name = "第几期")
+ private Long idNumber;
+
+ /** 标题 */
+ @Excel(name = "标题")
+ private String title;
+
+ /** 内容 */
+ @Excel(name = "内容")
+ private String contenu;
+
+ /** 图文轮播 */
+ @Excel(name = "图文轮播")
+ private String image;
+
+ /** 发布部门ID */
+ @Excel(name = "发布部门ID")
+ private Long deptid;
+
+ /** 发布部门 */
+ @Excel(name = "发布部门")
+ private String deptname;
+
+ /** 审核者 */
+ @Excel(name = "审核者")
+ private String check;
+
+ /** 作者 */
+ @Excel(name = "作者")
+ private String auteur;
+
+ /** 修改人ID */
+ @Excel(name = "修改人ID")
+ private Long corrigerid;
+
+ /** 来源 */
+ @Excel(name = "来源")
+ private String source;
+
+ /** 点击数量 */
+ @Excel(name = "点击数量")
+ private Long clicks;
+
+ /** 更新日期 */
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "更新日期", width = 30, dateFormat = "yyyy-MM-dd")
+ private Date date;
+
+ /** 状态 */
+ @Excel(name = "状态")
+ private Long status;
+
+ public void setId(Long id)
+ {
+ this.id = id;
+ }
+
+ public Long getId()
+ {
+ return id;
+ }
+ public void setIdNumber(Long idNumber)
+ {
+ this.idNumber = idNumber;
+ }
+
+ public Long getIdNumber()
+ {
+ return idNumber;
+ }
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+
+ public String getTitle()
+ {
+ return title;
+ }
+ public void setContenu(String contenu)
+ {
+ this.contenu = contenu;
+ }
+
+ public String getContenu()
+ {
+ return contenu;
+ }
+ public void setImage(String image)
+ {
+ this.image = image;
+ }
+
+ public String getImage()
+ {
+ return image;
+ }
+ public void setDeptid(Long deptid)
+ {
+ this.deptid = deptid;
+ }
+
+ public Long getDeptid()
+ {
+ return deptid;
+ }
+ public void setDeptname(String deptname)
+ {
+ this.deptname = deptname;
+ }
+
+ public String getDeptname()
+ {
+ return deptname;
+ }
+ public void setCheck(String check)
+ {
+ this.check = check;
+ }
+
+ public String getCheck()
+ {
+ return check;
+ }
+ public void setAuteur(String auteur)
+ {
+ this.auteur = auteur;
+ }
+
+ public String getAuteur()
+ {
+ return auteur;
+ }
+ public void setCorrigerid(Long corrigerid)
+ {
+ this.corrigerid = corrigerid;
+ }
+
+ public Long getCorrigerid()
+ {
+ return corrigerid;
+ }
+ public void setSource(String source)
+ {
+ this.source = source;
+ }
+
+ public String getSource()
+ {
+ return source;
+ }
+ public void setClicks(Long clicks)
+ {
+ this.clicks = clicks;
+ }
+
+ public Long getClicks()
+ {
+ return clicks;
+ }
+ public void setDate(Date date)
+ {
+ this.date = date;
+ }
+
+ public Date getDate()
+ {
+ return date;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("id", getId())
+ .append("idNumber", getIdNumber())
+ .append("title", getTitle())
+ .append("contenu", getContenu())
+ .append("image", getImage())
+ .append("deptid", getDeptid())
+ .append("deptname", getDeptname())
+ .append("check", getCheck())
+ .append("auteur", getAuteur())
+ .append("corrigerid", getCorrigerid())
+ .append("source", getSource())
+ .append("clicks", getClicks())
+ .append("date", getDate())
+ .append("status", getStatus())
+ .toString();
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsDutyTableMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsDutyTableMapper.java
new file mode 100644
index 000000000..d0ee4c7d6
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsDutyTableMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsDutyTable;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsDutyTableMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsDutyTable selectNewsDutyTableById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsDutyTable 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsDutyTableList(NewsDutyTable newsDutyTable);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsDutyTable 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsDutyTable(NewsDutyTable newsDutyTable);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsDutyTable 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsDutyTable(NewsDutyTable newsDutyTable);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsDutyTableById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsDutyTableByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantFalvMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantFalvMapper.java
new file mode 100644
index 000000000..da649c3c3
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantFalvMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantFalv;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsImportantFalvMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantFalv selectNewsImportantFalvById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantFalv 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantFalvList(NewsImportantFalv newsImportantFalv);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantFalv 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantFalv(NewsImportantFalv newsImportantFalv);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantFalv 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantFalv(NewsImportantFalv newsImportantFalv);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantFalvById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantFalvByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantNewsMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantNewsMapper.java
new file mode 100644
index 000000000..22e4c6868
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantNewsMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantNews;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsImportantNewsMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantNews selectNewsImportantNewsById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantNews 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantNewsList(NewsImportantNews newsImportantNews);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantNews 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantNews(NewsImportantNews newsImportantNews);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantNews 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantNews(NewsImportantNews newsImportantNews);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantNewsById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantNewsByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantTrainingMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantTrainingMapper.java
new file mode 100644
index 000000000..dc5b26a4e
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantTrainingMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantTraining;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsImportantTrainingMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantTraining selectNewsImportantTrainingById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantTraining 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantTrainingList(NewsImportantTraining newsImportantTraining);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantTraining 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantTraining(NewsImportantTraining newsImportantTraining);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantTraining 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantTraining(NewsImportantTraining newsImportantTraining);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantTrainingById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantTrainingByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantTuwenMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantTuwenMapper.java
new file mode 100644
index 000000000..928e2866c
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantTuwenMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantTuwen;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsImportantTuwenMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantTuwen selectNewsImportantTuwenById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantTuwen 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantTuwenList(NewsImportantTuwen newsImportantTuwen);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantTuwen 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantTuwen(NewsImportantTuwen newsImportantTuwen);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantTuwen 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantTuwen(NewsImportantTuwen newsImportantTuwen);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantTuwenById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantTuwenByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantVideoMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantVideoMapper.java
new file mode 100644
index 000000000..fb2af8208
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantVideoMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantVideo;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsImportantVideoMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantVideo selectNewsImportantVideoById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantVideo 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantVideoList(NewsImportantVideo newsImportantVideo);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantVideo 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantVideo(NewsImportantVideo newsImportantVideo);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantVideo 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantVideo(NewsImportantVideo newsImportantVideo);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantVideoById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantVideoByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantZhuantiMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantZhuantiMapper.java
new file mode 100644
index 000000000..1331cfcf5
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsImportantZhuantiMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantZhuanti;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsImportantZhuantiMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantZhuanti selectNewsImportantZhuantiById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantZhuanti 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantZhuantiList(NewsImportantZhuanti newsImportantZhuanti);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantZhuanti 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantZhuanti(NewsImportantZhuanti newsImportantZhuanti);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantZhuanti 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantZhuanti(NewsImportantZhuanti newsImportantZhuanti);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantZhuantiById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantZhuantiByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsNotificationMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsNotificationMapper.java
new file mode 100644
index 000000000..a1fe14e42
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsNotificationMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsNotification;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsNotificationMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsNotification selectNewsNotificationById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsNotification 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsNotificationList(NewsNotification newsNotification);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsNotification 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsNotification(NewsNotification newsNotification);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsNotification 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsNotification(NewsNotification newsNotification);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsNotificationById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsNotificationByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsPhotoMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsPhotoMapper.java
new file mode 100644
index 000000000..50841d973
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsPhotoMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsPhoto;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsPhotoMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsPhoto selectNewsPhotoById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsPhoto 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsPhotoList(NewsPhoto newsPhoto);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsPhoto 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsPhoto(NewsPhoto newsPhoto);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsPhoto 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsPhoto(NewsPhoto newsPhoto);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsPhotoById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsPhotoByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsProjectLearningMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsProjectLearningMapper.java
new file mode 100644
index 000000000..92a403be1
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsProjectLearningMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsProjectLearning;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsProjectLearningMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsProjectLearning selectNewsProjectLearningById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsProjectLearning 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsProjectLearningList(NewsProjectLearning newsProjectLearning);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsProjectLearning 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsProjectLearning(NewsProjectLearning newsProjectLearning);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsProjectLearning 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsProjectLearning(NewsProjectLearning newsProjectLearning);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsProjectLearningById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsProjectLearningByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsSwatNewsMapper.java b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsSwatNewsMapper.java
new file mode 100644
index 000000000..73e5e19d0
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/mapper/NewsSwatNewsMapper.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.mapper;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsSwatNews;
+
+/**
+ * 【请填写功能名称】Mapper接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface NewsSwatNewsMapper
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsSwatNews selectNewsSwatNewsById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsSwatNews 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsSwatNewsList(NewsSwatNews newsSwatNews);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsSwatNews 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsSwatNews(NewsSwatNews newsSwatNews);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsSwatNews 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsSwatNews(NewsSwatNews newsSwatNews);
+
+ /**
+ * 删除【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsSwatNewsById(Long id);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteNewsSwatNewsByIds(String[] ids);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsDutyTableService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsDutyTableService.java
new file mode 100644
index 000000000..08925a079
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsDutyTableService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsDutyTable;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsDutyTableService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsDutyTable selectNewsDutyTableById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsDutyTable 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsDutyTableList(NewsDutyTable newsDutyTable);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsDutyTable 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsDutyTable(NewsDutyTable newsDutyTable);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsDutyTable 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsDutyTable(NewsDutyTable newsDutyTable);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsDutyTableByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsDutyTableById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantFalvService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantFalvService.java
new file mode 100644
index 000000000..124dec553
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantFalvService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantFalv;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsImportantFalvService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantFalv selectNewsImportantFalvById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantFalv 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantFalvList(NewsImportantFalv newsImportantFalv);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantFalv 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantFalv(NewsImportantFalv newsImportantFalv);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantFalv 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantFalv(NewsImportantFalv newsImportantFalv);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantFalvByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantFalvById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantNewsService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantNewsService.java
new file mode 100644
index 000000000..8c3296523
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantNewsService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantNews;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsImportantNewsService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantNews selectNewsImportantNewsById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantNews 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantNewsList(NewsImportantNews newsImportantNews);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantNews 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantNews(NewsImportantNews newsImportantNews);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantNews 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantNews(NewsImportantNews newsImportantNews);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantNewsByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantNewsById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantTrainingService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantTrainingService.java
new file mode 100644
index 000000000..267a36829
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantTrainingService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantTraining;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsImportantTrainingService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantTraining selectNewsImportantTrainingById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantTraining 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantTrainingList(NewsImportantTraining newsImportantTraining);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantTraining 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantTraining(NewsImportantTraining newsImportantTraining);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantTraining 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantTraining(NewsImportantTraining newsImportantTraining);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantTrainingByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantTrainingById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantTuwenService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantTuwenService.java
new file mode 100644
index 000000000..9da7951e3
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantTuwenService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantTuwen;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsImportantTuwenService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantTuwen selectNewsImportantTuwenById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantTuwen 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantTuwenList(NewsImportantTuwen newsImportantTuwen);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantTuwen 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantTuwen(NewsImportantTuwen newsImportantTuwen);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantTuwen 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantTuwen(NewsImportantTuwen newsImportantTuwen);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantTuwenByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantTuwenById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantVideoService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantVideoService.java
new file mode 100644
index 000000000..c0833a418
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantVideoService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantVideo;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsImportantVideoService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantVideo selectNewsImportantVideoById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantVideo 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantVideoList(NewsImportantVideo newsImportantVideo);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantVideo 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantVideo(NewsImportantVideo newsImportantVideo);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantVideo 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantVideo(NewsImportantVideo newsImportantVideo);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantVideoByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantVideoById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantZhuantiService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantZhuantiService.java
new file mode 100644
index 000000000..60abd3720
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsImportantZhuantiService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsImportantZhuanti;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsImportantZhuantiService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsImportantZhuanti selectNewsImportantZhuantiById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantZhuanti 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsImportantZhuantiList(NewsImportantZhuanti newsImportantZhuanti);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantZhuanti 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsImportantZhuanti(NewsImportantZhuanti newsImportantZhuanti);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantZhuanti 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsImportantZhuanti(NewsImportantZhuanti newsImportantZhuanti);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsImportantZhuantiByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsImportantZhuantiById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsNotificationService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsNotificationService.java
new file mode 100644
index 000000000..8aa05df71
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsNotificationService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsNotification;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsNotificationService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsNotification selectNewsNotificationById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsNotification 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsNotificationList(NewsNotification newsNotification);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsNotification 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsNotification(NewsNotification newsNotification);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsNotification 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsNotification(NewsNotification newsNotification);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsNotificationByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsNotificationById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsPhotoService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsPhotoService.java
new file mode 100644
index 000000000..91e446c88
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsPhotoService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsPhoto;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsPhotoService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsPhoto selectNewsPhotoById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsPhoto 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsPhotoList(NewsPhoto newsPhoto);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsPhoto 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsPhoto(NewsPhoto newsPhoto);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsPhoto 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsPhoto(NewsPhoto newsPhoto);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsPhotoByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsPhotoById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsProjectLearningService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsProjectLearningService.java
new file mode 100644
index 000000000..f1e8c6c86
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsProjectLearningService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsProjectLearning;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsProjectLearningService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsProjectLearning selectNewsProjectLearningById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsProjectLearning 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsProjectLearningList(NewsProjectLearning newsProjectLearning);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsProjectLearning 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsProjectLearning(NewsProjectLearning newsProjectLearning);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsProjectLearning 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsProjectLearning(NewsProjectLearning newsProjectLearning);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsProjectLearningByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsProjectLearningById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsSwatNewsService.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsSwatNewsService.java
new file mode 100644
index 000000000..7b2b00eb5
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/INewsSwatNewsService.java
@@ -0,0 +1,61 @@
+package com.ruoyi.news.service;
+
+import java.util.List;
+import com.ruoyi.news.domain.NewsSwatNews;
+
+/**
+ * 【请填写功能名称】Service接口
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+public interface INewsSwatNewsService
+{
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ public NewsSwatNews selectNewsSwatNewsById(Long id);
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsSwatNews 【请填写功能名称】
+ * @return 【请填写功能名称】集合
+ */
+ public List selectNewsSwatNewsList(NewsSwatNews newsSwatNews);
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsSwatNews 【请填写功能名称】
+ * @return 结果
+ */
+ public int insertNewsSwatNews(NewsSwatNews newsSwatNews);
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsSwatNews 【请填写功能名称】
+ * @return 结果
+ */
+ public int updateNewsSwatNews(NewsSwatNews newsSwatNews);
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键集合
+ * @return 结果
+ */
+ public int deleteNewsSwatNewsByIds(String ids);
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ public int deleteNewsSwatNewsById(Long id);
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsDutyTableServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsDutyTableServiceImpl.java
new file mode 100644
index 000000000..539b677c6
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsDutyTableServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsDutyTableMapper;
+import com.ruoyi.news.domain.NewsDutyTable;
+import com.ruoyi.news.service.INewsDutyTableService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsDutyTableServiceImpl implements INewsDutyTableService
+{
+ @Autowired
+ private NewsDutyTableMapper newsDutyTableMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsDutyTable selectNewsDutyTableById(Long id)
+ {
+ return newsDutyTableMapper.selectNewsDutyTableById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsDutyTable 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsDutyTableList(NewsDutyTable newsDutyTable)
+ {
+ return newsDutyTableMapper.selectNewsDutyTableList(newsDutyTable);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsDutyTable 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsDutyTable(NewsDutyTable newsDutyTable)
+ {
+ return newsDutyTableMapper.insertNewsDutyTable(newsDutyTable);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsDutyTable 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsDutyTable(NewsDutyTable newsDutyTable)
+ {
+ return newsDutyTableMapper.updateNewsDutyTable(newsDutyTable);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsDutyTableByIds(String ids)
+ {
+ return newsDutyTableMapper.deleteNewsDutyTableByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsDutyTableById(Long id)
+ {
+ return newsDutyTableMapper.deleteNewsDutyTableById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantFalvServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantFalvServiceImpl.java
new file mode 100644
index 000000000..c307abaa0
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantFalvServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsImportantFalvMapper;
+import com.ruoyi.news.domain.NewsImportantFalv;
+import com.ruoyi.news.service.INewsImportantFalvService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsImportantFalvServiceImpl implements INewsImportantFalvService
+{
+ @Autowired
+ private NewsImportantFalvMapper newsImportantFalvMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsImportantFalv selectNewsImportantFalvById(Long id)
+ {
+ return newsImportantFalvMapper.selectNewsImportantFalvById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantFalv 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsImportantFalvList(NewsImportantFalv newsImportantFalv)
+ {
+ return newsImportantFalvMapper.selectNewsImportantFalvList(newsImportantFalv);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantFalv 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsImportantFalv(NewsImportantFalv newsImportantFalv)
+ {
+ return newsImportantFalvMapper.insertNewsImportantFalv(newsImportantFalv);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantFalv 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsImportantFalv(NewsImportantFalv newsImportantFalv)
+ {
+ return newsImportantFalvMapper.updateNewsImportantFalv(newsImportantFalv);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantFalvByIds(String ids)
+ {
+ return newsImportantFalvMapper.deleteNewsImportantFalvByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantFalvById(Long id)
+ {
+ return newsImportantFalvMapper.deleteNewsImportantFalvById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantNewsServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantNewsServiceImpl.java
new file mode 100644
index 000000000..ebe85829e
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantNewsServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsImportantNewsMapper;
+import com.ruoyi.news.domain.NewsImportantNews;
+import com.ruoyi.news.service.INewsImportantNewsService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsImportantNewsServiceImpl implements INewsImportantNewsService
+{
+ @Autowired
+ private NewsImportantNewsMapper newsImportantNewsMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsImportantNews selectNewsImportantNewsById(Long id)
+ {
+ return newsImportantNewsMapper.selectNewsImportantNewsById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantNews 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsImportantNewsList(NewsImportantNews newsImportantNews)
+ {
+ return newsImportantNewsMapper.selectNewsImportantNewsList(newsImportantNews);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantNews 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsImportantNews(NewsImportantNews newsImportantNews)
+ {
+ return newsImportantNewsMapper.insertNewsImportantNews(newsImportantNews);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantNews 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsImportantNews(NewsImportantNews newsImportantNews)
+ {
+ return newsImportantNewsMapper.updateNewsImportantNews(newsImportantNews);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantNewsByIds(String ids)
+ {
+ return newsImportantNewsMapper.deleteNewsImportantNewsByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantNewsById(Long id)
+ {
+ return newsImportantNewsMapper.deleteNewsImportantNewsById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantTrainingServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantTrainingServiceImpl.java
new file mode 100644
index 000000000..2b5a8e451
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantTrainingServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsImportantTrainingMapper;
+import com.ruoyi.news.domain.NewsImportantTraining;
+import com.ruoyi.news.service.INewsImportantTrainingService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsImportantTrainingServiceImpl implements INewsImportantTrainingService
+{
+ @Autowired
+ private NewsImportantTrainingMapper newsImportantTrainingMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsImportantTraining selectNewsImportantTrainingById(Long id)
+ {
+ return newsImportantTrainingMapper.selectNewsImportantTrainingById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantTraining 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsImportantTrainingList(NewsImportantTraining newsImportantTraining)
+ {
+ return newsImportantTrainingMapper.selectNewsImportantTrainingList(newsImportantTraining);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantTraining 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsImportantTraining(NewsImportantTraining newsImportantTraining)
+ {
+ return newsImportantTrainingMapper.insertNewsImportantTraining(newsImportantTraining);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantTraining 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsImportantTraining(NewsImportantTraining newsImportantTraining)
+ {
+ return newsImportantTrainingMapper.updateNewsImportantTraining(newsImportantTraining);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantTrainingByIds(String ids)
+ {
+ return newsImportantTrainingMapper.deleteNewsImportantTrainingByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantTrainingById(Long id)
+ {
+ return newsImportantTrainingMapper.deleteNewsImportantTrainingById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantTuwenServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantTuwenServiceImpl.java
new file mode 100644
index 000000000..9834dbc2b
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantTuwenServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsImportantTuwenMapper;
+import com.ruoyi.news.domain.NewsImportantTuwen;
+import com.ruoyi.news.service.INewsImportantTuwenService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsImportantTuwenServiceImpl implements INewsImportantTuwenService
+{
+ @Autowired
+ private NewsImportantTuwenMapper newsImportantTuwenMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsImportantTuwen selectNewsImportantTuwenById(Long id)
+ {
+ return newsImportantTuwenMapper.selectNewsImportantTuwenById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantTuwen 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsImportantTuwenList(NewsImportantTuwen newsImportantTuwen)
+ {
+ return newsImportantTuwenMapper.selectNewsImportantTuwenList(newsImportantTuwen);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantTuwen 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsImportantTuwen(NewsImportantTuwen newsImportantTuwen)
+ {
+ return newsImportantTuwenMapper.insertNewsImportantTuwen(newsImportantTuwen);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantTuwen 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsImportantTuwen(NewsImportantTuwen newsImportantTuwen)
+ {
+ return newsImportantTuwenMapper.updateNewsImportantTuwen(newsImportantTuwen);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantTuwenByIds(String ids)
+ {
+ return newsImportantTuwenMapper.deleteNewsImportantTuwenByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantTuwenById(Long id)
+ {
+ return newsImportantTuwenMapper.deleteNewsImportantTuwenById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantVideoServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantVideoServiceImpl.java
new file mode 100644
index 000000000..16eeef23c
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantVideoServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsImportantVideoMapper;
+import com.ruoyi.news.domain.NewsImportantVideo;
+import com.ruoyi.news.service.INewsImportantVideoService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsImportantVideoServiceImpl implements INewsImportantVideoService
+{
+ @Autowired
+ private NewsImportantVideoMapper newsImportantVideoMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsImportantVideo selectNewsImportantVideoById(Long id)
+ {
+ return newsImportantVideoMapper.selectNewsImportantVideoById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantVideo 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsImportantVideoList(NewsImportantVideo newsImportantVideo)
+ {
+ return newsImportantVideoMapper.selectNewsImportantVideoList(newsImportantVideo);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantVideo 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsImportantVideo(NewsImportantVideo newsImportantVideo)
+ {
+ return newsImportantVideoMapper.insertNewsImportantVideo(newsImportantVideo);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantVideo 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsImportantVideo(NewsImportantVideo newsImportantVideo)
+ {
+ return newsImportantVideoMapper.updateNewsImportantVideo(newsImportantVideo);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantVideoByIds(String ids)
+ {
+ return newsImportantVideoMapper.deleteNewsImportantVideoByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantVideoById(Long id)
+ {
+ return newsImportantVideoMapper.deleteNewsImportantVideoById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantZhuantiServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantZhuantiServiceImpl.java
new file mode 100644
index 000000000..436bb43c4
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsImportantZhuantiServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsImportantZhuantiMapper;
+import com.ruoyi.news.domain.NewsImportantZhuanti;
+import com.ruoyi.news.service.INewsImportantZhuantiService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsImportantZhuantiServiceImpl implements INewsImportantZhuantiService
+{
+ @Autowired
+ private NewsImportantZhuantiMapper newsImportantZhuantiMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsImportantZhuanti selectNewsImportantZhuantiById(Long id)
+ {
+ return newsImportantZhuantiMapper.selectNewsImportantZhuantiById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsImportantZhuanti 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsImportantZhuantiList(NewsImportantZhuanti newsImportantZhuanti)
+ {
+ return newsImportantZhuantiMapper.selectNewsImportantZhuantiList(newsImportantZhuanti);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsImportantZhuanti 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsImportantZhuanti(NewsImportantZhuanti newsImportantZhuanti)
+ {
+ return newsImportantZhuantiMapper.insertNewsImportantZhuanti(newsImportantZhuanti);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsImportantZhuanti 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsImportantZhuanti(NewsImportantZhuanti newsImportantZhuanti)
+ {
+ return newsImportantZhuantiMapper.updateNewsImportantZhuanti(newsImportantZhuanti);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantZhuantiByIds(String ids)
+ {
+ return newsImportantZhuantiMapper.deleteNewsImportantZhuantiByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsImportantZhuantiById(Long id)
+ {
+ return newsImportantZhuantiMapper.deleteNewsImportantZhuantiById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsNotificationServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsNotificationServiceImpl.java
new file mode 100644
index 000000000..425030a42
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsNotificationServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsNotificationMapper;
+import com.ruoyi.news.domain.NewsNotification;
+import com.ruoyi.news.service.INewsNotificationService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsNotificationServiceImpl implements INewsNotificationService
+{
+ @Autowired
+ private NewsNotificationMapper newsNotificationMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsNotification selectNewsNotificationById(Long id)
+ {
+ return newsNotificationMapper.selectNewsNotificationById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsNotification 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsNotificationList(NewsNotification newsNotification)
+ {
+ return newsNotificationMapper.selectNewsNotificationList(newsNotification);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsNotification 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsNotification(NewsNotification newsNotification)
+ {
+ return newsNotificationMapper.insertNewsNotification(newsNotification);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsNotification 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsNotification(NewsNotification newsNotification)
+ {
+ return newsNotificationMapper.updateNewsNotification(newsNotification);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsNotificationByIds(String ids)
+ {
+ return newsNotificationMapper.deleteNewsNotificationByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsNotificationById(Long id)
+ {
+ return newsNotificationMapper.deleteNewsNotificationById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsPhotoServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsPhotoServiceImpl.java
new file mode 100644
index 000000000..508b6c1ae
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsPhotoServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsPhotoMapper;
+import com.ruoyi.news.domain.NewsPhoto;
+import com.ruoyi.news.service.INewsPhotoService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsPhotoServiceImpl implements INewsPhotoService
+{
+ @Autowired
+ private NewsPhotoMapper newsPhotoMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsPhoto selectNewsPhotoById(Long id)
+ {
+ return newsPhotoMapper.selectNewsPhotoById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsPhoto 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsPhotoList(NewsPhoto newsPhoto)
+ {
+ return newsPhotoMapper.selectNewsPhotoList(newsPhoto);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsPhoto 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsPhoto(NewsPhoto newsPhoto)
+ {
+ return newsPhotoMapper.insertNewsPhoto(newsPhoto);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsPhoto 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsPhoto(NewsPhoto newsPhoto)
+ {
+ return newsPhotoMapper.updateNewsPhoto(newsPhoto);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsPhotoByIds(String ids)
+ {
+ return newsPhotoMapper.deleteNewsPhotoByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsPhotoById(Long id)
+ {
+ return newsPhotoMapper.deleteNewsPhotoById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsProjectLearningServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsProjectLearningServiceImpl.java
new file mode 100644
index 000000000..3c59c0240
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsProjectLearningServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsProjectLearningMapper;
+import com.ruoyi.news.domain.NewsProjectLearning;
+import com.ruoyi.news.service.INewsProjectLearningService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsProjectLearningServiceImpl implements INewsProjectLearningService
+{
+ @Autowired
+ private NewsProjectLearningMapper newsProjectLearningMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsProjectLearning selectNewsProjectLearningById(Long id)
+ {
+ return newsProjectLearningMapper.selectNewsProjectLearningById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsProjectLearning 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsProjectLearningList(NewsProjectLearning newsProjectLearning)
+ {
+ return newsProjectLearningMapper.selectNewsProjectLearningList(newsProjectLearning);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsProjectLearning 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsProjectLearning(NewsProjectLearning newsProjectLearning)
+ {
+ return newsProjectLearningMapper.insertNewsProjectLearning(newsProjectLearning);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsProjectLearning 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsProjectLearning(NewsProjectLearning newsProjectLearning)
+ {
+ return newsProjectLearningMapper.updateNewsProjectLearning(newsProjectLearning);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsProjectLearningByIds(String ids)
+ {
+ return newsProjectLearningMapper.deleteNewsProjectLearningByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsProjectLearningById(Long id)
+ {
+ return newsProjectLearningMapper.deleteNewsProjectLearningById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsSwatNewsServiceImpl.java b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsSwatNewsServiceImpl.java
new file mode 100644
index 000000000..097dda603
--- /dev/null
+++ b/ruoyi-news/src/main/java/com/ruoyi/news/service/impl/NewsSwatNewsServiceImpl.java
@@ -0,0 +1,94 @@
+package com.ruoyi.news.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.news.mapper.NewsSwatNewsMapper;
+import com.ruoyi.news.domain.NewsSwatNews;
+import com.ruoyi.news.service.INewsSwatNewsService;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 【请填写功能名称】Service业务层处理
+ *
+ * @author admin@abdu.net.cn
+ * @date 2022-07-19
+ */
+@Service
+public class NewsSwatNewsServiceImpl implements INewsSwatNewsService
+{
+ @Autowired
+ private NewsSwatNewsMapper newsSwatNewsMapper;
+
+ /**
+ * 查询【请填写功能名称】
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public NewsSwatNews selectNewsSwatNewsById(Long id)
+ {
+ return newsSwatNewsMapper.selectNewsSwatNewsById(id);
+ }
+
+ /**
+ * 查询【请填写功能名称】列表
+ *
+ * @param newsSwatNews 【请填写功能名称】
+ * @return 【请填写功能名称】
+ */
+ @Override
+ public List selectNewsSwatNewsList(NewsSwatNews newsSwatNews)
+ {
+ return newsSwatNewsMapper.selectNewsSwatNewsList(newsSwatNews);
+ }
+
+ /**
+ * 新增【请填写功能名称】
+ *
+ * @param newsSwatNews 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int insertNewsSwatNews(NewsSwatNews newsSwatNews)
+ {
+ return newsSwatNewsMapper.insertNewsSwatNews(newsSwatNews);
+ }
+
+ /**
+ * 修改【请填写功能名称】
+ *
+ * @param newsSwatNews 【请填写功能名称】
+ * @return 结果
+ */
+ @Override
+ public int updateNewsSwatNews(NewsSwatNews newsSwatNews)
+ {
+ return newsSwatNewsMapper.updateNewsSwatNews(newsSwatNews);
+ }
+
+ /**
+ * 批量删除【请填写功能名称】
+ *
+ * @param ids 需要删除的【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsSwatNewsByIds(String ids)
+ {
+ return newsSwatNewsMapper.deleteNewsSwatNewsByIds(Convert.toStrArray(ids));
+ }
+
+ /**
+ * 删除【请填写功能名称】信息
+ *
+ * @param id 【请填写功能名称】主键
+ * @return 结果
+ */
+ @Override
+ public int deleteNewsSwatNewsById(Long id)
+ {
+ return newsSwatNewsMapper.deleteNewsSwatNewsById(id);
+ }
+}
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsDutyTableMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsDutyTableMapper.xml
new file mode 100644
index 000000000..4a9a73006
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsDutyTableMapper.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, diriger, cadre, date from news_duty_table
+
+
+
+
+
+
+
+ insert into news_duty_table
+
+ diriger,
+ cadre,
+ date,
+
+
+ #{diriger},
+ #{cadre},
+ #{date},
+
+
+
+
+ update news_duty_table
+
+ diriger = #{diriger},
+ cadre = #{cadre},
+ date = #{date},
+
+ where id = #{id}
+
+
+
+ delete from news_duty_table where id = #{id}
+
+
+
+ delete from news_duty_table where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsImportantFalvMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsImportantFalvMapper.xml
new file mode 100644
index 000000000..7f9024767
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsImportantFalvMapper.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, title, contenu, image, auteurid, auteur, corrigerid, source, clicks, type, date, classify, status from news_important_falv
+
+
+
+
+
+
+
+ insert into news_important_falv
+
+ title,
+ contenu,
+ image,
+ auteurid,
+ auteur,
+ corrigerid,
+ source,
+ clicks,
+ type,
+ date,
+ classify,
+ status,
+
+
+ #{title},
+ #{contenu},
+ #{image},
+ #{auteurid},
+ #{auteur},
+ #{corrigerid},
+ #{source},
+ #{clicks},
+ #{type},
+ #{date},
+ #{classify},
+ #{status},
+
+
+
+
+ update news_important_falv
+
+ title = #{title},
+ contenu = #{contenu},
+ image = #{image},
+ auteurid = #{auteurid},
+ auteur = #{auteur},
+ corrigerid = #{corrigerid},
+ source = #{source},
+ clicks = #{clicks},
+ type = #{type},
+ date = #{date},
+ classify = #{classify},
+ status = #{status},
+
+ where id = #{id}
+
+
+
+ delete from news_important_falv where id = #{id}
+
+
+
+ delete from news_important_falv where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsImportantNewsMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsImportantNewsMapper.xml
new file mode 100644
index 000000000..ce390a0f3
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsImportantNewsMapper.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, title, contenu, image, auteurid, auteur, corrigerid, source, clicks, type, date, classify, status from news_important_news
+
+
+
+
+
+
+
+ insert into news_important_news
+
+ title,
+ contenu,
+ image,
+ auteurid,
+ auteur,
+ corrigerid,
+ source,
+ clicks,
+ type,
+ date,
+ classify,
+ status,
+
+
+ #{title},
+ #{contenu},
+ #{image},
+ #{auteurid},
+ #{auteur},
+ #{corrigerid},
+ #{source},
+ #{clicks},
+ #{type},
+ #{date},
+ #{classify},
+ #{status},
+
+
+
+
+ update news_important_news
+
+ title = #{title},
+ contenu = #{contenu},
+ image = #{image},
+ auteurid = #{auteurid},
+ auteur = #{auteur},
+ corrigerid = #{corrigerid},
+ source = #{source},
+ clicks = #{clicks},
+ type = #{type},
+ date = #{date},
+ classify = #{classify},
+ status = #{status},
+
+ where id = #{id}
+
+
+
+ delete from news_important_news where id = #{id}
+
+
+
+ delete from news_important_news where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsImportantTrainingMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsImportantTrainingMapper.xml
new file mode 100644
index 000000000..af74b64c0
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsImportantTrainingMapper.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, title, contenu, image, auteurid, auteur, corrigerid, source, clicks, type, date, classify, status from news_important_training
+
+
+
+
+
+
+
+ insert into news_important_training
+
+ title,
+ contenu,
+ image,
+ auteurid,
+ auteur,
+ corrigerid,
+ source,
+ clicks,
+ type,
+ date,
+ classify,
+ status,
+
+
+ #{title},
+ #{contenu},
+ #{image},
+ #{auteurid},
+ #{auteur},
+ #{corrigerid},
+ #{source},
+ #{clicks},
+ #{type},
+ #{date},
+ #{classify},
+ #{status},
+
+
+
+
+ update news_important_training
+
+ title = #{title},
+ contenu = #{contenu},
+ image = #{image},
+ auteurid = #{auteurid},
+ auteur = #{auteur},
+ corrigerid = #{corrigerid},
+ source = #{source},
+ clicks = #{clicks},
+ type = #{type},
+ date = #{date},
+ classify = #{classify},
+ status = #{status},
+
+ where id = #{id}
+
+
+
+ delete from news_important_training where id = #{id}
+
+
+
+ delete from news_important_training where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsImportantTuwenMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsImportantTuwenMapper.xml
new file mode 100644
index 000000000..77ec2023f
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsImportantTuwenMapper.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, title, contenu, image, auteurid, auteur, corrigerid, source, clicks, type, date, classify, status from news_important_tuwen
+
+
+
+
+
+
+
+ insert into news_important_tuwen
+
+ title,
+ contenu,
+ image,
+ auteurid,
+ auteur,
+ corrigerid,
+ source,
+ clicks,
+ type,
+ date,
+ classify,
+ status,
+
+
+ #{title},
+ #{contenu},
+ #{image},
+ #{auteurid},
+ #{auteur},
+ #{corrigerid},
+ #{source},
+ #{clicks},
+ #{type},
+ #{date},
+ #{classify},
+ #{status},
+
+
+
+
+ update news_important_tuwen
+
+ title = #{title},
+ contenu = #{contenu},
+ image = #{image},
+ auteurid = #{auteurid},
+ auteur = #{auteur},
+ corrigerid = #{corrigerid},
+ source = #{source},
+ clicks = #{clicks},
+ type = #{type},
+ date = #{date},
+ classify = #{classify},
+ status = #{status},
+
+ where id = #{id}
+
+
+
+ delete from news_important_tuwen where id = #{id}
+
+
+
+ delete from news_important_tuwen where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsImportantVideoMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsImportantVideoMapper.xml
new file mode 100644
index 000000000..3333282fb
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsImportantVideoMapper.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, title, contenu, image, video, auteurid, auteur, corrigerid, source, clicks, type, date, status from news_important_video
+
+
+
+
+
+
+
+ insert into news_important_video
+
+ title,
+ contenu,
+ image,
+ video,
+ auteurid,
+ auteur,
+ corrigerid,
+ source,
+ clicks,
+ type,
+ date,
+ status,
+
+
+ #{title},
+ #{contenu},
+ #{image},
+ #{video},
+ #{auteurid},
+ #{auteur},
+ #{corrigerid},
+ #{source},
+ #{clicks},
+ #{type},
+ #{date},
+ #{status},
+
+
+
+
+ update news_important_video
+
+ title = #{title},
+ contenu = #{contenu},
+ image = #{image},
+ video = #{video},
+ auteurid = #{auteurid},
+ auteur = #{auteur},
+ corrigerid = #{corrigerid},
+ source = #{source},
+ clicks = #{clicks},
+ type = #{type},
+ date = #{date},
+ status = #{status},
+
+ where id = #{id}
+
+
+
+ delete from news_important_video where id = #{id}
+
+
+
+ delete from news_important_video where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsImportantZhuantiMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsImportantZhuantiMapper.xml
new file mode 100644
index 000000000..bf2c965dd
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsImportantZhuantiMapper.xml
@@ -0,0 +1,112 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, title, contenu, image, auteurid, auteur, corrigerid, source, clicks, type, date, classify, status from news_important_zhuanti
+
+
+
+
+
+
+
+ insert into news_important_zhuanti
+
+ title,
+ contenu,
+ image,
+ auteurid,
+ auteur,
+ corrigerid,
+ source,
+ clicks,
+ type,
+ date,
+ classify,
+ status,
+
+
+ #{title},
+ #{contenu},
+ #{image},
+ #{auteurid},
+ #{auteur},
+ #{corrigerid},
+ #{source},
+ #{clicks},
+ #{type},
+ #{date},
+ #{classify},
+ #{status},
+
+
+
+
+ update news_important_zhuanti
+
+ title = #{title},
+ contenu = #{contenu},
+ image = #{image},
+ auteurid = #{auteurid},
+ auteur = #{auteur},
+ corrigerid = #{corrigerid},
+ source = #{source},
+ clicks = #{clicks},
+ type = #{type},
+ date = #{date},
+ classify = #{classify},
+ status = #{status},
+
+ where id = #{id}
+
+
+
+ delete from news_important_zhuanti where id = #{id}
+
+
+
+ delete from news_important_zhuanti where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsNotificationMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsNotificationMapper.xml
new file mode 100644
index 000000000..2db65da95
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsNotificationMapper.xml
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, title, unit, instructor, contenu, auteur, date, files, status from news_notification
+
+
+
+
+
+
+
+ insert into news_notification
+
+ title,
+ unit,
+ instructor,
+ contenu,
+ auteur,
+ date,
+ files,
+ status,
+
+
+ #{title},
+ #{unit},
+ #{instructor},
+ #{contenu},
+ #{auteur},
+ #{date},
+ #{files},
+ #{status},
+
+
+
+
+ update news_notification
+
+ title = #{title},
+ unit = #{unit},
+ instructor = #{instructor},
+ contenu = #{contenu},
+ auteur = #{auteur},
+ date = #{date},
+ files = #{files},
+ status = #{status},
+
+ where id = #{id}
+
+
+
+ delete from news_notification where id = #{id}
+
+
+
+ delete from news_notification where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsPhotoMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsPhotoMapper.xml
new file mode 100644
index 000000000..76e0bc0a5
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsPhotoMapper.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, image, url, date from news_photo
+
+
+
+
+
+
+
+ insert into news_photo
+
+ image,
+ url,
+ date,
+
+
+ #{image},
+ #{url},
+ #{date},
+
+
+
+
+ update news_photo
+
+ image = #{image},
+ url = #{url},
+ date = #{date},
+
+ where id = #{id}
+
+
+
+ delete from news_photo where id = #{id}
+
+
+
+ delete from news_photo where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsProjectLearningMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsProjectLearningMapper.xml
new file mode 100644
index 000000000..7651db5cf
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsProjectLearningMapper.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, image, url, status from news_project_learning
+
+
+
+
+
+
+
+ insert into news_project_learning
+
+ image,
+ url,
+ status,
+
+
+ #{image},
+ #{url},
+ #{status},
+
+
+
+
+ update news_project_learning
+
+ image = #{image},
+ url = #{url},
+ status = #{status},
+
+ where id = #{id}
+
+
+
+ delete from news_project_learning where id = #{id}
+
+
+
+ delete from news_project_learning where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/mapper/news/NewsSwatNewsMapper.xml b/ruoyi-news/src/main/resources/mapper/news/NewsSwatNewsMapper.xml
new file mode 100644
index 000000000..14fb726a9
--- /dev/null
+++ b/ruoyi-news/src/main/resources/mapper/news/NewsSwatNewsMapper.xml
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select id, id_number, title, contenu, image, deptid, deptname, check, auteur, corrigerid, source, clicks, date, status from news_swat_news
+
+
+
+
+
+
+
+ insert into news_swat_news
+
+ id_number,
+ title,
+ contenu,
+ image,
+ deptid,
+ deptname,
+ check,
+ auteur,
+ corrigerid,
+ source,
+ clicks,
+ date,
+ status,
+
+
+ #{idNumber},
+ #{title},
+ #{contenu},
+ #{image},
+ #{deptid},
+ #{deptname},
+ #{check},
+ #{auteur},
+ #{corrigerid},
+ #{source},
+ #{clicks},
+ #{date},
+ #{status},
+
+
+
+
+ update news_swat_news
+
+ id_number = #{idNumber},
+ title = #{title},
+ contenu = #{contenu},
+ image = #{image},
+ deptid = #{deptid},
+ deptname = #{deptname},
+ check = #{check},
+ auteur = #{auteur},
+ corrigerid = #{corrigerid},
+ source = #{source},
+ clicks = #{clicks},
+ date = #{date},
+ status = #{status},
+
+ where id = #{id}
+
+
+
+ delete from news_swat_news where id = #{id}
+
+
+
+ delete from news_swat_news where id in
+
+ #{id}
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/falv/add.html b/ruoyi-news/src/main/resources/templates/news/falv/add.html
new file mode 100644
index 000000000..0121d991b
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/falv/add.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/falv/edit.html b/ruoyi-news/src/main/resources/templates/news/falv/edit.html
new file mode 100644
index 000000000..497c0407e
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/falv/edit.html
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/falv/falv.html b/ruoyi-news/src/main/resources/templates/news/falv/falv.html
new file mode 100644
index 000000000..e0dea4f83
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/falv/falv.html
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/learning/add.html b/ruoyi-news/src/main/resources/templates/news/learning/add.html
new file mode 100644
index 000000000..3c1a1699b
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/learning/add.html
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/learning/edit.html b/ruoyi-news/src/main/resources/templates/news/learning/edit.html
new file mode 100644
index 000000000..a8c1f833b
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/learning/edit.html
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/learning/learning.html b/ruoyi-news/src/main/resources/templates/news/learning/learning.html
new file mode 100644
index 000000000..827f6c7df
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/learning/learning.html
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/news/add.html b/ruoyi-news/src/main/resources/templates/news/news/add.html
new file mode 100644
index 000000000..f3566bd9b
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/news/add.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/news/edit.html b/ruoyi-news/src/main/resources/templates/news/news/edit.html
new file mode 100644
index 000000000..86c0690df
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/news/edit.html
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/news/news.html b/ruoyi-news/src/main/resources/templates/news/news/news.html
new file mode 100644
index 000000000..aa79a44d4
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/news/news.html
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/notification/add.html b/ruoyi-news/src/main/resources/templates/news/notification/add.html
new file mode 100644
index 000000000..9d20a444a
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/notification/add.html
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/notification/edit.html b/ruoyi-news/src/main/resources/templates/news/notification/edit.html
new file mode 100644
index 000000000..d097f690d
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/notification/edit.html
@@ -0,0 +1,79 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/notification/notification.html b/ruoyi-news/src/main/resources/templates/news/notification/notification.html
new file mode 100644
index 000000000..64634ecd6
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/notification/notification.html
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/photo/add.html b/ruoyi-news/src/main/resources/templates/news/photo/add.html
new file mode 100644
index 000000000..728cabe4f
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/photo/add.html
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/photo/edit.html b/ruoyi-news/src/main/resources/templates/news/photo/edit.html
new file mode 100644
index 000000000..9e35bdf4c
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/photo/edit.html
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/photo/photo.html b/ruoyi-news/src/main/resources/templates/news/photo/photo.html
new file mode 100644
index 000000000..5e8d8ab36
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/photo/photo.html
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/table/add.html b/ruoyi-news/src/main/resources/templates/news/table/add.html
new file mode 100644
index 000000000..b451b65b9
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/table/add.html
@@ -0,0 +1,54 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/table/edit.html b/ruoyi-news/src/main/resources/templates/news/table/edit.html
new file mode 100644
index 000000000..969bf0bc8
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/table/edit.html
@@ -0,0 +1,55 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/table/table.html b/ruoyi-news/src/main/resources/templates/news/table/table.html
new file mode 100644
index 000000000..af0b4f5ed
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/table/table.html
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/training/add.html b/ruoyi-news/src/main/resources/templates/news/training/add.html
new file mode 100644
index 000000000..016874138
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/training/add.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/training/edit.html b/ruoyi-news/src/main/resources/templates/news/training/edit.html
new file mode 100644
index 000000000..e939e621d
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/training/edit.html
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/training/training.html b/ruoyi-news/src/main/resources/templates/news/training/training.html
new file mode 100644
index 000000000..2bca8b233
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/training/training.html
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/tuwen/add.html b/ruoyi-news/src/main/resources/templates/news/tuwen/add.html
new file mode 100644
index 000000000..6d0419fc2
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/tuwen/add.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/tuwen/edit.html b/ruoyi-news/src/main/resources/templates/news/tuwen/edit.html
new file mode 100644
index 000000000..19470e069
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/tuwen/edit.html
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/tuwen/tuwen.html b/ruoyi-news/src/main/resources/templates/news/tuwen/tuwen.html
new file mode 100644
index 000000000..88a7cd89d
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/tuwen/tuwen.html
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/video/add.html b/ruoyi-news/src/main/resources/templates/news/video/add.html
new file mode 100644
index 000000000..a8e7f3136
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/video/add.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/video/edit.html b/ruoyi-news/src/main/resources/templates/news/video/edit.html
new file mode 100644
index 000000000..7a5228c64
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/video/edit.html
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/video/video.html b/ruoyi-news/src/main/resources/templates/news/video/video.html
new file mode 100644
index 000000000..dfaf2aac3
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/video/video.html
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/zhuanti/add.html b/ruoyi-news/src/main/resources/templates/news/zhuanti/add.html
new file mode 100644
index 000000000..b8f51bc32
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/zhuanti/add.html
@@ -0,0 +1,96 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/zhuanti/edit.html b/ruoyi-news/src/main/resources/templates/news/zhuanti/edit.html
new file mode 100644
index 000000000..79025ddc5
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/zhuanti/edit.html
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/main/resources/templates/news/zhuanti/zhuanti.html b/ruoyi-news/src/main/resources/templates/news/zhuanti/zhuanti.html
new file mode 100644
index 000000000..514872c19
--- /dev/null
+++ b/ruoyi-news/src/main/resources/templates/news/zhuanti/zhuanti.html
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-news/src/test/java/com/example/ruoyinews/RuoyiNewsApplicationTests.java b/ruoyi-news/src/test/java/com/example/ruoyinews/RuoyiNewsApplicationTests.java
new file mode 100644
index 000000000..8ddbde220
--- /dev/null
+++ b/ruoyi-news/src/test/java/com/example/ruoyinews/RuoyiNewsApplicationTests.java
@@ -0,0 +1,13 @@
+package com.example.ruoyinews;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class RuoyiNewsApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}