Administrator 1 ano atrás
pai
commit
092345ff82
24 arquivos alterados com 2329 adições e 0 exclusões
  1. 104 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/material/BomanMaterialController.java
  2. 104 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/news/BomanMaterialController.java
  3. 104 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/reservat/config/BomanReservatConfigController.java
  4. 104 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/reservat/config/BomanReservatConfigTimeController.java
  5. 98 0
      ruoyi-system/src/main/java/com/ruoyi/system/domain/BomanMaterial.java
  6. 282 0
      ruoyi-system/src/main/java/com/ruoyi/system/domain/BomanNews.java
  7. 84 0
      ruoyi-system/src/main/java/com/ruoyi/system/domain/BomanReservatConfig.java
  8. 144 0
      ruoyi-system/src/main/java/com/ruoyi/system/domain/BomanReservatConfigTime.java
  9. 61 0
      ruoyi-system/src/main/java/com/ruoyi/system/mapper/BomanMaterialMapper.java
  10. 61 0
      ruoyi-system/src/main/java/com/ruoyi/system/mapper/BomanNewsMapper.java
  11. 61 0
      ruoyi-system/src/main/java/com/ruoyi/system/mapper/BomanReservatConfigMapper.java
  12. 61 0
      ruoyi-system/src/main/java/com/ruoyi/system/mapper/BomanReservatConfigTimeMapper.java
  13. 61 0
      ruoyi-system/src/main/java/com/ruoyi/system/service/IBomanMaterialService.java
  14. 61 0
      ruoyi-system/src/main/java/com/ruoyi/system/service/IBomanNewsService.java
  15. 61 0
      ruoyi-system/src/main/java/com/ruoyi/system/service/IBomanReservatConfigService.java
  16. 61 0
      ruoyi-system/src/main/java/com/ruoyi/system/service/IBomanReservatConfigTimeService.java
  17. 96 0
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BomanMaterialServiceImpl.java
  18. 96 0
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BomanNewsServiceImpl.java
  19. 96 0
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BomanReservatConfigServiceImpl.java
  20. 96 0
      ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BomanReservatConfigTimeServiceImpl.java
  21. 85 0
      ruoyi-system/src/main/resources/mapper/system/BomanMaterialMapper.xml
  22. 152 0
      ruoyi-system/src/main/resources/mapper/system/BomanNewsMapper.xml
  23. 88 0
      ruoyi-system/src/main/resources/mapper/system/BomanReservatConfigMapper.xml
  24. 108 0
      ruoyi-system/src/main/resources/mapper/system/BomanReservatConfigTimeMapper.xml

+ 104 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/material/BomanMaterialController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.web.controller.material;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.BomanMaterial;
+import com.ruoyi.system.service.IBomanMaterialService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 素材库Controller
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+@RestController
+@RequestMapping("/system/material")
+public class BomanMaterialController extends BaseController
+{
+    @Autowired
+    private IBomanMaterialService bomanMaterialService;
+
+    /**
+     * 查询素材库列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(BomanMaterial bomanMaterial)
+    {
+        startPage();
+        List<BomanMaterial> list = bomanMaterialService.selectBomanMaterialList(bomanMaterial);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出素材库列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:export')")
+    @Log(title = "素材库", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, BomanMaterial bomanMaterial)
+    {
+        List<BomanMaterial> list = bomanMaterialService.selectBomanMaterialList(bomanMaterial);
+        ExcelUtil<BomanMaterial> util = new ExcelUtil<BomanMaterial>(BomanMaterial.class);
+        util.exportExcel(response, list, "素材库数据");
+    }
+
+    /**
+     * 获取素材库详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:query')")
+    @GetMapping(value = "/{materialId}")
+    public AjaxResult getInfo(@PathVariable("materialId") Long materialId)
+    {
+        return success(bomanMaterialService.selectBomanMaterialByMaterialId(materialId));
+    }
+
+    /**
+     * 新增素材库
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:add')")
+    @Log(title = "素材库", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody BomanMaterial bomanMaterial)
+    {
+        return toAjax(bomanMaterialService.insertBomanMaterial(bomanMaterial));
+    }
+
+    /**
+     * 修改素材库
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:edit')")
+    @Log(title = "素材库", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody BomanMaterial bomanMaterial)
+    {
+        return toAjax(bomanMaterialService.updateBomanMaterial(bomanMaterial));
+    }
+
+    /**
+     * 删除素材库
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:remove')")
+    @Log(title = "素材库", businessType = BusinessType.DELETE)
+	@GetMapping("/delete/{materialIds}")
+    public AjaxResult remove(@PathVariable Long[] materialIds)
+    {
+        return toAjax(bomanMaterialService.deleteBomanMaterialByMaterialIds(materialIds));
+    }
+}

+ 104 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/news/BomanMaterialController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.web.controller.news;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.BomanMaterial;
+import com.ruoyi.system.service.IBomanMaterialService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 素材库Controller
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+@RestController
+@RequestMapping("/system/material")
+public class BomanMaterialController extends BaseController
+{
+    @Autowired
+    private IBomanMaterialService bomanMaterialService;
+
+    /**
+     * 查询素材库列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(BomanMaterial bomanMaterial)
+    {
+        startPage();
+        List<BomanMaterial> list = bomanMaterialService.selectBomanMaterialList(bomanMaterial);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出素材库列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:export')")
+    @Log(title = "素材库", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, BomanMaterial bomanMaterial)
+    {
+        List<BomanMaterial> list = bomanMaterialService.selectBomanMaterialList(bomanMaterial);
+        ExcelUtil<BomanMaterial> util = new ExcelUtil<BomanMaterial>(BomanMaterial.class);
+        util.exportExcel(response, list, "素材库数据");
+    }
+
+    /**
+     * 获取素材库详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:query')")
+    @GetMapping(value = "/{materialId}")
+    public AjaxResult getInfo(@PathVariable("materialId") Long materialId)
+    {
+        return success(bomanMaterialService.selectBomanMaterialByMaterialId(materialId));
+    }
+
+    /**
+     * 新增素材库
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:add')")
+    @Log(title = "素材库", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody BomanMaterial bomanMaterial)
+    {
+        return toAjax(bomanMaterialService.insertBomanMaterial(bomanMaterial));
+    }
+
+    /**
+     * 修改素材库
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:edit')")
+    @Log(title = "素材库", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody BomanMaterial bomanMaterial)
+    {
+        return toAjax(bomanMaterialService.updateBomanMaterial(bomanMaterial));
+    }
+
+    /**
+     * 删除素材库
+     */
+    @PreAuthorize("@ss.hasPermi('system:material:remove')")
+    @Log(title = "素材库", businessType = BusinessType.DELETE)
+	@GetMapping("/delete/{materialIds}")
+    public AjaxResult remove(@PathVariable Long[] materialIds)
+    {
+        return toAjax(bomanMaterialService.deleteBomanMaterialByMaterialIds(materialIds));
+    }
+}

+ 104 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/reservat/config/BomanReservatConfigController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.web.controller.reservat.config;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.BomanReservatConfig;
+import com.ruoyi.system.service.IBomanReservatConfigService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 预约配置主Controller
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+@RestController
+@RequestMapping("/reservat/config")
+public class BomanReservatConfigController extends BaseController
+{
+    @Autowired
+    private IBomanReservatConfigService bomanReservatConfigService;
+
+    /**
+     * 查询预约配置主列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:config:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(BomanReservatConfig bomanReservatConfig)
+    {
+        startPage();
+        List<BomanReservatConfig> list = bomanReservatConfigService.selectBomanReservatConfigList(bomanReservatConfig);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出预约配置主列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:config:export')")
+    @Log(title = "预约配置主", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, BomanReservatConfig bomanReservatConfig)
+    {
+        List<BomanReservatConfig> list = bomanReservatConfigService.selectBomanReservatConfigList(bomanReservatConfig);
+        ExcelUtil<BomanReservatConfig> util = new ExcelUtil<BomanReservatConfig>(BomanReservatConfig.class);
+        util.exportExcel(response, list, "预约配置主数据");
+    }
+
+    /**
+     * 获取预约配置主详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:config:query')")
+    @GetMapping(value = "/{reservatConfigId}")
+    public AjaxResult getInfo(@PathVariable("reservatConfigId") Long reservatConfigId)
+    {
+        return success(bomanReservatConfigService.selectBomanReservatConfigByReservatConfigId(reservatConfigId));
+    }
+
+    /**
+     * 新增预约配置主
+     */
+    @PreAuthorize("@ss.hasPermi('system:config:add')")
+    @Log(title = "预约配置主", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody BomanReservatConfig bomanReservatConfig)
+    {
+        return toAjax(bomanReservatConfigService.insertBomanReservatConfig(bomanReservatConfig));
+    }
+
+    /**
+     * 修改预约配置主
+     */
+    @PreAuthorize("@ss.hasPermi('system:config:edit')")
+    @Log(title = "预约配置主", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody BomanReservatConfig bomanReservatConfig)
+    {
+        return toAjax(bomanReservatConfigService.updateBomanReservatConfig(bomanReservatConfig));
+    }
+
+    /**
+     * 删除预约配置主
+     */
+    @PreAuthorize("@ss.hasPermi('system:config:remove')")
+    @Log(title = "预约配置主", businessType = BusinessType.DELETE)
+	@GetMapping("/delete/{reservatConfigIds}")
+    public AjaxResult remove(@PathVariable Long[] reservatConfigIds)
+    {
+        return toAjax(bomanReservatConfigService.deleteBomanReservatConfigByReservatConfigIds(reservatConfigIds));
+    }
+}

