初始化。。。

This commit is contained in:
yanghao0518 2021-01-07 15:12:00 +08:00
parent aa5d2b9fe8
commit 5f0d4a0c7f
129 changed files with 12137 additions and 3 deletions

View File

@ -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<BusAccessory> list = busAccessoryService.selectBusAccessoryList(busAccessory);
return getDataTable(list);
}
/**
* 导出附件列表
*/
@RequiresPermissions("system:busAccessory:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusAccessory busAccessory)
{
List<BusAccessory> list = busAccessoryService.selectBusAccessoryList(busAccessory);
ExcelUtil<BusAccessory> util = new ExcelUtil<BusAccessory>(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));
}
}

View File

@ -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<BusDeptApply> list = busDeptApplyService.selectBusDeptApplyList(busDeptApply);
return getDataTable(list);
}
/**
* 导出企业入驻申请列表
*/
@RequiresPermissions("system:busDeptApply:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusDeptApply busDeptApply)
{
List<BusDeptApply> list = busDeptApplyService.selectBusDeptApplyList(busDeptApply);
ExcelUtil<BusDeptApply> util = new ExcelUtil<BusDeptApply>(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));
}
}

View File

@ -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<BusNews> list = busNewsService.selectBusNewsList(busNews);
return getDataTable(list);
}
/**
* 导出新闻列表
*/
@RequiresPermissions("system:busNews:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusNews busNews)
{
List<BusNews> list = busNewsService.selectBusNewsList(busNews);
ExcelUtil<BusNews> util = new ExcelUtil<BusNews>(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));
}
}

View File

@ -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<BusReqApply> list = busReqApplyService.selectBusReqApplyList(busReqApply);
return getDataTable(list);
}
/**
* 导出资源需求接包申请列表
*/
@RequiresPermissions("system:busReqApply:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusReqApply busReqApply)
{
List<BusReqApply> list = busReqApplyService.selectBusReqApplyList(busReqApply);
ExcelUtil<BusReqApply> util = new ExcelUtil<BusReqApply>(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));
}
}

View File

@ -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<BusReqComment> list = busReqCommentService.selectBusReqCommentList(busReqComment);
return getDataTable(list);
}
/**
* 导出资源需求评论列表
*/
@RequiresPermissions("system:busReqComment:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusReqComment busReqComment)
{
List<BusReqComment> list = busReqCommentService.selectBusReqCommentList(busReqComment);
ExcelUtil<BusReqComment> util = new ExcelUtil<BusReqComment>(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));
}
}

View File

@ -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<BusReq> list = busReqService.selectBusReqList(busReq);
return getDataTable(list);
}
/**
* 导出资源需求列表
*/
@RequiresPermissions("system:busReq:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusReq busReq)
{
List<BusReq> list = busReqService.selectBusReqList(busReq);
ExcelUtil<BusReq> util = new ExcelUtil<BusReq>(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));
}
}

View File

@ -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<BusReqProgress> list = busReqProgressService.selectBusReqProgressList(busReqProgress);
return getDataTable(list);
}
/**
* 导出资源需求进度列表
*/
@RequiresPermissions("system:busReqProgress:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusReqProgress busReqProgress)
{
List<BusReqProgress> list = busReqProgressService.selectBusReqProgressList(busReqProgress);
ExcelUtil<BusReqProgress> util = new ExcelUtil<BusReqProgress>(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));
}
}

View File

@ -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<BusResourceApply> list = busResourceApplyService.selectBusResourceApplyList(busResourceApply);
return getDataTable(list);
}
/**
* 导出资源使用申请列表
*/
@RequiresPermissions("system:busResourceApply:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusResourceApply busResourceApply)
{
List<BusResourceApply> list = busResourceApplyService.selectBusResourceApplyList(busResourceApply);
ExcelUtil<BusResourceApply> util = new ExcelUtil<BusResourceApply>(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));
}
}

View File

@ -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<BusResourceComment> list = busResourceCommentService.selectBusResourceCommentList(busResourceComment);
return getDataTable(list);
}
/**
* 导出资源评论列表
*/
@RequiresPermissions("system:busResourceComment:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusResourceComment busResourceComment)
{
List<BusResourceComment> list = busResourceCommentService.selectBusResourceCommentList(busResourceComment);
ExcelUtil<BusResourceComment> util = new ExcelUtil<BusResourceComment>(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));
}
}

View File

@ -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<BusResource> list = busResourceService.selectBusResourceList(busResource);
return getDataTable(list);
}
/**
* 导出资源列表
*/
@RequiresPermissions("system:busResource:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusResource busResource)
{
List<BusResource> list = busResourceService.selectBusResourceList(busResource);
ExcelUtil<BusResource> util = new ExcelUtil<BusResource>(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));
}
}

View File

@ -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<BusResourceType> list = busResourceTypeService.selectBusResourceTypeList(busResourceType);
return getDataTable(list);
}
/**
* 导出资源分类列表
*/
@RequiresPermissions("system:busResourceType:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusResourceType busResourceType)
{
List<BusResourceType> list = busResourceTypeService.selectBusResourceTypeList(busResourceType);
ExcelUtil<BusResourceType> util = new ExcelUtil<BusResourceType>(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));
}
}

View File

@ -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<BusUserBrowse> list = busUserBrowseService.selectBusUserBrowseList(busUserBrowse);
return getDataTable(list);
}
/**
* 导出用户浏览足迹列表
*/
@RequiresPermissions("system:busUserBrowse:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusUserBrowse busUserBrowse)
{
List<BusUserBrowse> list = busUserBrowseService.selectBusUserBrowseList(busUserBrowse);
ExcelUtil<BusUserBrowse> util = new ExcelUtil<BusUserBrowse>(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));
}
}

View File

@ -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<BusUserCollect> list = busUserCollectService.selectBusUserCollectList(busUserCollect);
return getDataTable(list);
}
/**
* 导出用户收藏列表
*/
@RequiresPermissions("system:busUserCollect:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusUserCollect busUserCollect)
{
List<BusUserCollect> list = busUserCollectService.selectBusUserCollectList(busUserCollect);
ExcelUtil<BusUserCollect> util = new ExcelUtil<BusUserCollect>(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));
}
}

View File

@ -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<BusUserMessage> list = busUserMessageService.selectBusUserMessageList(busUserMessage);
return getDataTable(list);
}
/**
* 导出用户消息列表
*/
@RequiresPermissions("system:busUserMessage:export")
@PostMapping("/export")
@ResponseBody
public AjaxResult export(BusUserMessage busUserMessage)
{
List<BusUserMessage> list = busUserMessageService.selectBusUserMessageList(busUserMessage);
ExcelUtil<BusUserMessage> util = new ExcelUtil<BusUserMessage>(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));
}
}

View File

@ -8,7 +8,7 @@ spring:
master: master:
url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: password password: yanghao0518
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # 从数据源开关/默认关闭

View File

@ -16,7 +16,7 @@ ruoyi:
# 开发环境配置 # 开发环境配置
server: server:
# 服务器的HTTP端口默认为80 # 服务器的HTTP端口默认为80
port: 80 port: 8080
servlet: servlet:
# 应用的访问路径 # 应用的访问路径
context-path: / context-path: /

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<configuration> <configuration>
<!-- 日志存放路径 --> <!-- 日志存放路径 -->
<property name="log.path" value="/home/ruoyi/logs" /> <property name="log.path" value="/Users/yanghao0518/soft/RuoY/logs" />
<!-- 日志输出格式 --> <!-- 日志输出格式 -->
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" /> <property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" />

View File

