diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusAccessoryController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusAccessoryController.java new file mode 100644 index 000000000..09d4a1e80 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusAccessoryController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusAccessory; +import com.ruoyi.system.service.IBusAccessoryService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 附件 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busAccessory") +public class BusAccessoryController extends BaseController +{ + private String prefix = "system/busAccessory"; + + @Autowired + private IBusAccessoryService busAccessoryService; + + @RequiresPermissions("system:busAccessory:view") + @GetMapping() + public String busAccessory() + { + return prefix + "/busAccessory"; + } + + /** + * 查询附件列表 + */ + @RequiresPermissions("system:busAccessory:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusAccessory busAccessory) + { + startPage(); + List list = busAccessoryService.selectBusAccessoryList(busAccessory); + return getDataTable(list); + } + + + /** + * 导出附件列表 + */ + @RequiresPermissions("system:busAccessory:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusAccessory busAccessory) + { + List list = busAccessoryService.selectBusAccessoryList(busAccessory); + ExcelUtil util = new ExcelUtil(BusAccessory.class); + return util.exportExcel(list, "busAccessory"); + } + + /** + * 新增附件 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存附件 + */ + @RequiresPermissions("system:busAccessory:add") + @Log(title = "附件", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusAccessory busAccessory) + { + return toAjax(busAccessoryService.insertBusAccessory(busAccessory)); + } + + /** + * 修改附件 + */ + @GetMapping("/edit/{accessoryId}") + public String edit(@PathVariable("accessoryId") Long accessoryId, ModelMap mmap) + { + BusAccessory busAccessory = busAccessoryService.selectBusAccessoryById(accessoryId); + mmap.put("busAccessory", busAccessory); + return prefix + "/edit"; + } + + /** + * 修改保存附件 + */ + @RequiresPermissions("system:busAccessory:edit") + @Log(title = "附件", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusAccessory busAccessory) + { + return toAjax(busAccessoryService.updateBusAccessory(busAccessory)); + } + + /** + * 删除附件 + */ + @RequiresPermissions("system:busAccessory:remove") + @Log(title = "附件", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busAccessoryService.deleteBusAccessoryByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusDeptApplyController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusDeptApplyController.java new file mode 100644 index 000000000..149767a25 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusDeptApplyController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusDeptApply; +import com.ruoyi.system.service.IBusDeptApplyService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 企业入驻申请 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busDeptApply") +public class BusDeptApplyController extends BaseController +{ + private String prefix = "system/busDeptApply"; + + @Autowired + private IBusDeptApplyService busDeptApplyService; + + @RequiresPermissions("system:busDeptApply:view") + @GetMapping() + public String busDeptApply() + { + return prefix + "/busDeptApply"; + } + + /** + * 查询企业入驻申请列表 + */ + @RequiresPermissions("system:busDeptApply:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusDeptApply busDeptApply) + { + startPage(); + List list = busDeptApplyService.selectBusDeptApplyList(busDeptApply); + return getDataTable(list); + } + + + /** + * 导出企业入驻申请列表 + */ + @RequiresPermissions("system:busDeptApply:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusDeptApply busDeptApply) + { + List list = busDeptApplyService.selectBusDeptApplyList(busDeptApply); + ExcelUtil util = new ExcelUtil(BusDeptApply.class); + return util.exportExcel(list, "busDeptApply"); + } + + /** + * 新增企业入驻申请 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存企业入驻申请 + */ + @RequiresPermissions("system:busDeptApply:add") + @Log(title = "企业入驻申请", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusDeptApply busDeptApply) + { + return toAjax(busDeptApplyService.insertBusDeptApply(busDeptApply)); + } + + /** + * 修改企业入驻申请 + */ + @GetMapping("/edit/{applyId}") + public String edit(@PathVariable("applyId") Long applyId, ModelMap mmap) + { + BusDeptApply busDeptApply = busDeptApplyService.selectBusDeptApplyById(applyId); + mmap.put("busDeptApply", busDeptApply); + return prefix + "/edit"; + } + + /** + * 修改保存企业入驻申请 + */ + @RequiresPermissions("system:busDeptApply:edit") + @Log(title = "企业入驻申请", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusDeptApply busDeptApply) + { + return toAjax(busDeptApplyService.updateBusDeptApply(busDeptApply)); + } + + /** + * 删除企业入驻申请 + */ + @RequiresPermissions("system:busDeptApply:remove") + @Log(title = "企业入驻申请", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busDeptApplyService.deleteBusDeptApplyByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusNewsController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusNewsController.java new file mode 100644 index 000000000..e783d5224 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusNewsController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusNews; +import com.ruoyi.system.service.IBusNewsService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 新闻 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busNews") +public class BusNewsController extends BaseController +{ + private String prefix = "system/busNews"; + + @Autowired + private IBusNewsService busNewsService; + + @RequiresPermissions("system:busNews:view") + @GetMapping() + public String busNews() + { + return prefix + "/busNews"; + } + + /** + * 查询新闻列表 + */ + @RequiresPermissions("system:busNews:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusNews busNews) + { + startPage(); + List list = busNewsService.selectBusNewsList(busNews); + return getDataTable(list); + } + + + /** + * 导出新闻列表 + */ + @RequiresPermissions("system:busNews:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusNews busNews) + { + List list = busNewsService.selectBusNewsList(busNews); + ExcelUtil util = new ExcelUtil(BusNews.class); + return util.exportExcel(list, "busNews"); + } + + /** + * 新增新闻 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存新闻 + */ + @RequiresPermissions("system:busNews:add") + @Log(title = "新闻", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusNews busNews) + { + return toAjax(busNewsService.insertBusNews(busNews)); + } + + /** + * 修改新闻 + */ + @GetMapping("/edit/{newsId}") + public String edit(@PathVariable("newsId") Long newsId, ModelMap mmap) + { + BusNews busNews = busNewsService.selectBusNewsById(newsId); + mmap.put("busNews", busNews); + return prefix + "/edit"; + } + + /** + * 修改保存新闻 + */ + @RequiresPermissions("system:busNews:edit") + @Log(title = "新闻", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusNews busNews) + { + return toAjax(busNewsService.updateBusNews(busNews)); + } + + /** + * 删除新闻 + */ + @RequiresPermissions("system:busNews:remove") + @Log(title = "新闻", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busNewsService.deleteBusNewsByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqApplyController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqApplyController.java new file mode 100644 index 000000000..5a8aa37d3 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqApplyController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusReqApply; +import com.ruoyi.system.service.IBusReqApplyService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 资源需求接包申请 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busReqApply") +public class BusReqApplyController extends BaseController +{ + private String prefix = "system/busReqApply"; + + @Autowired + private IBusReqApplyService busReqApplyService; + + @RequiresPermissions("system:busReqApply:view") + @GetMapping() + public String busReqApply() + { + return prefix + "/busReqApply"; + } + + /** + * 查询资源需求接包申请列表 + */ + @RequiresPermissions("system:busReqApply:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusReqApply busReqApply) + { + startPage(); + List list = busReqApplyService.selectBusReqApplyList(busReqApply); + return getDataTable(list); + } + + + /** + * 导出资源需求接包申请列表 + */ + @RequiresPermissions("system:busReqApply:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusReqApply busReqApply) + { + List list = busReqApplyService.selectBusReqApplyList(busReqApply); + ExcelUtil util = new ExcelUtil(BusReqApply.class); + return util.exportExcel(list, "busReqApply"); + } + + /** + * 新增资源需求接包申请 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存资源需求接包申请 + */ + @RequiresPermissions("system:busReqApply:add") + @Log(title = "资源需求接包申请", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusReqApply busReqApply) + { + return toAjax(busReqApplyService.insertBusReqApply(busReqApply)); + } + + /** + * 修改资源需求接包申请 + */ + @GetMapping("/edit/{applyId}") + public String edit(@PathVariable("applyId") Long applyId, ModelMap mmap) + { + BusReqApply busReqApply = busReqApplyService.selectBusReqApplyById(applyId); + mmap.put("busReqApply", busReqApply); + return prefix + "/edit"; + } + + /** + * 修改保存资源需求接包申请 + */ + @RequiresPermissions("system:busReqApply:edit") + @Log(title = "资源需求接包申请", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusReqApply busReqApply) + { + return toAjax(busReqApplyService.updateBusReqApply(busReqApply)); + } + + /** + * 删除资源需求接包申请 + */ + @RequiresPermissions("system:busReqApply:remove") + @Log(title = "资源需求接包申请", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busReqApplyService.deleteBusReqApplyByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqCommentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqCommentController.java new file mode 100644 index 000000000..7c8e7598c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqCommentController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusReqComment; +import com.ruoyi.system.service.IBusReqCommentService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 资源需求评论 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busReqComment") +public class BusReqCommentController extends BaseController +{ + private String prefix = "system/busReqComment"; + + @Autowired + private IBusReqCommentService busReqCommentService; + + @RequiresPermissions("system:busReqComment:view") + @GetMapping() + public String busReqComment() + { + return prefix + "/busReqComment"; + } + + /** + * 查询资源需求评论列表 + */ + @RequiresPermissions("system:busReqComment:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusReqComment busReqComment) + { + startPage(); + List list = busReqCommentService.selectBusReqCommentList(busReqComment); + return getDataTable(list); + } + + + /** + * 导出资源需求评论列表 + */ + @RequiresPermissions("system:busReqComment:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusReqComment busReqComment) + { + List list = busReqCommentService.selectBusReqCommentList(busReqComment); + ExcelUtil util = new ExcelUtil(BusReqComment.class); + return util.exportExcel(list, "busReqComment"); + } + + /** + * 新增资源需求评论 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存资源需求评论 + */ + @RequiresPermissions("system:busReqComment:add") + @Log(title = "资源需求评论", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusReqComment busReqComment) + { + return toAjax(busReqCommentService.insertBusReqComment(busReqComment)); + } + + /** + * 修改资源需求评论 + */ + @GetMapping("/edit/{commentId}") + public String edit(@PathVariable("commentId") Long commentId, ModelMap mmap) + { + BusReqComment busReqComment = busReqCommentService.selectBusReqCommentById(commentId); + mmap.put("busReqComment", busReqComment); + return prefix + "/edit"; + } + + /** + * 修改保存资源需求评论 + */ + @RequiresPermissions("system:busReqComment:edit") + @Log(title = "资源需求评论", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusReqComment busReqComment) + { + return toAjax(busReqCommentService.updateBusReqComment(busReqComment)); + } + + /** + * 删除资源需求评论 + */ + @RequiresPermissions("system:busReqComment:remove") + @Log(title = "资源需求评论", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busReqCommentService.deleteBusReqCommentByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqController.java new file mode 100644 index 000000000..bc3532a5f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusReq; +import com.ruoyi.system.service.IBusReqService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 资源需求 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busReq") +public class BusReqController extends BaseController +{ + private String prefix = "system/busReq"; + + @Autowired + private IBusReqService busReqService; + + @RequiresPermissions("system:busReq:view") + @GetMapping() + public String busReq() + { + return prefix + "/busReq"; + } + + /** + * 查询资源需求列表 + */ + @RequiresPermissions("system:busReq:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusReq busReq) + { + startPage(); + List list = busReqService.selectBusReqList(busReq); + return getDataTable(list); + } + + + /** + * 导出资源需求列表 + */ + @RequiresPermissions("system:busReq:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusReq busReq) + { + List list = busReqService.selectBusReqList(busReq); + ExcelUtil util = new ExcelUtil(BusReq.class); + return util.exportExcel(list, "busReq"); + } + + /** + * 新增资源需求 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存资源需求 + */ + @RequiresPermissions("system:busReq:add") + @Log(title = "资源需求", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusReq busReq) + { + return toAjax(busReqService.insertBusReq(busReq)); + } + + /** + * 修改资源需求 + */ + @GetMapping("/edit/{reqId}") + public String edit(@PathVariable("reqId") Long reqId, ModelMap mmap) + { + BusReq busReq = busReqService.selectBusReqById(reqId); + mmap.put("busReq", busReq); + return prefix + "/edit"; + } + + /** + * 修改保存资源需求 + */ + @RequiresPermissions("system:busReq:edit") + @Log(title = "资源需求", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusReq busReq) + { + return toAjax(busReqService.updateBusReq(busReq)); + } + + /** + * 删除资源需求 + */ + @RequiresPermissions("system:busReq:remove") + @Log(title = "资源需求", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busReqService.deleteBusReqByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqProgressController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqProgressController.java new file mode 100644 index 000000000..6e42d666e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusReqProgressController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusReqProgress; +import com.ruoyi.system.service.IBusReqProgressService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 资源需求进度 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busReqProgress") +public class BusReqProgressController extends BaseController +{ + private String prefix = "system/busReqProgress"; + + @Autowired + private IBusReqProgressService busReqProgressService; + + @RequiresPermissions("system:busReqProgress:view") + @GetMapping() + public String busReqProgress() + { + return prefix + "/busReqProgress"; + } + + /** + * 查询资源需求进度列表 + */ + @RequiresPermissions("system:busReqProgress:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusReqProgress busReqProgress) + { + startPage(); + List list = busReqProgressService.selectBusReqProgressList(busReqProgress); + return getDataTable(list); + } + + + /** + * 导出资源需求进度列表 + */ + @RequiresPermissions("system:busReqProgress:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusReqProgress busReqProgress) + { + List list = busReqProgressService.selectBusReqProgressList(busReqProgress); + ExcelUtil util = new ExcelUtil(BusReqProgress.class); + return util.exportExcel(list, "busReqProgress"); + } + + /** + * 新增资源需求进度 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存资源需求进度 + */ + @RequiresPermissions("system:busReqProgress:add") + @Log(title = "资源需求进度", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusReqProgress busReqProgress) + { + return toAjax(busReqProgressService.insertBusReqProgress(busReqProgress)); + } + + /** + * 修改资源需求进度 + */ + @GetMapping("/edit/{progressId}") + public String edit(@PathVariable("progressId") Long progressId, ModelMap mmap) + { + BusReqProgress busReqProgress = busReqProgressService.selectBusReqProgressById(progressId); + mmap.put("busReqProgress", busReqProgress); + return prefix + "/edit"; + } + + /** + * 修改保存资源需求进度 + */ + @RequiresPermissions("system:busReqProgress:edit") + @Log(title = "资源需求进度", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusReqProgress busReqProgress) + { + return toAjax(busReqProgressService.updateBusReqProgress(busReqProgress)); + } + + /** + * 删除资源需求进度 + */ + @RequiresPermissions("system:busReqProgress:remove") + @Log(title = "资源需求进度", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busReqProgressService.deleteBusReqProgressByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceApplyController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceApplyController.java new file mode 100644 index 000000000..53de6563c --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceApplyController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusResourceApply; +import com.ruoyi.system.service.IBusResourceApplyService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 资源使用申请 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busResourceApply") +public class BusResourceApplyController extends BaseController +{ + private String prefix = "system/busResourceApply"; + + @Autowired + private IBusResourceApplyService busResourceApplyService; + + @RequiresPermissions("system:busResourceApply:view") + @GetMapping() + public String busResourceApply() + { + return prefix + "/busResourceApply"; + } + + /** + * 查询资源使用申请列表 + */ + @RequiresPermissions("system:busResourceApply:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusResourceApply busResourceApply) + { + startPage(); + List list = busResourceApplyService.selectBusResourceApplyList(busResourceApply); + return getDataTable(list); + } + + + /** + * 导出资源使用申请列表 + */ + @RequiresPermissions("system:busResourceApply:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusResourceApply busResourceApply) + { + List list = busResourceApplyService.selectBusResourceApplyList(busResourceApply); + ExcelUtil util = new ExcelUtil(BusResourceApply.class); + return util.exportExcel(list, "busResourceApply"); + } + + /** + * 新增资源使用申请 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存资源使用申请 + */ + @RequiresPermissions("system:busResourceApply:add") + @Log(title = "资源使用申请", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusResourceApply busResourceApply) + { + return toAjax(busResourceApplyService.insertBusResourceApply(busResourceApply)); + } + + /** + * 修改资源使用申请 + */ + @GetMapping("/edit/{applyId}") + public String edit(@PathVariable("applyId") Long applyId, ModelMap mmap) + { + BusResourceApply busResourceApply = busResourceApplyService.selectBusResourceApplyById(applyId); + mmap.put("busResourceApply", busResourceApply); + return prefix + "/edit"; + } + + /** + * 修改保存资源使用申请 + */ + @RequiresPermissions("system:busResourceApply:edit") + @Log(title = "资源使用申请", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusResourceApply busResourceApply) + { + return toAjax(busResourceApplyService.updateBusResourceApply(busResourceApply)); + } + + /** + * 删除资源使用申请 + */ + @RequiresPermissions("system:busResourceApply:remove") + @Log(title = "资源使用申请", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busResourceApplyService.deleteBusResourceApplyByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceCommentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceCommentController.java new file mode 100644 index 000000000..577db9d9f --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceCommentController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusResourceComment; +import com.ruoyi.system.service.IBusResourceCommentService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 资源评论 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busResourceComment") +public class BusResourceCommentController extends BaseController +{ + private String prefix = "system/busResourceComment"; + + @Autowired + private IBusResourceCommentService busResourceCommentService; + + @RequiresPermissions("system:busResourceComment:view") + @GetMapping() + public String busResourceComment() + { + return prefix + "/busResourceComment"; + } + + /** + * 查询资源评论列表 + */ + @RequiresPermissions("system:busResourceComment:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusResourceComment busResourceComment) + { + startPage(); + List list = busResourceCommentService.selectBusResourceCommentList(busResourceComment); + return getDataTable(list); + } + + + /** + * 导出资源评论列表 + */ + @RequiresPermissions("system:busResourceComment:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusResourceComment busResourceComment) + { + List list = busResourceCommentService.selectBusResourceCommentList(busResourceComment); + ExcelUtil util = new ExcelUtil(BusResourceComment.class); + return util.exportExcel(list, "busResourceComment"); + } + + /** + * 新增资源评论 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存资源评论 + */ + @RequiresPermissions("system:busResourceComment:add") + @Log(title = "资源评论", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusResourceComment busResourceComment) + { + return toAjax(busResourceCommentService.insertBusResourceComment(busResourceComment)); + } + + /** + * 修改资源评论 + */ + @GetMapping("/edit/{commentId}") + public String edit(@PathVariable("commentId") Long commentId, ModelMap mmap) + { + BusResourceComment busResourceComment = busResourceCommentService.selectBusResourceCommentById(commentId); + mmap.put("busResourceComment", busResourceComment); + return prefix + "/edit"; + } + + /** + * 修改保存资源评论 + */ + @RequiresPermissions("system:busResourceComment:edit") + @Log(title = "资源评论", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusResourceComment busResourceComment) + { + return toAjax(busResourceCommentService.updateBusResourceComment(busResourceComment)); + } + + /** + * 删除资源评论 + */ + @RequiresPermissions("system:busResourceComment:remove") + @Log(title = "资源评论", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busResourceCommentService.deleteBusResourceCommentByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceController.java new file mode 100644 index 000000000..ab4b5d52e --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusResource; +import com.ruoyi.system.service.IBusResourceService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 资源 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busResource") +public class BusResourceController extends BaseController +{ + private String prefix = "system/busResource"; + + @Autowired + private IBusResourceService busResourceService; + + @RequiresPermissions("system:busResource:view") + @GetMapping() + public String busResource() + { + return prefix + "/busResource"; + } + + /** + * 查询资源列表 + */ + @RequiresPermissions("system:busResource:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusResource busResource) + { + startPage(); + List list = busResourceService.selectBusResourceList(busResource); + return getDataTable(list); + } + + + /** + * 导出资源列表 + */ + @RequiresPermissions("system:busResource:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusResource busResource) + { + List list = busResourceService.selectBusResourceList(busResource); + ExcelUtil util = new ExcelUtil(BusResource.class); + return util.exportExcel(list, "busResource"); + } + + /** + * 新增资源 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存资源 + */ + @RequiresPermissions("system:busResource:add") + @Log(title = "资源", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusResource busResource) + { + return toAjax(busResourceService.insertBusResource(busResource)); + } + + /** + * 修改资源 + */ + @GetMapping("/edit/{resourceId}") + public String edit(@PathVariable("resourceId") Long resourceId, ModelMap mmap) + { + BusResource busResource = busResourceService.selectBusResourceById(resourceId); + mmap.put("busResource", busResource); + return prefix + "/edit"; + } + + /** + * 修改保存资源 + */ + @RequiresPermissions("system:busResource:edit") + @Log(title = "资源", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusResource busResource) + { + return toAjax(busResourceService.updateBusResource(busResource)); + } + + /** + * 删除资源 + */ + @RequiresPermissions("system:busResource:remove") + @Log(title = "资源", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busResourceService.deleteBusResourceByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceTypeController.java new file mode 100644 index 000000000..39cb44b91 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusResourceTypeController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusResourceType; +import com.ruoyi.system.service.IBusResourceTypeService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 资源分类 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busResourceType") +public class BusResourceTypeController extends BaseController +{ + private String prefix = "system/busResourceType"; + + @Autowired + private IBusResourceTypeService busResourceTypeService; + + @RequiresPermissions("system:busResourceType:view") + @GetMapping() + public String busResourceType() + { + return prefix + "/busResourceType"; + } + + /** + * 查询资源分类列表 + */ + @RequiresPermissions("system:busResourceType:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusResourceType busResourceType) + { + startPage(); + List list = busResourceTypeService.selectBusResourceTypeList(busResourceType); + return getDataTable(list); + } + + + /** + * 导出资源分类列表 + */ + @RequiresPermissions("system:busResourceType:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusResourceType busResourceType) + { + List list = busResourceTypeService.selectBusResourceTypeList(busResourceType); + ExcelUtil util = new ExcelUtil(BusResourceType.class); + return util.exportExcel(list, "busResourceType"); + } + + /** + * 新增资源分类 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存资源分类 + */ + @RequiresPermissions("system:busResourceType:add") + @Log(title = "资源分类", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusResourceType busResourceType) + { + return toAjax(busResourceTypeService.insertBusResourceType(busResourceType)); + } + + /** + * 修改资源分类 + */ + @GetMapping("/edit/{typeId}") + public String edit(@PathVariable("typeId") Long typeId, ModelMap mmap) + { + BusResourceType busResourceType = busResourceTypeService.selectBusResourceTypeById(typeId); + mmap.put("busResourceType", busResourceType); + return prefix + "/edit"; + } + + /** + * 修改保存资源分类 + */ + @RequiresPermissions("system:busResourceType:edit") + @Log(title = "资源分类", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusResourceType busResourceType) + { + return toAjax(busResourceTypeService.updateBusResourceType(busResourceType)); + } + + /** + * 删除资源分类 + */ + @RequiresPermissions("system:busResourceType:remove") + @Log(title = "资源分类", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busResourceTypeService.deleteBusResourceTypeByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusUserBrowseController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusUserBrowseController.java new file mode 100644 index 000000000..1d676c9a9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusUserBrowseController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusUserBrowse; +import com.ruoyi.system.service.IBusUserBrowseService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 用户浏览足迹 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busUserBrowse") +public class BusUserBrowseController extends BaseController +{ + private String prefix = "system/busUserBrowse"; + + @Autowired + private IBusUserBrowseService busUserBrowseService; + + @RequiresPermissions("system:busUserBrowse:view") + @GetMapping() + public String busUserBrowse() + { + return prefix + "/busUserBrowse"; + } + + /** + * 查询用户浏览足迹列表 + */ + @RequiresPermissions("system:busUserBrowse:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusUserBrowse busUserBrowse) + { + startPage(); + List list = busUserBrowseService.selectBusUserBrowseList(busUserBrowse); + return getDataTable(list); + } + + + /** + * 导出用户浏览足迹列表 + */ + @RequiresPermissions("system:busUserBrowse:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusUserBrowse busUserBrowse) + { + List list = busUserBrowseService.selectBusUserBrowseList(busUserBrowse); + ExcelUtil util = new ExcelUtil(BusUserBrowse.class); + return util.exportExcel(list, "busUserBrowse"); + } + + /** + * 新增用户浏览足迹 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存用户浏览足迹 + */ + @RequiresPermissions("system:busUserBrowse:add") + @Log(title = "用户浏览足迹", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusUserBrowse busUserBrowse) + { + return toAjax(busUserBrowseService.insertBusUserBrowse(busUserBrowse)); + } + + /** + * 修改用户浏览足迹 + */ + @GetMapping("/edit/{browseId}") + public String edit(@PathVariable("browseId") Long browseId, ModelMap mmap) + { + BusUserBrowse busUserBrowse = busUserBrowseService.selectBusUserBrowseById(browseId); + mmap.put("busUserBrowse", busUserBrowse); + return prefix + "/edit"; + } + + /** + * 修改保存用户浏览足迹 + */ + @RequiresPermissions("system:busUserBrowse:edit") + @Log(title = "用户浏览足迹", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusUserBrowse busUserBrowse) + { + return toAjax(busUserBrowseService.updateBusUserBrowse(busUserBrowse)); + } + + /** + * 删除用户浏览足迹 + */ + @RequiresPermissions("system:busUserBrowse:remove") + @Log(title = "用户浏览足迹", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busUserBrowseService.deleteBusUserBrowseByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusUserCollectController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusUserCollectController.java new file mode 100644 index 000000000..63e67942a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusUserCollectController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusUserCollect; +import com.ruoyi.system.service.IBusUserCollectService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 用户收藏 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busUserCollect") +public class BusUserCollectController extends BaseController +{ + private String prefix = "system/busUserCollect"; + + @Autowired + private IBusUserCollectService busUserCollectService; + + @RequiresPermissions("system:busUserCollect:view") + @GetMapping() + public String busUserCollect() + { + return prefix + "/busUserCollect"; + } + + /** + * 查询用户收藏列表 + */ + @RequiresPermissions("system:busUserCollect:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusUserCollect busUserCollect) + { + startPage(); + List list = busUserCollectService.selectBusUserCollectList(busUserCollect); + return getDataTable(list); + } + + + /** + * 导出用户收藏列表 + */ + @RequiresPermissions("system:busUserCollect:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusUserCollect busUserCollect) + { + List list = busUserCollectService.selectBusUserCollectList(busUserCollect); + ExcelUtil util = new ExcelUtil(BusUserCollect.class); + return util.exportExcel(list, "busUserCollect"); + } + + /** + * 新增用户收藏 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存用户收藏 + */ + @RequiresPermissions("system:busUserCollect:add") + @Log(title = "用户收藏", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusUserCollect busUserCollect) + { + return toAjax(busUserCollectService.insertBusUserCollect(busUserCollect)); + } + + /** + * 修改用户收藏 + */ + @GetMapping("/edit/{collectId}") + public String edit(@PathVariable("collectId") Long collectId, ModelMap mmap) + { + BusUserCollect busUserCollect = busUserCollectService.selectBusUserCollectById(collectId); + mmap.put("busUserCollect", busUserCollect); + return prefix + "/edit"; + } + + /** + * 修改保存用户收藏 + */ + @RequiresPermissions("system:busUserCollect:edit") + @Log(title = "用户收藏", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusUserCollect busUserCollect) + { + return toAjax(busUserCollectService.updateBusUserCollect(busUserCollect)); + } + + /** + * 删除用户收藏 + */ + @RequiresPermissions("system:busUserCollect:remove") + @Log(title = "用户收藏", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busUserCollectService.deleteBusUserCollectByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusUserMessageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusUserMessageController.java new file mode 100644 index 000000000..21413146a --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/bus/BusUserMessageController.java @@ -0,0 +1,127 @@ +package com.ruoyi.web.controller.bus; + +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.system.domain.BusUserMessage; +import com.ruoyi.system.service.IBusUserMessageService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.page.TableDataInfo; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; + +/** + * 用户消息 信息操作处理 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Controller +@RequestMapping("/system/busUserMessage") +public class BusUserMessageController extends BaseController +{ + private String prefix = "system/busUserMessage"; + + @Autowired + private IBusUserMessageService busUserMessageService; + + @RequiresPermissions("system:busUserMessage:view") + @GetMapping() + public String busUserMessage() + { + return prefix + "/busUserMessage"; + } + + /** + * 查询用户消息列表 + */ + @RequiresPermissions("system:busUserMessage:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(BusUserMessage busUserMessage) + { + startPage(); + List list = busUserMessageService.selectBusUserMessageList(busUserMessage); + return getDataTable(list); + } + + + /** + * 导出用户消息列表 + */ + @RequiresPermissions("system:busUserMessage:export") + @PostMapping("/export") + @ResponseBody + public AjaxResult export(BusUserMessage busUserMessage) + { + List list = busUserMessageService.selectBusUserMessageList(busUserMessage); + ExcelUtil util = new ExcelUtil(BusUserMessage.class); + return util.exportExcel(list, "busUserMessage"); + } + + /** + * 新增用户消息 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存用户消息 + */ + @RequiresPermissions("system:busUserMessage:add") + @Log(title = "用户消息", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(BusUserMessage busUserMessage) + { + return toAjax(busUserMessageService.insertBusUserMessage(busUserMessage)); + } + + /** + * 修改用户消息 + */ + @GetMapping("/edit/{messageId}") + public String edit(@PathVariable("messageId") Long messageId, ModelMap mmap) + { + BusUserMessage busUserMessage = busUserMessageService.selectBusUserMessageById(messageId); + mmap.put("busUserMessage", busUserMessage); + return prefix + "/edit"; + } + + /** + * 修改保存用户消息 + */ + @RequiresPermissions("system:busUserMessage:edit") + @Log(title = "用户消息", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(BusUserMessage busUserMessage) + { + return toAjax(busUserMessageService.updateBusUserMessage(busUserMessage)); + } + + /** + * 删除用户消息 + */ + @RequiresPermissions("system:busUserMessage:remove") + @Log(title = "用户消息", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(busUserMessageService.deleteBusUserMessageByIds(ids)); + } + +} diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index d69c66d27..f7cb99c02 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: yanghao0518 # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 288e8fdf4..0b3073850 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -16,7 +16,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为80 - port: 80 + port: 8080 servlet: # 应用的访问路径 context-path: / diff --git a/ruoyi-admin/src/main/resources/logback.xml b/ruoyi-admin/src/main/resources/logback.xml index d69a57207..c4f62933d 100644 --- a/ruoyi-admin/src/main/resources/logback.xml +++ b/ruoyi-admin/src/main/resources/logback.xml @@ -1,7 +1,7 @@ - + diff --git a/ruoyi-admin/src/main/resources/templates/system/busAccessory/add.html b/ruoyi-admin/src/main/resources/templates/system/busAccessory/add.html new file mode 100644 index 000000000..a4586b14f --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busAccessory/add.html @@ -0,0 +1,72 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busAccessory/busAccessory.html b/ruoyi-admin/src/main/resources/templates/system/busAccessory/busAccessory.html new file mode 100644 index 000000000..a3fe8910a --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busAccessory/busAccessory.html @@ -0,0 +1,142 @@ + + + + + + +
+
+
+
+
+
    +
  • + 附件类型: +
  • + +
  • + 附件名称: +
  • + +
  • + 附件地址: +
  • + +
  • + 附件大小: +
  • + +
  • + 上传时间: +
  • + +
  • + 附件关联id: +
  • + +
  • + 附件关联类型(新闻/资源/资源需求/企业明细/公共文档等): +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busAccessory/edit.html b/ruoyi-admin/src/main/resources/templates/system/busAccessory/edit.html new file mode 100644 index 000000000..9e090da92 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busAccessory/edit.html @@ -0,0 +1,73 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busDeptApply/add.html b/ruoyi-admin/src/main/resources/templates/system/busDeptApply/add.html new file mode 100644 index 000000000..bd3601b47 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busDeptApply/add.html @@ -0,0 +1,150 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busDeptApply/busDeptApply.html b/ruoyi-admin/src/main/resources/templates/system/busDeptApply/busDeptApply.html new file mode 100644 index 000000000..6b87b6524 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busDeptApply/busDeptApply.html @@ -0,0 +1,259 @@ + + + + + + +
+
+
+
+
+
    +
  • + 申请类型(企业注册/企业迁址): +
  • + +
  • + 企业名称: +
  • + +
  • + 行业: +
  • + +
  • + 企业经营范围: +
  • + +
  • + 企业类型: +
  • + +
  • + 企业链接: +
  • + +
  • + 企业联系电话: +
  • + +
  • + 法人信息(姓名、性别、政治面貌、固定电话、手机号码等): +
  • + +
  • + 企业工作人员信息列表(姓名、性别、手机号码、车牌号等): +
  • + +
  • + 工商注册号: +
  • + +
  • + 统一社会信用代码: +
  • + +
  • + 组织机构代码: +
  • + +
  • + 纳税人识别号: +
  • + +
  • + 纳税人资质: +
  • + +
  • + 创建时间: +
  • + +
  • + 审核状态(00待审核/01已通过/99未通过): +
  • + +
  • + 审核人id: +
  • + +
  • + 审核人名称: +
  • + +
  • + 审核时间: +
  • + +
  • + 审核意见: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busDeptApply/edit.html b/ruoyi-admin/src/main/resources/templates/system/busDeptApply/edit.html new file mode 100644 index 000000000..63dbef15f --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busDeptApply/edit.html @@ -0,0 +1,151 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busNews/add.html b/ruoyi-admin/src/main/resources/templates/system/busNews/add.html new file mode 100644 index 000000000..837f3f7d5 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busNews/add.html @@ -0,0 +1,84 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busNews/busNews.html b/ruoyi-admin/src/main/resources/templates/system/busNews/busNews.html new file mode 100644 index 000000000..44e8925af --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busNews/busNews.html @@ -0,0 +1,160 @@ + + + + + + +
+
+
+
+
+
    +
  • + 新闻标题: +
  • + +
  • + 新闻正文: +
  • + +
  • + 新闻标签: +
  • + +
  • + 新闻状态(00待发布/01已发布/99已屏蔽): +
  • + +
  • + 发布企业: +
  • + +
  • + 发布人id: +
  • + +
  • + 发布人名称: +
  • + +
  • + 创建时间: +
  • + +
  • + 修改时间: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busNews/edit.html b/ruoyi-admin/src/main/resources/templates/system/busNews/edit.html new file mode 100644 index 000000000..04e28af40 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busNews/edit.html @@ -0,0 +1,85 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busReq/add.html b/ruoyi-admin/src/main/resources/templates/system/busReq/add.html new file mode 100644 index 000000000..a26978d5b --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReq/add.html @@ -0,0 +1,120 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busReq/busReq.html b/ruoyi-admin/src/main/resources/templates/system/busReq/busReq.html new file mode 100644 index 000000000..4b306b8d9 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReq/busReq.html @@ -0,0 +1,214 @@ + + + + + + +
+
+
+
+
+
    +
  • + 需求类型: +
  • + +
  • + 需求名称: +
  • + +
  • + 需求级别: +
  • + +
  • + 需求标签: +
  • + +
  • + 需求描述: +
  • + +
  • + 需求状态(00待发布/01已发布/02处理中/03验收中/04已完成/00已屏蔽): +
  • + +
  • + 发布企业: +
  • + +
  • + 发布人id: +
  • + +
  • + 发布人名称: +
  • + +
  • + 创建时间: +
  • + +
  • + 接收企业: +
  • + +
  • + 接收人id: +
  • + +
  • + 接收人名称: +
  • + +
  • + 接收时间: +
  • + +
  • + 修改时间: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busReq/edit.html b/ruoyi-admin/src/main/resources/templates/system/busReq/edit.html new file mode 100644 index 000000000..e112a8fa6 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReq/edit.html @@ -0,0 +1,121 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busReqApply/add.html b/ruoyi-admin/src/main/resources/templates/system/busReqApply/add.html new file mode 100644 index 000000000..3b2a93bd0 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReqApply/add.html @@ -0,0 +1,96 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busReqApply/busReqApply.html b/ruoyi-admin/src/main/resources/templates/system/busReqApply/busReqApply.html new file mode 100644 index 000000000..394ffc484 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReqApply/busReqApply.html @@ -0,0 +1,178 @@ + + + + + + +
+
+
+
+
+
    +
  • + 需求id: +
  • + +
  • + 申请状态(00待应答/01已应答/99已废弃): +
  • + +
  • + 申请企业: +
  • + +
  • + 申请人id: +
  • + +
  • + 申请人名称: +
  • + +
  • + 申请时间: +
  • + +
  • + 申请备注: +
  • + +
  • + 审核人id: +
  • + +
  • + 审核人名称: +
  • + +
  • + 审核时间: +
  • + +
  • + 审核意见: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busReqApply/edit.html b/ruoyi-admin/src/main/resources/templates/system/busReqApply/edit.html new file mode 100644 index 000000000..de69631b6 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReqApply/edit.html @@ -0,0 +1,97 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busReqComment/add.html b/ruoyi-admin/src/main/resources/templates/system/busReqComment/add.html new file mode 100644 index 000000000..29fa99a40 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReqComment/add.html @@ -0,0 +1,60 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busReqComment/busReqComment.html b/ruoyi-admin/src/main/resources/templates/system/busReqComment/busReqComment.html new file mode 100644 index 000000000..1756daee4 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReqComment/busReqComment.html @@ -0,0 +1,124 @@ + + + + + + +
+
+
+
+
+
    +
  • + 资源需求id: +
  • + +
  • + 用户id: +
  • + +
  • + 用户名称: +
  • + +
  • + 评论内容: +
  • + +
  • + 创建时间: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busReqComment/edit.html b/ruoyi-admin/src/main/resources/templates/system/busReqComment/edit.html new file mode 100644 index 000000000..6c91e8bb0 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReqComment/edit.html @@ -0,0 +1,61 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busReqProgress/add.html b/ruoyi-admin/src/main/resources/templates/system/busReqProgress/add.html new file mode 100644 index 000000000..b9edaaedd --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReqProgress/add.html @@ -0,0 +1,66 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busReqProgress/busReqProgress.html b/ruoyi-admin/src/main/resources/templates/system/busReqProgress/busReqProgress.html new file mode 100644 index 000000000..040669f6d --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReqProgress/busReqProgress.html @@ -0,0 +1,133 @@ + + + + + + +
+
+
+
+
+
    +
  • + 资源需求id: +
  • + +
  • + 用户id: +
  • + +
  • + 用户名称: +
  • + +
  • + 需求当前状态: +
  • + +
  • + 描述: +
  • + +
  • + 创建时间: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busReqProgress/edit.html b/ruoyi-admin/src/main/resources/templates/system/busReqProgress/edit.html new file mode 100644 index 000000000..66d15a278 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busReqProgress/edit.html @@ -0,0 +1,67 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busResource/add.html b/ruoyi-admin/src/main/resources/templates/system/busResource/add.html new file mode 100644 index 000000000..220a98149 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResource/add.html @@ -0,0 +1,90 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busResource/busResource.html b/ruoyi-admin/src/main/resources/templates/system/busResource/busResource.html new file mode 100644 index 000000000..d8e8abd18 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResource/busResource.html @@ -0,0 +1,169 @@ + + + + + + +
+
+
+
+
+
    +
  • + 资源分类id: +
  • + +
  • + 资源级别: +
  • + +
  • + 资源基本信息: +
  • + +
  • + 资源标签: +
  • + +
  • + 资源状态(00待发布/01已发布/99已屏蔽): +
  • + +
  • + 发布企业: +
  • + +
  • + 发布人id: +
  • + +
  • + 发布人名称: +
  • + +
  • + 创建时间: +
  • + +
  • + 修改时间: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busResource/edit.html b/ruoyi-admin/src/main/resources/templates/system/busResource/edit.html new file mode 100644 index 000000000..79c0f0e09 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResource/edit.html @@ -0,0 +1,91 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busResourceApply/add.html b/ruoyi-admin/src/main/resources/templates/system/busResourceApply/add.html new file mode 100644 index 000000000..b794a34d9 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResourceApply/add.html @@ -0,0 +1,90 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busResourceApply/busResourceApply.html b/ruoyi-admin/src/main/resources/templates/system/busResourceApply/busResourceApply.html new file mode 100644 index 000000000..590de91a9 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResourceApply/busResourceApply.html @@ -0,0 +1,169 @@ + + + + + + +
+
+
+
+
+
    +
  • + 资源id: +
  • + +
  • + 申请状态(00待审核/01已通过/99未通过): +
  • + +
  • + 申请人id: +
  • + +
  • + 申请人名称: +
  • + +
  • + 申请时间: +
  • + +
  • + 申请备注: +
  • + +
  • + 审核人id: +
  • + +
  • + 审核人名称: +
  • + +
  • + 审核时间: +
  • + +
  • + 审核意见: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busResourceApply/edit.html b/ruoyi-admin/src/main/resources/templates/system/busResourceApply/edit.html new file mode 100644 index 000000000..b5c391409 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResourceApply/edit.html @@ -0,0 +1,91 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busResourceComment/add.html b/ruoyi-admin/src/main/resources/templates/system/busResourceComment/add.html new file mode 100644 index 000000000..0aa345492 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResourceComment/add.html @@ -0,0 +1,60 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busResourceComment/busResourceComment.html b/ruoyi-admin/src/main/resources/templates/system/busResourceComment/busResourceComment.html new file mode 100644 index 000000000..17b4ceee7 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResourceComment/busResourceComment.html @@ -0,0 +1,124 @@ + + + + + + +
+
+
+
+
+
    +
  • + 资源id: +
  • + +
  • + 用户id: +
  • + +
  • + 用户名称: +
  • + +
  • + 评论内容: +
  • + +
  • + 创建时间: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busResourceComment/edit.html b/ruoyi-admin/src/main/resources/templates/system/busResourceComment/edit.html new file mode 100644 index 000000000..8eb33163f --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResourceComment/edit.html @@ -0,0 +1,61 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busResourceType/add.html b/ruoyi-admin/src/main/resources/templates/system/busResourceType/add.html new file mode 100644 index 000000000..7e69215d0 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResourceType/add.html @@ -0,0 +1,66 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busResourceType/busResourceType.html b/ruoyi-admin/src/main/resources/templates/system/busResourceType/busResourceType.html new file mode 100644 index 000000000..e32ee9c41 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResourceType/busResourceType.html @@ -0,0 +1,133 @@ + + + + + + +
+
+
+
+
+
    +
  • + 分类名称: +
  • + +
  • + 上级分类id: +
  • + +
  • + 祖籍节点列表: +
  • + +
  • + 祖籍节点名称列表: +
  • + +
  • + 分类级别: +
  • + +
  • + 分类排序: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busResourceType/edit.html b/ruoyi-admin/src/main/resources/templates/system/busResourceType/edit.html new file mode 100644 index 000000000..95f2dd1fb --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busResourceType/edit.html @@ -0,0 +1,67 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busUserBrowse/add.html b/ruoyi-admin/src/main/resources/templates/system/busUserBrowse/add.html new file mode 100644 index 000000000..764a9d708 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busUserBrowse/add.html @@ -0,0 +1,54 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busUserBrowse/busUserBrowse.html b/ruoyi-admin/src/main/resources/templates/system/busUserBrowse/busUserBrowse.html new file mode 100644 index 000000000..0f97852a3 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busUserBrowse/busUserBrowse.html @@ -0,0 +1,115 @@ + + + + + + +
+
+
+
+
+
    +
  • + 浏览类型(01新闻/02资源/03资源需求): +
  • + +
  • + 浏览人id: +
  • + +
  • + 浏览人名称: +
  • + +
  • + 浏览时间: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busUserBrowse/edit.html b/ruoyi-admin/src/main/resources/templates/system/busUserBrowse/edit.html new file mode 100644 index 000000000..dd209eb60 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busUserBrowse/edit.html @@ -0,0 +1,55 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busUserCollect/add.html b/ruoyi-admin/src/main/resources/templates/system/busUserCollect/add.html new file mode 100644 index 000000000..56d74d34a --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busUserCollect/add.html @@ -0,0 +1,54 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busUserCollect/busUserCollect.html b/ruoyi-admin/src/main/resources/templates/system/busUserCollect/busUserCollect.html new file mode 100644 index 000000000..6ad455dbf --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busUserCollect/busUserCollect.html @@ -0,0 +1,115 @@ + + + + + + +
+
+
+
+
+
    +
  • + 收藏类型(01新闻/02资源/03资源需求): +
  • + +
  • + 收藏人id: +
  • + +
  • + 收藏人名称: +
  • + +
  • + 收藏时间: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busUserCollect/edit.html b/ruoyi-admin/src/main/resources/templates/system/busUserCollect/edit.html new file mode 100644 index 000000000..128a416e9 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busUserCollect/edit.html @@ -0,0 +1,55 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busUserMessage/add.html b/ruoyi-admin/src/main/resources/templates/system/busUserMessage/add.html new file mode 100644 index 000000000..59c9d184f --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busUserMessage/add.html @@ -0,0 +1,72 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-admin/src/main/resources/templates/system/busUserMessage/busUserMessage.html b/ruoyi-admin/src/main/resources/templates/system/busUserMessage/busUserMessage.html new file mode 100644 index 000000000..fdf3a7787 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busUserMessage/busUserMessage.html @@ -0,0 +1,142 @@ + + + + + + +
+
+
+
+
+
    +
  • + 消息类型: +
  • + +
  • + 消息内容: +
  • + +
  • + 消息时间: +
  • + +
  • + 接收人id: +
  • + +
  • + 接收人名称: +
  • + +
  • + 发布人id: +
  • + +
  • + 发布人名称: +
  • + +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/busUserMessage/edit.html b/ruoyi-admin/src/main/resources/templates/system/busUserMessage/edit.html new file mode 100644 index 000000000..bc20db048 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/busUserMessage/edit.html @@ -0,0 +1,73 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusAccessory.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusAccessory.java new file mode 100644 index 000000000..7274d9ff6 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusAccessory.java @@ -0,0 +1,108 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 附件表 bus_accessory + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusAccessory extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 附件id */ + private Long accessoryId; + /** 附件类型 */ + private String accessoryType; + /** 附件名称 */ + private String accessoryName; + /** 附件地址 */ + private String address; + /** 附件大小 */ + private Double size; + /** 附件关联id */ + private Long relevancyId; + /** 附件关联类型(新闻/资源/资源需求/企业明细/公共文档等) */ + private String relevancyType; + + public void setAccessoryId(Long accessoryId) + { + this.accessoryId = accessoryId; + } + + public Long getAccessoryId() + { + return accessoryId; + } + public void setAccessoryType(String accessoryType) + { + this.accessoryType = accessoryType; + } + + public String getAccessoryType() + { + return accessoryType; + } + public void setAccessoryName(String accessoryName) + { + this.accessoryName = accessoryName; + } + + public String getAccessoryName() + { + return accessoryName; + } + public void setAddress(String address) + { + this.address = address; + } + + public String getAddress() + { + return address; + } + public void setSize(Double size) + { + this.size = size; + } + + public Double getSize() + { + return size; + } + public void setRelevancyId(Long relevancyId) + { + this.relevancyId = relevancyId; + } + + public Long getRelevancyId() + { + return relevancyId; + } + public void setRelevancyType(String relevancyType) + { + this.relevancyType = relevancyType; + } + + public String getRelevancyType() + { + return relevancyType; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("accessoryId", getAccessoryId()) + .append("accessoryType", getAccessoryType()) + .append("accessoryName", getAccessoryName()) + .append("address", getAddress()) + .append("size", getSize()) + .append("createTime", getCreateTime()) + .append("relevancyId", getRelevancyId()) + .append("relevancyType", getRelevancyType()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusDeptApply.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusDeptApply.java new file mode 100644 index 000000000..d89c78880 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusDeptApply.java @@ -0,0 +1,265 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; +import java.util.Date; + +/** + * 企业入驻申请表 bus_dept_apply + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusDeptApply extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 入驻申请id */ + private Long applyId; + /** 申请类型(企业注册/企业迁址) */ + private String applyType; + /** 企业名称 */ + private String deptName; + /** 行业 */ + private String business; + /** 企业经营范围 */ + private String deptScope; + /** 企业类型 */ + private String deptType; + /** 企业链接 */ + private String deptAddress; + /** 企业联系电话 */ + private String deptPhone; + /** 法人信息(姓名、性别、政治面貌、固定电话、手机号码等) */ + private String legalConfig; + /** 企业工作人员信息列表(姓名、性别、手机号码、车牌号等) */ + private String deptUsers; + /** 工商注册号 */ + private String regCode; + /** 统一社会信用代码 */ + private String creditCode; + /** 组织机构代码 */ + private String orgCode; + /** 纳税人识别号 */ + private String taxpayerCode; + /** 纳税人资质 */ + private String taxpayerQua; + /** 审核状态(00待审核/01已通过/99未通过) */ + private String status; + /** 审核人id */ + private Long auditUserId; + /** 审核人名称 */ + private String auditUserName; + /** 审核时间 */ + private Date auditTime; + /** 审核意见 */ + private String auditRemark; + + public void setApplyId(Long applyId) + { + this.applyId = applyId; + } + + public Long getApplyId() + { + return applyId; + } + public void setApplyType(String applyType) + { + this.applyType = applyType; + } + + public String getApplyType() + { + return applyType; + } + public void setDeptName(String deptName) + { + this.deptName = deptName; + } + + public String getDeptName() + { + return deptName; + } + public void setBusiness(String business) + { + this.business = business; + } + + public String getBusiness() + { + return business; + } + public void setDeptScope(String deptScope) + { + this.deptScope = deptScope; + } + + public String getDeptScope() + { + return deptScope; + } + public void setDeptType(String deptType) + { + this.deptType = deptType; + } + + public String getDeptType() + { + return deptType; + } + public void setDeptAddress(String deptAddress) + { + this.deptAddress = deptAddress; + } + + public String getDeptAddress() + { + return deptAddress; + } + public void setDeptPhone(String deptPhone) + { + this.deptPhone = deptPhone; + } + + public String getDeptPhone() + { + return deptPhone; + } + public void setLegalConfig(String legalConfig) + { + this.legalConfig = legalConfig; + } + + public String getLegalConfig() + { + return legalConfig; + } + public void setDeptUsers(String deptUsers) + { + this.deptUsers = deptUsers; + } + + public String getDeptUsers() + { + return deptUsers; + } + public void setRegCode(String regCode) + { + this.regCode = regCode; + } + + public String getRegCode() + { + return regCode; + } + public void setCreditCode(String creditCode) + { + this.creditCode = creditCode; + } + + public String getCreditCode() + { + return creditCode; + } + public void setOrgCode(String orgCode) + { + this.orgCode = orgCode; + } + + public String getOrgCode() + { + return orgCode; + } + public void setTaxpayerCode(String taxpayerCode) + { + this.taxpayerCode = taxpayerCode; + } + + public String getTaxpayerCode() + { + return taxpayerCode; + } + public void setTaxpayerQua(String taxpayerQua) + { + this.taxpayerQua = taxpayerQua; + } + + public String getTaxpayerQua() + { + return taxpayerQua; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setAuditUserId(Long auditUserId) + { + this.auditUserId = auditUserId; + } + + public Long getAuditUserId() + { + return auditUserId; + } + public void setAuditUserName(String auditUserName) + { + this.auditUserName = auditUserName; + } + + public String getAuditUserName() + { + return auditUserName; + } + public void setAuditTime(Date auditTime) + { + this.auditTime = auditTime; + } + + public Date getAuditTime() + { + return auditTime; + } + public void setAuditRemark(String auditRemark) + { + this.auditRemark = auditRemark; + } + + public String getAuditRemark() + { + return auditRemark; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("applyId", getApplyId()) + .append("applyType", getApplyType()) + .append("deptName", getDeptName()) + .append("business", getBusiness()) + .append("deptScope", getDeptScope()) + .append("deptType", getDeptType()) + .append("deptAddress", getDeptAddress()) + .append("deptPhone", getDeptPhone()) + .append("legalConfig", getLegalConfig()) + .append("deptUsers", getDeptUsers()) + .append("regCode", getRegCode()) + .append("creditCode", getCreditCode()) + .append("orgCode", getOrgCode()) + .append("taxpayerCode", getTaxpayerCode()) + .append("taxpayerQua", getTaxpayerQua()) + .append("createTime", getCreateTime()) + .append("status", getStatus()) + .append("auditUserId", getAuditUserId()) + .append("auditUserName", getAuditUserName()) + .append("auditTime", getAuditTime()) + .append("auditRemark", getAuditRemark()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusNews.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusNews.java new file mode 100644 index 000000000..7d12cff96 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusNews.java @@ -0,0 +1,121 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 新闻表 bus_news + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusNews extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 新闻id */ + private Long newsId; + /** 新闻标题 */ + private String title; + /** 新闻正文 */ + private String content; + /** 新闻标签 */ + private String label; + /** 新闻状态(00待发布/01已发布/99已屏蔽) */ + private String status; + /** 发布企业 */ + private Long publishDeptId; + /** 发布人id */ + private Long publishUserId; + /** 发布人名称 */ + private String publishUserName; + + public void setNewsId(Long newsId) + { + this.newsId = newsId; + } + + public Long getNewsId() + { + return newsId; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setLabel(String label) + { + this.label = label; + } + + public String getLabel() + { + return label; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setPublishDeptId(Long publishDeptId) + { + this.publishDeptId = publishDeptId; + } + + public Long getPublishDeptId() + { + return publishDeptId; + } + public void setPublishUserId(Long publishUserId) + { + this.publishUserId = publishUserId; + } + + public Long getPublishUserId() + { + return publishUserId; + } + public void setPublishUserName(String publishUserName) + { + this.publishUserName = publishUserName; + } + + public String getPublishUserName() + { + return publishUserName; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("newsId", getNewsId()) + .append("title", getTitle()) + .append("content", getContent()) + .append("label", getLabel()) + .append("status", getStatus()) + .append("publishDeptId", getPublishDeptId()) + .append("publishUserId", getPublishUserId()) + .append("publishUserName", getPublishUserName()) + .append("createTime", getCreateTime()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReq.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReq.java new file mode 100644 index 000000000..f85d16b20 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReq.java @@ -0,0 +1,194 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; +import java.util.Date; + +/** + * 资源需求表 bus_req + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusReq extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 需求id */ + private Long reqId; + /** 需求类型 */ + private Long reqType; + /** 需求名称 */ + private String reqName; + /** 需求级别 */ + private String classes; + /** 需求标签 */ + private String label; + /** 需求描述 */ + private String content; + /** 需求状态(00待发布/01已发布/02处理中/03验收中/04已完成/00已屏蔽) */ + private String status; + /** 发布企业 */ + private Long publishDeptId; + /** 发布人id */ + private Long publishUserId; + /** 发布人名称 */ + private String publishUserName; + /** 接收企业 */ + private Long receiveDeptId; + /** 接收人id */ + private Long receiveUserId; + /** 接收人名称 */ + private String receiveUserName; + /** 接收时间 */ + private Date receiveTime; + + public void setReqId(Long reqId) + { + this.reqId = reqId; + } + + public Long getReqId() + { + return reqId; + } + public void setReqType(Long reqType) + { + this.reqType = reqType; + } + + public Long getReqType() + { + return reqType; + } + public void setReqName(String reqName) + { + this.reqName = reqName; + } + + public String getReqName() + { + return reqName; + } + public void setClasses(String classes) + { + this.classes = classes; + } + + public String getClasses() + { + return classes; + } + public void setLabel(String label) + { + this.label = label; + } + + public String getLabel() + { + return label; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setPublishDeptId(Long publishDeptId) + { + this.publishDeptId = publishDeptId; + } + + public Long getPublishDeptId() + { + return publishDeptId; + } + public void setPublishUserId(Long publishUserId) + { + this.publishUserId = publishUserId; + } + + public Long getPublishUserId() + { + return publishUserId; + } + public void setPublishUserName(String publishUserName) + { + this.publishUserName = publishUserName; + } + + public String getPublishUserName() + { + return publishUserName; + } + public void setReceiveDeptId(Long receiveDeptId) + { + this.receiveDeptId = receiveDeptId; + } + + public Long getReceiveDeptId() + { + return receiveDeptId; + } + public void setReceiveUserId(Long receiveUserId) + { + this.receiveUserId = receiveUserId; + } + + public Long getReceiveUserId() + { + return receiveUserId; + } + public void setReceiveUserName(String receiveUserName) + { + this.receiveUserName = receiveUserName; + } + + public String getReceiveUserName() + { + return receiveUserName; + } + public void setReceiveTime(Date receiveTime) + { + this.receiveTime = receiveTime; + } + + public Date getReceiveTime() + { + return receiveTime; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("reqId", getReqId()) + .append("reqType", getReqType()) + .append("reqName", getReqName()) + .append("classes", getClasses()) + .append("label", getLabel()) + .append("content", getContent()) + .append("status", getStatus()) + .append("publishDeptId", getPublishDeptId()) + .append("publishUserId", getPublishUserId()) + .append("publishUserName", getPublishUserName()) + .append("createTime", getCreateTime()) + .append("receiveDeptId", getReceiveDeptId()) + .append("receiveUserId", getReceiveUserId()) + .append("receiveUserName", getReceiveUserName()) + .append("receiveTime", getReceiveTime()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReqApply.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReqApply.java new file mode 100644 index 000000000..ac8929241 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReqApply.java @@ -0,0 +1,168 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; +import java.util.Date; + +/** + * 资源需求接包申请表 bus_req_apply + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusReqApply extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 申请id */ + private Long applyId; + /** 需求id */ + private Long reqId; + /** 申请状态(00待应答/01已应答/99已废弃) */ + private String status; + /** 申请企业 */ + private Long applyDeptId; + /** 申请人id */ + private Long applyUserId; + /** 申请人名称 */ + private String applyUserName; + /** 申请时间 */ + private Date applyTime; + /** 申请备注 */ + private String applyRemark; + /** 审核人id */ + private Long auditUserId; + /** 审核人名称 */ + private String auditUserName; + /** 审核时间 */ + private Date auditTime; + /** 审核意见 */ + private String auditRemark; + + public void setApplyId(Long applyId) + { + this.applyId = applyId; + } + + public Long getApplyId() + { + return applyId; + } + public void setReqId(Long reqId) + { + this.reqId = reqId; + } + + public Long getReqId() + { + return reqId; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setApplyDeptId(Long applyDeptId) + { + this.applyDeptId = applyDeptId; + } + + public Long getApplyDeptId() + { + return applyDeptId; + } + public void setApplyUserId(Long applyUserId) + { + this.applyUserId = applyUserId; + } + + public Long getApplyUserId() + { + return applyUserId; + } + public void setApplyUserName(String applyUserName) + { + this.applyUserName = applyUserName; + } + + public String getApplyUserName() + { + return applyUserName; + } + public void setApplyTime(Date applyTime) + { + this.applyTime = applyTime; + } + + public Date getApplyTime() + { + return applyTime; + } + public void setApplyRemark(String applyRemark) + { + this.applyRemark = applyRemark; + } + + public String getApplyRemark() + { + return applyRemark; + } + public void setAuditUserId(Long auditUserId) + { + this.auditUserId = auditUserId; + } + + public Long getAuditUserId() + { + return auditUserId; + } + public void setAuditUserName(String auditUserName) + { + this.auditUserName = auditUserName; + } + + public String getAuditUserName() + { + return auditUserName; + } + public void setAuditTime(Date auditTime) + { + this.auditTime = auditTime; + } + + public Date getAuditTime() + { + return auditTime; + } + public void setAuditRemark(String auditRemark) + { + this.auditRemark = auditRemark; + } + + public String getAuditRemark() + { + return auditRemark; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("applyId", getApplyId()) + .append("reqId", getReqId()) + .append("status", getStatus()) + .append("applyDeptId", getApplyDeptId()) + .append("applyUserId", getApplyUserId()) + .append("applyUserName", getApplyUserName()) + .append("applyTime", getApplyTime()) + .append("applyRemark", getApplyRemark()) + .append("auditUserId", getAuditUserId()) + .append("auditUserName", getAuditUserName()) + .append("auditTime", getAuditTime()) + .append("auditRemark", getAuditRemark()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReqComment.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReqComment.java new file mode 100644 index 000000000..217845402 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReqComment.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.core.domain.BaseEntity; + +/** + * 资源需求评论表 bus_req_comment + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusReqComment extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 评论id */ + private Long commentId; + /** 资源需求id */ + private Long reqId; + /** 用户id */ + private Long userId; + /** 用户名称 */ + private String userName; + /** 评论内容 */ + private String content; + + public void setCommentId(Long commentId) + { + this.commentId = commentId; + } + + public Long getCommentId() + { + return commentId; + } + public void setReqId(Long reqId) + { + this.reqId = reqId; + } + + public Long getReqId() + { + return reqId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setUserName(String userName) + { + this.userName = userName; + } + + public String getUserName() + { + return userName; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("commentId", getCommentId()) + .append("reqId", getReqId()) + .append("userId", getUserId()) + .append("userName", getUserName()) + .append("content", getContent()) + .append("createTime", getCreateTime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReqProgress.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReqProgress.java new file mode 100644 index 000000000..433ce7a83 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusReqProgress.java @@ -0,0 +1,96 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 资源需求进度表 bus_req_progress + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusReqProgress extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 进度id */ + private Long progressId; + /** 资源需求id */ + private Long reqId; + /** 用户id */ + private Long userId; + /** 用户名称 */ + private String userName; + /** 需求当前状态 */ + private String status; + /** 描述 */ + private String content; + + public void setProgressId(Long progressId) + { + this.progressId = progressId; + } + + public Long getProgressId() + { + return progressId; + } + public void setReqId(Long reqId) + { + this.reqId = reqId; + } + + public Long getReqId() + { + return reqId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setUserName(String userName) + { + this.userName = userName; + } + + public String getUserName() + { + return userName; + } + 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 String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("progressId", getProgressId()) + .append("reqId", getReqId()) + .append("userId", getUserId()) + .append("userName", getUserName()) + .append("status", getStatus()) + .append("content", getContent()) + .append("createTime", getCreateTime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResource.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResource.java new file mode 100644 index 000000000..be627a41d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResource.java @@ -0,0 +1,133 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 资源表 bus_resource + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusResource extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 资源id */ + private Long resourceId; + /** 资源分类id */ + private Long typeId; + /** 资源级别 */ + private String classes; + /** 资源基本信息 */ + private String content; + /** 资源标签 */ + private String label; + /** 资源状态(00待发布/01已发布/99已屏蔽) */ + private String status; + /** 发布企业 */ + private Long publishDeptId; + /** 发布人id */ + private Long publishUserId; + /** 发布人名称 */ + private String publishUserName; + + public void setResourceId(Long resourceId) + { + this.resourceId = resourceId; + } + + public Long getResourceId() + { + return resourceId; + } + public void setTypeId(Long typeId) + { + this.typeId = typeId; + } + + public Long getTypeId() + { + return typeId; + } + public void setClasses(String classes) + { + this.classes = classes; + } + + public String getClasses() + { + return classes; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setLabel(String label) + { + this.label = label; + } + + public String getLabel() + { + return label; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setPublishDeptId(Long publishDeptId) + { + this.publishDeptId = publishDeptId; + } + + public Long getPublishDeptId() + { + return publishDeptId; + } + public void setPublishUserId(Long publishUserId) + { + this.publishUserId = publishUserId; + } + + public Long getPublishUserId() + { + return publishUserId; + } + public void setPublishUserName(String publishUserName) + { + this.publishUserName = publishUserName; + } + + public String getPublishUserName() + { + return publishUserName; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("resourceId", getResourceId()) + .append("typeId", getTypeId()) + .append("classes", getClasses()) + .append("content", getContent()) + .append("label", getLabel()) + .append("status", getStatus()) + .append("publishDeptId", getPublishDeptId()) + .append("publishUserId", getPublishUserId()) + .append("publishUserName", getPublishUserName()) + .append("createTime", getCreateTime()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResourceApply.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResourceApply.java new file mode 100644 index 000000000..368d5a607 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResourceApply.java @@ -0,0 +1,156 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; +import java.util.Date; + +/** + * 资源使用申请表 bus_resource_apply + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusResourceApply extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 申请id */ + private Long applyId; + /** 资源id */ + private Long resourceId; + /** 申请状态(00待审核/01已通过/99未通过) */ + private String status; + /** 申请人id */ + private Long applyUserId; + /** 申请人名称 */ + private String applyUserName; + /** 申请时间 */ + private Date applyTime; + /** 申请备注 */ + private String applyRemark; + /** 审核人id */ + private Long auditUserId; + /** 审核人名称 */ + private String auditUserName; + /** 审核时间 */ + private Date auditTime; + /** 审核意见 */ + private String auditRemark; + + public void setApplyId(Long applyId) + { + this.applyId = applyId; + } + + public Long getApplyId() + { + return applyId; + } + public void setResourceId(Long resourceId) + { + this.resourceId = resourceId; + } + + public Long getResourceId() + { + return resourceId; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setApplyUserId(Long applyUserId) + { + this.applyUserId = applyUserId; + } + + public Long getApplyUserId() + { + return applyUserId; + } + public void setApplyUserName(String applyUserName) + { + this.applyUserName = applyUserName; + } + + public String getApplyUserName() + { + return applyUserName; + } + public void setApplyTime(Date applyTime) + { + this.applyTime = applyTime; + } + + public Date getApplyTime() + { + return applyTime; + } + public void setApplyRemark(String applyRemark) + { + this.applyRemark = applyRemark; + } + + public String getApplyRemark() + { + return applyRemark; + } + public void setAuditUserId(Long auditUserId) + { + this.auditUserId = auditUserId; + } + + public Long getAuditUserId() + { + return auditUserId; + } + public void setAuditUserName(String auditUserName) + { + this.auditUserName = auditUserName; + } + + public String getAuditUserName() + { + return auditUserName; + } + public void setAuditTime(Date auditTime) + { + this.auditTime = auditTime; + } + + public Date getAuditTime() + { + return auditTime; + } + public void setAuditRemark(String auditRemark) + { + this.auditRemark = auditRemark; + } + + public String getAuditRemark() + { + return auditRemark; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("applyId", getApplyId()) + .append("resourceId", getResourceId()) + .append("status", getStatus()) + .append("applyUserId", getApplyUserId()) + .append("applyUserName", getApplyUserName()) + .append("applyTime", getApplyTime()) + .append("applyRemark", getApplyRemark()) + .append("auditUserId", getAuditUserId()) + .append("auditUserName", getAuditUserName()) + .append("auditTime", getAuditTime()) + .append("auditRemark", getAuditRemark()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResourceComment.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResourceComment.java new file mode 100644 index 000000000..13ea47f54 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResourceComment.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.core.domain.BaseEntity; + +/** + * 资源评论表 bus_resource_comment + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusResourceComment extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 评论id */ + private Long commentId; + /** 资源id */ + private Long resourceId; + /** 用户id */ + private Long userId; + /** 用户名称 */ + private String userName; + /** 评论内容 */ + private String content; + + public void setCommentId(Long commentId) + { + this.commentId = commentId; + } + + public Long getCommentId() + { + return commentId; + } + public void setResourceId(Long resourceId) + { + this.resourceId = resourceId; + } + + public Long getResourceId() + { + return resourceId; + } + public void setUserId(Long userId) + { + this.userId = userId; + } + + public Long getUserId() + { + return userId; + } + public void setUserName(String userName) + { + this.userName = userName; + } + + public String getUserName() + { + return userName; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("commentId", getCommentId()) + .append("resourceId", getResourceId()) + .append("userId", getUserId()) + .append("userName", getUserName()) + .append("content", getContent()) + .append("createTime", getCreateTime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResourceType.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResourceType.java new file mode 100644 index 000000000..cd7c02b13 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusResourceType.java @@ -0,0 +1,107 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 资源分类表 bus_resource_type + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusResourceType extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 分类id */ + private Long typeId; + /** 分类名称 */ + private String typeName; + /** 上级分类id */ + private Long parentId; + /** 祖籍节点列表 */ + private String parentIds; + /** 祖籍节点名称列表 */ + private String parentNames; + /** 分类级别 */ + private String classes; + /** 分类排序 */ + private Long sort; + + public void setTypeId(Long typeId) + { + this.typeId = typeId; + } + + public Long getTypeId() + { + return typeId; + } + public void setTypeName(String typeName) + { + this.typeName = typeName; + } + + public String getTypeName() + { + return typeName; + } + public void setParentId(Long parentId) + { + this.parentId = parentId; + } + + public Long getParentId() + { + return parentId; + } + public void setParentIds(String parentIds) + { + this.parentIds = parentIds; + } + + public String getParentIds() + { + return parentIds; + } + public void setParentNames(String parentNames) + { + this.parentNames = parentNames; + } + + public String getParentNames() + { + return parentNames; + } + public void setClasses(String classes) + { + this.classes = classes; + } + + public String getClasses() + { + return classes; + } + public void setSort(Long sort) + { + this.sort = sort; + } + + public Long getSort() + { + return sort; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("typeId", getTypeId()) + .append("typeName", getTypeName()) + .append("parentId", getParentId()) + .append("parentIds", getParentIds()) + .append("parentNames", getParentNames()) + .append("classes", getClasses()) + .append("sort", getSort()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusUserBrowse.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusUserBrowse.java new file mode 100644 index 000000000..1e273b748 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusUserBrowse.java @@ -0,0 +1,72 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 用户浏览足迹表 bus_user_browse + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusUserBrowse extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 浏览关联id */ + private Long browseId; + /** 浏览类型(01新闻/02资源/03资源需求) */ + private String browseType; + /** 浏览人id */ + private Long browseUserId; + /** 浏览人名称 */ + private String browseUserName; + + public void setBrowseId(Long browseId) + { + this.browseId = browseId; + } + + public Long getBrowseId() + { + return browseId; + } + public void setBrowseType(String browseType) + { + this.browseType = browseType; + } + + public String getBrowseType() + { + return browseType; + } + public void setBrowseUserId(Long browseUserId) + { + this.browseUserId = browseUserId; + } + + public Long getBrowseUserId() + { + return browseUserId; + } + public void setBrowseUserName(String browseUserName) + { + this.browseUserName = browseUserName; + } + + public String getBrowseUserName() + { + return browseUserName; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("browseId", getBrowseId()) + .append("browseType", getBrowseType()) + .append("browseUserId", getBrowseUserId()) + .append("browseUserName", getBrowseUserName()) + .append("createTime", getCreateTime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusUserCollect.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusUserCollect.java new file mode 100644 index 000000000..937a69d5c --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusUserCollect.java @@ -0,0 +1,72 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 用户收藏表 bus_user_collect + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusUserCollect extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 收藏关联id */ + private Long collectId; + /** 收藏类型(01新闻/02资源/03资源需求) */ + private String collectType; + /** 收藏人id */ + private Long collectUserId; + /** 收藏人名称 */ + private String collectUserName; + + public void setCollectId(Long collectId) + { + this.collectId = collectId; + } + + public Long getCollectId() + { + return collectId; + } + public void setCollectType(String collectType) + { + this.collectType = collectType; + } + + public String getCollectType() + { + return collectType; + } + public void setCollectUserId(Long collectUserId) + { + this.collectUserId = collectUserId; + } + + public Long getCollectUserId() + { + return collectUserId; + } + public void setCollectUserName(String collectUserName) + { + this.collectUserName = collectUserName; + } + + public String getCollectUserName() + { + return collectUserName; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("collectId", getCollectId()) + .append("collectType", getCollectType()) + .append("collectUserId", getCollectUserId()) + .append("collectUserName", getCollectUserName()) + .append("createTime", getCreateTime()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusUserMessage.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusUserMessage.java new file mode 100644 index 000000000..53066c453 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/BusUserMessage.java @@ -0,0 +1,108 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 用户消息表 bus_user_message + * + * @author ruoyi + * @date 2021-01-07 + */ +public class BusUserMessage extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 消息id */ + private Long messageId; + /** 消息类型 */ + private String messageType; + /** 消息内容 */ + private String content; + /** 接收人id */ + private Long receiveUserId; + /** 接收人名称 */ + private String receiveUserName; + /** 发布人id */ + private Long publishUserId; + /** 发布人名称 */ + private String publishUserName; + + public void setMessageId(Long messageId) + { + this.messageId = messageId; + } + + public Long getMessageId() + { + return messageId; + } + public void setMessageType(String messageType) + { + this.messageType = messageType; + } + + public String getMessageType() + { + return messageType; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setReceiveUserId(Long receiveUserId) + { + this.receiveUserId = receiveUserId; + } + + public Long getReceiveUserId() + { + return receiveUserId; + } + public void setReceiveUserName(String receiveUserName) + { + this.receiveUserName = receiveUserName; + } + + public String getReceiveUserName() + { + return receiveUserName; + } + public void setPublishUserId(Long publishUserId) + { + this.publishUserId = publishUserId; + } + + public Long getPublishUserId() + { + return publishUserId; + } + public void setPublishUserName(String publishUserName) + { + this.publishUserName = publishUserName; + } + + public String getPublishUserName() + { + return publishUserName; + } + + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("messageId", getMessageId()) + .append("messageType", getMessageType()) + .append("content", getContent()) + .append("createTime", getCreateTime()) + .append("receiveUserId", getReceiveUserId()) + .append("receiveUserName", getReceiveUserName()) + .append("publishUserId", getPublishUserId()) + .append("publishUserName", getPublishUserName()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusAccessoryMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusAccessoryMapper.java new file mode 100644 index 000000000..8fa30195c --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusAccessoryMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusAccessory; +import java.util.List; + +/** + * 附件 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusAccessoryMapper +{ + /** + * 查询附件信息 + * + * @param accessoryId 附件ID + * @return 附件信息 + */ + public BusAccessory selectBusAccessoryById(Long accessoryId); + + /** + * 查询附件列表 + * + * @param busAccessory 附件信息 + * @return 附件集合 + */ + public List selectBusAccessoryList(BusAccessory busAccessory); + + /** + * 新增附件 + * + * @param busAccessory 附件信息 + * @return 结果 + */ + public int insertBusAccessory(BusAccessory busAccessory); + + /** + * 修改附件 + * + * @param busAccessory 附件信息 + * @return 结果 + */ + public int updateBusAccessory(BusAccessory busAccessory); + + /** + * 删除附件 + * + * @param accessoryId 附件ID + * @return 结果 + */ + public int deleteBusAccessoryById(Long accessoryId); + + /** + * 批量删除附件 + * + * @param accessoryIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusAccessoryByIds(String[] accessoryIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusDeptApplyMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusDeptApplyMapper.java new file mode 100644 index 000000000..5102eb7d5 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusDeptApplyMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusDeptApply; +import java.util.List; + +/** + * 企业入驻申请 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusDeptApplyMapper +{ + /** + * 查询企业入驻申请信息 + * + * @param applyId 企业入驻申请ID + * @return 企业入驻申请信息 + */ + public BusDeptApply selectBusDeptApplyById(Long applyId); + + /** + * 查询企业入驻申请列表 + * + * @param busDeptApply 企业入驻申请信息 + * @return 企业入驻申请集合 + */ + public List selectBusDeptApplyList(BusDeptApply busDeptApply); + + /** + * 新增企业入驻申请 + * + * @param busDeptApply 企业入驻申请信息 + * @return 结果 + */ + public int insertBusDeptApply(BusDeptApply busDeptApply); + + /** + * 修改企业入驻申请 + * + * @param busDeptApply 企业入驻申请信息 + * @return 结果 + */ + public int updateBusDeptApply(BusDeptApply busDeptApply); + + /** + * 删除企业入驻申请 + * + * @param applyId 企业入驻申请ID + * @return 结果 + */ + public int deleteBusDeptApplyById(Long applyId); + + /** + * 批量删除企业入驻申请 + * + * @param applyIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusDeptApplyByIds(String[] applyIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusNewsMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusNewsMapper.java new file mode 100644 index 000000000..fa387e4c4 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusNewsMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusNews; +import java.util.List; + +/** + * 新闻 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusNewsMapper +{ + /** + * 查询新闻信息 + * + * @param newsId 新闻ID + * @return 新闻信息 + */ + public BusNews selectBusNewsById(Long newsId); + + /** + * 查询新闻列表 + * + * @param busNews 新闻信息 + * @return 新闻集合 + */ + public List selectBusNewsList(BusNews busNews); + + /** + * 新增新闻 + * + * @param busNews 新闻信息 + * @return 结果 + */ + public int insertBusNews(BusNews busNews); + + /** + * 修改新闻 + * + * @param busNews 新闻信息 + * @return 结果 + */ + public int updateBusNews(BusNews busNews); + + /** + * 删除新闻 + * + * @param newsId 新闻ID + * @return 结果 + */ + public int deleteBusNewsById(Long newsId); + + /** + * 批量删除新闻 + * + * @param newsIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusNewsByIds(String[] newsIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqApplyMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqApplyMapper.java new file mode 100644 index 000000000..faf6f3135 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqApplyMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusReqApply; +import java.util.List; + +/** + * 资源需求接包申请 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusReqApplyMapper +{ + /** + * 查询资源需求接包申请信息 + * + * @param applyId 资源需求接包申请ID + * @return 资源需求接包申请信息 + */ + public BusReqApply selectBusReqApplyById(Long applyId); + + /** + * 查询资源需求接包申请列表 + * + * @param busReqApply 资源需求接包申请信息 + * @return 资源需求接包申请集合 + */ + public List selectBusReqApplyList(BusReqApply busReqApply); + + /** + * 新增资源需求接包申请 + * + * @param busReqApply 资源需求接包申请信息 + * @return 结果 + */ + public int insertBusReqApply(BusReqApply busReqApply); + + /** + * 修改资源需求接包申请 + * + * @param busReqApply 资源需求接包申请信息 + * @return 结果 + */ + public int updateBusReqApply(BusReqApply busReqApply); + + /** + * 删除资源需求接包申请 + * + * @param applyId 资源需求接包申请ID + * @return 结果 + */ + public int deleteBusReqApplyById(Long applyId); + + /** + * 批量删除资源需求接包申请 + * + * @param applyIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusReqApplyByIds(String[] applyIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqCommentMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqCommentMapper.java new file mode 100644 index 000000000..31ed602bd --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqCommentMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusReqComment; +import java.util.List; + +/** + * 资源需求评论 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusReqCommentMapper +{ + /** + * 查询资源需求评论信息 + * + * @param commentId 资源需求评论ID + * @return 资源需求评论信息 + */ + public BusReqComment selectBusReqCommentById(Long commentId); + + /** + * 查询资源需求评论列表 + * + * @param busReqComment 资源需求评论信息 + * @return 资源需求评论集合 + */ + public List selectBusReqCommentList(BusReqComment busReqComment); + + /** + * 新增资源需求评论 + * + * @param busReqComment 资源需求评论信息 + * @return 结果 + */ + public int insertBusReqComment(BusReqComment busReqComment); + + /** + * 修改资源需求评论 + * + * @param busReqComment 资源需求评论信息 + * @return 结果 + */ + public int updateBusReqComment(BusReqComment busReqComment); + + /** + * 删除资源需求评论 + * + * @param commentId 资源需求评论ID + * @return 结果 + */ + public int deleteBusReqCommentById(Long commentId); + + /** + * 批量删除资源需求评论 + * + * @param commentIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusReqCommentByIds(String[] commentIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqMapper.java new file mode 100644 index 000000000..4953da43b --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusReq; +import java.util.List; + +/** + * 资源需求 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusReqMapper +{ + /** + * 查询资源需求信息 + * + * @param reqId 资源需求ID + * @return 资源需求信息 + */ + public BusReq selectBusReqById(Long reqId); + + /** + * 查询资源需求列表 + * + * @param busReq 资源需求信息 + * @return 资源需求集合 + */ + public List selectBusReqList(BusReq busReq); + + /** + * 新增资源需求 + * + * @param busReq 资源需求信息 + * @return 结果 + */ + public int insertBusReq(BusReq busReq); + + /** + * 修改资源需求 + * + * @param busReq 资源需求信息 + * @return 结果 + */ + public int updateBusReq(BusReq busReq); + + /** + * 删除资源需求 + * + * @param reqId 资源需求ID + * @return 结果 + */ + public int deleteBusReqById(Long reqId); + + /** + * 批量删除资源需求 + * + * @param reqIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusReqByIds(String[] reqIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqProgressMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqProgressMapper.java new file mode 100644 index 000000000..74e06b3e3 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusReqProgressMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusReqProgress; +import java.util.List; + +/** + * 资源需求进度 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusReqProgressMapper +{ + /** + * 查询资源需求进度信息 + * + * @param progressId 资源需求进度ID + * @return 资源需求进度信息 + */ + public BusReqProgress selectBusReqProgressById(Long progressId); + + /** + * 查询资源需求进度列表 + * + * @param busReqProgress 资源需求进度信息 + * @return 资源需求进度集合 + */ + public List selectBusReqProgressList(BusReqProgress busReqProgress); + + /** + * 新增资源需求进度 + * + * @param busReqProgress 资源需求进度信息 + * @return 结果 + */ + public int insertBusReqProgress(BusReqProgress busReqProgress); + + /** + * 修改资源需求进度 + * + * @param busReqProgress 资源需求进度信息 + * @return 结果 + */ + public int updateBusReqProgress(BusReqProgress busReqProgress); + + /** + * 删除资源需求进度 + * + * @param progressId 资源需求进度ID + * @return 结果 + */ + public int deleteBusReqProgressById(Long progressId); + + /** + * 批量删除资源需求进度 + * + * @param progressIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusReqProgressByIds(String[] progressIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceApplyMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceApplyMapper.java new file mode 100644 index 000000000..78d1ca40b --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceApplyMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusResourceApply; +import java.util.List; + +/** + * 资源使用申请 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusResourceApplyMapper +{ + /** + * 查询资源使用申请信息 + * + * @param applyId 资源使用申请ID + * @return 资源使用申请信息 + */ + public BusResourceApply selectBusResourceApplyById(Long applyId); + + /** + * 查询资源使用申请列表 + * + * @param busResourceApply 资源使用申请信息 + * @return 资源使用申请集合 + */ + public List selectBusResourceApplyList(BusResourceApply busResourceApply); + + /** + * 新增资源使用申请 + * + * @param busResourceApply 资源使用申请信息 + * @return 结果 + */ + public int insertBusResourceApply(BusResourceApply busResourceApply); + + /** + * 修改资源使用申请 + * + * @param busResourceApply 资源使用申请信息 + * @return 结果 + */ + public int updateBusResourceApply(BusResourceApply busResourceApply); + + /** + * 删除资源使用申请 + * + * @param applyId 资源使用申请ID + * @return 结果 + */ + public int deleteBusResourceApplyById(Long applyId); + + /** + * 批量删除资源使用申请 + * + * @param applyIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusResourceApplyByIds(String[] applyIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceCommentMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceCommentMapper.java new file mode 100644 index 000000000..c051c10fe --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceCommentMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusResourceComment; +import java.util.List; + +/** + * 资源评论 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusResourceCommentMapper +{ + /** + * 查询资源评论信息 + * + * @param commentId 资源评论ID + * @return 资源评论信息 + */ + public BusResourceComment selectBusResourceCommentById(Long commentId); + + /** + * 查询资源评论列表 + * + * @param busResourceComment 资源评论信息 + * @return 资源评论集合 + */ + public List selectBusResourceCommentList(BusResourceComment busResourceComment); + + /** + * 新增资源评论 + * + * @param busResourceComment 资源评论信息 + * @return 结果 + */ + public int insertBusResourceComment(BusResourceComment busResourceComment); + + /** + * 修改资源评论 + * + * @param busResourceComment 资源评论信息 + * @return 结果 + */ + public int updateBusResourceComment(BusResourceComment busResourceComment); + + /** + * 删除资源评论 + * + * @param commentId 资源评论ID + * @return 结果 + */ + public int deleteBusResourceCommentById(Long commentId); + + /** + * 批量删除资源评论 + * + * @param commentIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusResourceCommentByIds(String[] commentIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceMapper.java new file mode 100644 index 000000000..485824681 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusResource; +import java.util.List; + +/** + * 资源 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusResourceMapper +{ + /** + * 查询资源信息 + * + * @param resourceId 资源ID + * @return 资源信息 + */ + public BusResource selectBusResourceById(Long resourceId); + + /** + * 查询资源列表 + * + * @param busResource 资源信息 + * @return 资源集合 + */ + public List selectBusResourceList(BusResource busResource); + + /** + * 新增资源 + * + * @param busResource 资源信息 + * @return 结果 + */ + public int insertBusResource(BusResource busResource); + + /** + * 修改资源 + * + * @param busResource 资源信息 + * @return 结果 + */ + public int updateBusResource(BusResource busResource); + + /** + * 删除资源 + * + * @param resourceId 资源ID + * @return 结果 + */ + public int deleteBusResourceById(Long resourceId); + + /** + * 批量删除资源 + * + * @param resourceIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusResourceByIds(String[] resourceIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceTypeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceTypeMapper.java new file mode 100644 index 000000000..f4165a1c0 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusResourceTypeMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusResourceType; +import java.util.List; + +/** + * 资源分类 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusResourceTypeMapper +{ + /** + * 查询资源分类信息 + * + * @param typeId 资源分类ID + * @return 资源分类信息 + */ + public BusResourceType selectBusResourceTypeById(Long typeId); + + /** + * 查询资源分类列表 + * + * @param busResourceType 资源分类信息 + * @return 资源分类集合 + */ + public List selectBusResourceTypeList(BusResourceType busResourceType); + + /** + * 新增资源分类 + * + * @param busResourceType 资源分类信息 + * @return 结果 + */ + public int insertBusResourceType(BusResourceType busResourceType); + + /** + * 修改资源分类 + * + * @param busResourceType 资源分类信息 + * @return 结果 + */ + public int updateBusResourceType(BusResourceType busResourceType); + + /** + * 删除资源分类 + * + * @param typeId 资源分类ID + * @return 结果 + */ + public int deleteBusResourceTypeById(Long typeId); + + /** + * 批量删除资源分类 + * + * @param typeIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusResourceTypeByIds(String[] typeIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusUserBrowseMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusUserBrowseMapper.java new file mode 100644 index 000000000..34c66a837 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusUserBrowseMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusUserBrowse; +import java.util.List; + +/** + * 用户浏览足迹 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusUserBrowseMapper +{ + /** + * 查询用户浏览足迹信息 + * + * @param browseId 用户浏览足迹ID + * @return 用户浏览足迹信息 + */ + public BusUserBrowse selectBusUserBrowseById(Long browseId); + + /** + * 查询用户浏览足迹列表 + * + * @param busUserBrowse 用户浏览足迹信息 + * @return 用户浏览足迹集合 + */ + public List selectBusUserBrowseList(BusUserBrowse busUserBrowse); + + /** + * 新增用户浏览足迹 + * + * @param busUserBrowse 用户浏览足迹信息 + * @return 结果 + */ + public int insertBusUserBrowse(BusUserBrowse busUserBrowse); + + /** + * 修改用户浏览足迹 + * + * @param busUserBrowse 用户浏览足迹信息 + * @return 结果 + */ + public int updateBusUserBrowse(BusUserBrowse busUserBrowse); + + /** + * 删除用户浏览足迹 + * + * @param browseId 用户浏览足迹ID + * @return 结果 + */ + public int deleteBusUserBrowseById(Long browseId); + + /** + * 批量删除用户浏览足迹 + * + * @param browseIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusUserBrowseByIds(String[] browseIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusUserCollectMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusUserCollectMapper.java new file mode 100644 index 000000000..e008c9f3d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusUserCollectMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusUserCollect; +import java.util.List; + +/** + * 用户收藏 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusUserCollectMapper +{ + /** + * 查询用户收藏信息 + * + * @param collectId 用户收藏ID + * @return 用户收藏信息 + */ + public BusUserCollect selectBusUserCollectById(Long collectId); + + /** + * 查询用户收藏列表 + * + * @param busUserCollect 用户收藏信息 + * @return 用户收藏集合 + */ + public List selectBusUserCollectList(BusUserCollect busUserCollect); + + /** + * 新增用户收藏 + * + * @param busUserCollect 用户收藏信息 + * @return 结果 + */ + public int insertBusUserCollect(BusUserCollect busUserCollect); + + /** + * 修改用户收藏 + * + * @param busUserCollect 用户收藏信息 + * @return 结果 + */ + public int updateBusUserCollect(BusUserCollect busUserCollect); + + /** + * 删除用户收藏 + * + * @param collectId 用户收藏ID + * @return 结果 + */ + public int deleteBusUserCollectById(Long collectId); + + /** + * 批量删除用户收藏 + * + * @param collectIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusUserCollectByIds(String[] collectIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusUserMessageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusUserMessageMapper.java new file mode 100644 index 000000000..50f048c3e --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/BusUserMessageMapper.java @@ -0,0 +1,62 @@ +package com.ruoyi.system.mapper; + +import com.ruoyi.system.domain.BusUserMessage; +import java.util.List; + +/** + * 用户消息 数据层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface BusUserMessageMapper +{ + /** + * 查询用户消息信息 + * + * @param messageId 用户消息ID + * @return 用户消息信息 + */ + public BusUserMessage selectBusUserMessageById(Long messageId); + + /** + * 查询用户消息列表 + * + * @param busUserMessage 用户消息信息 + * @return 用户消息集合 + */ + public List selectBusUserMessageList(BusUserMessage busUserMessage); + + /** + * 新增用户消息 + * + * @param busUserMessage 用户消息信息 + * @return 结果 + */ + public int insertBusUserMessage(BusUserMessage busUserMessage); + + /** + * 修改用户消息 + * + * @param busUserMessage 用户消息信息 + * @return 结果 + */ + public int updateBusUserMessage(BusUserMessage busUserMessage); + + /** + * 删除用户消息 + * + * @param messageId 用户消息ID + * @return 结果 + */ + public int deleteBusUserMessageById(Long messageId); + + /** + * 批量删除用户消息 + * + * @param messageIds 需要删除的数据ID + * @return 结果 + */ + public int deleteBusUserMessageByIds(String[] messageIds); + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusAccessoryService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusAccessoryService.java new file mode 100644 index 000000000..8b3a340ce --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusAccessoryService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusAccessory; +import java.util.List; + +/** + * 附件 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusAccessoryService +{ + /** + * 查询附件信息 + * + * @param accessoryId 附件ID + * @return 附件信息 + */ + public BusAccessory selectBusAccessoryById(Long accessoryId); + + /** + * 查询附件列表 + * + * @param busAccessory 附件信息 + * @return 附件集合 + */ + public List selectBusAccessoryList(BusAccessory busAccessory); + + /** + * 新增附件 + * + * @param busAccessory 附件信息 + * @return 结果 + */ + public int insertBusAccessory(BusAccessory busAccessory); + + /** + * 修改附件 + * + * @param busAccessory 附件信息 + * @return 结果 + */ + public int updateBusAccessory(BusAccessory busAccessory); + + /** + * 删除附件信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusAccessoryByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusDeptApplyService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusDeptApplyService.java new file mode 100644 index 000000000..80502bc5e --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusDeptApplyService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusDeptApply; +import java.util.List; + +/** + * 企业入驻申请 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusDeptApplyService +{ + /** + * 查询企业入驻申请信息 + * + * @param applyId 企业入驻申请ID + * @return 企业入驻申请信息 + */ + public BusDeptApply selectBusDeptApplyById(Long applyId); + + /** + * 查询企业入驻申请列表 + * + * @param busDeptApply 企业入驻申请信息 + * @return 企业入驻申请集合 + */ + public List selectBusDeptApplyList(BusDeptApply busDeptApply); + + /** + * 新增企业入驻申请 + * + * @param busDeptApply 企业入驻申请信息 + * @return 结果 + */ + public int insertBusDeptApply(BusDeptApply busDeptApply); + + /** + * 修改企业入驻申请 + * + * @param busDeptApply 企业入驻申请信息 + * @return 结果 + */ + public int updateBusDeptApply(BusDeptApply busDeptApply); + + /** + * 删除企业入驻申请信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusDeptApplyByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusNewsService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusNewsService.java new file mode 100644 index 000000000..13d8f2898 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusNewsService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusNews; +import java.util.List; + +/** + * 新闻 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusNewsService +{ + /** + * 查询新闻信息 + * + * @param newsId 新闻ID + * @return 新闻信息 + */ + public BusNews selectBusNewsById(Long newsId); + + /** + * 查询新闻列表 + * + * @param busNews 新闻信息 + * @return 新闻集合 + */ + public List selectBusNewsList(BusNews busNews); + + /** + * 新增新闻 + * + * @param busNews 新闻信息 + * @return 结果 + */ + public int insertBusNews(BusNews busNews); + + /** + * 修改新闻 + * + * @param busNews 新闻信息 + * @return 结果 + */ + public int updateBusNews(BusNews busNews); + + /** + * 删除新闻信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusNewsByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqApplyService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqApplyService.java new file mode 100644 index 000000000..70adaf2b6 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqApplyService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusReqApply; +import java.util.List; + +/** + * 资源需求接包申请 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusReqApplyService +{ + /** + * 查询资源需求接包申请信息 + * + * @param applyId 资源需求接包申请ID + * @return 资源需求接包申请信息 + */ + public BusReqApply selectBusReqApplyById(Long applyId); + + /** + * 查询资源需求接包申请列表 + * + * @param busReqApply 资源需求接包申请信息 + * @return 资源需求接包申请集合 + */ + public List selectBusReqApplyList(BusReqApply busReqApply); + + /** + * 新增资源需求接包申请 + * + * @param busReqApply 资源需求接包申请信息 + * @return 结果 + */ + public int insertBusReqApply(BusReqApply busReqApply); + + /** + * 修改资源需求接包申请 + * + * @param busReqApply 资源需求接包申请信息 + * @return 结果 + */ + public int updateBusReqApply(BusReqApply busReqApply); + + /** + * 删除资源需求接包申请信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusReqApplyByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqCommentService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqCommentService.java new file mode 100644 index 000000000..69dce8858 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqCommentService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusReqComment; +import java.util.List; + +/** + * 资源需求评论 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusReqCommentService +{ + /** + * 查询资源需求评论信息 + * + * @param commentId 资源需求评论ID + * @return 资源需求评论信息 + */ + public BusReqComment selectBusReqCommentById(Long commentId); + + /** + * 查询资源需求评论列表 + * + * @param busReqComment 资源需求评论信息 + * @return 资源需求评论集合 + */ + public List selectBusReqCommentList(BusReqComment busReqComment); + + /** + * 新增资源需求评论 + * + * @param busReqComment 资源需求评论信息 + * @return 结果 + */ + public int insertBusReqComment(BusReqComment busReqComment); + + /** + * 修改资源需求评论 + * + * @param busReqComment 资源需求评论信息 + * @return 结果 + */ + public int updateBusReqComment(BusReqComment busReqComment); + + /** + * 删除资源需求评论信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusReqCommentByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqProgressService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqProgressService.java new file mode 100644 index 000000000..6e228ee69 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqProgressService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusReqProgress; +import java.util.List; + +/** + * 资源需求进度 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusReqProgressService +{ + /** + * 查询资源需求进度信息 + * + * @param progressId 资源需求进度ID + * @return 资源需求进度信息 + */ + public BusReqProgress selectBusReqProgressById(Long progressId); + + /** + * 查询资源需求进度列表 + * + * @param busReqProgress 资源需求进度信息 + * @return 资源需求进度集合 + */ + public List selectBusReqProgressList(BusReqProgress busReqProgress); + + /** + * 新增资源需求进度 + * + * @param busReqProgress 资源需求进度信息 + * @return 结果 + */ + public int insertBusReqProgress(BusReqProgress busReqProgress); + + /** + * 修改资源需求进度 + * + * @param busReqProgress 资源需求进度信息 + * @return 结果 + */ + public int updateBusReqProgress(BusReqProgress busReqProgress); + + /** + * 删除资源需求进度信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusReqProgressByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqService.java new file mode 100644 index 000000000..3a347fd56 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusReqService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusReq; +import java.util.List; + +/** + * 资源需求 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusReqService +{ + /** + * 查询资源需求信息 + * + * @param reqId 资源需求ID + * @return 资源需求信息 + */ + public BusReq selectBusReqById(Long reqId); + + /** + * 查询资源需求列表 + * + * @param busReq 资源需求信息 + * @return 资源需求集合 + */ + public List selectBusReqList(BusReq busReq); + + /** + * 新增资源需求 + * + * @param busReq 资源需求信息 + * @return 结果 + */ + public int insertBusReq(BusReq busReq); + + /** + * 修改资源需求 + * + * @param busReq 资源需求信息 + * @return 结果 + */ + public int updateBusReq(BusReq busReq); + + /** + * 删除资源需求信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusReqByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceApplyService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceApplyService.java new file mode 100644 index 000000000..7b10d25c8 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceApplyService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusResourceApply; +import java.util.List; + +/** + * 资源使用申请 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusResourceApplyService +{ + /** + * 查询资源使用申请信息 + * + * @param applyId 资源使用申请ID + * @return 资源使用申请信息 + */ + public BusResourceApply selectBusResourceApplyById(Long applyId); + + /** + * 查询资源使用申请列表 + * + * @param busResourceApply 资源使用申请信息 + * @return 资源使用申请集合 + */ + public List selectBusResourceApplyList(BusResourceApply busResourceApply); + + /** + * 新增资源使用申请 + * + * @param busResourceApply 资源使用申请信息 + * @return 结果 + */ + public int insertBusResourceApply(BusResourceApply busResourceApply); + + /** + * 修改资源使用申请 + * + * @param busResourceApply 资源使用申请信息 + * @return 结果 + */ + public int updateBusResourceApply(BusResourceApply busResourceApply); + + /** + * 删除资源使用申请信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusResourceApplyByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceCommentService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceCommentService.java new file mode 100644 index 000000000..f73952cea --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceCommentService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusResourceComment; +import java.util.List; + +/** + * 资源评论 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusResourceCommentService +{ + /** + * 查询资源评论信息 + * + * @param commentId 资源评论ID + * @return 资源评论信息 + */ + public BusResourceComment selectBusResourceCommentById(Long commentId); + + /** + * 查询资源评论列表 + * + * @param busResourceComment 资源评论信息 + * @return 资源评论集合 + */ + public List selectBusResourceCommentList(BusResourceComment busResourceComment); + + /** + * 新增资源评论 + * + * @param busResourceComment 资源评论信息 + * @return 结果 + */ + public int insertBusResourceComment(BusResourceComment busResourceComment); + + /** + * 修改资源评论 + * + * @param busResourceComment 资源评论信息 + * @return 结果 + */ + public int updateBusResourceComment(BusResourceComment busResourceComment); + + /** + * 删除资源评论信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusResourceCommentByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceService.java new file mode 100644 index 000000000..4e1df6cb4 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusResource; +import java.util.List; + +/** + * 资源 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusResourceService +{ + /** + * 查询资源信息 + * + * @param resourceId 资源ID + * @return 资源信息 + */ + public BusResource selectBusResourceById(Long resourceId); + + /** + * 查询资源列表 + * + * @param busResource 资源信息 + * @return 资源集合 + */ + public List selectBusResourceList(BusResource busResource); + + /** + * 新增资源 + * + * @param busResource 资源信息 + * @return 结果 + */ + public int insertBusResource(BusResource busResource); + + /** + * 修改资源 + * + * @param busResource 资源信息 + * @return 结果 + */ + public int updateBusResource(BusResource busResource); + + /** + * 删除资源信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusResourceByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceTypeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceTypeService.java new file mode 100644 index 000000000..c0e9a5b00 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusResourceTypeService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusResourceType; +import java.util.List; + +/** + * 资源分类 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusResourceTypeService +{ + /** + * 查询资源分类信息 + * + * @param typeId 资源分类ID + * @return 资源分类信息 + */ + public BusResourceType selectBusResourceTypeById(Long typeId); + + /** + * 查询资源分类列表 + * + * @param busResourceType 资源分类信息 + * @return 资源分类集合 + */ + public List selectBusResourceTypeList(BusResourceType busResourceType); + + /** + * 新增资源分类 + * + * @param busResourceType 资源分类信息 + * @return 结果 + */ + public int insertBusResourceType(BusResourceType busResourceType); + + /** + * 修改资源分类 + * + * @param busResourceType 资源分类信息 + * @return 结果 + */ + public int updateBusResourceType(BusResourceType busResourceType); + + /** + * 删除资源分类信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusResourceTypeByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusUserBrowseService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusUserBrowseService.java new file mode 100644 index 000000000..9b9a25206 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusUserBrowseService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusUserBrowse; +import java.util.List; + +/** + * 用户浏览足迹 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusUserBrowseService +{ + /** + * 查询用户浏览足迹信息 + * + * @param browseId 用户浏览足迹ID + * @return 用户浏览足迹信息 + */ + public BusUserBrowse selectBusUserBrowseById(Long browseId); + + /** + * 查询用户浏览足迹列表 + * + * @param busUserBrowse 用户浏览足迹信息 + * @return 用户浏览足迹集合 + */ + public List selectBusUserBrowseList(BusUserBrowse busUserBrowse); + + /** + * 新增用户浏览足迹 + * + * @param busUserBrowse 用户浏览足迹信息 + * @return 结果 + */ + public int insertBusUserBrowse(BusUserBrowse busUserBrowse); + + /** + * 修改用户浏览足迹 + * + * @param busUserBrowse 用户浏览足迹信息 + * @return 结果 + */ + public int updateBusUserBrowse(BusUserBrowse busUserBrowse); + + /** + * 删除用户浏览足迹信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusUserBrowseByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusUserCollectService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusUserCollectService.java new file mode 100644 index 000000000..73089e30c --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusUserCollectService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusUserCollect; +import java.util.List; + +/** + * 用户收藏 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusUserCollectService +{ + /** + * 查询用户收藏信息 + * + * @param collectId 用户收藏ID + * @return 用户收藏信息 + */ + public BusUserCollect selectBusUserCollectById(Long collectId); + + /** + * 查询用户收藏列表 + * + * @param busUserCollect 用户收藏信息 + * @return 用户收藏集合 + */ + public List selectBusUserCollectList(BusUserCollect busUserCollect); + + /** + * 新增用户收藏 + * + * @param busUserCollect 用户收藏信息 + * @return 结果 + */ + public int insertBusUserCollect(BusUserCollect busUserCollect); + + /** + * 修改用户收藏 + * + * @param busUserCollect 用户收藏信息 + * @return 结果 + */ + public int updateBusUserCollect(BusUserCollect busUserCollect); + + /** + * 删除用户收藏信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusUserCollectByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusUserMessageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusUserMessageService.java new file mode 100644 index 000000000..6189d950c --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IBusUserMessageService.java @@ -0,0 +1,54 @@ +package com.ruoyi.system.service; + +import com.ruoyi.system.domain.BusUserMessage; +import java.util.List; + +/** + * 用户消息 服务层 + * + * @author ruoyi + * @date 2021-01-07 + */ +public interface IBusUserMessageService +{ + /** + * 查询用户消息信息 + * + * @param messageId 用户消息ID + * @return 用户消息信息 + */ + public BusUserMessage selectBusUserMessageById(Long messageId); + + /** + * 查询用户消息列表 + * + * @param busUserMessage 用户消息信息 + * @return 用户消息集合 + */ + public List selectBusUserMessageList(BusUserMessage busUserMessage); + + /** + * 新增用户消息 + * + * @param busUserMessage 用户消息信息 + * @return 结果 + */ + public int insertBusUserMessage(BusUserMessage busUserMessage); + + /** + * 修改用户消息 + * + * @param busUserMessage 用户消息信息 + * @return 结果 + */ + public int updateBusUserMessage(BusUserMessage busUserMessage); + + /** + * 删除用户消息信息 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteBusUserMessageByIds(String ids); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusAccessoryServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusAccessoryServiceImpl.java new file mode 100644 index 000000000..d6c5718f9 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusAccessoryServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusAccessoryMapper; +import com.ruoyi.system.domain.BusAccessory; +import com.ruoyi.system.service.IBusAccessoryService; +import com.ruoyi.common.core.text.Convert; + +/** + * 附件 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusAccessoryServiceImpl implements IBusAccessoryService +{ + @Autowired + private BusAccessoryMapper busAccessoryMapper; + + /** + * 查询附件信息 + * + * @param accessoryId 附件ID + * @return 附件信息 + */ + @Override + public BusAccessory selectBusAccessoryById(Long accessoryId) + { + return busAccessoryMapper.selectBusAccessoryById(accessoryId); + } + + /** + * 查询附件列表 + * + * @param busAccessory 附件信息 + * @return 附件集合 + */ + @Override + public List selectBusAccessoryList(BusAccessory busAccessory) + { + return busAccessoryMapper.selectBusAccessoryList(busAccessory); + } + + /** + * 新增附件 + * + * @param busAccessory 附件信息 + * @return 结果 + */ + @Override + public int insertBusAccessory(BusAccessory busAccessory) + { + return busAccessoryMapper.insertBusAccessory(busAccessory); + } + + /** + * 修改附件 + * + * @param busAccessory 附件信息 + * @return 结果 + */ + @Override + public int updateBusAccessory(BusAccessory busAccessory) + { + return busAccessoryMapper.updateBusAccessory(busAccessory); + } + + /** + * 删除附件对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusAccessoryByIds(String ids) + { + return busAccessoryMapper.deleteBusAccessoryByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusDeptApplyServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusDeptApplyServiceImpl.java new file mode 100644 index 000000000..6cb582e54 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusDeptApplyServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusDeptApplyMapper; +import com.ruoyi.system.domain.BusDeptApply; +import com.ruoyi.system.service.IBusDeptApplyService; +import com.ruoyi.common.core.text.Convert; + +/** + * 企业入驻申请 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusDeptApplyServiceImpl implements IBusDeptApplyService +{ + @Autowired + private BusDeptApplyMapper busDeptApplyMapper; + + /** + * 查询企业入驻申请信息 + * + * @param applyId 企业入驻申请ID + * @return 企业入驻申请信息 + */ + @Override + public BusDeptApply selectBusDeptApplyById(Long applyId) + { + return busDeptApplyMapper.selectBusDeptApplyById(applyId); + } + + /** + * 查询企业入驻申请列表 + * + * @param busDeptApply 企业入驻申请信息 + * @return 企业入驻申请集合 + */ + @Override + public List selectBusDeptApplyList(BusDeptApply busDeptApply) + { + return busDeptApplyMapper.selectBusDeptApplyList(busDeptApply); + } + + /** + * 新增企业入驻申请 + * + * @param busDeptApply 企业入驻申请信息 + * @return 结果 + */ + @Override + public int insertBusDeptApply(BusDeptApply busDeptApply) + { + return busDeptApplyMapper.insertBusDeptApply(busDeptApply); + } + + /** + * 修改企业入驻申请 + * + * @param busDeptApply 企业入驻申请信息 + * @return 结果 + */ + @Override + public int updateBusDeptApply(BusDeptApply busDeptApply) + { + return busDeptApplyMapper.updateBusDeptApply(busDeptApply); + } + + /** + * 删除企业入驻申请对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusDeptApplyByIds(String ids) + { + return busDeptApplyMapper.deleteBusDeptApplyByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusNewsServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusNewsServiceImpl.java new file mode 100644 index 000000000..df94b6a9d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusNewsServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusNewsMapper; +import com.ruoyi.system.domain.BusNews; +import com.ruoyi.system.service.IBusNewsService; +import com.ruoyi.common.core.text.Convert; + +/** + * 新闻 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusNewsServiceImpl implements IBusNewsService +{ + @Autowired + private BusNewsMapper busNewsMapper; + + /** + * 查询新闻信息 + * + * @param newsId 新闻ID + * @return 新闻信息 + */ + @Override + public BusNews selectBusNewsById(Long newsId) + { + return busNewsMapper.selectBusNewsById(newsId); + } + + /** + * 查询新闻列表 + * + * @param busNews 新闻信息 + * @return 新闻集合 + */ + @Override + public List selectBusNewsList(BusNews busNews) + { + return busNewsMapper.selectBusNewsList(busNews); + } + + /** + * 新增新闻 + * + * @param busNews 新闻信息 + * @return 结果 + */ + @Override + public int insertBusNews(BusNews busNews) + { + return busNewsMapper.insertBusNews(busNews); + } + + /** + * 修改新闻 + * + * @param busNews 新闻信息 + * @return 结果 + */ + @Override + public int updateBusNews(BusNews busNews) + { + return busNewsMapper.updateBusNews(busNews); + } + + /** + * 删除新闻对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusNewsByIds(String ids) + { + return busNewsMapper.deleteBusNewsByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqApplyServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqApplyServiceImpl.java new file mode 100644 index 000000000..0da81e116 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqApplyServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusReqApplyMapper; +import com.ruoyi.system.domain.BusReqApply; +import com.ruoyi.system.service.IBusReqApplyService; +import com.ruoyi.common.core.text.Convert; + +/** + * 资源需求接包申请 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusReqApplyServiceImpl implements IBusReqApplyService +{ + @Autowired + private BusReqApplyMapper busReqApplyMapper; + + /** + * 查询资源需求接包申请信息 + * + * @param applyId 资源需求接包申请ID + * @return 资源需求接包申请信息 + */ + @Override + public BusReqApply selectBusReqApplyById(Long applyId) + { + return busReqApplyMapper.selectBusReqApplyById(applyId); + } + + /** + * 查询资源需求接包申请列表 + * + * @param busReqApply 资源需求接包申请信息 + * @return 资源需求接包申请集合 + */ + @Override + public List selectBusReqApplyList(BusReqApply busReqApply) + { + return busReqApplyMapper.selectBusReqApplyList(busReqApply); + } + + /** + * 新增资源需求接包申请 + * + * @param busReqApply 资源需求接包申请信息 + * @return 结果 + */ + @Override + public int insertBusReqApply(BusReqApply busReqApply) + { + return busReqApplyMapper.insertBusReqApply(busReqApply); + } + + /** + * 修改资源需求接包申请 + * + * @param busReqApply 资源需求接包申请信息 + * @return 结果 + */ + @Override + public int updateBusReqApply(BusReqApply busReqApply) + { + return busReqApplyMapper.updateBusReqApply(busReqApply); + } + + /** + * 删除资源需求接包申请对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusReqApplyByIds(String ids) + { + return busReqApplyMapper.deleteBusReqApplyByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqCommentServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqCommentServiceImpl.java new file mode 100644 index 000000000..72e1d0cbc --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqCommentServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusReqCommentMapper; +import com.ruoyi.system.domain.BusReqComment; +import com.ruoyi.system.service.IBusReqCommentService; +import com.ruoyi.common.core.text.Convert; + +/** + * 资源需求评论 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusReqCommentServiceImpl implements IBusReqCommentService +{ + @Autowired + private BusReqCommentMapper busReqCommentMapper; + + /** + * 查询资源需求评论信息 + * + * @param commentId 资源需求评论ID + * @return 资源需求评论信息 + */ + @Override + public BusReqComment selectBusReqCommentById(Long commentId) + { + return busReqCommentMapper.selectBusReqCommentById(commentId); + } + + /** + * 查询资源需求评论列表 + * + * @param busReqComment 资源需求评论信息 + * @return 资源需求评论集合 + */ + @Override + public List selectBusReqCommentList(BusReqComment busReqComment) + { + return busReqCommentMapper.selectBusReqCommentList(busReqComment); + } + + /** + * 新增资源需求评论 + * + * @param busReqComment 资源需求评论信息 + * @return 结果 + */ + @Override + public int insertBusReqComment(BusReqComment busReqComment) + { + return busReqCommentMapper.insertBusReqComment(busReqComment); + } + + /** + * 修改资源需求评论 + * + * @param busReqComment 资源需求评论信息 + * @return 结果 + */ + @Override + public int updateBusReqComment(BusReqComment busReqComment) + { + return busReqCommentMapper.updateBusReqComment(busReqComment); + } + + /** + * 删除资源需求评论对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusReqCommentByIds(String ids) + { + return busReqCommentMapper.deleteBusReqCommentByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqProgressServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqProgressServiceImpl.java new file mode 100644 index 000000000..f98a6d8aa --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqProgressServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusReqProgressMapper; +import com.ruoyi.system.domain.BusReqProgress; +import com.ruoyi.system.service.IBusReqProgressService; +import com.ruoyi.common.core.text.Convert; + +/** + * 资源需求进度 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusReqProgressServiceImpl implements IBusReqProgressService +{ + @Autowired + private BusReqProgressMapper busReqProgressMapper; + + /** + * 查询资源需求进度信息 + * + * @param progressId 资源需求进度ID + * @return 资源需求进度信息 + */ + @Override + public BusReqProgress selectBusReqProgressById(Long progressId) + { + return busReqProgressMapper.selectBusReqProgressById(progressId); + } + + /** + * 查询资源需求进度列表 + * + * @param busReqProgress 资源需求进度信息 + * @return 资源需求进度集合 + */ + @Override + public List selectBusReqProgressList(BusReqProgress busReqProgress) + { + return busReqProgressMapper.selectBusReqProgressList(busReqProgress); + } + + /** + * 新增资源需求进度 + * + * @param busReqProgress 资源需求进度信息 + * @return 结果 + */ + @Override + public int insertBusReqProgress(BusReqProgress busReqProgress) + { + return busReqProgressMapper.insertBusReqProgress(busReqProgress); + } + + /** + * 修改资源需求进度 + * + * @param busReqProgress 资源需求进度信息 + * @return 结果 + */ + @Override + public int updateBusReqProgress(BusReqProgress busReqProgress) + { + return busReqProgressMapper.updateBusReqProgress(busReqProgress); + } + + /** + * 删除资源需求进度对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusReqProgressByIds(String ids) + { + return busReqProgressMapper.deleteBusReqProgressByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqServiceImpl.java new file mode 100644 index 000000000..7db50bd11 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusReqServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusReqMapper; +import com.ruoyi.system.domain.BusReq; +import com.ruoyi.system.service.IBusReqService; +import com.ruoyi.common.core.text.Convert; + +/** + * 资源需求 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusReqServiceImpl implements IBusReqService +{ + @Autowired + private BusReqMapper busReqMapper; + + /** + * 查询资源需求信息 + * + * @param reqId 资源需求ID + * @return 资源需求信息 + */ + @Override + public BusReq selectBusReqById(Long reqId) + { + return busReqMapper.selectBusReqById(reqId); + } + + /** + * 查询资源需求列表 + * + * @param busReq 资源需求信息 + * @return 资源需求集合 + */ + @Override + public List selectBusReqList(BusReq busReq) + { + return busReqMapper.selectBusReqList(busReq); + } + + /** + * 新增资源需求 + * + * @param busReq 资源需求信息 + * @return 结果 + */ + @Override + public int insertBusReq(BusReq busReq) + { + return busReqMapper.insertBusReq(busReq); + } + + /** + * 修改资源需求 + * + * @param busReq 资源需求信息 + * @return 结果 + */ + @Override + public int updateBusReq(BusReq busReq) + { + return busReqMapper.updateBusReq(busReq); + } + + /** + * 删除资源需求对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusReqByIds(String ids) + { + return busReqMapper.deleteBusReqByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceApplyServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceApplyServiceImpl.java new file mode 100644 index 000000000..45ca34902 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceApplyServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusResourceApplyMapper; +import com.ruoyi.system.domain.BusResourceApply; +import com.ruoyi.system.service.IBusResourceApplyService; +import com.ruoyi.common.core.text.Convert; + +/** + * 资源使用申请 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusResourceApplyServiceImpl implements IBusResourceApplyService +{ + @Autowired + private BusResourceApplyMapper busResourceApplyMapper; + + /** + * 查询资源使用申请信息 + * + * @param applyId 资源使用申请ID + * @return 资源使用申请信息 + */ + @Override + public BusResourceApply selectBusResourceApplyById(Long applyId) + { + return busResourceApplyMapper.selectBusResourceApplyById(applyId); + } + + /** + * 查询资源使用申请列表 + * + * @param busResourceApply 资源使用申请信息 + * @return 资源使用申请集合 + */ + @Override + public List selectBusResourceApplyList(BusResourceApply busResourceApply) + { + return busResourceApplyMapper.selectBusResourceApplyList(busResourceApply); + } + + /** + * 新增资源使用申请 + * + * @param busResourceApply 资源使用申请信息 + * @return 结果 + */ + @Override + public int insertBusResourceApply(BusResourceApply busResourceApply) + { + return busResourceApplyMapper.insertBusResourceApply(busResourceApply); + } + + /** + * 修改资源使用申请 + * + * @param busResourceApply 资源使用申请信息 + * @return 结果 + */ + @Override + public int updateBusResourceApply(BusResourceApply busResourceApply) + { + return busResourceApplyMapper.updateBusResourceApply(busResourceApply); + } + + /** + * 删除资源使用申请对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusResourceApplyByIds(String ids) + { + return busResourceApplyMapper.deleteBusResourceApplyByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceCommentServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceCommentServiceImpl.java new file mode 100644 index 000000000..c1fa2d835 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceCommentServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusResourceCommentMapper; +import com.ruoyi.system.domain.BusResourceComment; +import com.ruoyi.system.service.IBusResourceCommentService; +import com.ruoyi.common.core.text.Convert; + +/** + * 资源评论 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusResourceCommentServiceImpl implements IBusResourceCommentService +{ + @Autowired + private BusResourceCommentMapper busResourceCommentMapper; + + /** + * 查询资源评论信息 + * + * @param commentId 资源评论ID + * @return 资源评论信息 + */ + @Override + public BusResourceComment selectBusResourceCommentById(Long commentId) + { + return busResourceCommentMapper.selectBusResourceCommentById(commentId); + } + + /** + * 查询资源评论列表 + * + * @param busResourceComment 资源评论信息 + * @return 资源评论集合 + */ + @Override + public List selectBusResourceCommentList(BusResourceComment busResourceComment) + { + return busResourceCommentMapper.selectBusResourceCommentList(busResourceComment); + } + + /** + * 新增资源评论 + * + * @param busResourceComment 资源评论信息 + * @return 结果 + */ + @Override + public int insertBusResourceComment(BusResourceComment busResourceComment) + { + return busResourceCommentMapper.insertBusResourceComment(busResourceComment); + } + + /** + * 修改资源评论 + * + * @param busResourceComment 资源评论信息 + * @return 结果 + */ + @Override + public int updateBusResourceComment(BusResourceComment busResourceComment) + { + return busResourceCommentMapper.updateBusResourceComment(busResourceComment); + } + + /** + * 删除资源评论对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusResourceCommentByIds(String ids) + { + return busResourceCommentMapper.deleteBusResourceCommentByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceServiceImpl.java new file mode 100644 index 000000000..33278f768 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusResourceMapper; +import com.ruoyi.system.domain.BusResource; +import com.ruoyi.system.service.IBusResourceService; +import com.ruoyi.common.core.text.Convert; + +/** + * 资源 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusResourceServiceImpl implements IBusResourceService +{ + @Autowired + private BusResourceMapper busResourceMapper; + + /** + * 查询资源信息 + * + * @param resourceId 资源ID + * @return 资源信息 + */ + @Override + public BusResource selectBusResourceById(Long resourceId) + { + return busResourceMapper.selectBusResourceById(resourceId); + } + + /** + * 查询资源列表 + * + * @param busResource 资源信息 + * @return 资源集合 + */ + @Override + public List selectBusResourceList(BusResource busResource) + { + return busResourceMapper.selectBusResourceList(busResource); + } + + /** + * 新增资源 + * + * @param busResource 资源信息 + * @return 结果 + */ + @Override + public int insertBusResource(BusResource busResource) + { + return busResourceMapper.insertBusResource(busResource); + } + + /** + * 修改资源 + * + * @param busResource 资源信息 + * @return 结果 + */ + @Override + public int updateBusResource(BusResource busResource) + { + return busResourceMapper.updateBusResource(busResource); + } + + /** + * 删除资源对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusResourceByIds(String ids) + { + return busResourceMapper.deleteBusResourceByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceTypeServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceTypeServiceImpl.java new file mode 100644 index 000000000..a486283ca --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusResourceTypeServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusResourceTypeMapper; +import com.ruoyi.system.domain.BusResourceType; +import com.ruoyi.system.service.IBusResourceTypeService; +import com.ruoyi.common.core.text.Convert; + +/** + * 资源分类 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusResourceTypeServiceImpl implements IBusResourceTypeService +{ + @Autowired + private BusResourceTypeMapper busResourceTypeMapper; + + /** + * 查询资源分类信息 + * + * @param typeId 资源分类ID + * @return 资源分类信息 + */ + @Override + public BusResourceType selectBusResourceTypeById(Long typeId) + { + return busResourceTypeMapper.selectBusResourceTypeById(typeId); + } + + /** + * 查询资源分类列表 + * + * @param busResourceType 资源分类信息 + * @return 资源分类集合 + */ + @Override + public List selectBusResourceTypeList(BusResourceType busResourceType) + { + return busResourceTypeMapper.selectBusResourceTypeList(busResourceType); + } + + /** + * 新增资源分类 + * + * @param busResourceType 资源分类信息 + * @return 结果 + */ + @Override + public int insertBusResourceType(BusResourceType busResourceType) + { + return busResourceTypeMapper.insertBusResourceType(busResourceType); + } + + /** + * 修改资源分类 + * + * @param busResourceType 资源分类信息 + * @return 结果 + */ + @Override + public int updateBusResourceType(BusResourceType busResourceType) + { + return busResourceTypeMapper.updateBusResourceType(busResourceType); + } + + /** + * 删除资源分类对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusResourceTypeByIds(String ids) + { + return busResourceTypeMapper.deleteBusResourceTypeByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusUserBrowseServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusUserBrowseServiceImpl.java new file mode 100644 index 000000000..dd37e10e6 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusUserBrowseServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusUserBrowseMapper; +import com.ruoyi.system.domain.BusUserBrowse; +import com.ruoyi.system.service.IBusUserBrowseService; +import com.ruoyi.common.core.text.Convert; + +/** + * 用户浏览足迹 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusUserBrowseServiceImpl implements IBusUserBrowseService +{ + @Autowired + private BusUserBrowseMapper busUserBrowseMapper; + + /** + * 查询用户浏览足迹信息 + * + * @param browseId 用户浏览足迹ID + * @return 用户浏览足迹信息 + */ + @Override + public BusUserBrowse selectBusUserBrowseById(Long browseId) + { + return busUserBrowseMapper.selectBusUserBrowseById(browseId); + } + + /** + * 查询用户浏览足迹列表 + * + * @param busUserBrowse 用户浏览足迹信息 + * @return 用户浏览足迹集合 + */ + @Override + public List selectBusUserBrowseList(BusUserBrowse busUserBrowse) + { + return busUserBrowseMapper.selectBusUserBrowseList(busUserBrowse); + } + + /** + * 新增用户浏览足迹 + * + * @param busUserBrowse 用户浏览足迹信息 + * @return 结果 + */ + @Override + public int insertBusUserBrowse(BusUserBrowse busUserBrowse) + { + return busUserBrowseMapper.insertBusUserBrowse(busUserBrowse); + } + + /** + * 修改用户浏览足迹 + * + * @param busUserBrowse 用户浏览足迹信息 + * @return 结果 + */ + @Override + public int updateBusUserBrowse(BusUserBrowse busUserBrowse) + { + return busUserBrowseMapper.updateBusUserBrowse(busUserBrowse); + } + + /** + * 删除用户浏览足迹对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusUserBrowseByIds(String ids) + { + return busUserBrowseMapper.deleteBusUserBrowseByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusUserCollectServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusUserCollectServiceImpl.java new file mode 100644 index 000000000..02d488f58 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusUserCollectServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusUserCollectMapper; +import com.ruoyi.system.domain.BusUserCollect; +import com.ruoyi.system.service.IBusUserCollectService; +import com.ruoyi.common.core.text.Convert; + +/** + * 用户收藏 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusUserCollectServiceImpl implements IBusUserCollectService +{ + @Autowired + private BusUserCollectMapper busUserCollectMapper; + + /** + * 查询用户收藏信息 + * + * @param collectId 用户收藏ID + * @return 用户收藏信息 + */ + @Override + public BusUserCollect selectBusUserCollectById(Long collectId) + { + return busUserCollectMapper.selectBusUserCollectById(collectId); + } + + /** + * 查询用户收藏列表 + * + * @param busUserCollect 用户收藏信息 + * @return 用户收藏集合 + */ + @Override + public List selectBusUserCollectList(BusUserCollect busUserCollect) + { + return busUserCollectMapper.selectBusUserCollectList(busUserCollect); + } + + /** + * 新增用户收藏 + * + * @param busUserCollect 用户收藏信息 + * @return 结果 + */ + @Override + public int insertBusUserCollect(BusUserCollect busUserCollect) + { + return busUserCollectMapper.insertBusUserCollect(busUserCollect); + } + + /** + * 修改用户收藏 + * + * @param busUserCollect 用户收藏信息 + * @return 结果 + */ + @Override + public int updateBusUserCollect(BusUserCollect busUserCollect) + { + return busUserCollectMapper.updateBusUserCollect(busUserCollect); + } + + /** + * 删除用户收藏对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusUserCollectByIds(String ids) + { + return busUserCollectMapper.deleteBusUserCollectByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusUserMessageServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusUserMessageServiceImpl.java new file mode 100644 index 000000000..9dfb0648d --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/BusUserMessageServiceImpl.java @@ -0,0 +1,83 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.BusUserMessageMapper; +import com.ruoyi.system.domain.BusUserMessage; +import com.ruoyi.system.service.IBusUserMessageService; +import com.ruoyi.common.core.text.Convert; + +/** + * 用户消息 服务层实现 + * + * @author ruoyi + * @date 2021-01-07 + */ +@Service +public class BusUserMessageServiceImpl implements IBusUserMessageService +{ + @Autowired + private BusUserMessageMapper busUserMessageMapper; + + /** + * 查询用户消息信息 + * + * @param messageId 用户消息ID + * @return 用户消息信息 + */ + @Override + public BusUserMessage selectBusUserMessageById(Long messageId) + { + return busUserMessageMapper.selectBusUserMessageById(messageId); + } + + /** + * 查询用户消息列表 + * + * @param busUserMessage 用户消息信息 + * @return 用户消息集合 + */ + @Override + public List selectBusUserMessageList(BusUserMessage busUserMessage) + { + return busUserMessageMapper.selectBusUserMessageList(busUserMessage); + } + + /** + * 新增用户消息 + * + * @param busUserMessage 用户消息信息 + * @return 结果 + */ + @Override + public int insertBusUserMessage(BusUserMessage busUserMessage) + { + return busUserMessageMapper.insertBusUserMessage(busUserMessage); + } + + /** + * 修改用户消息 + * + * @param busUserMessage 用户消息信息 + * @return 结果 + */ + @Override + public int updateBusUserMessage(BusUserMessage busUserMessage) + { + return busUserMessageMapper.updateBusUserMessage(busUserMessage); + } + + /** + * 删除用户消息对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteBusUserMessageByIds(String ids) + { + return busUserMessageMapper.deleteBusUserMessageByIds(Convert.toStrArray(ids)); + } + +} diff --git a/ruoyi-system/src/main/resources/mapper/system/BusAccessoryMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusAccessoryMapper.xml new file mode 100644 index 000000000..fe22ea0d6 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusAccessoryMapper.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + select accessory_id, accessory_type, accessory_name, address, size, create_time, relevancy_id, relevancy_type from bus_accessory + + + + + + + + insert into bus_accessory + + accessory_type, + accessory_name, + address, + size, + create_time, + relevancy_id, + relevancy_type, + + + #{accessoryType}, + #{accessoryName}, + #{address}, + #{size}, + #{createTime}, + #{relevancyId}, + #{relevancyType}, + + + + + update bus_accessory + + accessory_type = #{accessoryType}, + accessory_name = #{accessoryName}, + address = #{address}, + size = #{size}, + create_time = #{createTime}, + relevancy_id = #{relevancyId}, + relevancy_type = #{relevancyType}, + + where accessory_id = #{accessoryId} + + + + delete from bus_accessory where accessory_id = #{accessoryId} + + + + delete from bus_accessory where accessory_id in + + #{accessoryId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusDeptApplyMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusDeptApplyMapper.xml new file mode 100644 index 000000000..1be63a3a5 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusDeptApplyMapper.xml @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select apply_id, apply_type, dept_name, business, dept_scope, dept_type, dept_address, dept_phone, legal_config, dept_users, reg_code, credit_code, org_code, taxpayer_code, taxpayer_qua, create_time, status, audit_user_id, audit_user_name, audit_time, audit_remark from bus_dept_apply + + + + + + + + insert into bus_dept_apply + + apply_type, + dept_name, + business, + dept_scope, + dept_type, + dept_address, + dept_phone, + legal_config, + dept_users, + reg_code, + credit_code, + org_code, + taxpayer_code, + taxpayer_qua, + create_time, + status, + audit_user_id, + audit_user_name, + audit_time, + audit_remark, + + + #{applyType}, + #{deptName}, + #{business}, + #{deptScope}, + #{deptType}, + #{deptAddress}, + #{deptPhone}, + #{legalConfig}, + #{deptUsers}, + #{regCode}, + #{creditCode}, + #{orgCode}, + #{taxpayerCode}, + #{taxpayerQua}, + #{createTime}, + #{status}, + #{auditUserId}, + #{auditUserName}, + #{auditTime}, + #{auditRemark}, + + + + + update bus_dept_apply + + apply_type = #{applyType}, + dept_name = #{deptName}, + business = #{business}, + dept_scope = #{deptScope}, + dept_type = #{deptType}, + dept_address = #{deptAddress}, + dept_phone = #{deptPhone}, + legal_config = #{legalConfig}, + dept_users = #{deptUsers}, + reg_code = #{regCode}, + credit_code = #{creditCode}, + org_code = #{orgCode}, + taxpayer_code = #{taxpayerCode}, + taxpayer_qua = #{taxpayerQua}, + create_time = #{createTime}, + status = #{status}, + audit_user_id = #{auditUserId}, + audit_user_name = #{auditUserName}, + audit_time = #{auditTime}, + audit_remark = #{auditRemark}, + + where apply_id = #{applyId} + + + + delete from bus_dept_apply where apply_id = #{applyId} + + + + delete from bus_dept_apply where apply_id in + + #{applyId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusNewsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusNewsMapper.xml new file mode 100644 index 000000000..8ab049223 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusNewsMapper.xml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + select news_id, title, content, label, status, publish_dept_id, publish_user_id, publish_user_name, create_time, update_time from bus_news + + + + + + + + insert into bus_news + + title, + content, + label, + status, + publish_dept_id, + publish_user_id, + publish_user_name, + create_time, + update_time, + + + #{title}, + #{content}, + #{label}, + #{status}, + #{publishDeptId}, + #{publishUserId}, + #{publishUserName}, + #{createTime}, + #{updateTime}, + + + + + update bus_news + + title = #{title}, + content = #{content}, + label = #{label}, + status = #{status}, + publish_dept_id = #{publishDeptId}, + publish_user_id = #{publishUserId}, + publish_user_name = #{publishUserName}, + create_time = #{createTime}, + update_time = #{updateTime}, + + where news_id = #{newsId} + + + + delete from bus_news where news_id = #{newsId} + + + + delete from bus_news where news_id in + + #{newsId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusReqApplyMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusReqApplyMapper.xml new file mode 100644 index 000000000..304dea4fd --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusReqApplyMapper.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + select apply_id, req_id, status, apply_dept_id, apply_user_id, apply_user_name, apply_time, apply_remark, audit_user_id, audit_user_name, audit_time, audit_remark from bus_req_apply + + + + + + + + insert into bus_req_apply + + req_id, + status, + apply_dept_id, + apply_user_id, + apply_user_name, + apply_time, + apply_remark, + audit_user_id, + audit_user_name, + audit_time, + audit_remark, + + + #{reqId}, + #{status}, + #{applyDeptId}, + #{applyUserId}, + #{applyUserName}, + #{applyTime}, + #{applyRemark}, + #{auditUserId}, + #{auditUserName}, + #{auditTime}, + #{auditRemark}, + + + + + update bus_req_apply + + req_id = #{reqId}, + status = #{status}, + apply_dept_id = #{applyDeptId}, + apply_user_id = #{applyUserId}, + apply_user_name = #{applyUserName}, + apply_time = #{applyTime}, + apply_remark = #{applyRemark}, + audit_user_id = #{auditUserId}, + audit_user_name = #{auditUserName}, + audit_time = #{auditTime}, + audit_remark = #{auditRemark}, + + where apply_id = #{applyId} + + + + delete from bus_req_apply where apply_id = #{applyId} + + + + delete from bus_req_apply where apply_id in + + #{applyId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusReqCommentMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusReqCommentMapper.xml new file mode 100644 index 000000000..be4a40036 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusReqCommentMapper.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + select comment_id, req_id, user_id, user_name, content, create_time from bus_req_comment + + + + + + + + insert into bus_req_comment + + req_id, + user_id, + user_name, + content, + create_time, + + + #{reqId}, + #{userId}, + #{userName}, + #{content}, + #{createTime}, + + + + + update bus_req_comment + + req_id = #{reqId}, + user_id = #{userId}, + user_name = #{userName}, + content = #{content}, + create_time = #{createTime}, + + where comment_id = #{commentId} + + + + delete from bus_req_comment where comment_id = #{commentId} + + + + delete from bus_req_comment where comment_id in + + #{commentId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusReqMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusReqMapper.xml new file mode 100644 index 000000000..89c07615b --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusReqMapper.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + + + + + select req_id, req_type, req_name, classes, label, content, status, publish_dept_id, publish_user_id, publish_user_name, create_time, receive_dept_id, receive_user_id, receive_user_name, receive_time, update_time from bus_req + + + + + + + + insert into bus_req + + req_type, + req_name, + classes, + label, + content, + status, + publish_dept_id, + publish_user_id, + publish_user_name, + create_time, + receive_dept_id, + receive_user_id, + receive_user_name, + receive_time, + update_time, + + + #{reqType}, + #{reqName}, + #{classes}, + #{label}, + #{content}, + #{status}, + #{publishDeptId}, + #{publishUserId}, + #{publishUserName}, + #{createTime}, + #{receiveDeptId}, + #{receiveUserId}, + #{receiveUserName}, + #{receiveTime}, + #{updateTime}, + + + + + update bus_req + + req_type = #{reqType}, + req_name = #{reqName}, + classes = #{classes}, + label = #{label}, + content = #{content}, + status = #{status}, + publish_dept_id = #{publishDeptId}, + publish_user_id = #{publishUserId}, + publish_user_name = #{publishUserName}, + create_time = #{createTime}, + receive_dept_id = #{receiveDeptId}, + receive_user_id = #{receiveUserId}, + receive_user_name = #{receiveUserName}, + receive_time = #{receiveTime}, + update_time = #{updateTime}, + + where req_id = #{reqId} + + + + delete from bus_req where req_id = #{reqId} + + + + delete from bus_req where req_id in + + #{reqId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusReqProgressMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusReqProgressMapper.xml new file mode 100644 index 000000000..4be57cc23 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusReqProgressMapper.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + select progress_id, req_id, user_id, user_name, status, content, create_time from bus_req_progress + + + + + + + + insert into bus_req_progress + + req_id, + user_id, + user_name, + status, + content, + create_time, + + + #{reqId}, + #{userId}, + #{userName}, + #{status}, + #{content}, + #{createTime}, + + + + + update bus_req_progress + + req_id = #{reqId}, + user_id = #{userId}, + user_name = #{userName}, + status = #{status}, + content = #{content}, + create_time = #{createTime}, + + where progress_id = #{progressId} + + + + delete from bus_req_progress where progress_id = #{progressId} + + + + delete from bus_req_progress where progress_id in + + #{progressId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusResourceApplyMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusResourceApplyMapper.xml new file mode 100644 index 000000000..b85b3e8ab --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusResourceApplyMapper.xml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + select apply_id, resource_id, status, apply_user_id, apply_user_name, apply_time, apply_remark, audit_user_id, audit_user_name, audit_time, audit_remark from bus_resource_apply + + + + + + + + insert into bus_resource_apply + + resource_id, + status, + apply_user_id, + apply_user_name, + apply_time, + apply_remark, + audit_user_id, + audit_user_name, + audit_time, + audit_remark, + + + #{resourceId}, + #{status}, + #{applyUserId}, + #{applyUserName}, + #{applyTime}, + #{applyRemark}, + #{auditUserId}, + #{auditUserName}, + #{auditTime}, + #{auditRemark}, + + + + + update bus_resource_apply + + resource_id = #{resourceId}, + status = #{status}, + apply_user_id = #{applyUserId}, + apply_user_name = #{applyUserName}, + apply_time = #{applyTime}, + apply_remark = #{applyRemark}, + audit_user_id = #{auditUserId}, + audit_user_name = #{auditUserName}, + audit_time = #{auditTime}, + audit_remark = #{auditRemark}, + + where apply_id = #{applyId} + + + + delete from bus_resource_apply where apply_id = #{applyId} + + + + delete from bus_resource_apply where apply_id in + + #{applyId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusResourceCommentMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusResourceCommentMapper.xml new file mode 100644 index 000000000..4388cb7ec --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusResourceCommentMapper.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + select comment_id, resource_id, user_id, user_name, content, create_time from bus_resource_comment + + + + + + + + insert into bus_resource_comment + + resource_id, + user_id, + user_name, + content, + create_time, + + + #{resourceId}, + #{userId}, + #{userName}, + #{content}, + #{createTime}, + + + + + update bus_resource_comment + + resource_id = #{resourceId}, + user_id = #{userId}, + user_name = #{userName}, + content = #{content}, + create_time = #{createTime}, + + where comment_id = #{commentId} + + + + delete from bus_resource_comment where comment_id = #{commentId} + + + + delete from bus_resource_comment where comment_id in + + #{commentId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusResourceMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusResourceMapper.xml new file mode 100644 index 000000000..699c36895 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusResourceMapper.xml @@ -0,0 +1,103 @@ + + + + + + + + + + + + + + + + + + + + select resource_id, type_id, classes, content, label, status, publish_dept_id, publish_user_id, publish_user_name, create_time, update_time from bus_resource + + + + + + + + insert into bus_resource + + type_id, + classes, + content, + label, + status, + publish_dept_id, + publish_user_id, + publish_user_name, + create_time, + update_time, + + + #{typeId}, + #{classes}, + #{content}, + #{label}, + #{status}, + #{publishDeptId}, + #{publishUserId}, + #{publishUserName}, + #{createTime}, + #{updateTime}, + + + + + update bus_resource + + type_id = #{typeId}, + classes = #{classes}, + content = #{content}, + label = #{label}, + status = #{status}, + publish_dept_id = #{publishDeptId}, + publish_user_id = #{publishUserId}, + publish_user_name = #{publishUserName}, + create_time = #{createTime}, + update_time = #{updateTime}, + + where resource_id = #{resourceId} + + + + delete from bus_resource where resource_id = #{resourceId} + + + + delete from bus_resource where resource_id in + + #{resourceId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusResourceTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusResourceTypeMapper.xml new file mode 100644 index 000000000..3c0656042 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusResourceTypeMapper.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + select type_id, type_name, parent_id, parent_ids, parent_names, classes, sort from bus_resource_type + + + + + + + + insert into bus_resource_type + + type_id, + type_name, + parent_id, + parent_ids, + parent_names, + classes, + sort, + + + #{typeId}, + #{typeName}, + #{parentId}, + #{parentIds}, + #{parentNames}, + #{classes}, + #{sort}, + + + + + update bus_resource_type + + type_name = #{typeName}, + parent_id = #{parentId}, + parent_ids = #{parentIds}, + parent_names = #{parentNames}, + classes = #{classes}, + sort = #{sort}, + + where type_id = #{typeId} + + + + delete from bus_resource_type where type_id = #{typeId} + + + + delete from bus_resource_type where type_id in + + #{typeId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusUserBrowseMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusUserBrowseMapper.xml new file mode 100644 index 000000000..d2dcb1e43 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusUserBrowseMapper.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + select browse_id, browse_type, browse_user_id, browse_user_name, create_time from bus_user_browse + + + + + + + + insert into bus_user_browse + + browse_id, + browse_type, + browse_user_id, + browse_user_name, + create_time, + + + #{browseId}, + #{browseType}, + #{browseUserId}, + #{browseUserName}, + #{createTime}, + + + + + update bus_user_browse + + browse_type = #{browseType}, + browse_user_id = #{browseUserId}, + browse_user_name = #{browseUserName}, + create_time = #{createTime}, + + where browse_id = #{browseId} + + + + delete from bus_user_browse where browse_id = #{browseId} + + + + delete from bus_user_browse where browse_id in + + #{browseId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusUserCollectMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusUserCollectMapper.xml new file mode 100644 index 000000000..c375d758f --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusUserCollectMapper.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + select collect_id, collect_type, collect_user_id, collect_user_name, create_time from bus_user_collect + + + + + + + + insert into bus_user_collect + + collect_id, + collect_type, + collect_user_id, + collect_user_name, + create_time, + + + #{collectId}, + #{collectType}, + #{collectUserId}, + #{collectUserName}, + #{createTime}, + + + + + update bus_user_collect + + collect_type = #{collectType}, + collect_user_id = #{collectUserId}, + collect_user_name = #{collectUserName}, + create_time = #{createTime}, + + where collect_id = #{collectId} + + + + delete from bus_user_collect where collect_id = #{collectId} + + + + delete from bus_user_collect where collect_id in + + #{collectId} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/BusUserMessageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/BusUserMessageMapper.xml new file mode 100644 index 000000000..decfed5ae --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/BusUserMessageMapper.xml @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + select message_id, message_type, content, create_time, receive_user_id, receive_user_name, publish_user_id, publish_user_name from bus_user_message + + + + + + + + insert into bus_user_message + + message_type, + content, + create_time, + receive_user_id, + receive_user_name, + publish_user_id, + publish_user_name, + + + #{messageType}, + #{content}, + #{createTime}, + #{receiveUserId}, + #{receiveUserName}, + #{publishUserId}, + #{publishUserName}, + + + + + update bus_user_message + + message_type = #{messageType}, + content = #{content}, + create_time = #{createTime}, + receive_user_id = #{receiveUserId}, + receive_user_name = #{receiveUserName}, + publish_user_id = #{publishUserId}, + publish_user_name = #{publishUserName}, + + where message_id = #{messageId} + + + + delete from bus_user_message where message_id = #{messageId} + + + + delete from bus_user_message where message_id in + + #{messageId} + + + + \ No newline at end of file