+ 104 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/reservat/config/BomanReservatConfigTimeController.java

@@ -0,0 +1,104 @@
+package com.ruoyi.web.controller.reservat.config;
+
+import java.util.List;
+import javax.servlet.http.HttpServletResponse;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.system.domain.BomanReservatConfigTime;
+import com.ruoyi.system.service.IBomanReservatConfigTimeService;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 预约时段配置Controller
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+@RestController
+@RequestMapping("/reservat/time")
+public class BomanReservatConfigTimeController extends BaseController
+{
+    @Autowired
+    private IBomanReservatConfigTimeService bomanReservatConfigTimeService;
+
+    /**
+     * 查询预约时段配置列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:time:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(BomanReservatConfigTime bomanReservatConfigTime)
+    {
+        startPage();
+        List<BomanReservatConfigTime> list = bomanReservatConfigTimeService.selectBomanReservatConfigTimeList(bomanReservatConfigTime);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出预约时段配置列表
+     */
+    @PreAuthorize("@ss.hasPermi('system:time:export')")
+    @Log(title = "预约时段配置", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    public void export(HttpServletResponse response, BomanReservatConfigTime bomanReservatConfigTime)
+    {
+        List<BomanReservatConfigTime> list = bomanReservatConfigTimeService.selectBomanReservatConfigTimeList(bomanReservatConfigTime);
+        ExcelUtil<BomanReservatConfigTime> util = new ExcelUtil<BomanReservatConfigTime>(BomanReservatConfigTime.class);
+        util.exportExcel(response, list, "预约时段配置数据");
+    }
+
+    /**
+     * 获取预约时段配置详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('system:time:query')")
+    @GetMapping(value = "/{reservatConfigTimeId}")
+    public AjaxResult getInfo(@PathVariable("reservatConfigTimeId") Long reservatConfigTimeId)
+    {
+        return success(bomanReservatConfigTimeService.selectBomanReservatConfigTimeByReservatConfigTimeId(reservatConfigTimeId));
+    }
+
+    /**
+     * 新增预约时段配置
+     */
+    @PreAuthorize("@ss.hasPermi('system:time:add')")
+    @Log(title = "预约时段配置", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody BomanReservatConfigTime bomanReservatConfigTime)
+    {
+        return toAjax(bomanReservatConfigTimeService.insertBomanReservatConfigTime(bomanReservatConfigTime));
+    }
+
+    /**
+     * 修改预约时段配置
+     */
+    @PreAuthorize("@ss.hasPermi('system:time:edit')")
+    @Log(title = "预约时段配置", businessType = BusinessType.UPDATE)
+    @PostMapping("/put")
+    public AjaxResult edit(@RequestBody BomanReservatConfigTime bomanReservatConfigTime)
+    {
+        return toAjax(bomanReservatConfigTimeService.updateBomanReservatConfigTime(bomanReservatConfigTime));
+    }
+
+    /**
+     * 删除预约时段配置
+     */
+    @PreAuthorize("@ss.hasPermi('system:time:remove')")
+    @Log(title = "预约时段配置", businessType = BusinessType.DELETE)
+	@GetMapping("/delete/{reservatConfigTimeIds}")
+    public AjaxResult remove(@PathVariable Long[] reservatConfigTimeIds)
+    {
+        return toAjax(bomanReservatConfigTimeService.deleteBomanReservatConfigTimeByReservatConfigTimeIds(reservatConfigTimeIds));
+    }
+}

+ 98 - 0
ruoyi-system/src/main/java/com/ruoyi/system/domain/BomanMaterial.java

@@ -0,0 +1,98 @@
+package com.ruoyi.system.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;
+
+/**
+ * 素材库对象 boman_material
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public class BomanMaterial extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 素材id */
+    private Long materialId;
+
+    /** 素材地址 */
+    @Excel(name = "素材地址")
+    private String materialUrl;
+
+    /** 素材名称 */
+    private String materialName;
+
+    /** 关键字 */
+    private String keywords;
+
+    /** 发布时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date releaseTime;
+
+    public void setMaterialId(Long materialId) 
+    {
+        this.materialId = materialId;
+    }
+
+    public Long getMaterialId() 
+    {
+        return materialId;
+    }
+    public void setMaterialUrl(String materialUrl) 
+    {
+        this.materialUrl = materialUrl;
+    }
+
+    public String getMaterialUrl() 
+    {
+        return materialUrl;
+    }
+    public void setMaterialName(String materialName) 
+    {
+        this.materialName = materialName;
+    }
+
+    public String getMaterialName() 
+    {
+        return materialName;
+    }
+    public void setKeywords(String keywords) 
+    {
+        this.keywords = keywords;
+    }
+
+    public String getKeywords() 
+    {
+        return keywords;
+    }
+    public void setReleaseTime(Date releaseTime) 
+    {
+        this.releaseTime = releaseTime;
+    }
+
+    public Date getReleaseTime() 
+    {
+        return releaseTime;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("materialId", getMaterialId())
+            .append("materialUrl", getMaterialUrl())
+            .append("materialName", getMaterialName())
+            .append("keywords", getKeywords())
+            .append("releaseTime", getReleaseTime())
+            .append("createTime", getCreateTime())
+            .append("createBy", getCreateBy())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .toString();
+    }
+}

+ 282 - 0
ruoyi-system/src/main/java/com/ruoyi/system/domain/BomanNews.java

@@ -0,0 +1,282 @@
+package com.ruoyi.system.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;
+
+/**
+ * boman_news对象 boman_news
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public class BomanNews extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 新闻编号 */
+    private Long newsId;
+
+    /** 所属专题 */
+    @Excel(name = "所属专题")
+    private Long topicId;
+
+    /** 文章标题 */
+    @Excel(name = "文章标题")
+    private String title;
+
+    /** 文章来源 */
+    @Excel(name = "文章来源")
+    private String source;
+
+    /** 文章原作者 */
+    @Excel(name = "文章原作者")
+    private String author;
+
+    /** 转载来源网址 */
+    @Excel(name = "转载来源网址")
+    private String fromUrl;
+
+    /** 封面图 */
+    @Excel(name = "封面图")
+    private String image;
+
+    /** 关键字 */
+    @Excel(name = "关键字")
+    private String keywords;
+
+    /** 简介 */
+    @Excel(name = "简介")
+    private String description;
+
+    /** 类型(1:普通,2:热门...) */
+    @Excel(name = "类型(1:普通,2:热门...)")
+    private Integer type;
+
+    /** 是否允许评论(0:不允许,1:允许) */
+    @Excel(name = "是否允许评论(0:不允许,1:允许)")
+    private String allowcomments;
+
+    /** 状态(-1:不通过,0未审核,1:通过) */
+    @Excel(name = "状态(-1:不通过,0未审核,1:通过)")
+    private String status;
+
+    /** 内容 */
+    @Excel(name = "内容")
+    private String content;
+
+    /** 发布人id */
+    @Excel(name = "发布人id")
+    private Integer userId;
+
+    /** 阅读数量 */
+    @Excel(name = "阅读数量")
+    private Integer readnumber;
+
+    /** 置顶等级 */
+    @Excel(name = "置顶等级")
+    private Long top;
+
+    /** 排序 */
+    @Excel(name = "排序")
+    private Long orders;
+
+    /** 发布时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date releaseTime;
+
+    public void setNewsId(Long newsId) 
+    {
+        this.newsId = newsId;
+    }
+
+    public Long getNewsId() 
+    {
+        return newsId;
+    }
+    public void setTopicId(Long topicId) 
+    {
+        this.topicId = topicId;
+    }
+
+    public Long getTopicId() 
+    {
+        return topicId;
+    }
+    public void setTitle(String title) 
+    {
+        this.title = title;
+    }
+
+    public String getTitle() 
+    {
+        return title;
+    }
+    public void setSource(String source) 
+    {
+        this.source = source;
+    }
+
+    public String getSource() 
+    {
+        return source;
+    }
+    public void setAuthor(String author) 
+    {
+        this.author = author;
+    }
+
+    public String getAuthor() 
+    {
+        return author;
+    }
+    public void setFromUrl(String fromUrl) 
+    {
+        this.fromUrl = fromUrl;
+    }
+
+    public String getFromUrl() 
+    {
+        return fromUrl;
+    }
+    public void setImage(String image) 
+    {
+        this.image = image;
+    }
+
+    public String getImage() 
+    {
+        return image;
+    }
+    public void setKeywords(String keywords) 
+    {
+        this.keywords = keywords;
+    }
+
+    public String getKeywords() 
+    {
+        return keywords;
+    }
+    public void setDescription(String description) 
+    {
+        this.description = description;
+    }
+
+    public String getDescription() 
+    {
+        return description;
+    }
+    public void setType(Integer type) 
+    {
+        this.type = type;
+    }
+
+    public Integer getType() 
+    {
+        return type;
+    }
+    public void setAllowcomments(String allowcomments) 
+    {
+        this.allowcomments = allowcomments;
+    }
+
+    public String getAllowcomments() 
+    {
+        return allowcomments;
+    }
+    public void setStatus(String status) 
+    {
+        this.status = status;
+    }
+
+    public String getStatus() 
+    {
+        return status;
+    }
+    public void setContent(String content) 
+    {
+        this.content = content;
+    }
+
+    public String getContent() 
+    {
+        return content;
+    }
+    public void setUserId(Integer userId) 
+    {
+        this.userId = userId;
+    }
+
+    public Integer getUserId() 
+    {
+        return userId;
+    }
+    public void setReadnumber(Integer readnumber) 
+    {
+        this.readnumber = readnumber;
+    }
+
+    public Integer getReadnumber() 
+    {
+        return readnumber;
+    }
+    public void setTop(Long top) 
+    {
+        this.top = top;
+    }
+
+    public Long getTop() 
+    {
+        return top;
+    }
+    public void setOrders(Long orders) 
+    {
+        this.orders = orders;
+    }
+
+    public Long getOrders() 
+    {
+        return orders;
+    }
+    public void setReleaseTime(Date releaseTime) 
+    {
+        this.releaseTime = releaseTime;
+    }
+
+    public Date getReleaseTime() 
+    {
+        return releaseTime;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("newsId", getNewsId())
+            .append("topicId", getTopicId())
+            .append("title", getTitle())
+            .append("source", getSource())
+            .append("author", getAuthor())
+            .append("fromUrl", getFromUrl())
+            .append("image", getImage())
+            .append("keywords", getKeywords())
+            .append("description", getDescription())
+            .append("type", getType())
+            .append("allowcomments", getAllowcomments())
+            .append("status", getStatus())
+            .append("content", getContent())
+            .append("userId", getUserId())
+            .append("readnumber", getReadnumber())
+            .append("top", getTop())
+            .append("orders", getOrders())
+            .append("releaseTime", getReleaseTime())
+            .append("createTime", getCreateTime())
+            .append("createBy", getCreateBy())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .toString();
+    }
+}

+ 84 - 0
ruoyi-system/src/main/java/com/ruoyi/system/domain/BomanReservatConfig.java

@@ -0,0 +1,84 @@
+package com.ruoyi.system.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;
+
+/**
+ * 预约配置主对象 boman_reservat_config
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public class BomanReservatConfig extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 预约配置ID */
+    private Long reservatConfigId;
+
+    /** 周末是否可预约 N:可预约  Y:不可约 */
+    @Excel(name = "周末是否可预约 N:可预约  Y:不可约")
+    private String reservatConfigWeek;
+
+    /** 节假日是否可预约 N:可预约  Y:不可约 */
+    @Excel(name = "节假日是否可预约 N:可预约  Y:不可约")
+    private String reservatConfigHoliday;
+
+    /** 创建部门 */
+    @Excel(name = "创建部门")
+    private Long createDept;
+
+    public void setReservatConfigId(Long reservatConfigId) 
+    {
+        this.reservatConfigId = reservatConfigId;
+    }
+
+    public Long getReservatConfigId() 
+    {
+        return reservatConfigId;
+    }
+    public void setReservatConfigWeek(String reservatConfigWeek) 
+    {
+        this.reservatConfigWeek = reservatConfigWeek;
+    }
+
+    public String getReservatConfigWeek() 
+    {
+        return reservatConfigWeek;
+    }
+    public void setReservatConfigHoliday(String reservatConfigHoliday) 
+    {
+        this.reservatConfigHoliday = reservatConfigHoliday;
+    }
+
+    public String getReservatConfigHoliday() 
+    {
+        return reservatConfigHoliday;
+    }
+    public void setCreateDept(Long createDept) 
+    {
+        this.createDept = createDept;
+    }
+
+    public Long getCreateDept() 
+    {
+        return createDept;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("reservatConfigId", getReservatConfigId())
+            .append("reservatConfigWeek", getReservatConfigWeek())
+            .append("reservatConfigHoliday", getReservatConfigHoliday())
+            .append("createDept", getCreateDept())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("remark", getRemark())
+            .toString();
+    }
+}