@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增附件')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busAccessory-add">
<div class="form-group">
<label class="col-sm-3 control-label">附件类型:</label>
<div class="col-sm-8">
<input id="accessoryType" name="accessoryType" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件名称:</label>
<div class="col-sm-8">
<input id="accessoryName" name="accessoryName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件地址:</label>
<div class="col-sm-8">
<input id="address" name="address" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件大小:</label>
<div class="col-sm-8">
<input id="size" name="size" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">上传时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件关联id</label>
<div class="col-sm-8">
<input id="relevancyId" name="relevancyId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件关联类型(新闻/资源/资源需求/企业明细/公共文档等):</label>
<div class="col-sm-8">
<input id="relevancyType" name="relevancyType" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busAccessory"
$("#form-busAccessory-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busAccessory-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,142 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('附件列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
附件类型:<input type="text" name="accessoryType"/>
</li>
<li>
附件名称:<input type="text" name="accessoryName"/>
</li>
<li>
附件地址:<input type="text" name="address"/>
</li>
<li>
附件大小:<input type="text" name="size"/>
</li>
<li>
上传时间:<input type="text" name="createTime"/>
</li>
<li>
附件关联id<input type="text" name="relevancyId"/>
</li>
<li>
附件关联类型(新闻/资源/资源需求/企业明细/公共文档等):<input type="text" name="relevancyType"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busAccessory:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busAccessory:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busAccessory:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busAccessory:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busAccessory:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busAccessory:remove')}]];
var prefix = ctx + "system/busAccessory";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "附件",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'accessoryId',
title : '附件id',
visible: false
},
{
field : 'accessoryType',
title : '附件类型',
sortable: true
},
{
field : 'accessoryName',
title : '附件名称',
sortable: true
},
{
field : 'address',
title : '附件地址',
sortable: true
},
{
field : 'size',
title : '附件大小',
sortable: true
},
{
field : 'createTime',
title : '上传时间',
sortable: true
},
{
field : 'relevancyId',
title : '附件关联id',
sortable: true
},
{
field : 'relevancyType',
title : '附件关联类型(新闻/资源/资源需求/企业明细/公共文档等)',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.accessoryId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.accessoryId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改附件')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busAccessory-edit" th:object="${busAccessory}">
<input id="accessoryId" name="accessoryId" th:field="*{accessoryId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">附件类型:</label>
<div class="col-sm-8">
<input id="accessoryType" name="accessoryType" th:field="*{accessoryType}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件名称:</label>
<div class="col-sm-8">
<input id="accessoryName" name="accessoryName" th:field="*{accessoryName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件地址:</label>
<div class="col-sm-8">
<input id="address" name="address" th:field="*{address}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件大小:</label>
<div class="col-sm-8">
<input id="size" name="size" th:field="*{size}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">上传时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件关联id</label>
<div class="col-sm-8">
<input id="relevancyId" name="relevancyId" th:field="*{relevancyId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">附件关联类型(新闻/资源/资源需求/企业明细/公共文档等):</label>
<div class="col-sm-8">
<input id="relevancyType" name="relevancyType" th:field="*{relevancyType}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busAccessory";
$("#form-busAccessory-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busAccessory-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,150 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增企业入驻申请')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busDeptApply-add">
<div class="form-group">
<label class="col-sm-3 control-label">申请类型(企业注册/企业迁址):</label>
<div class="col-sm-8">
<input id="applyType" name="applyType" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业名称:</label>
<div class="col-sm-8">
<input id="deptName" name="deptName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">行业:</label>
<div class="col-sm-8">
<input id="business" name="business" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业经营范围:</label>
<div class="col-sm-8">
<input id="deptScope" name="deptScope" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业类型:</label>
<div class="col-sm-8">
<input id="deptType" name="deptType" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业链接:</label>
<div class="col-sm-8">
<input id="deptAddress" name="deptAddress" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业联系电话:</label>
<div class="col-sm-8">
<input id="deptPhone" name="deptPhone" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">法人信息(姓名、性别、政治面貌、固定电话、手机号码等)</label>
<div class="col-sm-8">
<input id="legalConfig" name="legalConfig" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业工作人员信息列表(姓名、性别、手机号码、车牌号等):</label>
<div class="col-sm-8">
<input id="deptUsers" name="deptUsers" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">工商注册号:</label>
<div class="col-sm-8">
<input id="regCode" name="regCode" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">统一社会信用代码:</label>
<div class="col-sm-8">
<input id="creditCode" name="creditCode" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">组织机构代码:</label>
<div class="col-sm-8">
<input id="orgCode" name="orgCode" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">纳税人识别号:</label>
<div class="col-sm-8">
<input id="taxpayerCode" name="taxpayerCode" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">纳税人资质:</label>
<div class="col-sm-8">
<input id="taxpayerQua" name="taxpayerQua" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核状态00待审核/01已通过/99未通过</label>
<div class="col-sm-8">
<input id="status" name="status" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人id</label>
<div class="col-sm-8">
<input id="auditUserId" name="auditUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人名称:</label>
<div class="col-sm-8">
<input id="auditUserName" name="auditUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核时间:</label>
<div class="col-sm-8">
<input id="auditTime" name="auditTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核意见:</label>
<div class="col-sm-8">
<input id="auditRemark" name="auditRemark" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busDeptApply"
$("#form-busDeptApply-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busDeptApply-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,259 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('企业入驻申请列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
申请类型(企业注册/企业迁址):<input type="text" name="applyType"/>
</li>
<li>
企业名称:<input type="text" name="deptName"/>
</li>
<li>
行业:<input type="text" name="business"/>
</li>
<li>
企业经营范围:<input type="text" name="deptScope"/>
</li>
<li>
企业类型:<input type="text" name="deptType"/>
</li>
<li>
企业链接:<input type="text" name="deptAddress"/>
</li>
<li>
企业联系电话:<input type="text" name="deptPhone"/>
</li>
<li>
法人信息(姓名、性别、政治面貌、固定电话、手机号码等)<input type="text" name="legalConfig"/>
</li>
<li>
企业工作人员信息列表(姓名、性别、手机号码、车牌号等):<input type="text" name="deptUsers"/>
</li>
<li>
工商注册号:<input type="text" name="regCode"/>
</li>
<li>
统一社会信用代码:<input type="text" name="creditCode"/>
</li>
<li>
组织机构代码:<input type="text" name="orgCode"/>
</li>
<li>
纳税人识别号:<input type="text" name="taxpayerCode"/>
</li>
<li>
纳税人资质:<input type="text" name="taxpayerQua"/>
</li>
<li>
创建时间:<input type="text" name="createTime"/>
</li>
<li>
审核状态00待审核/01已通过/99未通过<input type="text" name="status"/>
</li>
<li>
审核人id<input type="text" name="auditUserId"/>
</li>
<li>
审核人名称:<input type="text" name="auditUserName"/>
</li>
<li>
审核时间:<input type="text" name="auditTime"/>
</li>
<li>
审核意见:<input type="text" name="auditRemark"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busDeptApply:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busDeptApply:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busDeptApply:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busDeptApply:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busDeptApply:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busDeptApply:remove')}]];
var prefix = ctx + "system/busDeptApply";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "企业入驻申请",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'applyId',
title : '入驻申请id',
visible: false
},
{
field : 'applyType',
title : '申请类型(企业注册/企业迁址)',
sortable: true
},
{
field : 'deptName',
title : '企业名称',
sortable: true
},
{
field : 'business',
title : '行业',
sortable: true
},
{
field : 'deptScope',
title : '企业经营范围',
sortable: true
},
{
field : 'deptType',
title : '企业类型',
sortable: true
},
{
field : 'deptAddress',
title : '企业链接',
sortable: true
},
{
field : 'deptPhone',
title : '企业联系电话',
sortable: true
},
{
field : 'legalConfig',
title : '法人信息(姓名、性别、政治面貌、固定电话、手机号码等)',
sortable: true
},
{
field : 'deptUsers',
title : '企业工作人员信息列表(姓名、性别、手机号码、车牌号等)',
sortable: true
},
{
field : 'regCode',
title : '工商注册号',
sortable: true
},
{
field : 'creditCode',
title : '统一社会信用代码',
sortable: true
},
{
field : 'orgCode',
title : '组织机构代码',
sortable: true
},
{
field : 'taxpayerCode',
title : '纳税人识别号',
sortable: true
},
{
field : 'taxpayerQua',
title : '纳税人资质',
sortable: true
},
{
field : 'createTime',
title : '创建时间',
sortable: true
},
{
field : 'status',
title : '审核状态00待审核/01已通过/99未通过',
sortable: true
},
{
field : 'auditUserId',
title : '审核人id',
sortable: true
},
{
field : 'auditUserName',
title : '审核人名称',
sortable: true
},
{
field : 'auditTime',
title : '审核时间',
sortable: true
},
{
field : 'auditRemark',
title : '审核意见',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.applyId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.applyId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,151 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改企业入驻申请')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busDeptApply-edit" th:object="${busDeptApply}">
<input id="applyId" name="applyId" th:field="*{applyId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">申请类型(企业注册/企业迁址):</label>
<div class="col-sm-8">
<input id="applyType" name="applyType" th:field="*{applyType}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业名称:</label>
<div class="col-sm-8">
<input id="deptName" name="deptName" th:field="*{deptName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">行业:</label>
<div class="col-sm-8">
<input id="business" name="business" th:field="*{business}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业经营范围:</label>
<div class="col-sm-8">
<input id="deptScope" name="deptScope" th:field="*{deptScope}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业类型:</label>
<div class="col-sm-8">
<input id="deptType" name="deptType" th:field="*{deptType}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业链接:</label>
<div class="col-sm-8">
<input id="deptAddress" name="deptAddress" th:field="*{deptAddress}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业联系电话:</label>
<div class="col-sm-8">
<input id="deptPhone" name="deptPhone" th:field="*{deptPhone}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">法人信息(姓名、性别、政治面貌、固定电话、手机号码等)</label>
<div class="col-sm-8">
<input id="legalConfig" name="legalConfig" th:field="*{legalConfig}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">企业工作人员信息列表(姓名、性别、手机号码、车牌号等):</label>
<div class="col-sm-8">
<input id="deptUsers" name="deptUsers" th:field="*{deptUsers}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">工商注册号:</label>
<div class="col-sm-8">
<input id="regCode" name="regCode" th:field="*{regCode}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">统一社会信用代码:</label>
<div class="col-sm-8">
<input id="creditCode" name="creditCode" th:field="*{creditCode}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">组织机构代码:</label>
<div class="col-sm-8">
<input id="orgCode" name="orgCode" th:field="*{orgCode}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">纳税人识别号:</label>
<div class="col-sm-8">
<input id="taxpayerCode" name="taxpayerCode" th:field="*{taxpayerCode}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">纳税人资质:</label>
<div class="col-sm-8">
<input id="taxpayerQua" name="taxpayerQua" th:field="*{taxpayerQua}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核状态00待审核/01已通过/99未通过</label>
<div class="col-sm-8">
<input id="status" name="status" th:field="*{status}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人id</label>
<div class="col-sm-8">
<input id="auditUserId" name="auditUserId" th:field="*{auditUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人名称:</label>
<div class="col-sm-8">
<input id="auditUserName" name="auditUserName" th:field="*{auditUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核时间:</label>
<div class="col-sm-8">
<input id="auditTime" name="auditTime" th:field="*{auditTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核意见:</label>
<div class="col-sm-8">
<input id="auditRemark" name="auditRemark" th:field="*{auditRemark}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busDeptApply";
$("#form-busDeptApply-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busDeptApply-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,84 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增新闻')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busNews-add">
<div class="form-group">
<label class="col-sm-3 control-label">新闻标题:</label>
<div class="col-sm-8">
<input id="title" name="title" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">新闻正文:</label>
<div class="col-sm-8">
<input id="content" name="content" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">新闻标签:</label>
<div class="col-sm-8">
<input id="label" name="label" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">新闻状态00待发布/01已发布/99已屏蔽</label>
<div class="col-sm-8">
<input id="status" name="status" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布企业:</label>
<div class="col-sm-8">
<input id="publishDeptId" name="publishDeptId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人id</label>
<div class="col-sm-8">
<input id="publishUserId" name="publishUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人名称:</label>
<div class="col-sm-8">
<input id="publishUserName" name="publishUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">修改时间:</label>
<div class="col-sm-8">
<input id="updateTime" name="updateTime" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busNews"
$("#form-busNews-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busNews-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,160 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('新闻列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
新闻标题:<input type="text" name="title"/>
</li>
<li>
新闻正文:<input type="text" name="content"/>
</li>
<li>
新闻标签:<input type="text" name="label"/>
</li>
<li>
新闻状态00待发布/01已发布/99已屏蔽<input type="text" name="status"/>
</li>
<li>
发布企业:<input type="text" name="publishDeptId"/>
</li>
<li>
发布人id<input type="text" name="publishUserId"/>
</li>
<li>
发布人名称:<input type="text" name="publishUserName"/>
</li>
<li>
创建时间:<input type="text" name="createTime"/>
</li>
<li>
修改时间:<input type="text" name="updateTime"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busNews:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busNews:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busNews:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busNews:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busNews:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busNews:remove')}]];
var prefix = ctx + "system/busNews";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "新闻",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'newsId',
title : '新闻id',
visible: false
},
{
field : 'title',
title : '新闻标题',
sortable: true
},
{
field : 'content',
title : '新闻正文',
sortable: true
},
{
field : 'label',
title : '新闻标签',
sortable: true
},
{
field : 'status',
title : '新闻状态00待发布/01已发布/99已屏蔽',
sortable: true
},
{
field : 'publishDeptId',
title : '发布企业',
sortable: true
},
{
field : 'publishUserId',
title : '发布人id',
sortable: true
},
{
field : 'publishUserName',
title : '发布人名称',
sortable: true
},
{
field : 'createTime',
title : '创建时间',
sortable: true
},
{
field : 'updateTime',
title : '修改时间',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.newsId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.newsId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,85 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改新闻')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busNews-edit" th:object="${busNews}">
<input id="newsId" name="newsId" th:field="*{newsId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">新闻标题:</label>
<div class="col-sm-8">
<input id="title" name="title" th:field="*{title}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">新闻正文:</label>
<div class="col-sm-8">
<input id="content" name="content" th:field="*{content}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">新闻标签:</label>
<div class="col-sm-8">
<input id="label" name="label" th:field="*{label}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">新闻状态00待发布/01已发布/99已屏蔽</label>
<div class="col-sm-8">
<input id="status" name="status" th:field="*{status}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布企业:</label>
<div class="col-sm-8">
<input id="publishDeptId" name="publishDeptId" th:field="*{publishDeptId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人id</label>
<div class="col-sm-8">
<input id="publishUserId" name="publishUserId" th:field="*{publishUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人名称:</label>
<div class="col-sm-8">
<input id="publishUserName" name="publishUserName" th:field="*{publishUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">修改时间:</label>
<div class="col-sm-8">
<input id="updateTime" name="updateTime" th:field="*{updateTime}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busNews";
$("#form-busNews-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busNews-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,120 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增资源需求')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busReq-add">
<div class="form-group">
<label class="col-sm-3 control-label">需求类型:</label>
<div class="col-sm-8">
<input id="reqType" name="reqType" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求名称:</label>
<div class="col-sm-8">
<input id="reqName" name="reqName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求级别:</label>
<div class="col-sm-8">
<input id="classes" name="classes" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求标签:</label>
<div class="col-sm-8">
<input id="label" name="label" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求描述:</label>
<div class="col-sm-8">
<input id="content" name="content" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求状态00待发布/01已发布/02处理中/03验收中/04已完成/00已屏蔽</label>
<div class="col-sm-8">
<input id="status" name="status" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布企业:</label>
<div class="col-sm-8">
<input id="publishDeptId" name="publishDeptId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人id</label>
<div class="col-sm-8">
<input id="publishUserId" name="publishUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人名称:</label>
<div class="col-sm-8">
<input id="publishUserName" name="publishUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收企业:</label>
<div class="col-sm-8">
<input id="receiveDeptId" name="receiveDeptId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收人id</label>
<div class="col-sm-8">
<input id="receiveUserId" name="receiveUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收人名称:</label>
<div class="col-sm-8">
<input id="receiveUserName" name="receiveUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收时间:</label>
<div class="col-sm-8">
<input id="receiveTime" name="receiveTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">修改时间:</label>
<div class="col-sm-8">
<input id="updateTime" name="updateTime" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busReq"
$("#form-busReq-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busReq-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,214 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('资源需求列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
需求类型:<input type="text" name="reqType"/>
</li>
<li>
需求名称:<input type="text" name="reqName"/>
</li>
<li>
需求级别:<input type="text" name="classes"/>
</li>
<li>
需求标签:<input type="text" name="label"/>
</li>
<li>
需求描述:<input type="text" name="content"/>
</li>
<li>
需求状态00待发布/01已发布/02处理中/03验收中/04已完成/00已屏蔽<input type="text" name="status"/>
</li>
<li>
发布企业:<input type="text" name="publishDeptId"/>
</li>
<li>
发布人id<input type="text" name="publishUserId"/>
</li>
<li>
发布人名称:<input type="text" name="publishUserName"/>
</li>
<li>
创建时间:<input type="text" name="createTime"/>
</li>
<li>
接收企业:<input type="text" name="receiveDeptId"/>
</li>
<li>
接收人id<input type="text" name="receiveUserId"/>
</li>
<li>
接收人名称:<input type="text" name="receiveUserName"/>
</li>
<li>
接收时间:<input type="text" name="receiveTime"/>
</li>
<li>
修改时间:<input type="text" name="updateTime"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busReq:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busReq:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busReq:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busReq:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busReq:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busReq:remove')}]];
var prefix = ctx + "system/busReq";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "资源需求",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'reqId',
title : '需求id',
visible: false
},
{
field : 'reqType',
title : '需求类型',
sortable: true
},
{
field : 'reqName',
title : '需求名称',
sortable: true
},
{
field : 'classes',
title : '需求级别',
sortable: true
},
{
field : 'label',
title : '需求标签',
sortable: true
},
{
field : 'content',
title : '需求描述',
sortable: true
},
{
field : 'status',
title : '需求状态00待发布/01已发布/02处理中/03验收中/04已完成/00已屏蔽',
sortable: true
},
{
field : 'publishDeptId',
title : '发布企业',
sortable: true
},
{
field : 'publishUserId',
title : '发布人id',
sortable: true
},
{
field : 'publishUserName',
title : '发布人名称',
sortable: true
},
{
field : 'createTime',
title : '创建时间',
sortable: true
},
{
field : 'receiveDeptId',
title : '接收企业',
sortable: true
},
{
field : 'receiveUserId',
title : '接收人id',
sortable: true
},
{
field : 'receiveUserName',
title : '接收人名称',
sortable: true
},
{
field : 'receiveTime',
title : '接收时间',
sortable: true
},
{
field : 'updateTime',
title : '修改时间',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.reqId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.reqId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,121 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改资源需求')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busReq-edit" th:object="${busReq}">
<input id="reqId" name="reqId" th:field="*{reqId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">需求类型:</label>
<div class="col-sm-8">
<input id="reqType" name="reqType" th:field="*{reqType}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求名称:</label>
<div class="col-sm-8">
<input id="reqName" name="reqName" th:field="*{reqName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求级别:</label>
<div class="col-sm-8">
<input id="classes" name="classes" th:field="*{classes}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求标签:</label>
<div class="col-sm-8">
<input id="label" name="label" th:field="*{label}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求描述:</label>
<div class="col-sm-8">
<input id="content" name="content" th:field="*{content}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求状态00待发布/01已发布/02处理中/03验收中/04已完成/00已屏蔽</label>
<div class="col-sm-8">
<input id="status" name="status" th:field="*{status}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布企业:</label>
<div class="col-sm-8">
<input id="publishDeptId" name="publishDeptId" th:field="*{publishDeptId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人id</label>
<div class="col-sm-8">
<input id="publishUserId" name="publishUserId" th:field="*{publishUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人名称:</label>
<div class="col-sm-8">
<input id="publishUserName" name="publishUserName" th:field="*{publishUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收企业:</label>
<div class="col-sm-8">
<input id="receiveDeptId" name="receiveDeptId" th:field="*{receiveDeptId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收人id</label>
<div class="col-sm-8">
<input id="receiveUserId" name="receiveUserId" th:field="*{receiveUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收人名称:</label>
<div class="col-sm-8">
<input id="receiveUserName" name="receiveUserName" th:field="*{receiveUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收时间:</label>
<div class="col-sm-8">
<input id="receiveTime" name="receiveTime" th:field="*{receiveTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">修改时间:</label>
<div class="col-sm-8">
<input id="updateTime" name="updateTime" th:field="*{updateTime}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busReq";
$("#form-busReq-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busReq-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,96 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增资源需求接包申请')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busReqApply-add">
<div class="form-group">
<label class="col-sm-3 control-label">需求id</label>
<div class="col-sm-8">
<input id="reqId" name="reqId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请状态00待应答/01已应答/99已废弃</label>
<div class="col-sm-8">
<input id="status" name="status" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请企业:</label>
<div class="col-sm-8">
<input id="applyDeptId" name="applyDeptId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请人id</label>
<div class="col-sm-8">
<input id="applyUserId" name="applyUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请人名称:</label>
<div class="col-sm-8">
<input id="applyUserName" name="applyUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请时间:</label>
<div class="col-sm-8">
<input id="applyTime" name="applyTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请备注:</label>
<div class="col-sm-8">
<input id="applyRemark" name="applyRemark" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人id</label>
<div class="col-sm-8">
<input id="auditUserId" name="auditUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人名称:</label>
<div class="col-sm-8">
<input id="auditUserName" name="auditUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核时间:</label>
<div class="col-sm-8">
<input id="auditTime" name="auditTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核意见:</label>
<div class="col-sm-8">
<input id="auditRemark" name="auditRemark" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busReqApply"
$("#form-busReqApply-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busReqApply-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,178 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('资源需求接包申请列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
需求id<input type="text" name="reqId"/>
</li>
<li>
申请状态00待应答/01已应答/99已废弃<input type="text" name="status"/>
</li>
<li>
申请企业:<input type="text" name="applyDeptId"/>
</li>
<li>
申请人id<input type="text" name="applyUserId"/>
</li>
<li>
申请人名称:<input type="text" name="applyUserName"/>
</li>
<li>
申请时间:<input type="text" name="applyTime"/>
</li>
<li>
申请备注:<input type="text" name="applyRemark"/>
</li>
<li>
审核人id<input type="text" name="auditUserId"/>
</li>
<li>
审核人名称:<input type="text" name="auditUserName"/>
</li>
<li>
审核时间:<input type="text" name="auditTime"/>
</li>
<li>
审核意见:<input type="text" name="auditRemark"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busReqApply:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busReqApply:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busReqApply:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busReqApply:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busReqApply:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busReqApply:remove')}]];
var prefix = ctx + "system/busReqApply";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "资源需求接包申请",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'applyId',
title : '申请id',
visible: false
},
{
field : 'reqId',
title : '需求id',
sortable: true
},
{
field : 'status',
title : '申请状态00待应答/01已应答/99已废弃',
sortable: true
},
{
field : 'applyDeptId',
title : '申请企业',
sortable: true
},
{
field : 'applyUserId',
title : '申请人id',
sortable: true
},
{
field : 'applyUserName',
title : '申请人名称',
sortable: true
},
{
field : 'applyTime',
title : '申请时间',
sortable: true
},
{
field : 'applyRemark',
title : '申请备注',
sortable: true
},
{
field : 'auditUserId',
title : '审核人id',
sortable: true
},
{
field : 'auditUserName',
title : '审核人名称',
sortable: true
},
{
field : 'auditTime',
title : '审核时间',
sortable: true
},
{
field : 'auditRemark',
title : '审核意见',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.applyId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.applyId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,97 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改资源需求接包申请')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busReqApply-edit" th:object="${busReqApply}">
<input id="applyId" name="applyId" th:field="*{applyId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">需求id</label>
<div class="col-sm-8">
<input id="reqId" name="reqId" th:field="*{reqId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请状态00待应答/01已应答/99已废弃</label>
<div class="col-sm-8">
<input id="status" name="status" th:field="*{status}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请企业:</label>
<div class="col-sm-8">
<input id="applyDeptId" name="applyDeptId" th:field="*{applyDeptId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请人id</label>
<div class="col-sm-8">
<input id="applyUserId" name="applyUserId" th:field="*{applyUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请人名称:</label>
<div class="col-sm-8">
<input id="applyUserName" name="applyUserName" th:field="*{applyUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请时间:</label>
<div class="col-sm-8">
<input id="applyTime" name="applyTime" th:field="*{applyTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请备注:</label>
<div class="col-sm-8">
<input id="applyRemark" name="applyRemark" th:field="*{applyRemark}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人id</label>
<div class="col-sm-8">
<input id="auditUserId" name="auditUserId" th:field="*{auditUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人名称:</label>
<div class="col-sm-8">
<input id="auditUserName" name="auditUserName" th:field="*{auditUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核时间:</label>
<div class="col-sm-8">
<input id="auditTime" name="auditTime" th:field="*{auditTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核意见:</label>
<div class="col-sm-8">
<input id="auditRemark" name="auditRemark" th:field="*{auditRemark}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busReqApply";
$("#form-busReqApply-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busReqApply-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增资源需求评论')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busReqComment-add">
<div class="form-group">
<label class="col-sm-3 control-label">资源需求id</label>
<div class="col-sm-8">
<input id="reqId" name="reqId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户id</label>
<div class="col-sm-8">
<input id="userId" name="userId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户名称:</label>
<div class="col-sm-8">
<input id="userName" name="userName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">评论内容:</label>
<div class="col-sm-8">
<input id="content" name="content" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busReqComment"
$("#form-busReqComment-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busReqComment-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,124 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('资源需求评论列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
资源需求id<input type="text" name="reqId"/>
</li>
<li>
用户id<input type="text" name="userId"/>
</li>
<li>
用户名称:<input type="text" name="userName"/>
</li>
<li>
评论内容:<input type="text" name="content"/>
</li>
<li>
创建时间:<input type="text" name="createTime"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busReqComment:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busReqComment:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busReqComment:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busReqComment:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busReqComment:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busReqComment:remove')}]];
var prefix = ctx + "system/busReqComment";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "资源需求评论",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'commentId',
title : '评论id',
visible: false
},
{
field : 'reqId',
title : '资源需求id',
sortable: true
},
{
field : 'userId',
title : '用户id',
sortable: true
},
{
field : 'userName',
title : '用户名称',
sortable: true
},
{
field : 'content',
title : '评论内容',
sortable: true
},
{
field : 'createTime',
title : '创建时间',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.commentId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.commentId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改资源需求评论')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busReqComment-edit" th:object="${busReqComment}">
<input id="commentId" name="commentId" th:field="*{commentId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">资源需求id</label>
<div class="col-sm-8">
<input id="reqId" name="reqId" th:field="*{reqId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户id</label>
<div class="col-sm-8">
<input id="userId" name="userId" th:field="*{userId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户名称:</label>
<div class="col-sm-8">
<input id="userName" name="userName" th:field="*{userName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">评论内容:</label>
<div class="col-sm-8">
<input id="content" name="content" th:field="*{content}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busReqComment";
$("#form-busReqComment-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busReqComment-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增资源需求进度')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busReqProgress-add">
<div class="form-group">
<label class="col-sm-3 control-label">资源需求id</label>
<div class="col-sm-8">
<input id="reqId" name="reqId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户id</label>
<div class="col-sm-8">
<input id="userId" name="userId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户名称:</label>
<div class="col-sm-8">
<input id="userName" name="userName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求当前状态:</label>
<div class="col-sm-8">
<input id="status" name="status" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">描述:</label>
<div class="col-sm-8">
<input id="content" name="content" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busReqProgress"
$("#form-busReqProgress-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busReqProgress-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,133 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('资源需求进度列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
资源需求id<input type="text" name="reqId"/>
</li>
<li>
用户id<input type="text" name="userId"/>
</li>
<li>
用户名称:<input type="text" name="userName"/>
</li>
<li>
需求当前状态:<input type="text" name="status"/>
</li>
<li>
描述:<input type="text" name="content"/>
</li>
<li>
创建时间:<input type="text" name="createTime"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busReqProgress:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busReqProgress:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busReqProgress:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busReqProgress:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busReqProgress:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busReqProgress:remove')}]];
var prefix = ctx + "system/busReqProgress";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "资源需求进度",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'progressId',
title : '进度id',
visible: false
},
{
field : 'reqId',
title : '资源需求id',
sortable: true
},
{
field : 'userId',
title : '用户id',
sortable: true
},
{
field : 'userName',
title : '用户名称',
sortable: true
},
{
field : 'status',
title : '需求当前状态',
sortable: true
},
{
field : 'content',
title : '描述',
sortable: true
},
{
field : 'createTime',
title : '创建时间',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.progressId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.progressId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改资源需求进度')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busReqProgress-edit" th:object="${busReqProgress}">
<input id="progressId" name="progressId" th:field="*{progressId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">资源需求id</label>
<div class="col-sm-8">
<input id="reqId" name="reqId" th:field="*{reqId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户id</label>
<div class="col-sm-8">
<input id="userId" name="userId" th:field="*{userId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户名称:</label>
<div class="col-sm-8">
<input id="userName" name="userName" th:field="*{userName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">需求当前状态:</label>
<div class="col-sm-8">
<input id="status" name="status" th:field="*{status}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">描述:</label>
<div class="col-sm-8">
<input id="content" name="content" th:field="*{content}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busReqProgress";
$("#form-busReqProgress-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busReqProgress-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增资源')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busResource-add">
<div class="form-group">
<label class="col-sm-3 control-label">资源分类id</label>
<div class="col-sm-8">
<input id="typeId" name="typeId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">资源级别:</label>
<div class="col-sm-8">
<input id="classes" name="classes" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">资源基本信息:</label>
<div class="col-sm-8">
<input id="content" name="content" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">资源标签:</label>
<div class="col-sm-8">
<input id="label" name="label" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">资源状态00待发布/01已发布/99已屏蔽</label>
<div class="col-sm-8">
<input id="status" name="status" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布企业:</label>
<div class="col-sm-8">
<input id="publishDeptId" name="publishDeptId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人id</label>
<div class="col-sm-8">
<input id="publishUserId" name="publishUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人名称:</label>
<div class="col-sm-8">
<input id="publishUserName" name="publishUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">修改时间:</label>
<div class="col-sm-8">
<input id="updateTime" name="updateTime" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busResource"
$("#form-busResource-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busResource-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,169 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('资源列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
资源分类id<input type="text" name="typeId"/>
</li>
<li>
资源级别:<input type="text" name="classes"/>
</li>
<li>
资源基本信息:<input type="text" name="content"/>
</li>
<li>
资源标签:<input type="text" name="label"/>
</li>
<li>
资源状态00待发布/01已发布/99已屏蔽<input type="text" name="status"/>
</li>
<li>
发布企业:<input type="text" name="publishDeptId"/>
</li>
<li>
发布人id<input type="text" name="publishUserId"/>
</li>
<li>
发布人名称:<input type="text" name="publishUserName"/>
</li>
<li>
创建时间:<input type="text" name="createTime"/>
</li>
<li>
修改时间:<input type="text" name="updateTime"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busResource:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busResource:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busResource:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busResource:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busResource:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busResource:remove')}]];
var prefix = ctx + "system/busResource";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "资源",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'resourceId',
title : '资源id',
visible: false
},
{
field : 'typeId',
title : '资源分类id',
sortable: true
},
{
field : 'classes',
title : '资源级别',
sortable: true
},
{
field : 'content',
title : '资源基本信息',
sortable: true
},
{
field : 'label',
title : '资源标签',
sortable: true
},
{
field : 'status',
title : '资源状态00待发布/01已发布/99已屏蔽',
sortable: true
},
{
field : 'publishDeptId',
title : '发布企业',
sortable: true
},
{
field : 'publishUserId',
title : '发布人id',
sortable: true
},
{
field : 'publishUserName',
title : '发布人名称',
sortable: true
},
{
field : 'createTime',
title : '创建时间',
sortable: true
},
{
field : 'updateTime',
title : '修改时间',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.resourceId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.resourceId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改资源')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busResource-edit" th:object="${busResource}">
<input id="resourceId" name="resourceId" th:field="*{resourceId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">资源分类id</label>
<div class="col-sm-8">
<input id="typeId" name="typeId" th:field="*{typeId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">资源级别:</label>
<div class="col-sm-8">
<input id="classes" name="classes" th:field="*{classes}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">资源基本信息:</label>
<div class="col-sm-8">
<input id="content" name="content" th:field="*{content}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">资源标签:</label>
<div class="col-sm-8">
<input id="label" name="label" th:field="*{label}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">资源状态00待发布/01已发布/99已屏蔽</label>
<div class="col-sm-8">
<input id="status" name="status" th:field="*{status}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布企业:</label>
<div class="col-sm-8">
<input id="publishDeptId" name="publishDeptId" th:field="*{publishDeptId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人id</label>
<div class="col-sm-8">
<input id="publishUserId" name="publishUserId" th:field="*{publishUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人名称:</label>
<div class="col-sm-8">
<input id="publishUserName" name="publishUserName" th:field="*{publishUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">修改时间:</label>
<div class="col-sm-8">
<input id="updateTime" name="updateTime" th:field="*{updateTime}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busResource";
$("#form-busResource-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busResource-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增资源使用申请')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busResourceApply-add">
<div class="form-group">
<label class="col-sm-3 control-label">资源id</label>
<div class="col-sm-8">
<input id="resourceId" name="resourceId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请状态00待审核/01已通过/99未通过</label>
<div class="col-sm-8">
<input id="status" name="status" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请人id</label>
<div class="col-sm-8">
<input id="applyUserId" name="applyUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请人名称:</label>
<div class="col-sm-8">
<input id="applyUserName" name="applyUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请时间:</label>
<div class="col-sm-8">
<input id="applyTime" name="applyTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请备注:</label>
<div class="col-sm-8">
<input id="applyRemark" name="applyRemark" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人id</label>
<div class="col-sm-8">
<input id="auditUserId" name="auditUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人名称:</label>
<div class="col-sm-8">
<input id="auditUserName" name="auditUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核时间:</label>
<div class="col-sm-8">
<input id="auditTime" name="auditTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核意见:</label>
<div class="col-sm-8">
<input id="auditRemark" name="auditRemark" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busResourceApply"
$("#form-busResourceApply-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busResourceApply-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,169 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('资源使用申请列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
资源id<input type="text" name="resourceId"/>
</li>
<li>
申请状态00待审核/01已通过/99未通过<input type="text" name="status"/>
</li>
<li>
申请人id<input type="text" name="applyUserId"/>
</li>
<li>
申请人名称:<input type="text" name="applyUserName"/>
</li>
<li>
申请时间:<input type="text" name="applyTime"/>
</li>
<li>
申请备注:<input type="text" name="applyRemark"/>
</li>
<li>
审核人id<input type="text" name="auditUserId"/>
</li>
<li>
审核人名称:<input type="text" name="auditUserName"/>
</li>
<li>
审核时间:<input type="text" name="auditTime"/>
</li>
<li>
审核意见:<input type="text" name="auditRemark"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busResourceApply:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busResourceApply:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busResourceApply:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busResourceApply:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busResourceApply:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busResourceApply:remove')}]];
var prefix = ctx + "system/busResourceApply";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "资源使用申请",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'applyId',
title : '申请id',
visible: false
},
{
field : 'resourceId',
title : '资源id',
sortable: true
},
{
field : 'status',
title : '申请状态00待审核/01已通过/99未通过',
sortable: true
},
{
field : 'applyUserId',
title : '申请人id',
sortable: true
},
{
field : 'applyUserName',
title : '申请人名称',
sortable: true
},
{
field : 'applyTime',
title : '申请时间',
sortable: true
},
{
field : 'applyRemark',
title : '申请备注',
sortable: true
},
{
field : 'auditUserId',
title : '审核人id',
sortable: true
},
{
field : 'auditUserName',
title : '审核人名称',
sortable: true
},
{
field : 'auditTime',
title : '审核时间',
sortable: true
},
{
field : 'auditRemark',
title : '审核意见',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.applyId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.applyId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,91 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改资源使用申请')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busResourceApply-edit" th:object="${busResourceApply}">
<input id="applyId" name="applyId" th:field="*{applyId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">资源id</label>
<div class="col-sm-8">
<input id="resourceId" name="resourceId" th:field="*{resourceId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请状态00待审核/01已通过/99未通过</label>
<div class="col-sm-8">
<input id="status" name="status" th:field="*{status}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请人id</label>
<div class="col-sm-8">
<input id="applyUserId" name="applyUserId" th:field="*{applyUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请人名称:</label>
<div class="col-sm-8">
<input id="applyUserName" name="applyUserName" th:field="*{applyUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请时间:</label>
<div class="col-sm-8">
<input id="applyTime" name="applyTime" th:field="*{applyTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">申请备注:</label>
<div class="col-sm-8">
<input id="applyRemark" name="applyRemark" th:field="*{applyRemark}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人id</label>
<div class="col-sm-8">
<input id="auditUserId" name="auditUserId" th:field="*{auditUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核人名称:</label>
<div class="col-sm-8">
<input id="auditUserName" name="auditUserName" th:field="*{auditUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核时间:</label>
<div class="col-sm-8">
<input id="auditTime" name="auditTime" th:field="*{auditTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">审核意见:</label>
<div class="col-sm-8">
<input id="auditRemark" name="auditRemark" th:field="*{auditRemark}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busResourceApply";
$("#form-busResourceApply-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busResourceApply-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增资源评论')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busResourceComment-add">
<div class="form-group">
<label class="col-sm-3 control-label">资源id</label>
<div class="col-sm-8">
<input id="resourceId" name="resourceId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户id</label>
<div class="col-sm-8">
<input id="userId" name="userId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户名称:</label>
<div class="col-sm-8">
<input id="userName" name="userName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">评论内容:</label>
<div class="col-sm-8">
<input id="content" name="content" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busResourceComment"
$("#form-busResourceComment-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busResourceComment-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,124 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('资源评论列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
资源id<input type="text" name="resourceId"/>
</li>
<li>
用户id<input type="text" name="userId"/>
</li>
<li>
用户名称:<input type="text" name="userName"/>
</li>
<li>
评论内容:<input type="text" name="content"/>
</li>
<li>
创建时间:<input type="text" name="createTime"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busResourceComment:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busResourceComment:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busResourceComment:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busResourceComment:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busResourceComment:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busResourceComment:remove')}]];
var prefix = ctx + "system/busResourceComment";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "资源评论",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'commentId',
title : '评论id',
visible: false
},
{
field : 'resourceId',
title : '资源id',
sortable: true
},
{
field : 'userId',
title : '用户id',
sortable: true
},
{
field : 'userName',
title : '用户名称',
sortable: true
},
{
field : 'content',
title : '评论内容',
sortable: true
},
{
field : 'createTime',
title : '创建时间',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.commentId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.commentId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改资源评论')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busResourceComment-edit" th:object="${busResourceComment}">
<input id="commentId" name="commentId" th:field="*{commentId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">资源id</label>
<div class="col-sm-8">
<input id="resourceId" name="resourceId" th:field="*{resourceId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户id</label>
<div class="col-sm-8">
<input id="userId" name="userId" th:field="*{userId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">用户名称:</label>
<div class="col-sm-8">
<input id="userName" name="userName" th:field="*{userName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">评论内容:</label>
<div class="col-sm-8">
<input id="content" name="content" th:field="*{content}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">创建时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busResourceComment";
$("#form-busResourceComment-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busResourceComment-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增资源分类')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busResourceType-add">
<div class="form-group">
<label class="col-sm-3 control-label">分类名称:</label>
<div class="col-sm-8">
<input id="typeName" name="typeName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">上级分类id</label>
<div class="col-sm-8">
<input id="parentId" name="parentId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">祖籍节点列表:</label>
<div class="col-sm-8">
<input id="parentIds" name="parentIds" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">祖籍节点名称列表:</label>
<div class="col-sm-8">
<input id="parentNames" name="parentNames" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">分类级别:</label>
<div class="col-sm-8">
<input id="classes" name="classes" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">分类排序:</label>
<div class="col-sm-8">
<input id="sort" name="sort" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busResourceType"
$("#form-busResourceType-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busResourceType-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,133 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('资源分类列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
分类名称:<input type="text" name="typeName"/>
</li>
<li>
上级分类id<input type="text" name="parentId"/>
</li>
<li>
祖籍节点列表:<input type="text" name="parentIds"/>
</li>
<li>
祖籍节点名称列表:<input type="text" name="parentNames"/>
</li>
<li>
分类级别:<input type="text" name="classes"/>
</li>
<li>
分类排序:<input type="text" name="sort"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busResourceType:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busResourceType:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busResourceType:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busResourceType:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busResourceType:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busResourceType:remove')}]];
var prefix = ctx + "system/busResourceType";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "资源分类",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'typeId',
title : '分类id',
visible: false
},
{
field : 'typeName',
title : '分类名称',
sortable: true
},
{
field : 'parentId',
title : '上级分类id',
sortable: true
},
{
field : 'parentIds',
title : '祖籍节点列表',
sortable: true
},
{
field : 'parentNames',
title : '祖籍节点名称列表',
sortable: true
},
{
field : 'classes',
title : '分类级别',
sortable: true
},
{
field : 'sort',
title : '分类排序',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.typeId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.typeId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,67 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改资源分类')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busResourceType-edit" th:object="${busResourceType}">
<input id="typeId" name="typeId" th:field="*{typeId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">分类名称:</label>
<div class="col-sm-8">
<input id="typeName" name="typeName" th:field="*{typeName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">上级分类id</label>
<div class="col-sm-8">
<input id="parentId" name="parentId" th:field="*{parentId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">祖籍节点列表:</label>
<div class="col-sm-8">
<input id="parentIds" name="parentIds" th:field="*{parentIds}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">祖籍节点名称列表:</label>
<div class="col-sm-8">
<input id="parentNames" name="parentNames" th:field="*{parentNames}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">分类级别:</label>
<div class="col-sm-8">
<input id="classes" name="classes" th:field="*{classes}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">分类排序:</label>
<div class="col-sm-8">
<input id="sort" name="sort" th:field="*{sort}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busResourceType";
$("#form-busResourceType-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busResourceType-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增用户浏览足迹')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busUserBrowse-add">
<div class="form-group">
<label class="col-sm-3 control-label">浏览类型01新闻/02资源/03资源需求</label>
<div class="col-sm-8">
<input id="browseType" name="browseType" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">浏览人id</label>
<div class="col-sm-8">
<input id="browseUserId" name="browseUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">浏览人名称:</label>
<div class="col-sm-8">
<input id="browseUserName" name="browseUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">浏览时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busUserBrowse"
$("#form-busUserBrowse-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busUserBrowse-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,115 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('用户浏览足迹列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
浏览类型01新闻/02资源/03资源需求<input type="text" name="browseType"/>
</li>
<li>
浏览人id<input type="text" name="browseUserId"/>
</li>
<li>
浏览人名称:<input type="text" name="browseUserName"/>
</li>
<li>
浏览时间:<input type="text" name="createTime"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busUserBrowse:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busUserBrowse:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busUserBrowse:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busUserBrowse:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busUserBrowse:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busUserBrowse:remove')}]];
var prefix = ctx + "system/busUserBrowse";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "用户浏览足迹",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'browseId',
title : '浏览关联id',
visible: false
},
{
field : 'browseType',
title : '浏览类型01新闻/02资源/03资源需求',
sortable: true
},
{
field : 'browseUserId',
title : '浏览人id',
sortable: true
},
{
field : 'browseUserName',
title : '浏览人名称',
sortable: true
},
{
field : 'createTime',
title : '浏览时间',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.browseId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.browseId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改用户浏览足迹')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busUserBrowse-edit" th:object="${busUserBrowse}">
<input id="browseId" name="browseId" th:field="*{browseId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">浏览类型01新闻/02资源/03资源需求</label>
<div class="col-sm-8">
<input id="browseType" name="browseType" th:field="*{browseType}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">浏览人id</label>
<div class="col-sm-8">
<input id="browseUserId" name="browseUserId" th:field="*{browseUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">浏览人名称:</label>
<div class="col-sm-8">
<input id="browseUserName" name="browseUserName" th:field="*{browseUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">浏览时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busUserBrowse";
$("#form-busUserBrowse-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busUserBrowse-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,54 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增用户收藏')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busUserCollect-add">
<div class="form-group">
<label class="col-sm-3 control-label">收藏类型01新闻/02资源/03资源需求</label>
<div class="col-sm-8">
<input id="collectType" name="collectType" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收藏人id</label>
<div class="col-sm-8">
<input id="collectUserId" name="collectUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收藏人名称:</label>
<div class="col-sm-8">
<input id="collectUserName" name="collectUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收藏时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busUserCollect"
$("#form-busUserCollect-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busUserCollect-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,115 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('用户收藏列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
收藏类型01新闻/02资源/03资源需求<input type="text" name="collectType"/>
</li>
<li>
收藏人id<input type="text" name="collectUserId"/>
</li>
<li>
收藏人名称:<input type="text" name="collectUserName"/>
</li>
<li>
收藏时间:<input type="text" name="createTime"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busUserCollect:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busUserCollect:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busUserCollect:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busUserCollect:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busUserCollect:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busUserCollect:remove')}]];
var prefix = ctx + "system/busUserCollect";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "用户收藏",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'collectId',
title : '收藏关联id',
visible: false
},
{
field : 'collectType',
title : '收藏类型01新闻/02资源/03资源需求',
sortable: true
},
{
field : 'collectUserId',
title : '收藏人id',
sortable: true
},
{
field : 'collectUserName',
title : '收藏人名称',
sortable: true
},
{
field : 'createTime',
title : '收藏时间',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.collectId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.collectId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改用户收藏')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busUserCollect-edit" th:object="${busUserCollect}">
<input id="collectId" name="collectId" th:field="*{collectId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">收藏类型01新闻/02资源/03资源需求</label>
<div class="col-sm-8">
<input id="collectType" name="collectType" th:field="*{collectType}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收藏人id</label>
<div class="col-sm-8">
<input id="collectUserId" name="collectUserId" th:field="*{collectUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收藏人名称:</label>
<div class="col-sm-8">
<input id="collectUserName" name="collectUserName" th:field="*{collectUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">收藏时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busUserCollect";
$("#form-busUserCollect-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busUserCollect-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,72 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('新增用户消息')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busUserMessage-add">
<div class="form-group">
<label class="col-sm-3 control-label">消息类型:</label>
<div class="col-sm-8">
<input id="messageType" name="messageType" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">消息内容:</label>
<div class="col-sm-8">
<input id="content" name="content" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">消息时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收人id</label>
<div class="col-sm-8">
<input id="receiveUserId" name="receiveUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收人名称:</label>
<div class="col-sm-8">
<input id="receiveUserName" name="receiveUserName" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人id</label>
<div class="col-sm-8">
<input id="publishUserId" name="publishUserId" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人名称:</label>
<div class="col-sm-8">
<input id="publishUserName" name="publishUserName" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busUserMessage"
$("#form-busUserMessage-add").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-busUserMessage-add').serialize());
}
}
</script>
</body>
</html>

View File

@ -0,0 +1,142 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('用户消息列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
<div class="row">
<div class="col-sm-12 search-collapse">
<form id="formId">
<div class="select-list">
<ul>
<li>
消息类型:<input type="text" name="messageType"/>
</li>
<li>
消息内容:<input type="text" name="content"/>
</li>
<li>
消息时间:<input type="text" name="createTime"/>
</li>
<li>
接收人id<input type="text" name="receiveUserId"/>
</li>
<li>
接收人名称:<input type="text" name="receiveUserName"/>
</li>
<li>
发布人id<input type="text" name="publishUserId"/>
</li>
<li>
发布人名称:<input type="text" name="publishUserName"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
</li>
</ul>
</div>
</form>
</div>
<div class="btn-group-sm" id="toolbar" role="group">
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:busUserMessage:add">
<i class="fa fa-plus"></i> 添加
</a>
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:busUserMessage:edit">
<i class="fa fa-edit"></i> 修改
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:busUserMessage:remove">
<i class="fa fa-remove"></i> 删除
</a>
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:busUserMessage:export">
<i class="fa fa-download"></i> 导出
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
var editFlag = [[${@permission.hasPermi('system:busUserMessage:edit')}]];
var removeFlag = [[${@permission.hasPermi('system:busUserMessage:remove')}]];
var prefix = ctx + "system/busUserMessage";
$(function() {
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
modalName: "用户消息",
showExport: true,
columns: [{
checkbox: true
},
{
field : 'messageId',
title : '消息id',
visible: false
},
{
field : 'messageType',
title : '消息类型',
sortable: true
},
{
field : 'content',
title : '消息内容',
sortable: true
},
{
field : 'createTime',
title : '消息时间',
sortable: true
},
{
field : 'receiveUserId',
title : '接收人id',
sortable: true
},
{
field : 'receiveUserName',
title : '接收人名称',
sortable: true
},
{
field : 'publishUserId',
title : '发布人id',
sortable: true
},
{
field : 'publishUserName',
title : '发布人名称',
sortable: true
},
{
title: '操作',
align: 'center',
formatter: function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.messageId + '\')"><i class="fa fa-edit"></i>编辑</a> ');
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.messageId + '\')"><i class="fa fa-remove"></i>删除</a>');
return actions.join('');
}
}]
};
$.table.init(options);
});
</script>
</body>
</html>

View File

@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('修改用户消息')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-busUserMessage-edit" th:object="${busUserMessage}">
<input id="messageId" name="messageId" th:field="*{messageId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">消息类型:</label>
<div class="col-sm-8">
<input id="messageType" name="messageType" th:field="*{messageType}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">消息内容:</label>
<div class="col-sm-8">
<input id="content" name="content" th:field="*{content}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">消息时间:</label>
<div class="col-sm-8">
<input id="createTime" name="createTime" th:field="*{createTime}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收人id</label>
<div class="col-sm-8">
<input id="receiveUserId" name="receiveUserId" th:field="*{receiveUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收人名称:</label>
<div class="col-sm-8">
<input id="receiveUserName" name="receiveUserName" th:field="*{receiveUserName}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人id</label>
<div class="col-sm-8">
<input id="publishUserId" name="publishUserId" th:field="*{publishUserId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">发布人名称:</label>
<div class="col-sm-8">
<input id="publishUserName" name="publishUserName" th:field="*{publishUserName}" class="form-control" type="text">
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript">
var prefix = ctx + "system/busUserMessage";
$("#form-busUserMessage-edit").validate({
rules:{
xxxx:{
required:true,
},
},
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-busUserMessage-edit').serialize());
}
}
</script>
</body>
</html>

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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<BusAccessory> 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);
}

View File

@ -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<BusDeptApply> 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);
}

View File

@ -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<BusNews> 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);
}

View File

@ -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<BusReqApply> 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);
}

View File

@ -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<BusReqComment> 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);
}

View File

@ -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<BusReq> 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);
}

View File

@ -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<BusReqProgress> 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);
}

View File

@ -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<BusResourceApply> 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);
}

View File

@ -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<BusResourceComment> 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);
}

View File

@ -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<BusResource> 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);
}

View File

@ -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<BusResourceType> 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);
}

View File

@ -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<BusUserBrowse> 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);
}

View File

@ -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<BusUserCollect> 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);
}

View File

@ -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<BusUserMessage> 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);
}

View File

@ -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<BusAccessory> 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);
}

View File

@ -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<BusDeptApply> 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);
}

View File

@ -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<BusNews> 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);
}

View File

@ -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<BusReqApply> 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);
}

View File

@ -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<BusReqComment> 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);
}

View File

@ -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<BusReqProgress> 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);
}

View File

@ -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<BusReq> 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);
}

View File

@ -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<BusResourceApply> 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);
}

View File

@ -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<BusResourceComment> 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);
}

View File

@ -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<BusResource> 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);
}

View File

@ -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<BusResourceType> 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);
}

View File

@ -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<BusUserBrowse> 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);
}

View File

@ -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<BusUserCollect> 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);
}

Some files were not shown because too many files have changed in this diff Show More