+ 144 - 0
ruoyi-system/src/main/java/com/ruoyi/system/domain/BomanReservatConfigTime.java

@@ -0,0 +1,144 @@
+package com.ruoyi.system.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;
+
+/**
+ * 预约时段配置对象 boman_reservat_config_time
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public class BomanReservatConfigTime extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 预约时段配置ID */
+    private Long reservatConfigTimeId;
+
+    /** 可预约日期 */
+    @Excel(name = "可预约日期")
+    private String reservatConfigDate;
+
+    /** 可预约时间开始 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "可预约时间开始", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date reservatConfigTimeBegin;
+
+    /** 可预约时间结束 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "可预约时间结束", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date reservatConfigTimeEnd;
+
+    /** 可预约次数 */
+    @Excel(name = "可预约次数")
+    private Long reservatConfigNum;
+
+    /** 1: AM 2: PM */
+    @Excel(name = "1: AM 2: PM")
+    private String reservatConfigType;
+
+    /** 当前时段是否可预约 N:可预约  Y:不可约 */
+    @Excel(name = "当前时段是否可预约 N:可预约  Y:不可约")
+    private String reservatConfigStatus;
+
+    /** 创建部门 */
+    @Excel(name = "创建部门")
+    private Long createDept;
+
+    public void setReservatConfigTimeId(Long reservatConfigTimeId) 
+    {
+        this.reservatConfigTimeId = reservatConfigTimeId;
+    }
+
+    public Long getReservatConfigTimeId() 
+    {
+        return reservatConfigTimeId;
+    }
+    public void setReservatConfigDate(String reservatConfigDate) 
+    {
+        this.reservatConfigDate = reservatConfigDate;
+    }
+
+    public String getReservatConfigDate() 
+    {
+        return reservatConfigDate;
+    }
+    public void setReservatConfigTimeBegin(Date reservatConfigTimeBegin) 
+    {
+        this.reservatConfigTimeBegin = reservatConfigTimeBegin;
+    }
+
+    public Date getReservatConfigTimeBegin() 
+    {
+        return reservatConfigTimeBegin;
+    }
+    public void setReservatConfigTimeEnd(Date reservatConfigTimeEnd) 
+    {
+        this.reservatConfigTimeEnd = reservatConfigTimeEnd;
+    }
+
+    public Date getReservatConfigTimeEnd() 
+    {
+        return reservatConfigTimeEnd;
+    }
+    public void setReservatConfigNum(Long reservatConfigNum) 
+    {
+        this.reservatConfigNum = reservatConfigNum;
+    }
+
+    public Long getReservatConfigNum() 
+    {
+        return reservatConfigNum;
+    }
+    public void setReservatConfigType(String reservatConfigType) 
+    {
+        this.reservatConfigType = reservatConfigType;
+    }
+
+    public String getReservatConfigType() 
+    {
+        return reservatConfigType;
+    }
+    public void setReservatConfigStatus(String reservatConfigStatus) 
+    {
+        this.reservatConfigStatus = reservatConfigStatus;
+    }
+
+    public String getReservatConfigStatus() 
+    {
+        return reservatConfigStatus;
+    }
+    public void setCreateDept(Long createDept) 
+    {
+        this.createDept = createDept;
+    }
+
+    public Long getCreateDept() 
+    {
+        return createDept;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("reservatConfigTimeId", getReservatConfigTimeId())
+            .append("reservatConfigDate", getReservatConfigDate())
+            .append("reservatConfigTimeBegin", getReservatConfigTimeBegin())
+            .append("reservatConfigTimeEnd", getReservatConfigTimeEnd())
+            .append("reservatConfigNum", getReservatConfigNum())
+            .append("reservatConfigType", getReservatConfigType())
+            .append("reservatConfigStatus", getReservatConfigStatus())
+            .append("createDept", getCreateDept())
+            .append("createBy", getCreateBy())
+            .append("createTime", getCreateTime())
+            .append("updateBy", getUpdateBy())
+            .append("updateTime", getUpdateTime())
+            .append("remark", getRemark())
+            .toString();
+    }
+}

+ 61 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/BomanMaterialMapper.java

@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.BomanMaterial;
+
+/**
+ * 素材库Mapper接口
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public interface BomanMaterialMapper 
+{
+    /**
+     * 查询素材库
+     * 
+     * @param materialId 素材库主键
+     * @return 素材库
+     */
+    public BomanMaterial selectBomanMaterialByMaterialId(Long materialId);
+
+    /**
+     * 查询素材库列表
+     * 
+     * @param bomanMaterial 素材库
+     * @return 素材库集合
+     */
+    public List<BomanMaterial> selectBomanMaterialList(BomanMaterial bomanMaterial);
+
+    /**
+     * 新增素材库
+     * 
+     * @param bomanMaterial 素材库
+     * @return 结果
+     */
+    public int insertBomanMaterial(BomanMaterial bomanMaterial);
+
+    /**
+     * 修改素材库
+     * 
+     * @param bomanMaterial 素材库
+     * @return 结果
+     */
+    public int updateBomanMaterial(BomanMaterial bomanMaterial);
+
+    /**
+     * 删除素材库
+     * 
+     * @param materialId 素材库主键
+     * @return 结果
+     */
+    public int deleteBomanMaterialByMaterialId(Long materialId);
+
+    /**
+     * 批量删除素材库
+     * 
+     * @param materialIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteBomanMaterialByMaterialIds(Long[] materialIds);
+}

+ 61 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/BomanNewsMapper.java

@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.BomanNews;
+
+/**
+ * boman_newsMapper接口
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public interface BomanNewsMapper 
+{
+    /**
+     * 查询boman_news
+     * 
+     * @param newsId boman_news主键
+     * @return boman_news
+     */
+    public BomanNews selectBomanNewsByNewsId(Long newsId);
+
+    /**
+     * 查询boman_news列表
+     * 
+     * @param bomanNews boman_news
+     * @return boman_news集合
+     */
+    public List<BomanNews> selectBomanNewsList(BomanNews bomanNews);
+
+    /**
+     * 新增boman_news
+     * 
+     * @param bomanNews boman_news
+     * @return 结果
+     */
+    public int insertBomanNews(BomanNews bomanNews);
+
+    /**
+     * 修改boman_news
+     * 
+     * @param bomanNews boman_news
+     * @return 结果
+     */
+    public int updateBomanNews(BomanNews bomanNews);
+
+    /**
+     * 删除boman_news
+     * 
+     * @param newsId boman_news主键
+     * @return 结果
+     */
+    public int deleteBomanNewsByNewsId(Long newsId);
+
+    /**
+     * 批量删除boman_news
+     * 
+     * @param newsIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteBomanNewsByNewsIds(Long[] newsIds);
+}

+ 61 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/BomanReservatConfigMapper.java

@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.BomanReservatConfig;
+
+/**
+ * 预约配置主Mapper接口
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public interface BomanReservatConfigMapper 
+{
+    /**
+     * 查询预约配置主
+     * 
+     * @param reservatConfigId 预约配置主主键
+     * @return 预约配置主
+     */
+    public BomanReservatConfig selectBomanReservatConfigByReservatConfigId(Long reservatConfigId);
+
+    /**
+     * 查询预约配置主列表
+     * 
+     * @param bomanReservatConfig 预约配置主
+     * @return 预约配置主集合
+     */
+    public List<BomanReservatConfig> selectBomanReservatConfigList(BomanReservatConfig bomanReservatConfig);
+
+    /**
+     * 新增预约配置主
+     * 
+     * @param bomanReservatConfig 预约配置主
+     * @return 结果
+     */
+    public int insertBomanReservatConfig(BomanReservatConfig bomanReservatConfig);
+
+    /**
+     * 修改预约配置主
+     * 
+     * @param bomanReservatConfig 预约配置主
+     * @return 结果
+     */
+    public int updateBomanReservatConfig(BomanReservatConfig bomanReservatConfig);
+
+    /**
+     * 删除预约配置主
+     * 
+     * @param reservatConfigId 预约配置主主键
+     * @return 结果
+     */
+    public int deleteBomanReservatConfigByReservatConfigId(Long reservatConfigId);
+
+    /**
+     * 批量删除预约配置主
+     * 
+     * @param reservatConfigIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteBomanReservatConfigByReservatConfigIds(Long[] reservatConfigIds);
+}

+ 61 - 0
ruoyi-system/src/main/java/com/ruoyi/system/mapper/BomanReservatConfigTimeMapper.java

@@ -0,0 +1,61 @@
+package com.ruoyi.system.mapper;
+
+import java.util.List;
+import com.ruoyi.system.domain.BomanReservatConfigTime;
+
+/**
+ * 预约时段配置Mapper接口
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public interface BomanReservatConfigTimeMapper 
+{
+    /**
+     * 查询预约时段配置
+     * 
+     * @param reservatConfigTimeId 预约时段配置主键
+     * @return 预约时段配置
+     */
+    public BomanReservatConfigTime selectBomanReservatConfigTimeByReservatConfigTimeId(Long reservatConfigTimeId);
+
+    /**
+     * 查询预约时段配置列表
+     * 
+     * @param bomanReservatConfigTime 预约时段配置
+     * @return 预约时段配置集合
+     */
+    public List<BomanReservatConfigTime> selectBomanReservatConfigTimeList(BomanReservatConfigTime bomanReservatConfigTime);
+
+    /**
+     * 新增预约时段配置
+     * 
+     * @param bomanReservatConfigTime 预约时段配置
+     * @return 结果
+     */
+    public int insertBomanReservatConfigTime(BomanReservatConfigTime bomanReservatConfigTime);
+
+    /**
+     * 修改预约时段配置
+     * 
+     * @param bomanReservatConfigTime 预约时段配置
+     * @return 结果
+     */
+    public int updateBomanReservatConfigTime(BomanReservatConfigTime bomanReservatConfigTime);
+
+    /**
+     * 删除预约时段配置
+     * 
+     * @param reservatConfigTimeId 预约时段配置主键
+     * @return 结果
+     */
+    public int deleteBomanReservatConfigTimeByReservatConfigTimeId(Long reservatConfigTimeId);
+
+    /**
+     * 批量删除预约时段配置
+     * 
+     * @param reservatConfigTimeIds 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteBomanReservatConfigTimeByReservatConfigTimeIds(Long[] reservatConfigTimeIds);
+}

+ 61 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/IBomanMaterialService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.BomanMaterial;
+
+/**
+ * 素材库Service接口
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public interface IBomanMaterialService 
+{
+    /**
+     * 查询素材库
+     * 
+     * @param materialId 素材库主键
+     * @return 素材库
+     */
+    public BomanMaterial selectBomanMaterialByMaterialId(Long materialId);
+
+    /**
+     * 查询素材库列表
+     * 
+     * @param bomanMaterial 素材库
+     * @return 素材库集合
+     */
+    public List<BomanMaterial> selectBomanMaterialList(BomanMaterial bomanMaterial);
+
+    /**
+     * 新增素材库
+     * 
+     * @param bomanMaterial 素材库
+     * @return 结果
+     */
+    public int insertBomanMaterial(BomanMaterial bomanMaterial);
+
+    /**
+     * 修改素材库
+     * 
+     * @param bomanMaterial 素材库
+     * @return 结果
+     */
+    public int updateBomanMaterial(BomanMaterial bomanMaterial);
+
+    /**
+     * 批量删除素材库
+     * 
+     * @param materialIds 需要删除的素材库主键集合
+     * @return 结果
+     */
+    public int deleteBomanMaterialByMaterialIds(Long[] materialIds);
+
+    /**
+     * 删除素材库信息
+     * 
+     * @param materialId 素材库主键
+     * @return 结果
+     */
+    public int deleteBomanMaterialByMaterialId(Long materialId);
+}

+ 61 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/IBomanNewsService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.BomanNews;
+
+/**
+ * boman_newsService接口
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public interface IBomanNewsService 
+{
+    /**
+     * 查询boman_news
+     * 
+     * @param newsId boman_news主键
+     * @return boman_news
+     */
+    public BomanNews selectBomanNewsByNewsId(Long newsId);
+
+    /**
+     * 查询boman_news列表
+     * 
+     * @param bomanNews boman_news
+     * @return boman_news集合
+     */
+    public List<BomanNews> selectBomanNewsList(BomanNews bomanNews);
+
+    /**
+     * 新增boman_news
+     * 
+     * @param bomanNews boman_news
+     * @return 结果
+     */
+    public int insertBomanNews(BomanNews bomanNews);
+
+    /**
+     * 修改boman_news
+     * 
+     * @param bomanNews boman_news
+     * @return 结果
+     */
+    public int updateBomanNews(BomanNews bomanNews);
+
+    /**
+     * 批量删除boman_news
+     * 
+     * @param newsIds 需要删除的boman_news主键集合
+     * @return 结果
+     */
+    public int deleteBomanNewsByNewsIds(Long[] newsIds);
+
+    /**
+     * 删除boman_news信息
+     * 
+     * @param newsId boman_news主键
+     * @return 结果
+     */
+    public int deleteBomanNewsByNewsId(Long newsId);
+}

+ 61 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/IBomanReservatConfigService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.BomanReservatConfig;
+
+/**
+ * 预约配置主Service接口
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public interface IBomanReservatConfigService 
+{
+    /**
+     * 查询预约配置主
+     * 
+     * @param reservatConfigId 预约配置主主键
+     * @return 预约配置主
+     */
+    public BomanReservatConfig selectBomanReservatConfigByReservatConfigId(Long reservatConfigId);
+
+    /**
+     * 查询预约配置主列表
+     * 
+     * @param bomanReservatConfig 预约配置主
+     * @return 预约配置主集合
+     */
+    public List<BomanReservatConfig> selectBomanReservatConfigList(BomanReservatConfig bomanReservatConfig);
+
+    /**
+     * 新增预约配置主
+     * 
+     * @param bomanReservatConfig 预约配置主
+     * @return 结果
+     */
+    public int insertBomanReservatConfig(BomanReservatConfig bomanReservatConfig);
+
+    /**
+     * 修改预约配置主
+     * 
+     * @param bomanReservatConfig 预约配置主
+     * @return 结果
+     */
+    public int updateBomanReservatConfig(BomanReservatConfig bomanReservatConfig);
+
+    /**
+     * 批量删除预约配置主
+     * 
+     * @param reservatConfigIds 需要删除的预约配置主主键集合
+     * @return 结果
+     */
+    public int deleteBomanReservatConfigByReservatConfigIds(Long[] reservatConfigIds);
+
+    /**
+     * 删除预约配置主信息
+     * 
+     * @param reservatConfigId 预约配置主主键
+     * @return 结果
+     */
+    public int deleteBomanReservatConfigByReservatConfigId(Long reservatConfigId);
+}

+ 61 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/IBomanReservatConfigTimeService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.system.service;
+
+import java.util.List;
+import com.ruoyi.system.domain.BomanReservatConfigTime;
+
+/**
+ * 预约时段配置Service接口
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+public interface IBomanReservatConfigTimeService 
+{
+    /**
+     * 查询预约时段配置
+     * 
+     * @param reservatConfigTimeId 预约时段配置主键
+     * @return 预约时段配置
+     */
+    public BomanReservatConfigTime selectBomanReservatConfigTimeByReservatConfigTimeId(Long reservatConfigTimeId);
+
+    /**
+     * 查询预约时段配置列表
+     * 
+     * @param bomanReservatConfigTime 预约时段配置
+     * @return 预约时段配置集合
+     */
+    public List<BomanReservatConfigTime> selectBomanReservatConfigTimeList(BomanReservatConfigTime bomanReservatConfigTime);
+
+    /**
+     * 新增预约时段配置
+     * 
+     * @param bomanReservatConfigTime 预约时段配置
+     * @return 结果
+     */
+    public int insertBomanReservatConfigTime(BomanReservatConfigTime bomanReservatConfigTime);
+
+    /**
+     * 修改预约时段配置
+     * 
+     * @param bomanReservatConfigTime 预约时段配置
+     * @return 结果
+     */
+    public int updateBomanReservatConfigTime(BomanReservatConfigTime bomanReservatConfigTime);
+
+    /**
+     * 批量删除预约时段配置
+     * 
+     * @param reservatConfigTimeIds 需要删除的预约时段配置主键集合
+     * @return 结果
+     */
+    public int deleteBomanReservatConfigTimeByReservatConfigTimeIds(Long[] reservatConfigTimeIds);
+
+    /**
+     * 删除预约时段配置信息
+     * 
+     * @param reservatConfigTimeId 预约时段配置主键
+     * @return 结果
+     */
+    public int deleteBomanReservatConfigTimeByReservatConfigTimeId(Long reservatConfigTimeId);
+}

+ 96 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BomanMaterialServiceImpl.java

@@ -0,0 +1,96 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.BomanMaterialMapper;
+import com.ruoyi.system.domain.BomanMaterial;
+import com.ruoyi.system.service.IBomanMaterialService;
+
+/**
+ * 素材库Service业务层处理
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+@Service
+public class BomanMaterialServiceImpl implements IBomanMaterialService 
+{
+    @Autowired
+    private BomanMaterialMapper bomanMaterialMapper;
+
+    /**
+     * 查询素材库
+     * 
+     * @param materialId 素材库主键
+     * @return 素材库
+     */
+    @Override
+    public BomanMaterial selectBomanMaterialByMaterialId(Long materialId)
+    {
+        return bomanMaterialMapper.selectBomanMaterialByMaterialId(materialId);
+    }
+
+    /**
+     * 查询素材库列表
+     * 
+     * @param bomanMaterial 素材库
+     * @return 素材库
+     */
+    @Override
+    public List<BomanMaterial> selectBomanMaterialList(BomanMaterial bomanMaterial)
+    {
+        return bomanMaterialMapper.selectBomanMaterialList(bomanMaterial);
+    }
+
+    /**
+     * 新增素材库
+     * 
+     * @param bomanMaterial 素材库
+     * @return 结果
+     */
+    @Override
+    public int insertBomanMaterial(BomanMaterial bomanMaterial)
+    {
+        bomanMaterial.setCreateTime(DateUtils.getNowDate());
+        return bomanMaterialMapper.insertBomanMaterial(bomanMaterial);
+    }
+
+    /**
+     * 修改素材库
+     * 
+     * @param bomanMaterial 素材库
+     * @return 结果
+     */
+    @Override
+    public int updateBomanMaterial(BomanMaterial bomanMaterial)
+    {
+        bomanMaterial.setUpdateTime(DateUtils.getNowDate());
+        return bomanMaterialMapper.updateBomanMaterial(bomanMaterial);
+    }
+
+    /**
+     * 批量删除素材库
+     * 
+     * @param materialIds 需要删除的素材库主键
+     * @return 结果
+     */
+    @Override
+    public int deleteBomanMaterialByMaterialIds(Long[] materialIds)
+    {
+        return bomanMaterialMapper.deleteBomanMaterialByMaterialIds(materialIds);
+    }
+
+    /**
+     * 删除素材库信息
+     * 
+     * @param materialId 素材库主键
+     * @return 结果
+     */
+    @Override
+    public int deleteBomanMaterialByMaterialId(Long materialId)
+    {
+        return bomanMaterialMapper.deleteBomanMaterialByMaterialId(materialId);
+    }
+}

+ 96 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BomanNewsServiceImpl.java

@@ -0,0 +1,96 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.BomanNewsMapper;
+import com.ruoyi.system.domain.BomanNews;
+import com.ruoyi.system.service.IBomanNewsService;
+
+/**
+ * boman_newsService业务层处理
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+@Service
+public class BomanNewsServiceImpl implements IBomanNewsService 
+{
+    @Autowired
+    private BomanNewsMapper bomanNewsMapper;
+
+    /**
+     * 查询boman_news
+     * 
+     * @param newsId boman_news主键
+     * @return boman_news
+     */
+    @Override
+    public BomanNews selectBomanNewsByNewsId(Long newsId)
+    {
+        return bomanNewsMapper.selectBomanNewsByNewsId(newsId);
+    }
+
+    /**
+     * 查询boman_news列表
+     * 
+     * @param bomanNews boman_news
+     * @return boman_news
+     */
+    @Override
+    public List<BomanNews> selectBomanNewsList(BomanNews bomanNews)
+    {
+        return bomanNewsMapper.selectBomanNewsList(bomanNews);
+    }
+
+    /**
+     * 新增boman_news
+     * 
+     * @param bomanNews boman_news
+     * @return 结果
+     */
+    @Override
+    public int insertBomanNews(BomanNews bomanNews)
+    {
+        bomanNews.setCreateTime(DateUtils.getNowDate());
+        return bomanNewsMapper.insertBomanNews(bomanNews);
+    }
+
+    /**
+     * 修改boman_news
+     * 
+     * @param bomanNews boman_news
+     * @return 结果
+     */
+    @Override
+    public int updateBomanNews(BomanNews bomanNews)
+    {
+        bomanNews.setUpdateTime(DateUtils.getNowDate());
+        return bomanNewsMapper.updateBomanNews(bomanNews);
+    }
+
+    /**
+     * 批量删除boman_news
+     * 
+     * @param newsIds 需要删除的boman_news主键
+     * @return 结果
+     */
+    @Override
+    public int deleteBomanNewsByNewsIds(Long[] newsIds)
+    {
+        return bomanNewsMapper.deleteBomanNewsByNewsIds(newsIds);
+    }
+
+    /**
+     * 删除boman_news信息
+     * 
+     * @param newsId boman_news主键
+     * @return 结果
+     */
+    @Override
+    public int deleteBomanNewsByNewsId(Long newsId)
+    {
+        return bomanNewsMapper.deleteBomanNewsByNewsId(newsId);
+    }
+}

+ 96 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BomanReservatConfigServiceImpl.java

@@ -0,0 +1,96 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.BomanReservatConfigMapper;
+import com.ruoyi.system.domain.BomanReservatConfig;
+import com.ruoyi.system.service.IBomanReservatConfigService;
+
+/**
+ * 预约配置主Service业务层处理
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+@Service
+public class BomanReservatConfigServiceImpl implements IBomanReservatConfigService 
+{
+    @Autowired
+    private BomanReservatConfigMapper bomanReservatConfigMapper;
+
+    /**
+     * 查询预约配置主
+     * 
+     * @param reservatConfigId 预约配置主主键
+     * @return 预约配置主
+     */
+    @Override
+    public BomanReservatConfig selectBomanReservatConfigByReservatConfigId(Long reservatConfigId)
+    {
+        return bomanReservatConfigMapper.selectBomanReservatConfigByReservatConfigId(reservatConfigId);
+    }
+
+    /**
+     * 查询预约配置主列表
+     * 
+     * @param bomanReservatConfig 预约配置主
+     * @return 预约配置主
+     */
+    @Override
+    public List<BomanReservatConfig> selectBomanReservatConfigList(BomanReservatConfig bomanReservatConfig)
+    {
+        return bomanReservatConfigMapper.selectBomanReservatConfigList(bomanReservatConfig);
+    }
+
+    /**
+     * 新增预约配置主
+     * 
+     * @param bomanReservatConfig 预约配置主
+     * @return 结果
+     */
+    @Override
+    public int insertBomanReservatConfig(BomanReservatConfig bomanReservatConfig)
+    {
+        bomanReservatConfig.setCreateTime(DateUtils.getNowDate());
+        return bomanReservatConfigMapper.insertBomanReservatConfig(bomanReservatConfig);
+    }
+
+    /**
+     * 修改预约配置主
+     * 
+     * @param bomanReservatConfig 预约配置主
+     * @return 结果
+     */
+    @Override
+    public int updateBomanReservatConfig(BomanReservatConfig bomanReservatConfig)
+    {
+        bomanReservatConfig.setUpdateTime(DateUtils.getNowDate());
+        return bomanReservatConfigMapper.updateBomanReservatConfig(bomanReservatConfig);
+    }
+
+    /**
+     * 批量删除预约配置主
+     * 
+     * @param reservatConfigIds 需要删除的预约配置主主键
+     * @return 结果
+     */
+    @Override
+    public int deleteBomanReservatConfigByReservatConfigIds(Long[] reservatConfigIds)
+    {
+        return bomanReservatConfigMapper.deleteBomanReservatConfigByReservatConfigIds(reservatConfigIds);
+    }
+
+    /**
+     * 删除预约配置主信息
+     * 
+     * @param reservatConfigId 预约配置主主键
+     * @return 结果
+     */
+    @Override
+    public int deleteBomanReservatConfigByReservatConfigId(Long reservatConfigId)
+    {
+        return bomanReservatConfigMapper.deleteBomanReservatConfigByReservatConfigId(reservatConfigId);
+    }
+}

+ 96 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BomanReservatConfigTimeServiceImpl.java

@@ -0,0 +1,96 @@
+package com.ruoyi.system.service.impl;
+
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.system.mapper.BomanReservatConfigTimeMapper;
+import com.ruoyi.system.domain.BomanReservatConfigTime;
+import com.ruoyi.system.service.IBomanReservatConfigTimeService;
+
+/**
+ * 预约时段配置Service业务层处理
+ * 
+ * @author boman
+ * @date 2023-11-02
+ */
+@Service
+public class BomanReservatConfigTimeServiceImpl implements IBomanReservatConfigTimeService 
+{
+    @Autowired
+    private BomanReservatConfigTimeMapper bomanReservatConfigTimeMapper;
+
+    /**
+     * 查询预约时段配置
+     * 
+     * @param reservatConfigTimeId 预约时段配置主键
+     * @return 预约时段配置
+     */
+    @Override
+    public BomanReservatConfigTime selectBomanReservatConfigTimeByReservatConfigTimeId(Long reservatConfigTimeId)
+    {
+        return bomanReservatConfigTimeMapper.selectBomanReservatConfigTimeByReservatConfigTimeId(reservatConfigTimeId);
+    }
+
+    /**
+     * 查询预约时段配置列表
+     * 
+     * @param bomanReservatConfigTime 预约时段配置
+     * @return 预约时段配置
+     */
+    @Override
+    public List<BomanReservatConfigTime> selectBomanReservatConfigTimeList(BomanReservatConfigTime bomanReservatConfigTime)
+    {
+        return bomanReservatConfigTimeMapper.selectBomanReservatConfigTimeList(bomanReservatConfigTime);
+    }
+
+    /**
+     * 新增预约时段配置
+     * 
+     * @param bomanReservatConfigTime 预约时段配置
+     * @return 结果
+     */
+    @Override
+    public int insertBomanReservatConfigTime(BomanReservatConfigTime bomanReservatConfigTime)
+    {
+        bomanReservatConfigTime.setCreateTime(DateUtils.getNowDate());
+        return bomanReservatConfigTimeMapper.insertBomanReservatConfigTime(bomanReservatConfigTime);
+    }
+
+    /**
+     * 修改预约时段配置
+     * 
+     * @param bomanReservatConfigTime 预约时段配置
+     * @return 结果
+     */
+    @Override
+    public int updateBomanReservatConfigTime(BomanReservatConfigTime bomanReservatConfigTime)
+    {
+        bomanReservatConfigTime.setUpdateTime(DateUtils.getNowDate());
+        return bomanReservatConfigTimeMapper.updateBomanReservatConfigTime(bomanReservatConfigTime);
+    }
+
+    /**
+     * 批量删除预约时段配置
+     * 
+     * @param reservatConfigTimeIds 需要删除的预约时段配置主键
+     * @return 结果
+     */
+    @Override
+    public int deleteBomanReservatConfigTimeByReservatConfigTimeIds(Long[] reservatConfigTimeIds)
+    {
+        return bomanReservatConfigTimeMapper.deleteBomanReservatConfigTimeByReservatConfigTimeIds(reservatConfigTimeIds);
+    }
+
+    /**
+     * 删除预约时段配置信息
+     * 
+     * @param reservatConfigTimeId 预约时段配置主键
+     * @return 结果
+     */
+    @Override
+    public int deleteBomanReservatConfigTimeByReservatConfigTimeId(Long reservatConfigTimeId)
+    {
+        return bomanReservatConfigTimeMapper.deleteBomanReservatConfigTimeByReservatConfigTimeId(reservatConfigTimeId);
+    }
+}

+ 85 - 0
ruoyi-system/src/main/resources/mapper/system/BomanMaterialMapper.xml

@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.system.mapper.BomanMaterialMapper">
+    
+    <resultMap type="BomanMaterial" id="BomanMaterialResult">
+        <result property="materialId"    column="material_id"    />
+        <result property="materialUrl"    column="material_url"    />
+        <result property="materialName"    column="material_name"    />
+        <result property="keywords"    column="keywords"    />
+        <result property="releaseTime"    column="release_time"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+    </resultMap>
+
+    <sql id="selectBomanMaterialVo">
+        select material_id, material_url, material_name, keywords, release_time, create_time, create_by, update_by, update_time from boman_material
+    </sql>
+
+    <select id="selectBomanMaterialList" parameterType="BomanMaterial" resultMap="BomanMaterialResult">
+        <include refid="selectBomanMaterialVo"/>
+        <where>  
+            <if test="materialUrl != null  and materialUrl != ''"> and material_url = #{materialUrl}</if>
+            <if test="releaseTime != null "> and release_time = #{releaseTime}</if>
+        </where>
+    </select>
+    
+    <select id="selectBomanMaterialByMaterialId" parameterType="Long" resultMap="BomanMaterialResult">
+        <include refid="selectBomanMaterialVo"/>
+        where material_id = #{materialId}
+    </select>
+        
+    <insert id="insertBomanMaterial" parameterType="BomanMaterial" useGeneratedKeys="true" keyProperty="materialId">
+        insert into boman_material
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="materialUrl != null and materialUrl != ''">material_url,</if>
+            <if test="materialName != null">material_name,</if>
+            <if test="keywords != null">keywords,</if>
+            <if test="releaseTime != null">release_time,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="materialUrl != null and materialUrl != ''">#{materialUrl},</if>
+            <if test="materialName != null">#{materialName},</if>
+            <if test="keywords != null">#{keywords},</if>
+            <if test="releaseTime != null">#{releaseTime},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+         </trim>
+    </insert>
+
+    <update id="updateBomanMaterial" parameterType="BomanMaterial">
+        update boman_material
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="materialUrl != null and materialUrl != ''">material_url = #{materialUrl},</if>
+            <if test="materialName != null">material_name = #{materialName},</if>
+            <if test="keywords != null">keywords = #{keywords},</if>
+            <if test="releaseTime != null">release_time = #{releaseTime},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+        </trim>
+        where material_id = #{materialId}
+    </update>
+
+    <delete id="deleteBomanMaterialByMaterialId" parameterType="Long">
+        delete from boman_material where material_id = #{materialId}
+    </delete>
+
+    <delete id="deleteBomanMaterialByMaterialIds" parameterType="String">
+        delete from boman_material where material_id in 
+        <foreach item="materialId" collection="array" open="(" separator="," close=")">
+            #{materialId}
+        </foreach>
+    </delete>
+</mapper>

+ 152 - 0
ruoyi-system/src/main/resources/mapper/system/BomanNewsMapper.xml

@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.system.mapper.BomanNewsMapper">
+    
+    <resultMap type="BomanNews" id="BomanNewsResult">
+        <result property="newsId"    column="news_id"    />
+        <result property="topicId"    column="topic_id"    />
+        <result property="title"    column="title"    />
+        <result property="source"    column="source"    />
+        <result property="author"    column="author"    />
+        <result property="fromUrl"    column="from_url"    />
+        <result property="image"    column="image"    />
+        <result property="keywords"    column="keywords"    />
+        <result property="description"    column="description"    />
+        <result property="type"    column="type"    />
+        <result property="allowcomments"    column="allowcomments"    />
+        <result property="status"    column="status"    />
+        <result property="content"    column="content"    />
+        <result property="userId"    column="user_id"    />
+        <result property="readnumber"    column="readnumber"    />
+        <result property="top"    column="top"    />
+        <result property="orders"    column="orders"    />
+        <result property="releaseTime"    column="release_time"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+    </resultMap>
+
+    <sql id="selectBomanNewsVo">
+        select news_id, topic_id, title, source, author, from_url, image, keywords, description, type, allowcomments, status, content, user_id, readnumber, top, orders, release_time, create_time, create_by, update_by, update_time from boman_news
+    </sql>
+
+    <select id="selectBomanNewsList" parameterType="BomanNews" resultMap="BomanNewsResult">
+        <include refid="selectBomanNewsVo"/>
+        <where>  
+            <if test="topicId != null "> and topic_id = #{topicId}</if>
+            <if test="title != null  and title != ''"> and title = #{title}</if>
+            <if test="source != null  and source != ''"> and source = #{source}</if>
+            <if test="author != null  and author != ''"> and author = #{author}</if>
+            <if test="fromUrl != null  and fromUrl != ''"> and from_url = #{fromUrl}</if>
+            <if test="image != null  and image != ''"> and image = #{image}</if>
+            <if test="keywords != null  and keywords != ''"> and keywords = #{keywords}</if>
+            <if test="description != null  and description != ''"> and description = #{description}</if>
+            <if test="type != null "> and type = #{type}</if>
+            <if test="allowcomments != null  and allowcomments != ''"> and allowcomments = #{allowcomments}</if>
+            <if test="status != null  and status != ''"> and status = #{status}</if>
+            <if test="content != null  and content != ''"> and content = #{content}</if>
+            <if test="userId != null "> and user_id = #{userId}</if>
+            <if test="readnumber != null "> and readnumber = #{readnumber}</if>
+            <if test="top != null "> and top = #{top}</if>
+            <if test="orders != null "> and orders = #{orders}</if>
+            <if test="releaseTime != null "> and release_time = #{releaseTime}</if>
+        </where>
+    </select>
+    
+    <select id="selectBomanNewsByNewsId" parameterType="Long" resultMap="BomanNewsResult">
+        <include refid="selectBomanNewsVo"/>
+        where news_id = #{newsId}
+    </select>
+        
+    <insert id="insertBomanNews" parameterType="BomanNews" useGeneratedKeys="true" keyProperty="newsId">
+        insert into boman_news
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="topicId != null">topic_id,</if>
+            <if test="title != null">title,</if>
+            <if test="source != null">source,</if>
+            <if test="author != null">author,</if>
+            <if test="fromUrl != null">from_url,</if>
+            <if test="image != null">image,</if>
+            <if test="keywords != null">keywords,</if>
+            <if test="description != null">description,</if>
+            <if test="type != null">type,</if>
+            <if test="allowcomments != null">allowcomments,</if>
+            <if test="status != null">status,</if>
+            <if test="content != null">content,</if>
+            <if test="userId != null">user_id,</if>
+            <if test="readnumber != null">readnumber,</if>
+            <if test="top != null">top,</if>
+            <if test="orders != null">orders,</if>
+            <if test="releaseTime != null">release_time,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="topicId != null">#{topicId},</if>
+            <if test="title != null">#{title},</if>
+            <if test="source != null">#{source},</if>
+            <if test="author != null">#{author},</if>
+            <if test="fromUrl != null">#{fromUrl},</if>
+            <if test="image != null">#{image},</if>
+            <if test="keywords != null">#{keywords},</if>
+            <if test="description != null">#{description},</if>
+            <if test="type != null">#{type},</if>
+            <if test="allowcomments != null">#{allowcomments},</if>
+            <if test="status != null">#{status},</if>
+            <if test="content != null">#{content},</if>
+            <if test="userId != null">#{userId},</if>
+            <if test="readnumber != null">#{readnumber},</if>
+            <if test="top != null">#{top},</if>
+            <if test="orders != null">#{orders},</if>
+            <if test="releaseTime != null">#{releaseTime},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+         </trim>
+    </insert>
+
+    <update id="updateBomanNews" parameterType="BomanNews">
+        update boman_news
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="topicId != null">topic_id = #{topicId},</if>
+            <if test="title != null">title = #{title},</if>
+            <if test="source != null">source = #{source},</if>
+            <if test="author != null">author = #{author},</if>
+            <if test="fromUrl != null">from_url = #{fromUrl},</if>
+            <if test="image != null">image = #{image},</if>
+            <if test="keywords != null">keywords = #{keywords},</if>
+            <if test="description != null">description = #{description},</if>
+            <if test="type != null">type = #{type},</if>
+            <if test="allowcomments != null">allowcomments = #{allowcomments},</if>
+            <if test="status != null">status = #{status},</if>
+            <if test="content != null">content = #{content},</if>
+            <if test="userId != null">user_id = #{userId},</if>
+            <if test="readnumber != null">readnumber = #{readnumber},</if>
+            <if test="top != null">top = #{top},</if>
+            <if test="orders != null">orders = #{orders},</if>
+            <if test="releaseTime != null">release_time = #{releaseTime},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+        </trim>
+        where news_id = #{newsId}
+    </update>
+
+    <delete id="deleteBomanNewsByNewsId" parameterType="Long">
+        delete from boman_news where news_id = #{newsId}
+    </delete>
+
+    <delete id="deleteBomanNewsByNewsIds" parameterType="String">
+        delete from boman_news where news_id in 
+        <foreach item="newsId" collection="array" open="(" separator="," close=")">
+            #{newsId}
+        </foreach>
+    </delete>
+</mapper>

+ 88 - 0
ruoyi-system/src/main/resources/mapper/system/BomanReservatConfigMapper.xml

@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.system.mapper.BomanReservatConfigMapper">
+    
+    <resultMap type="BomanReservatConfig" id="BomanReservatConfigResult">
+        <result property="reservatConfigId"    column="reservat_config_id"    />
+        <result property="reservatConfigWeek"    column="reservat_config_week"    />
+        <result property="reservatConfigHoliday"    column="reservat_config_holiday"    />
+        <result property="createDept"    column="create_dept"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectBomanReservatConfigVo">
+        select reservat_config_id, reservat_config_week, reservat_config_holiday, create_dept, create_by, create_time, update_by, update_time, remark from boman_reservat_config
+    </sql>
+
+    <select id="selectBomanReservatConfigList" parameterType="BomanReservatConfig" resultMap="BomanReservatConfigResult">
+        <include refid="selectBomanReservatConfigVo"/>
+        <where>  
+            <if test="reservatConfigWeek != null  and reservatConfigWeek != ''"> and reservat_config_week = #{reservatConfigWeek}</if>
+            <if test="reservatConfigHoliday != null  and reservatConfigHoliday != ''"> and reservat_config_holiday = #{reservatConfigHoliday}</if>
+            <if test="createDept != null "> and create_dept = #{createDept}</if>
+        </where>
+    </select>
+    
+    <select id="selectBomanReservatConfigByReservatConfigId" parameterType="Long" resultMap="BomanReservatConfigResult">
+        <include refid="selectBomanReservatConfigVo"/>
+        where reservat_config_id = #{reservatConfigId}
+    </select>
+        
+    <insert id="insertBomanReservatConfig" parameterType="BomanReservatConfig">
+        insert into boman_reservat_config
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="reservatConfigId != null">reservat_config_id,</if>
+            <if test="reservatConfigWeek != null">reservat_config_week,</if>
+            <if test="reservatConfigHoliday != null">reservat_config_holiday,</if>
+            <if test="createDept != null">create_dept,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="reservatConfigId != null">#{reservatConfigId},</if>
+            <if test="reservatConfigWeek != null">#{reservatConfigWeek},</if>
+            <if test="reservatConfigHoliday != null">#{reservatConfigHoliday},</if>
+            <if test="createDept != null">#{createDept},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateBomanReservatConfig" parameterType="BomanReservatConfig">
+        update boman_reservat_config
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="reservatConfigWeek != null">reservat_config_week = #{reservatConfigWeek},</if>
+            <if test="reservatConfigHoliday != null">reservat_config_holiday = #{reservatConfigHoliday},</if>
+            <if test="createDept != null">create_dept = #{createDept},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where reservat_config_id = #{reservatConfigId}
+    </update>
+
+    <delete id="deleteBomanReservatConfigByReservatConfigId" parameterType="Long">
+        delete from boman_reservat_config where reservat_config_id = #{reservatConfigId}
+    </delete>
+
+    <delete id="deleteBomanReservatConfigByReservatConfigIds" parameterType="String">
+        delete from boman_reservat_config where reservat_config_id in 
+        <foreach item="reservatConfigId" collection="array" open="(" separator="," close=")">
+            #{reservatConfigId}
+        </foreach>
+    </delete>
+</mapper>

+ 108 - 0
ruoyi-system/src/main/resources/mapper/system/BomanReservatConfigTimeMapper.xml

@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.system.mapper.BomanReservatConfigTimeMapper">
+    
+    <resultMap type="BomanReservatConfigTime" id="BomanReservatConfigTimeResult">
+        <result property="reservatConfigTimeId"    column="reservat_config_time_id"    />
+        <result property="reservatConfigDate"    column="reservat_config_date"    />
+        <result property="reservatConfigTimeBegin"    column="reservat_config_time_begin"    />
+        <result property="reservatConfigTimeEnd"    column="reservat_config_time_end"    />
+        <result property="reservatConfigNum"    column="reservat_config_num"    />
+        <result property="reservatConfigType"    column="reservat_config_type"    />
+        <result property="reservatConfigStatus"    column="reservat_config_status"    />
+        <result property="createDept"    column="create_dept"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectBomanReservatConfigTimeVo">
+        select reservat_config_time_id, reservat_config_date, reservat_config_time_begin, reservat_config_time_end, reservat_config_num, reservat_config_type, reservat_config_status, create_dept, create_by, create_time, update_by, update_time, remark from boman_reservat_config_time
+    </sql>
+
+    <select id="selectBomanReservatConfigTimeList" parameterType="BomanReservatConfigTime" resultMap="BomanReservatConfigTimeResult">
+        <include refid="selectBomanReservatConfigTimeVo"/>
+        <where>  
+            <if test="reservatConfigDate != null  and reservatConfigDate != ''"> and reservat_config_date = #{reservatConfigDate}</if>
+            <if test="reservatConfigTimeBegin != null "> and reservat_config_time_begin = #{reservatConfigTimeBegin}</if>
+            <if test="reservatConfigTimeEnd != null "> and reservat_config_time_end = #{reservatConfigTimeEnd}</if>
+            <if test="reservatConfigNum != null "> and reservat_config_num = #{reservatConfigNum}</if>
+            <if test="reservatConfigType != null  and reservatConfigType != ''"> and reservat_config_type = #{reservatConfigType}</if>
+            <if test="reservatConfigStatus != null  and reservatConfigStatus != ''"> and reservat_config_status = #{reservatConfigStatus}</if>
+            <if test="createDept != null "> and create_dept = #{createDept}</if>
+        </where>
+    </select>
+    
+    <select id="selectBomanReservatConfigTimeByReservatConfigTimeId" parameterType="Long" resultMap="BomanReservatConfigTimeResult">
+        <include refid="selectBomanReservatConfigTimeVo"/>
+        where reservat_config_time_id = #{reservatConfigTimeId}
+    </select>
+        
+    <insert id="insertBomanReservatConfigTime" parameterType="BomanReservatConfigTime">
+        insert into boman_reservat_config_time
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="reservatConfigTimeId != null">reservat_config_time_id,</if>
+            <if test="reservatConfigDate != null">reservat_config_date,</if>
+            <if test="reservatConfigTimeBegin != null">reservat_config_time_begin,</if>
+            <if test="reservatConfigTimeEnd != null">reservat_config_time_end,</if>
+            <if test="reservatConfigNum != null">reservat_config_num,</if>
+            <if test="reservatConfigType != null">reservat_config_type,</if>
+            <if test="reservatConfigStatus != null">reservat_config_status,</if>
+            <if test="createDept != null">create_dept,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="reservatConfigTimeId != null">#{reservatConfigTimeId},</if>
+            <if test="reservatConfigDate != null">#{reservatConfigDate},</if>
+            <if test="reservatConfigTimeBegin != null">#{reservatConfigTimeBegin},</if>
+            <if test="reservatConfigTimeEnd != null">#{reservatConfigTimeEnd},</if>
+            <if test="reservatConfigNum != null">#{reservatConfigNum},</if>
+            <if test="reservatConfigType != null">#{reservatConfigType},</if>
+            <if test="reservatConfigStatus != null">#{reservatConfigStatus},</if>
+            <if test="createDept != null">#{createDept},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateBomanReservatConfigTime" parameterType="BomanReservatConfigTime">
+        update boman_reservat_config_time
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="reservatConfigDate != null">reservat_config_date = #{reservatConfigDate},</if>
+            <if test="reservatConfigTimeBegin != null">reservat_config_time_begin = #{reservatConfigTimeBegin},</if>
+            <if test="reservatConfigTimeEnd != null">reservat_config_time_end = #{reservatConfigTimeEnd},</if>
+            <if test="reservatConfigNum != null">reservat_config_num = #{reservatConfigNum},</if>
+            <if test="reservatConfigType != null">reservat_config_type = #{reservatConfigType},</if>
+            <if test="reservatConfigStatus != null">reservat_config_status = #{reservatConfigStatus},</if>
+            <if test="createDept != null">create_dept = #{createDept},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where reservat_config_time_id = #{reservatConfigTimeId}
+    </update>
+
+    <delete id="deleteBomanReservatConfigTimeByReservatConfigTimeId" parameterType="Long">
+        delete from boman_reservat_config_time where reservat_config_time_id = #{reservatConfigTimeId}
+    </delete>
+
+    <delete id="deleteBomanReservatConfigTimeByReservatConfigTimeIds" parameterType="String">
+        delete from boman_reservat_config_time where reservat_config_time_id in 
+        <foreach item="reservatConfigTimeId" collection="array" open="(" separator="," close=")">
+            #{reservatConfigTimeId}
+        </foreach>
+    </delete>
+</mapper>