diff --git a/pom.xml b/pom.xml index 4d827d98d..702ad0e22 100644 --- a/pom.xml +++ b/pom.xml @@ -216,6 +216,12 @@ ${ruoyi.version} + + com.ruoyi + ruoyi-front + ${ruoyi.version} + + @@ -226,6 +232,7 @@ ruoyi-quartz ruoyi-generator ruoyi-common + ruoyi-front pom diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 06a6028ce..a87900b03 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -79,6 +79,11 @@ ruoyi-generator + + com.ruoyi + ruoyi-front + + diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ClasssicCasesController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ClasssicCasesController.java new file mode 100644 index 000000000..b53cca5ce --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ClasssicCasesController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.ClasssicCases; +import com.ruoyi.front.service.IClasssicCasesService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 典型案例Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/cases") +public class ClasssicCasesController extends BaseController +{ + private String prefix = "front/cases"; + + @Autowired + private IClasssicCasesService classsicCasesService; + + @RequiresPermissions("front:cases:view") + @GetMapping() + public String cases() + { + return prefix + "/cases"; + } + + /** + * 查询典型案例列表 + */ + @RequiresPermissions("front:cases:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ClasssicCases classsicCases) + { + startPage(); + List list = classsicCasesService.selectClasssicCasesList(classsicCases); + return getDataTable(list); + } + + /** + * 导出典型案例列表 + */ + @RequiresPermissions("front:cases:export") + @Log(title = "典型案例", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ClasssicCases classsicCases) + { + List list = classsicCasesService.selectClasssicCasesList(classsicCases); + ExcelUtil util = new ExcelUtil(ClasssicCases.class); + return util.exportExcel(list, "cases"); + } + + /** + * 新增典型案例 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存典型案例 + */ + @RequiresPermissions("front:cases:add") + @Log(title = "典型案例", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ClasssicCases classsicCases) + { + return toAjax(classsicCasesService.insertClasssicCases(classsicCases)); + } + + /** + * 修改典型案例 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + ClasssicCases classsicCases = classsicCasesService.selectClasssicCasesById(id); + mmap.put("classsicCases", classsicCases); + return prefix + "/edit"; + } + + /** + * 修改保存典型案例 + */ + @RequiresPermissions("front:cases:edit") + @Log(title = "典型案例", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ClasssicCases classsicCases) + { + return toAjax(classsicCasesService.updateClasssicCases(classsicCases)); + } + + /** + * 删除典型案例 + */ + @RequiresPermissions("front:cases:remove") + @Log(title = "典型案例", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(classsicCasesService.deleteClasssicCasesByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/CommonProblemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/CommonProblemController.java new file mode 100644 index 000000000..9341b8d6d --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/CommonProblemController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.CommonProblem; +import com.ruoyi.front.service.ICommonProblemService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 常见问题Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/problem") +public class CommonProblemController extends BaseController +{ + private String prefix = "front/problem"; + + @Autowired + private ICommonProblemService commonProblemService; + + @RequiresPermissions("front:problem:view") + @GetMapping() + public String problem() + { + return prefix + "/problem"; + } + + /** + * 查询常见问题列表 + */ + @RequiresPermissions("front:problem:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(CommonProblem commonProblem) + { + startPage(); + List list = commonProblemService.selectCommonProblemList(commonProblem); + return getDataTable(list); + } + + /** + * 导出常见问题列表 + */ + @RequiresPermissions("front:problem:export") + @Log(title = "常见问题", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(CommonProblem commonProblem) + { + List list = commonProblemService.selectCommonProblemList(commonProblem); + ExcelUtil util = new ExcelUtil(CommonProblem.class); + return util.exportExcel(list, "problem"); + } + + /** + * 新增常见问题 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存常见问题 + */ + @RequiresPermissions("front:problem:add") + @Log(title = "常见问题", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(CommonProblem commonProblem) + { + return toAjax(commonProblemService.insertCommonProblem(commonProblem)); + } + + /** + * 修改常见问题 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + CommonProblem commonProblem = commonProblemService.selectCommonProblemById(id); + mmap.put("commonProblem", commonProblem); + return prefix + "/edit"; + } + + /** + * 修改保存常见问题 + */ + @RequiresPermissions("front:problem:edit") + @Log(title = "常见问题", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(CommonProblem commonProblem) + { + return toAjax(commonProblemService.updateCommonProblem(commonProblem)); + } + + /** + * 删除常见问题 + */ + @RequiresPermissions("front:problem:remove") + @Log(title = "常见问题", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(commonProblemService.deleteCommonProblemByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ContactInformationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ContactInformationController.java new file mode 100644 index 000000000..4c5f9b324 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ContactInformationController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.ContactInformation; +import com.ruoyi.front.service.IContactInformationService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 联系方式Controller + * + * @author ruoyi + * @date 2020-10-22 + */ +@Controller +@RequestMapping("/front/contactInformation") +public class ContactInformationController extends BaseController +{ + private String prefix = "front/contactInformation"; + + @Autowired + private IContactInformationService contactInformationService; + + @RequiresPermissions("front:contactInformation:view") + @GetMapping() + public String contactInformation() + { + return prefix + "/contactInformation"; + } + + /** + * 查询联系方式列表 + */ + @RequiresPermissions("front:contactInformation:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ContactInformation contactInformation) + { + startPage(); + List list = contactInformationService.selectContactInformationList(contactInformation); + return getDataTable(list); + } + + /** + * 导出联系方式列表 + */ + @RequiresPermissions("front:contactInformation:export") + @Log(title = "联系方式", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ContactInformation contactInformation) + { + List list = contactInformationService.selectContactInformationList(contactInformation); + ExcelUtil util = new ExcelUtil(ContactInformation.class); + return util.exportExcel(list, "contactInformation"); + } + + /** + * 新增联系方式 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存联系方式 + */ + @RequiresPermissions("front:contactInformation:add") + @Log(title = "联系方式", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ContactInformation contactInformation) + { + return toAjax(contactInformationService.insertContactInformation(contactInformation)); + } + + /** + * 修改联系方式 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + ContactInformation contactInformation = contactInformationService.selectContactInformationById(id); + mmap.put("contactInformation", contactInformation); + return prefix + "/edit"; + } + + /** + * 修改保存联系方式 + */ + @RequiresPermissions("front:contactInformation:edit") + @Log(title = "联系方式", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ContactInformation contactInformation) + { + return toAjax(contactInformationService.updateContactInformation(contactInformation)); + } + + /** + * 删除联系方式 + */ + @RequiresPermissions("front:contactInformation:remove") + @Log(title = "联系方式", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(contactInformationService.deleteContactInformationByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ContractTemplateController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ContractTemplateController.java new file mode 100644 index 000000000..6cbf073af --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ContractTemplateController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.ContractTemplate; +import com.ruoyi.front.service.IContractTemplateService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 合同模板Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/template") +public class ContractTemplateController extends BaseController +{ + private String prefix = "front/template"; + + @Autowired + private IContractTemplateService contractTemplateService; + + @RequiresPermissions("front:template:view") + @GetMapping() + public String template() + { + return prefix + "/template"; + } + + /** + * 查询合同模板列表 + */ + @RequiresPermissions("front:template:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ContractTemplate contractTemplate) + { + startPage(); + List list = contractTemplateService.selectContractTemplateList(contractTemplate); + return getDataTable(list); + } + + /** + * 导出合同模板列表 + */ + @RequiresPermissions("front:template:export") + @Log(title = "合同模板", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ContractTemplate contractTemplate) + { + List list = contractTemplateService.selectContractTemplateList(contractTemplate); + ExcelUtil util = new ExcelUtil(ContractTemplate.class); + return util.exportExcel(list, "template"); + } + + /** + * 新增合同模板 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存合同模板 + */ + @RequiresPermissions("front:template:add") + @Log(title = "合同模板", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ContractTemplate contractTemplate) + { + return toAjax(contractTemplateService.insertContractTemplate(contractTemplate)); + } + + /** + * 修改合同模板 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + ContractTemplate contractTemplate = contractTemplateService.selectContractTemplateById(id); + mmap.put("contractTemplate", contractTemplate); + return prefix + "/edit"; + } + + /** + * 修改保存合同模板 + */ + @RequiresPermissions("front:template:edit") + @Log(title = "合同模板", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ContractTemplate contractTemplate) + { + return toAjax(contractTemplateService.updateContractTemplate(contractTemplate)); + } + + /** + * 删除合同模板 + */ + @RequiresPermissions("front:template:remove") + @Log(title = "合同模板", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(contractTemplateService.deleteContractTemplateByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ContractTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ContractTypeController.java new file mode 100644 index 000000000..4ac195b52 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ContractTypeController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.ContractType; +import com.ruoyi.front.service.IContractTypeService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 合同分类Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/contract") +public class ContractTypeController extends BaseController +{ + private String prefix = "front/contract"; + + @Autowired + private IContractTypeService contractTypeService; + + @RequiresPermissions("front:contract:view") + @GetMapping() + public String contract() + { + return prefix + "/contract"; + } + + /** + * 查询合同分类列表 + */ + @RequiresPermissions("front:contract:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ContractType contractType) + { + startPage(); + List list = contractTypeService.selectContractTypeList(contractType); + return getDataTable(list); + } + + /** + * 导出合同分类列表 + */ + @RequiresPermissions("front:contract:export") + @Log(title = "合同分类", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ContractType contractType) + { + List list = contractTypeService.selectContractTypeList(contractType); + ExcelUtil util = new ExcelUtil(ContractType.class); + return util.exportExcel(list, "contract"); + } + + /** + * 新增合同分类 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存合同分类 + */ + @RequiresPermissions("front:contract:add") + @Log(title = "合同分类", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ContractType contractType) + { + return toAjax(contractTypeService.insertContractType(contractType)); + } + + /** + * 修改合同分类 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + ContractType contractType = contractTypeService.selectContractTypeById(id); + mmap.put("contractType", contractType); + return prefix + "/edit"; + } + + /** + * 修改保存合同分类 + */ + @RequiresPermissions("front:contract:edit") + @Log(title = "合同分类", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ContractType contractType) + { + return toAjax(contractTypeService.updateContractType(contractType)); + } + + /** + * 删除合同分类 + */ + @RequiresPermissions("front:contract:remove") + @Log(title = "合同分类", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(contractTypeService.deleteContractTypeByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/EventRecruitmentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/EventRecruitmentController.java new file mode 100644 index 000000000..e6d9af6e4 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/EventRecruitmentController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.EventRecruitment; +import com.ruoyi.front.service.IEventRecruitmentService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 活动招募Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/recruitment") +public class EventRecruitmentController extends BaseController +{ + private String prefix = "front/recruitment"; + + @Autowired + private IEventRecruitmentService eventRecruitmentService; + + @RequiresPermissions("front:recruitment:view") + @GetMapping() + public String recruitment() + { + return prefix + "/recruitment"; + } + + /** + * 查询活动招募列表 + */ + @RequiresPermissions("front:recruitment:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(EventRecruitment eventRecruitment) + { + startPage(); + List list = eventRecruitmentService.selectEventRecruitmentList(eventRecruitment); + return getDataTable(list); + } + + /** + * 导出活动招募列表 + */ + @RequiresPermissions("front:recruitment:export") + @Log(title = "活动招募", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(EventRecruitment eventRecruitment) + { + List list = eventRecruitmentService.selectEventRecruitmentList(eventRecruitment); + ExcelUtil util = new ExcelUtil(EventRecruitment.class); + return util.exportExcel(list, "recruitment"); + } + + /** + * 新增活动招募 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存活动招募 + */ + @RequiresPermissions("front:recruitment:add") + @Log(title = "活动招募", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(EventRecruitment eventRecruitment) + { + return toAjax(eventRecruitmentService.insertEventRecruitment(eventRecruitment)); + } + + /** + * 修改活动招募 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + EventRecruitment eventRecruitment = eventRecruitmentService.selectEventRecruitmentById(id); + mmap.put("eventRecruitment", eventRecruitment); + return prefix + "/edit"; + } + + /** + * 修改保存活动招募 + */ + @RequiresPermissions("front:recruitment:edit") + @Log(title = "活动招募", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(EventRecruitment eventRecruitment) + { + return toAjax(eventRecruitmentService.updateEventRecruitment(eventRecruitment)); + } + + /** + * 删除活动招募 + */ + @RequiresPermissions("front:recruitment:remove") + @Log(title = "活动招募", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(eventRecruitmentService.deleteEventRecruitmentByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/HomePageCarouselController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/HomePageCarouselController.java new file mode 100644 index 000000000..38c0557f9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/HomePageCarouselController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.HomePageCarousel; +import com.ruoyi.front.service.IHomePageCarouselService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 首页轮播图Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/carousel") +public class HomePageCarouselController extends BaseController +{ + private String prefix = "front/carousel"; + + @Autowired + private IHomePageCarouselService homePageCarouselService; + + @RequiresPermissions("front:carousel:view") + @GetMapping() + public String carousel() + { + return prefix + "/carousel"; + } + + /** + * 查询首页轮播图列表 + */ + @RequiresPermissions("front:carousel:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(HomePageCarousel homePageCarousel) + { + startPage(); + List list = homePageCarouselService.selectHomePageCarouselList(homePageCarousel); + return getDataTable(list); + } + + /** + * 导出首页轮播图列表 + */ + @RequiresPermissions("front:carousel:export") + @Log(title = "首页轮播图", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(HomePageCarousel homePageCarousel) + { + List list = homePageCarouselService.selectHomePageCarouselList(homePageCarousel); + ExcelUtil util = new ExcelUtil(HomePageCarousel.class); + return util.exportExcel(list, "carousel"); + } + + /** + * 新增首页轮播图 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存首页轮播图 + */ + @RequiresPermissions("front:carousel:add") + @Log(title = "首页轮播图", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(HomePageCarousel homePageCarousel) + { + return toAjax(homePageCarouselService.insertHomePageCarousel(homePageCarousel)); + } + + /** + * 修改首页轮播图 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + HomePageCarousel homePageCarousel = homePageCarouselService.selectHomePageCarouselById(id); + mmap.put("homePageCarousel", homePageCarousel); + return prefix + "/edit"; + } + + /** + * 修改保存首页轮播图 + */ + @RequiresPermissions("front:carousel:edit") + @Log(title = "首页轮播图", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(HomePageCarousel homePageCarousel) + { + return toAjax(homePageCarouselService.updateHomePageCarousel(homePageCarousel)); + } + + /** + * 删除首页轮播图 + */ + @RequiresPermissions("front:carousel:remove") + @Log(title = "首页轮播图", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(homePageCarouselService.deleteHomePageCarouselByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/LegalServicesController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/LegalServicesController.java new file mode 100644 index 000000000..7337cf8ee --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/LegalServicesController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.LegalServices; +import com.ruoyi.front.service.ILegalServicesService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 法律服务Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/services") +public class LegalServicesController extends BaseController +{ + private String prefix = "front/services"; + + @Autowired + private ILegalServicesService legalServicesService; + + @RequiresPermissions("front:services:view") + @GetMapping() + public String services() + { + return prefix + "/services"; + } + + /** + * 查询法律服务列表 + */ + @RequiresPermissions("front:services:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(LegalServices legalServices) + { + startPage(); + List list = legalServicesService.selectLegalServicesList(legalServices); + return getDataTable(list); + } + + /** + * 导出法律服务列表 + */ + @RequiresPermissions("front:services:export") + @Log(title = "法律服务", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(LegalServices legalServices) + { + List list = legalServicesService.selectLegalServicesList(legalServices); + ExcelUtil util = new ExcelUtil(LegalServices.class); + return util.exportExcel(list, "services"); + } + + /** + * 新增法律服务 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存法律服务 + */ + @RequiresPermissions("front:services:add") + @Log(title = "法律服务", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(LegalServices legalServices) + { + return toAjax(legalServicesService.insertLegalServices(legalServices)); + } + + /** + * 修改法律服务 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + LegalServices legalServices = legalServicesService.selectLegalServicesById(id); + mmap.put("legalServices", legalServices); + return prefix + "/edit"; + } + + /** + * 修改保存法律服务 + */ + @RequiresPermissions("front:services:edit") + @Log(title = "法律服务", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(LegalServices legalServices) + { + return toAjax(legalServicesService.updateLegalServices(legalServices)); + } + + /** + * 删除法律服务 + */ + @RequiresPermissions("front:services:remove") + @Log(title = "法律服务", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(legalServicesService.deleteLegalServicesByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/NewsInformationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/NewsInformationController.java new file mode 100644 index 000000000..55aba9f21 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/NewsInformationController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.NewsInformation; +import com.ruoyi.front.service.INewsInformationService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 新闻动态Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/information") +public class NewsInformationController extends BaseController +{ + private String prefix = "front/information"; + + @Autowired + private INewsInformationService newsInformationService; + + @RequiresPermissions("front:information:view") + @GetMapping() + public String information() + { + return prefix + "/information"; + } + + /** + * 查询新闻动态列表 + */ + @RequiresPermissions("front:information:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(NewsInformation newsInformation) + { + startPage(); + List list = newsInformationService.selectNewsInformationList(newsInformation); + return getDataTable(list); + } + + /** + * 导出新闻动态列表 + */ + @RequiresPermissions("front:information:export") + @Log(title = "新闻动态", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(NewsInformation newsInformation) + { + List list = newsInformationService.selectNewsInformationList(newsInformation); + ExcelUtil util = new ExcelUtil(NewsInformation.class); + return util.exportExcel(list, "information"); + } + + /** + * 新增新闻动态 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存新闻动态 + */ + @RequiresPermissions("front:information:add") + @Log(title = "新闻动态", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(NewsInformation newsInformation) + { + return toAjax(newsInformationService.insertNewsInformation(newsInformation)); + } + + /** + * 修改新闻动态 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + NewsInformation newsInformation = newsInformationService.selectNewsInformationById(id); + mmap.put("newsInformation", newsInformation); + return prefix + "/edit"; + } + + /** + * 修改保存新闻动态 + */ + @RequiresPermissions("front:information:edit") + @Log(title = "新闻动态", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(NewsInformation newsInformation) + { + return toAjax(newsInformationService.updateNewsInformation(newsInformation)); + } + + /** + * 删除新闻动态 + */ + @RequiresPermissions("front:information:remove") + @Log(title = "新闻动态", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(newsInformationService.deleteNewsInformationByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/OnlineCoursesController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/OnlineCoursesController.java new file mode 100644 index 000000000..0f56c3e75 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/OnlineCoursesController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.OnlineCourses; +import com.ruoyi.front.service.IOnlineCoursesService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 线上课程Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/courses") +public class OnlineCoursesController extends BaseController +{ + private String prefix = "front/courses"; + + @Autowired + private IOnlineCoursesService onlineCoursesService; + + @RequiresPermissions("front:courses:view") + @GetMapping() + public String courses() + { + return prefix + "/courses"; + } + + /** + * 查询线上课程列表 + */ + @RequiresPermissions("front:courses:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(OnlineCourses onlineCourses) + { + startPage(); + List list = onlineCoursesService.selectOnlineCoursesList(onlineCourses); + return getDataTable(list); + } + + /** + * 导出线上课程列表 + */ + @RequiresPermissions("front:courses:export") + @Log(title = "线上课程", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(OnlineCourses onlineCourses) + { + List list = onlineCoursesService.selectOnlineCoursesList(onlineCourses); + ExcelUtil util = new ExcelUtil(OnlineCourses.class); + return util.exportExcel(list, "courses"); + } + + /** + * 新增线上课程 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存线上课程 + */ + @RequiresPermissions("front:courses:add") + @Log(title = "线上课程", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(OnlineCourses onlineCourses) + { + return toAjax(onlineCoursesService.insertOnlineCourses(onlineCourses)); + } + + /** + * 修改线上课程 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + OnlineCourses onlineCourses = onlineCoursesService.selectOnlineCoursesById(id); + mmap.put("onlineCourses", onlineCourses); + return prefix + "/edit"; + } + + /** + * 修改保存线上课程 + */ + @RequiresPermissions("front:courses:edit") + @Log(title = "线上课程", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(OnlineCourses onlineCourses) + { + return toAjax(onlineCoursesService.updateOnlineCourses(onlineCourses)); + } + + /** + * 删除线上课程 + */ + @RequiresPermissions("front:courses:remove") + @Log(title = "线上课程", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(onlineCoursesService.deleteOnlineCoursesByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/OnlineCoursesEvaluateController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/OnlineCoursesEvaluateController.java new file mode 100644 index 000000000..0ec1d1683 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/OnlineCoursesEvaluateController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.OnlineCoursesEvaluate; +import com.ruoyi.front.service.IOnlineCoursesEvaluateService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 线上课程评价Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/evaluate") +public class OnlineCoursesEvaluateController extends BaseController +{ + private String prefix = "front/evaluate"; + + @Autowired + private IOnlineCoursesEvaluateService onlineCoursesEvaluateService; + + @RequiresPermissions("front:evaluate:view") + @GetMapping() + public String evaluate() + { + return prefix + "/evaluate"; + } + + /** + * 查询线上课程评价列表 + */ + @RequiresPermissions("front:evaluate:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(OnlineCoursesEvaluate onlineCoursesEvaluate) + { + startPage(); + List list = onlineCoursesEvaluateService.selectOnlineCoursesEvaluateList(onlineCoursesEvaluate); + return getDataTable(list); + } + + /** + * 导出线上课程评价列表 + */ + @RequiresPermissions("front:evaluate:export") + @Log(title = "线上课程评价", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(OnlineCoursesEvaluate onlineCoursesEvaluate) + { + List list = onlineCoursesEvaluateService.selectOnlineCoursesEvaluateList(onlineCoursesEvaluate); + ExcelUtil util = new ExcelUtil(OnlineCoursesEvaluate.class); + return util.exportExcel(list, "evaluate"); + } + + /** + * 新增线上课程评价 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存线上课程评价 + */ + @RequiresPermissions("front:evaluate:add") + @Log(title = "线上课程评价", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(OnlineCoursesEvaluate onlineCoursesEvaluate) + { + return toAjax(onlineCoursesEvaluateService.insertOnlineCoursesEvaluate(onlineCoursesEvaluate)); + } + + /** + * 修改线上课程评价 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + OnlineCoursesEvaluate onlineCoursesEvaluate = onlineCoursesEvaluateService.selectOnlineCoursesEvaluateById(id); + mmap.put("onlineCoursesEvaluate", onlineCoursesEvaluate); + return prefix + "/edit"; + } + + /** + * 修改保存线上课程评价 + */ + @RequiresPermissions("front:evaluate:edit") + @Log(title = "线上课程评价", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(OnlineCoursesEvaluate onlineCoursesEvaluate) + { + return toAjax(onlineCoursesEvaluateService.updateOnlineCoursesEvaluate(onlineCoursesEvaluate)); + } + + /** + * 删除线上课程评价 + */ + @RequiresPermissions("front:evaluate:remove") + @Log(title = "线上课程评价", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(onlineCoursesEvaluateService.deleteOnlineCoursesEvaluateByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/OnlineMessageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/OnlineMessageController.java new file mode 100644 index 000000000..034bbf866 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/OnlineMessageController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.OnlineMessage; +import com.ruoyi.front.service.IOnlineMessageService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 在线留言Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/message") +public class OnlineMessageController extends BaseController +{ + private String prefix = "front/message"; + + @Autowired + private IOnlineMessageService onlineMessageService; + + @RequiresPermissions("front:message:view") + @GetMapping() + public String message() + { + return prefix + "/message"; + } + + /** + * 查询在线留言列表 + */ + @RequiresPermissions("front:message:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(OnlineMessage onlineMessage) + { + startPage(); + List list = onlineMessageService.selectOnlineMessageList(onlineMessage); + return getDataTable(list); + } + + /** + * 导出在线留言列表 + */ + @RequiresPermissions("front:message:export") + @Log(title = "在线留言", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(OnlineMessage onlineMessage) + { + List list = onlineMessageService.selectOnlineMessageList(onlineMessage); + ExcelUtil util = new ExcelUtil(OnlineMessage.class); + return util.exportExcel(list, "message"); + } + + /** + * 新增在线留言 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存在线留言 + */ + @RequiresPermissions("front:message:add") + @Log(title = "在线留言", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(OnlineMessage onlineMessage) + { + return toAjax(onlineMessageService.insertOnlineMessage(onlineMessage)); + } + + /** + * 修改在线留言 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + OnlineMessage onlineMessage = onlineMessageService.selectOnlineMessageById(id); + mmap.put("onlineMessage", onlineMessage); + return prefix + "/edit"; + } + + /** + * 修改保存在线留言 + */ + @RequiresPermissions("front:message:edit") + @Log(title = "在线留言", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(OnlineMessage onlineMessage) + { + return toAjax(onlineMessageService.updateOnlineMessage(onlineMessage)); + } + + /** + * 删除在线留言 + */ + @RequiresPermissions("front:message:remove") + @Log(title = "在线留言", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(onlineMessageService.deleteOnlineMessageByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ServiceOrganizationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ServiceOrganizationController.java new file mode 100644 index 000000000..ad2c50164 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/front/ServiceOrganizationController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller.front; + +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.front.domain.ServiceOrganization; +import com.ruoyi.front.service.IServiceOrganizationService; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 服务组织Controller + * + * @author ruoyi + * @date 2020-10-21 + */ +@Controller +@RequestMapping("/front/organization") +public class ServiceOrganizationController extends BaseController +{ + private String prefix = "front/organization"; + + @Autowired + private IServiceOrganizationService serviceOrganizationService; + + @RequiresPermissions("front:organization:view") + @GetMapping() + public String organization() + { + return prefix + "/organization"; + } + + /** + * 查询服务组织列表 + */ + @RequiresPermissions("front:organization:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(ServiceOrganization serviceOrganization) + { + startPage(); + List list = serviceOrganizationService.selectServiceOrganizationList(serviceOrganization); + return getDataTable(list); + } + + /** + * 导出服务组织列表 + */ + @RequiresPermissions("front:organization:export") + @Log(title = "服务组织", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(ServiceOrganization serviceOrganization) + { + List list = serviceOrganizationService.selectServiceOrganizationList(serviceOrganization); + ExcelUtil util = new ExcelUtil(ServiceOrganization.class); + return util.exportExcel(list, "organization"); + } + + /** + * 新增服务组织 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存服务组织 + */ + @RequiresPermissions("front:organization:add") + @Log(title = "服务组织", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(ServiceOrganization serviceOrganization) + { + return toAjax(serviceOrganizationService.insertServiceOrganization(serviceOrganization)); + } + + /** + * 修改服务组织 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + ServiceOrganization serviceOrganization = serviceOrganizationService.selectServiceOrganizationById(id); + mmap.put("serviceOrganization", serviceOrganization); + return prefix + "/edit"; + } + + /** + * 修改保存服务组织 + */ + @RequiresPermissions("front:organization:edit") + @Log(title = "服务组织", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(ServiceOrganization serviceOrganization) + { + return toAjax(serviceOrganizationService.updateServiceOrganization(serviceOrganization)); + } + + /** + * 删除服务组织 + */ + @RequiresPermissions("front:organization:remove") + @Log(title = "服务组织", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(serviceOrganizationService.deleteServiceOrganizationByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index d69c66d27..23899b756 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -6,9 +6,9 @@ spring: druid: # 主库数据源 master: - url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://49.232.133.74:3306/sys?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: password + password: root # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-front/pom.xml b/ruoyi-front/pom.xml new file mode 100644 index 000000000..d2ae4aec9 --- /dev/null +++ b/ruoyi-front/pom.xml @@ -0,0 +1,23 @@ + + + + ruoyi + com.ruoyi + 4.4.0 + + 4.0.0 + + ruoyi-front + + + + + com.ruoyi + ruoyi-common + + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/ClasssicCases.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ClasssicCases.java new file mode 100644 index 000000000..9f65b3393 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ClasssicCases.java @@ -0,0 +1,152 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 典型案例对象 classsic_cases + * + * @author ruoyi + * @date 2020-10-21 + */ +public class ClasssicCases extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 简介 */ + @Excel(name = "简介") + private String introduction; + + /** 详情内容 */ + @Excel(name = "详情内容") + private String content; + + /** 案例类型(来至于字典表) */ + @Excel(name = "案例类型(来至于字典表)") + private String type; + + /** 点击量 */ + @Excel(name = "点击量") + private Integer hits; + + /** 图片地址(多个地址用,分隔) */ + @Excel(name = "图片地址", readConverterExp = "多=个地址用,分隔") + private String pictureUrl; + + /** 状态(0正常 1停用) */ + @Excel(name = "状态", readConverterExp = "0=正常,1=停用") + private String status; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setIntroduction(String introduction) + { + this.introduction = introduction; + } + + public String getIntroduction() + { + return introduction; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setType(String type) + { + this.type = type; + } + + public String getType() + { + return type; + } + public void setHits(Integer hits) + { + this.hits = hits; + } + + public Integer getHits() + { + return hits; + } + public void setPictureUrl(String pictureUrl) + { + this.pictureUrl = pictureUrl; + } + + public String getPictureUrl() + { + return pictureUrl; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("title", getTitle()) + .append("introduction", getIntroduction()) + .append("content", getContent()) + .append("type", getType()) + .append("hits", getHits()) + .append("pictureUrl", getPictureUrl()) + .append("status", getStatus()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/CommonProblem.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/CommonProblem.java new file mode 100644 index 000000000..dc110efa9 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/CommonProblem.java @@ -0,0 +1,96 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 常见问题对象 common_problem + * + * @author ruoyi + * @date 2020-10-21 + */ +public class CommonProblem extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 内容 */ + @Excel(name = "内容") + private String content; + + /** 点击量 */ + @Excel(name = "点击量") + private Integer hits; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setHits(Integer hits) + { + this.hits = hits; + } + + public Integer getHits() + { + return hits; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("title", getTitle()) + .append("content", getContent()) + .append("hits", getHits()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/ContactInformation.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ContactInformation.java new file mode 100644 index 000000000..4e2d29e38 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ContactInformation.java @@ -0,0 +1,152 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 联系方式对象 contact_information + * + * @author ruoyi + * @date 2020-10-22 + */ +public class ContactInformation extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 机构地址 */ + @Excel(name = "机构地址") + private String address; + + /** 服务电话 */ + @Excel(name = "服务电话") + private String servicePhone; + + /** 监督电话 */ + @Excel(name = "监督电话") + private String supervisePhone; + + /** 监督部门 */ + @Excel(name = "监督部门") + private String superviseDept; + + /** 邮箱 */ + @Excel(name = "邮箱") + private String email; + + /** 服务时间 */ + @Excel(name = "服务时间") + private String serviceDate; + + /** 版权所有 */ + @Excel(name = "版权所有") + private String copyright; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setAddress(String address) + { + this.address = address; + } + + public String getAddress() + { + return address; + } + public void setServicePhone(String servicePhone) + { + this.servicePhone = servicePhone; + } + + public String getServicePhone() + { + return servicePhone; + } + public void setSupervisePhone(String supervisePhone) + { + this.supervisePhone = supervisePhone; + } + + public String getSupervisePhone() + { + return supervisePhone; + } + public void setSuperviseDept(String superviseDept) + { + this.superviseDept = superviseDept; + } + + public String getSuperviseDept() + { + return superviseDept; + } + public void setEmail(String email) + { + this.email = email; + } + + public String getEmail() + { + return email; + } + public void setServiceDate(String serviceDate) + { + this.serviceDate = serviceDate; + } + + public String getServiceDate() + { + return serviceDate; + } + public void setCopyright(String copyright) + { + this.copyright = copyright; + } + + public String getCopyright() + { + return copyright; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("address", getAddress()) + .append("servicePhone", getServicePhone()) + .append("supervisePhone", getSupervisePhone()) + .append("superviseDept", getSuperviseDept()) + .append("email", getEmail()) + .append("serviceDate", getServiceDate()) + .append("copyright", getCopyright()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/ContractTemplate.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ContractTemplate.java new file mode 100644 index 000000000..e10e448c9 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ContractTemplate.java @@ -0,0 +1,153 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 合同模板对象 contract_template + * + * @author ruoyi + * @date 2020-10-21 + */ +public class ContractTemplate extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 合同分类id(contract_type表主键id) */ + @Excel(name = "合同分类id(contract_type表主键id)") + private String type; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 简介 */ + @Excel(name = "简介") + private String introduction; + + /** 详情内容 */ + @Excel(name = "详情内容") + private String content; + + /** 点击量 */ + @Excel(name = "点击量") + private Integer hits; + + /** 附件下载(多个地址用,分隔) */ + @Excel(name = "附件下载", readConverterExp = "多=个地址用,分隔") + private String enclosureUrl; + + /** 状态(0正常 1停用) */ + @Excel(name = "状态", readConverterExp = "0=正常,1=停用") + private String status; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setType(String type) + { + this.type = type; + } + + public String getType() + { + return type; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setIntroduction(String introduction) + { + this.introduction = introduction; + } + + public String getIntroduction() + { + return introduction; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setHits(Integer hits) + { + this.hits = hits; + } + + public Integer getHits() + { + return hits; + } + public void setEnclosureUrl(String enclosureUrl) + { + this.enclosureUrl = enclosureUrl; + } + + public String getEnclosureUrl() + { + return enclosureUrl; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("type", getType()) + .append("title", getTitle()) + .append("introduction", getIntroduction()) + .append("content", getContent()) + .append("hits", getHits()) + .append("enclosureUrl", getEnclosureUrl()) + .append("status", getStatus()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/ContractType.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ContractType.java new file mode 100644 index 000000000..87717b88f --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ContractType.java @@ -0,0 +1,83 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 合同分类对象 contract_type + * + * @author ruoyi + * @date 2020-10-21 + */ +public class ContractType extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 分类名称 */ + @Excel(name = "分类名称") + private String name; + + /** */ + @Excel(name = "") + private String englishName; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setName(String name) + { + this.name = name; + } + + public String getName() + { + return name; + } + public void setEnglishName(String englishName) + { + this.englishName = englishName; + } + + public String getEnglishName() + { + return englishName; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("englishName", getEnglishName()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/EventRecruitment.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/EventRecruitment.java new file mode 100644 index 000000000..b411325a5 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/EventRecruitment.java @@ -0,0 +1,138 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 活动招募对象 event_recruitment + * + * @author ruoyi + * @date 2020-10-21 + */ +public class EventRecruitment extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 简介 */ + @Excel(name = "简介") + private String introduction; + + /** 活动时间 */ + @Excel(name = "活动时间") + private String activityTime; + + /** 地址 */ + @Excel(name = "地址") + private String address; + + /** 主办单位 */ + @Excel(name = "主办单位") + private String organizer; + + /** 图片地址 */ + @Excel(name = "图片地址") + private String pictureUrl; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setIntroduction(String introduction) + { + this.introduction = introduction; + } + + public String getIntroduction() + { + return introduction; + } + public void setActivityTime(String activityTime) + { + this.activityTime = activityTime; + } + + public String getActivityTime() + { + return activityTime; + } + public void setAddress(String address) + { + this.address = address; + } + + public String getAddress() + { + return address; + } + public void setOrganizer(String organizer) + { + this.organizer = organizer; + } + + public String getOrganizer() + { + return organizer; + } + public void setPictureUrl(String pictureUrl) + { + this.pictureUrl = pictureUrl; + } + + public String getPictureUrl() + { + return pictureUrl; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("title", getTitle()) + .append("introduction", getIntroduction()) + .append("activityTime", getActivityTime()) + .append("address", getAddress()) + .append("organizer", getOrganizer()) + .append("pictureUrl", getPictureUrl()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/HomePageCarousel.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/HomePageCarousel.java new file mode 100644 index 000000000..525306631 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/HomePageCarousel.java @@ -0,0 +1,68 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 首页轮播图对象 home_page_carousel + * + * @author ruoyi + * @date 2020-10-21 + */ +public class HomePageCarousel extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 图片地址 */ + @Excel(name = "图片地址") + private String pictureUrl; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setPictureUrl(String pictureUrl) + { + this.pictureUrl = pictureUrl; + } + + public String getPictureUrl() + { + return pictureUrl; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("pictureUrl", getPictureUrl()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/LegalServices.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/LegalServices.java new file mode 100644 index 000000000..4be921076 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/LegalServices.java @@ -0,0 +1,82 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 法律服务对象 legal_services + * + * @author ruoyi + * @date 2020-10-21 + */ +public class LegalServices extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 服务名称 */ + @Excel(name = "服务名称") + private String name; + + /** 地址 */ + @Excel(name = "地址") + private String address; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setName(String name) + { + this.name = name; + } + + public String getName() + { + return name; + } + public void setAddress(String address) + { + this.address = address; + } + + public String getAddress() + { + return address; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("address", getAddress()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/NewsInformation.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/NewsInformation.java new file mode 100644 index 000000000..0b0145a51 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/NewsInformation.java @@ -0,0 +1,124 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 新闻动态对象 news_information + * + * @author ruoyi + * @date 2020-10-21 + */ +public class NewsInformation extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 简介 */ + @Excel(name = "简介") + private String introduction; + + /** 详情内容 */ + @Excel(name = "详情内容") + private String content; + + /** 点击量 */ + @Excel(name = "点击量") + private Integer hits; + + /** 状态(0正常 1停用) */ + @Excel(name = "状态", readConverterExp = "0=正常,1=停用") + private String status; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setIntroduction(String introduction) + { + this.introduction = introduction; + } + + public String getIntroduction() + { + return introduction; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setHits(Integer hits) + { + this.hits = hits; + } + + public Integer getHits() + { + return hits; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("title", getTitle()) + .append("introduction", getIntroduction()) + .append("content", getContent()) + .append("hits", getHits()) + .append("status", getStatus()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/OnlineCourses.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/OnlineCourses.java new file mode 100644 index 000000000..0e14c6956 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/OnlineCourses.java @@ -0,0 +1,180 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 线上课程对象 online_courses + * + * @author ruoyi + * @date 2020-10-21 + */ +public class OnlineCourses extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 简介 */ + @Excel(name = "简介") + private String introduction; + + /** 点击量 */ + @Excel(name = "点击量") + private Integer hits; + + /** 针对人群 */ + @Excel(name = "针对人群") + private String targetPeople; + + /** 视频课程时长 */ + @Excel(name = "视频课程时长") + private String coursesDuration; + + /** 课程难度等级 */ + @Excel(name = "课程难度等级") + private Integer coursesLevel; + + /** 图片地址(多个地址用,分隔) */ + @Excel(name = "图片地址", readConverterExp = "多=个地址用,分隔") + private String pictureUrl; + + /** 视频地址(多个地址用,分隔) */ + @Excel(name = "视频地址", readConverterExp = "多=个地址用,分隔") + private String videoUrl; + + /** 状态(0正常 1停用) */ + @Excel(name = "状态", readConverterExp = "0=正常,1=停用") + private String status; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setIntroduction(String introduction) + { + this.introduction = introduction; + } + + public String getIntroduction() + { + return introduction; + } + public void setHits(Integer hits) + { + this.hits = hits; + } + + public Integer getHits() + { + return hits; + } + public void setTargetPeople(String targetPeople) + { + this.targetPeople = targetPeople; + } + + public String getTargetPeople() + { + return targetPeople; + } + public void setCoursesDuration(String coursesDuration) + { + this.coursesDuration = coursesDuration; + } + + public String getCoursesDuration() + { + return coursesDuration; + } + public void setCoursesLevel(Integer coursesLevel) + { + this.coursesLevel = coursesLevel; + } + + public Integer getCoursesLevel() + { + return coursesLevel; + } + public void setPictureUrl(String pictureUrl) + { + this.pictureUrl = pictureUrl; + } + + public String getPictureUrl() + { + return pictureUrl; + } + public void setVideoUrl(String videoUrl) + { + this.videoUrl = videoUrl; + } + + public String getVideoUrl() + { + return videoUrl; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("title", getTitle()) + .append("introduction", getIntroduction()) + .append("hits", getHits()) + .append("targetPeople", getTargetPeople()) + .append("coursesDuration", getCoursesDuration()) + .append("coursesLevel", getCoursesLevel()) + .append("pictureUrl", getPictureUrl()) + .append("videoUrl", getVideoUrl()) + .append("status", getStatus()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/OnlineCoursesEvaluate.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/OnlineCoursesEvaluate.java new file mode 100644 index 000000000..4fac2cbe9 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/OnlineCoursesEvaluate.java @@ -0,0 +1,96 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 线上课程评价对象 online_courses_evaluate + * + * @author ruoyi + * @date 2020-10-21 + */ +public class OnlineCoursesEvaluate extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 线上课程ID */ + @Excel(name = "线上课程ID") + private Long onlineCoursesId; + + /** 评价内容 */ + @Excel(name = "评价内容") + private String evaluateContent; + + /** 匿名标志(0匿名 1用户) */ + @Excel(name = "匿名标志", readConverterExp = "0=匿名,1=用户") + private String anonymousFlag; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setOnlineCoursesId(Long onlineCoursesId) + { + this.onlineCoursesId = onlineCoursesId; + } + + public Long getOnlineCoursesId() + { + return onlineCoursesId; + } + public void setEvaluateContent(String evaluateContent) + { + this.evaluateContent = evaluateContent; + } + + public String getEvaluateContent() + { + return evaluateContent; + } + public void setAnonymousFlag(String anonymousFlag) + { + this.anonymousFlag = anonymousFlag; + } + + public String getAnonymousFlag() + { + return anonymousFlag; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("onlineCoursesId", getOnlineCoursesId()) + .append("evaluateContent", getEvaluateContent()) + .append("anonymousFlag", getAnonymousFlag()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/OnlineMessage.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/OnlineMessage.java new file mode 100644 index 000000000..a8f2c4a76 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/OnlineMessage.java @@ -0,0 +1,110 @@ +package com.ruoyi.front.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 在线留言对象 online_message + * + * @author ruoyi + * @date 2020-10-21 + */ +public class OnlineMessage extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 姓名 */ + @Excel(name = "姓名") + private String name; + + /** 邮箱 */ + @Excel(name = "邮箱") + private String email; + + /** 联系方式 */ + @Excel(name = "联系方式") + private String contactInformation; + + /** 留言内容 */ + @Excel(name = "留言内容") + private String messageContent; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setName(String name) + { + this.name = name; + } + + public String getName() + { + return name; + } + public void setEmail(String email) + { + this.email = email; + } + + public String getEmail() + { + return email; + } + public void setContactInformation(String contactInformation) + { + this.contactInformation = contactInformation; + } + + public String getContactInformation() + { + return contactInformation; + } + public void setMessageContent(String messageContent) + { + this.messageContent = messageContent; + } + + public String getMessageContent() + { + return messageContent; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("email", getEmail()) + .append("contactInformation", getContactInformation()) + .append("messageContent", getMessageContent()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/domain/ServiceOrganization.java b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ServiceOrganization.java new file mode 100644 index 000000000..52f156a66 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/domain/ServiceOrganization.java @@ -0,0 +1,238 @@ +package com.ruoyi.front.domain; + +import java.util.Date; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 服务组织对象 service_organization + * + * @author ruoyi + * @date 2020-10-21 + */ +public class ServiceOrganization extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** ID */ + private Long id; + + /** 企业名称 */ + @Excel(name = "企业名称") + private String name; + + /** 联系人 */ + @Excel(name = "联系人") + private String contacts; + + /** 联系电话 */ + @Excel(name = "联系电话") + private String phone; + + /** 营业执照图片地址(多个地址用,分隔) */ + @Excel(name = "营业执照图片地址", readConverterExp = "多=个地址用,分隔") + private String licenseUrl; + + /** 标题 */ + @Excel(name = "标题") + private String title; + + /** 简介 */ + @Excel(name = "简介") + private String introduction; + + /** 机构详情内容 */ + @Excel(name = "机构详情内容") + private String content; + + /** 点击量 */ + @Excel(name = "点击量") + private Integer hits; + + /** 状态(0:待审核,1:审核不通过,2:审核通过) */ + @Excel(name = "状态", readConverterExp = "0=:待审核,1:审核不通过,2:审核通过") + private String auditStatus; + + /** 图片地址(多个地址用,分隔) */ + @Excel(name = "图片地址", readConverterExp = "多=个地址用,分隔") + private String pictureUrl; + + /** 状态(0正常 1停用) */ + @Excel(name = "状态", readConverterExp = "0=正常,1=停用") + private String status; + + /** 删除标志(0代表存在 2代表删除) */ + private String delFlag; + + /** 审核者 */ + @Excel(name = "审核者") + private String checkBy; + + /** 审核时间 */ + @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date checkTime; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setName(String name) + { + this.name = name; + } + + public String getName() + { + return name; + } + public void setContacts(String contacts) + { + this.contacts = contacts; + } + + public String getContacts() + { + return contacts; + } + public void setPhone(String phone) + { + this.phone = phone; + } + + public String getPhone() + { + return phone; + } + public void setLicenseUrl(String licenseUrl) + { + this.licenseUrl = licenseUrl; + } + + public String getLicenseUrl() + { + return licenseUrl; + } + public void setTitle(String title) + { + this.title = title; + } + + public String getTitle() + { + return title; + } + public void setIntroduction(String introduction) + { + this.introduction = introduction; + } + + public String getIntroduction() + { + return introduction; + } + public void setContent(String content) + { + this.content = content; + } + + public String getContent() + { + return content; + } + public void setHits(Integer hits) + { + this.hits = hits; + } + + public Integer getHits() + { + return hits; + } + public void setAuditStatus(String auditStatus) + { + this.auditStatus = auditStatus; + } + + public String getAuditStatus() + { + return auditStatus; + } + public void setPictureUrl(String pictureUrl) + { + this.pictureUrl = pictureUrl; + } + + public String getPictureUrl() + { + return pictureUrl; + } + public void setStatus(String status) + { + this.status = status; + } + + public String getStatus() + { + return status; + } + public void setDelFlag(String delFlag) + { + this.delFlag = delFlag; + } + + public String getDelFlag() + { + return delFlag; + } + public void setCheckBy(String checkBy) + { + this.checkBy = checkBy; + } + + public String getCheckBy() + { + return checkBy; + } + public void setCheckTime(Date checkTime) + { + this.checkTime = checkTime; + } + + public Date getCheckTime() + { + return checkTime; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("contacts", getContacts()) + .append("phone", getPhone()) + .append("licenseUrl", getLicenseUrl()) + .append("title", getTitle()) + .append("introduction", getIntroduction()) + .append("content", getContent()) + .append("hits", getHits()) + .append("auditStatus", getAuditStatus()) + .append("pictureUrl", getPictureUrl()) + .append("status", getStatus()) + .append("delFlag", getDelFlag()) + .append("createBy", getCreateBy()) + .append("createTime", getCreateTime()) + .append("updateBy", getUpdateBy()) + .append("updateTime", getUpdateTime()) + .append("checkBy", getCheckBy()) + .append("checkTime", getCheckTime()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ClasssicCasesMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ClasssicCasesMapper.java new file mode 100644 index 000000000..dcd9dda8b --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ClasssicCasesMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.ClasssicCases; + +/** + * 典型案例Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface ClasssicCasesMapper +{ + /** + * 查询典型案例 + * + * @param id 典型案例ID + * @return 典型案例 + */ + public ClasssicCases selectClasssicCasesById(Long id); + + /** + * 查询典型案例列表 + * + * @param classsicCases 典型案例 + * @return 典型案例集合 + */ + public List selectClasssicCasesList(ClasssicCases classsicCases); + + /** + * 新增典型案例 + * + * @param classsicCases 典型案例 + * @return 结果 + */ + public int insertClasssicCases(ClasssicCases classsicCases); + + /** + * 修改典型案例 + * + * @param classsicCases 典型案例 + * @return 结果 + */ + public int updateClasssicCases(ClasssicCases classsicCases); + + /** + * 删除典型案例 + * + * @param id 典型案例ID + * @return 结果 + */ + public int deleteClasssicCasesById(Long id); + + /** + * 批量删除典型案例 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteClasssicCasesByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/CommonProblemMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/CommonProblemMapper.java new file mode 100644 index 000000000..b0cef5e1e --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/CommonProblemMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.CommonProblem; + +/** + * 常见问题Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface CommonProblemMapper +{ + /** + * 查询常见问题 + * + * @param id 常见问题ID + * @return 常见问题 + */ + public CommonProblem selectCommonProblemById(Long id); + + /** + * 查询常见问题列表 + * + * @param commonProblem 常见问题 + * @return 常见问题集合 + */ + public List selectCommonProblemList(CommonProblem commonProblem); + + /** + * 新增常见问题 + * + * @param commonProblem 常见问题 + * @return 结果 + */ + public int insertCommonProblem(CommonProblem commonProblem); + + /** + * 修改常见问题 + * + * @param commonProblem 常见问题 + * @return 结果 + */ + public int updateCommonProblem(CommonProblem commonProblem); + + /** + * 删除常见问题 + * + * @param id 常见问题ID + * @return 结果 + */ + public int deleteCommonProblemById(Long id); + + /** + * 批量删除常见问题 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteCommonProblemByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ContactInformationMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ContactInformationMapper.java new file mode 100644 index 000000000..a43df7bb5 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ContactInformationMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.ContactInformation; + +/** + * 联系方式Mapper接口 + * + * @author ruoyi + * @date 2020-10-22 + */ +public interface ContactInformationMapper +{ + /** + * 查询联系方式 + * + * @param id 联系方式ID + * @return 联系方式 + */ + public ContactInformation selectContactInformationById(Long id); + + /** + * 查询联系方式列表 + * + * @param contactInformation 联系方式 + * @return 联系方式集合 + */ + public List selectContactInformationList(ContactInformation contactInformation); + + /** + * 新增联系方式 + * + * @param contactInformation 联系方式 + * @return 结果 + */ + public int insertContactInformation(ContactInformation contactInformation); + + /** + * 修改联系方式 + * + * @param contactInformation 联系方式 + * @return 结果 + */ + public int updateContactInformation(ContactInformation contactInformation); + + /** + * 删除联系方式 + * + * @param id 联系方式ID + * @return 结果 + */ + public int deleteContactInformationById(Long id); + + /** + * 批量删除联系方式 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteContactInformationByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ContractTemplateMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ContractTemplateMapper.java new file mode 100644 index 000000000..3d89b871d --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ContractTemplateMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.ContractTemplate; + +/** + * 合同模板Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface ContractTemplateMapper +{ + /** + * 查询合同模板 + * + * @param id 合同模板ID + * @return 合同模板 + */ + public ContractTemplate selectContractTemplateById(Long id); + + /** + * 查询合同模板列表 + * + * @param contractTemplate 合同模板 + * @return 合同模板集合 + */ + public List selectContractTemplateList(ContractTemplate contractTemplate); + + /** + * 新增合同模板 + * + * @param contractTemplate 合同模板 + * @return 结果 + */ + public int insertContractTemplate(ContractTemplate contractTemplate); + + /** + * 修改合同模板 + * + * @param contractTemplate 合同模板 + * @return 结果 + */ + public int updateContractTemplate(ContractTemplate contractTemplate); + + /** + * 删除合同模板 + * + * @param id 合同模板ID + * @return 结果 + */ + public int deleteContractTemplateById(Long id); + + /** + * 批量删除合同模板 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteContractTemplateByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ContractTypeMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ContractTypeMapper.java new file mode 100644 index 000000000..c50491fcc --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ContractTypeMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.ContractType; + +/** + * 合同分类Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface ContractTypeMapper +{ + /** + * 查询合同分类 + * + * @param id 合同分类ID + * @return 合同分类 + */ + public ContractType selectContractTypeById(Long id); + + /** + * 查询合同分类列表 + * + * @param contractType 合同分类 + * @return 合同分类集合 + */ + public List selectContractTypeList(ContractType contractType); + + /** + * 新增合同分类 + * + * @param contractType 合同分类 + * @return 结果 + */ + public int insertContractType(ContractType contractType); + + /** + * 修改合同分类 + * + * @param contractType 合同分类 + * @return 结果 + */ + public int updateContractType(ContractType contractType); + + /** + * 删除合同分类 + * + * @param id 合同分类ID + * @return 结果 + */ + public int deleteContractTypeById(Long id); + + /** + * 批量删除合同分类 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteContractTypeByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/EventRecruitmentMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/EventRecruitmentMapper.java new file mode 100644 index 000000000..1a39aaef3 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/EventRecruitmentMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.EventRecruitment; + +/** + * 活动招募Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface EventRecruitmentMapper +{ + /** + * 查询活动招募 + * + * @param id 活动招募ID + * @return 活动招募 + */ + public EventRecruitment selectEventRecruitmentById(Long id); + + /** + * 查询活动招募列表 + * + * @param eventRecruitment 活动招募 + * @return 活动招募集合 + */ + public List selectEventRecruitmentList(EventRecruitment eventRecruitment); + + /** + * 新增活动招募 + * + * @param eventRecruitment 活动招募 + * @return 结果 + */ + public int insertEventRecruitment(EventRecruitment eventRecruitment); + + /** + * 修改活动招募 + * + * @param eventRecruitment 活动招募 + * @return 结果 + */ + public int updateEventRecruitment(EventRecruitment eventRecruitment); + + /** + * 删除活动招募 + * + * @param id 活动招募ID + * @return 结果 + */ + public int deleteEventRecruitmentById(Long id); + + /** + * 批量删除活动招募 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteEventRecruitmentByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/HomePageCarouselMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/HomePageCarouselMapper.java new file mode 100644 index 000000000..afbf3917b --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/HomePageCarouselMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.HomePageCarousel; + +/** + * 首页轮播图Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface HomePageCarouselMapper +{ + /** + * 查询首页轮播图 + * + * @param id 首页轮播图ID + * @return 首页轮播图 + */ + public HomePageCarousel selectHomePageCarouselById(Long id); + + /** + * 查询首页轮播图列表 + * + * @param homePageCarousel 首页轮播图 + * @return 首页轮播图集合 + */ + public List selectHomePageCarouselList(HomePageCarousel homePageCarousel); + + /** + * 新增首页轮播图 + * + * @param homePageCarousel 首页轮播图 + * @return 结果 + */ + public int insertHomePageCarousel(HomePageCarousel homePageCarousel); + + /** + * 修改首页轮播图 + * + * @param homePageCarousel 首页轮播图 + * @return 结果 + */ + public int updateHomePageCarousel(HomePageCarousel homePageCarousel); + + /** + * 删除首页轮播图 + * + * @param id 首页轮播图ID + * @return 结果 + */ + public int deleteHomePageCarouselById(Long id); + + /** + * 批量删除首页轮播图 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteHomePageCarouselByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/LegalServicesMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/LegalServicesMapper.java new file mode 100644 index 000000000..ed655f98b --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/LegalServicesMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.LegalServices; + +/** + * 法律服务Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface LegalServicesMapper +{ + /** + * 查询法律服务 + * + * @param id 法律服务ID + * @return 法律服务 + */ + public LegalServices selectLegalServicesById(Long id); + + /** + * 查询法律服务列表 + * + * @param legalServices 法律服务 + * @return 法律服务集合 + */ + public List selectLegalServicesList(LegalServices legalServices); + + /** + * 新增法律服务 + * + * @param legalServices 法律服务 + * @return 结果 + */ + public int insertLegalServices(LegalServices legalServices); + + /** + * 修改法律服务 + * + * @param legalServices 法律服务 + * @return 结果 + */ + public int updateLegalServices(LegalServices legalServices); + + /** + * 删除法律服务 + * + * @param id 法律服务ID + * @return 结果 + */ + public int deleteLegalServicesById(Long id); + + /** + * 批量删除法律服务 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteLegalServicesByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/NewsInformationMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/NewsInformationMapper.java new file mode 100644 index 000000000..f1295cfd5 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/NewsInformationMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.NewsInformation; + +/** + * 新闻动态Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface NewsInformationMapper +{ + /** + * 查询新闻动态 + * + * @param id 新闻动态ID + * @return 新闻动态 + */ + public NewsInformation selectNewsInformationById(Long id); + + /** + * 查询新闻动态列表 + * + * @param newsInformation 新闻动态 + * @return 新闻动态集合 + */ + public List selectNewsInformationList(NewsInformation newsInformation); + + /** + * 新增新闻动态 + * + * @param newsInformation 新闻动态 + * @return 结果 + */ + public int insertNewsInformation(NewsInformation newsInformation); + + /** + * 修改新闻动态 + * + * @param newsInformation 新闻动态 + * @return 结果 + */ + public int updateNewsInformation(NewsInformation newsInformation); + + /** + * 删除新闻动态 + * + * @param id 新闻动态ID + * @return 结果 + */ + public int deleteNewsInformationById(Long id); + + /** + * 批量删除新闻动态 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteNewsInformationByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/OnlineCoursesEvaluateMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/OnlineCoursesEvaluateMapper.java new file mode 100644 index 000000000..349d1ce75 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/OnlineCoursesEvaluateMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.OnlineCoursesEvaluate; + +/** + * 线上课程评价Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface OnlineCoursesEvaluateMapper +{ + /** + * 查询线上课程评价 + * + * @param id 线上课程评价ID + * @return 线上课程评价 + */ + public OnlineCoursesEvaluate selectOnlineCoursesEvaluateById(Long id); + + /** + * 查询线上课程评价列表 + * + * @param onlineCoursesEvaluate 线上课程评价 + * @return 线上课程评价集合 + */ + public List selectOnlineCoursesEvaluateList(OnlineCoursesEvaluate onlineCoursesEvaluate); + + /** + * 新增线上课程评价 + * + * @param onlineCoursesEvaluate 线上课程评价 + * @return 结果 + */ + public int insertOnlineCoursesEvaluate(OnlineCoursesEvaluate onlineCoursesEvaluate); + + /** + * 修改线上课程评价 + * + * @param onlineCoursesEvaluate 线上课程评价 + * @return 结果 + */ + public int updateOnlineCoursesEvaluate(OnlineCoursesEvaluate onlineCoursesEvaluate); + + /** + * 删除线上课程评价 + * + * @param id 线上课程评价ID + * @return 结果 + */ + public int deleteOnlineCoursesEvaluateById(Long id); + + /** + * 批量删除线上课程评价 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteOnlineCoursesEvaluateByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/OnlineCoursesMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/OnlineCoursesMapper.java new file mode 100644 index 000000000..dc65e3d9f --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/OnlineCoursesMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.OnlineCourses; + +/** + * 线上课程Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface OnlineCoursesMapper +{ + /** + * 查询线上课程 + * + * @param id 线上课程ID + * @return 线上课程 + */ + public OnlineCourses selectOnlineCoursesById(Long id); + + /** + * 查询线上课程列表 + * + * @param onlineCourses 线上课程 + * @return 线上课程集合 + */ + public List selectOnlineCoursesList(OnlineCourses onlineCourses); + + /** + * 新增线上课程 + * + * @param onlineCourses 线上课程 + * @return 结果 + */ + public int insertOnlineCourses(OnlineCourses onlineCourses); + + /** + * 修改线上课程 + * + * @param onlineCourses 线上课程 + * @return 结果 + */ + public int updateOnlineCourses(OnlineCourses onlineCourses); + + /** + * 删除线上课程 + * + * @param id 线上课程ID + * @return 结果 + */ + public int deleteOnlineCoursesById(Long id); + + /** + * 批量删除线上课程 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteOnlineCoursesByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/OnlineMessageMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/OnlineMessageMapper.java new file mode 100644 index 000000000..6a4eeb41c --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/OnlineMessageMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.OnlineMessage; + +/** + * 在线留言Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface OnlineMessageMapper +{ + /** + * 查询在线留言 + * + * @param id 在线留言ID + * @return 在线留言 + */ + public OnlineMessage selectOnlineMessageById(Long id); + + /** + * 查询在线留言列表 + * + * @param onlineMessage 在线留言 + * @return 在线留言集合 + */ + public List selectOnlineMessageList(OnlineMessage onlineMessage); + + /** + * 新增在线留言 + * + * @param onlineMessage 在线留言 + * @return 结果 + */ + public int insertOnlineMessage(OnlineMessage onlineMessage); + + /** + * 修改在线留言 + * + * @param onlineMessage 在线留言 + * @return 结果 + */ + public int updateOnlineMessage(OnlineMessage onlineMessage); + + /** + * 删除在线留言 + * + * @param id 在线留言ID + * @return 结果 + */ + public int deleteOnlineMessageById(Long id); + + /** + * 批量删除在线留言 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteOnlineMessageByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ServiceOrganizationMapper.java b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ServiceOrganizationMapper.java new file mode 100644 index 000000000..4abb918ee --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/mapper/ServiceOrganizationMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.mapper; + +import java.util.List; +import com.ruoyi.front.domain.ServiceOrganization; + +/** + * 服务组织Mapper接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface ServiceOrganizationMapper +{ + /** + * 查询服务组织 + * + * @param id 服务组织ID + * @return 服务组织 + */ + public ServiceOrganization selectServiceOrganizationById(Long id); + + /** + * 查询服务组织列表 + * + * @param serviceOrganization 服务组织 + * @return 服务组织集合 + */ + public List selectServiceOrganizationList(ServiceOrganization serviceOrganization); + + /** + * 新增服务组织 + * + * @param serviceOrganization 服务组织 + * @return 结果 + */ + public int insertServiceOrganization(ServiceOrganization serviceOrganization); + + /** + * 修改服务组织 + * + * @param serviceOrganization 服务组织 + * @return 结果 + */ + public int updateServiceOrganization(ServiceOrganization serviceOrganization); + + /** + * 删除服务组织 + * + * @param id 服务组织ID + * @return 结果 + */ + public int deleteServiceOrganizationById(Long id); + + /** + * 批量删除服务组织 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteServiceOrganizationByIds(String[] ids); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IClasssicCasesService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IClasssicCasesService.java new file mode 100644 index 000000000..64dd3d724 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IClasssicCasesService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.ClasssicCases; + +/** + * 典型案例Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface IClasssicCasesService +{ + /** + * 查询典型案例 + * + * @param id 典型案例ID + * @return 典型案例 + */ + public ClasssicCases selectClasssicCasesById(Long id); + + /** + * 查询典型案例列表 + * + * @param classsicCases 典型案例 + * @return 典型案例集合 + */ + public List selectClasssicCasesList(ClasssicCases classsicCases); + + /** + * 新增典型案例 + * + * @param classsicCases 典型案例 + * @return 结果 + */ + public int insertClasssicCases(ClasssicCases classsicCases); + + /** + * 修改典型案例 + * + * @param classsicCases 典型案例 + * @return 结果 + */ + public int updateClasssicCases(ClasssicCases classsicCases); + + /** + * 批量删除典型案例 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteClasssicCasesByIds(String ids); + + /** + * 删除典型案例信息 + * + * @param id 典型案例ID + * @return 结果 + */ + public int deleteClasssicCasesById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/ICommonProblemService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/ICommonProblemService.java new file mode 100644 index 000000000..f3f9af2c8 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/ICommonProblemService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.CommonProblem; + +/** + * 常见问题Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface ICommonProblemService +{ + /** + * 查询常见问题 + * + * @param id 常见问题ID + * @return 常见问题 + */ + public CommonProblem selectCommonProblemById(Long id); + + /** + * 查询常见问题列表 + * + * @param commonProblem 常见问题 + * @return 常见问题集合 + */ + public List selectCommonProblemList(CommonProblem commonProblem); + + /** + * 新增常见问题 + * + * @param commonProblem 常见问题 + * @return 结果 + */ + public int insertCommonProblem(CommonProblem commonProblem); + + /** + * 修改常见问题 + * + * @param commonProblem 常见问题 + * @return 结果 + */ + public int updateCommonProblem(CommonProblem commonProblem); + + /** + * 批量删除常见问题 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteCommonProblemByIds(String ids); + + /** + * 删除常见问题信息 + * + * @param id 常见问题ID + * @return 结果 + */ + public int deleteCommonProblemById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IContactInformationService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IContactInformationService.java new file mode 100644 index 000000000..8b0552a37 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IContactInformationService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.ContactInformation; + +/** + * 联系方式Service接口 + * + * @author ruoyi + * @date 2020-10-22 + */ +public interface IContactInformationService +{ + /** + * 查询联系方式 + * + * @param id 联系方式ID + * @return 联系方式 + */ + public ContactInformation selectContactInformationById(Long id); + + /** + * 查询联系方式列表 + * + * @param contactInformation 联系方式 + * @return 联系方式集合 + */ + public List selectContactInformationList(ContactInformation contactInformation); + + /** + * 新增联系方式 + * + * @param contactInformation 联系方式 + * @return 结果 + */ + public int insertContactInformation(ContactInformation contactInformation); + + /** + * 修改联系方式 + * + * @param contactInformation 联系方式 + * @return 结果 + */ + public int updateContactInformation(ContactInformation contactInformation); + + /** + * 批量删除联系方式 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteContactInformationByIds(String ids); + + /** + * 删除联系方式信息 + * + * @param id 联系方式ID + * @return 结果 + */ + public int deleteContactInformationById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IContractTemplateService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IContractTemplateService.java new file mode 100644 index 000000000..b1c002abc --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IContractTemplateService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.ContractTemplate; + +/** + * 合同模板Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface IContractTemplateService +{ + /** + * 查询合同模板 + * + * @param id 合同模板ID + * @return 合同模板 + */ + public ContractTemplate selectContractTemplateById(Long id); + + /** + * 查询合同模板列表 + * + * @param contractTemplate 合同模板 + * @return 合同模板集合 + */ + public List selectContractTemplateList(ContractTemplate contractTemplate); + + /** + * 新增合同模板 + * + * @param contractTemplate 合同模板 + * @return 结果 + */ + public int insertContractTemplate(ContractTemplate contractTemplate); + + /** + * 修改合同模板 + * + * @param contractTemplate 合同模板 + * @return 结果 + */ + public int updateContractTemplate(ContractTemplate contractTemplate); + + /** + * 批量删除合同模板 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteContractTemplateByIds(String ids); + + /** + * 删除合同模板信息 + * + * @param id 合同模板ID + * @return 结果 + */ + public int deleteContractTemplateById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IContractTypeService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IContractTypeService.java new file mode 100644 index 000000000..aa35fb79e --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IContractTypeService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.ContractType; + +/** + * 合同分类Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface IContractTypeService +{ + /** + * 查询合同分类 + * + * @param id 合同分类ID + * @return 合同分类 + */ + public ContractType selectContractTypeById(Long id); + + /** + * 查询合同分类列表 + * + * @param contractType 合同分类 + * @return 合同分类集合 + */ + public List selectContractTypeList(ContractType contractType); + + /** + * 新增合同分类 + * + * @param contractType 合同分类 + * @return 结果 + */ + public int insertContractType(ContractType contractType); + + /** + * 修改合同分类 + * + * @param contractType 合同分类 + * @return 结果 + */ + public int updateContractType(ContractType contractType); + + /** + * 批量删除合同分类 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteContractTypeByIds(String ids); + + /** + * 删除合同分类信息 + * + * @param id 合同分类ID + * @return 结果 + */ + public int deleteContractTypeById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IEventRecruitmentService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IEventRecruitmentService.java new file mode 100644 index 000000000..56dece6c9 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IEventRecruitmentService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.EventRecruitment; + +/** + * 活动招募Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface IEventRecruitmentService +{ + /** + * 查询活动招募 + * + * @param id 活动招募ID + * @return 活动招募 + */ + public EventRecruitment selectEventRecruitmentById(Long id); + + /** + * 查询活动招募列表 + * + * @param eventRecruitment 活动招募 + * @return 活动招募集合 + */ + public List selectEventRecruitmentList(EventRecruitment eventRecruitment); + + /** + * 新增活动招募 + * + * @param eventRecruitment 活动招募 + * @return 结果 + */ + public int insertEventRecruitment(EventRecruitment eventRecruitment); + + /** + * 修改活动招募 + * + * @param eventRecruitment 活动招募 + * @return 结果 + */ + public int updateEventRecruitment(EventRecruitment eventRecruitment); + + /** + * 批量删除活动招募 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteEventRecruitmentByIds(String ids); + + /** + * 删除活动招募信息 + * + * @param id 活动招募ID + * @return 结果 + */ + public int deleteEventRecruitmentById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IHomePageCarouselService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IHomePageCarouselService.java new file mode 100644 index 000000000..047987a4d --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IHomePageCarouselService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.HomePageCarousel; + +/** + * 首页轮播图Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface IHomePageCarouselService +{ + /** + * 查询首页轮播图 + * + * @param id 首页轮播图ID + * @return 首页轮播图 + */ + public HomePageCarousel selectHomePageCarouselById(Long id); + + /** + * 查询首页轮播图列表 + * + * @param homePageCarousel 首页轮播图 + * @return 首页轮播图集合 + */ + public List selectHomePageCarouselList(HomePageCarousel homePageCarousel); + + /** + * 新增首页轮播图 + * + * @param homePageCarousel 首页轮播图 + * @return 结果 + */ + public int insertHomePageCarousel(HomePageCarousel homePageCarousel); + + /** + * 修改首页轮播图 + * + * @param homePageCarousel 首页轮播图 + * @return 结果 + */ + public int updateHomePageCarousel(HomePageCarousel homePageCarousel); + + /** + * 批量删除首页轮播图 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteHomePageCarouselByIds(String ids); + + /** + * 删除首页轮播图信息 + * + * @param id 首页轮播图ID + * @return 结果 + */ + public int deleteHomePageCarouselById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/ILegalServicesService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/ILegalServicesService.java new file mode 100644 index 000000000..98b19e4d3 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/ILegalServicesService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.LegalServices; + +/** + * 法律服务Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface ILegalServicesService +{ + /** + * 查询法律服务 + * + * @param id 法律服务ID + * @return 法律服务 + */ + public LegalServices selectLegalServicesById(Long id); + + /** + * 查询法律服务列表 + * + * @param legalServices 法律服务 + * @return 法律服务集合 + */ + public List selectLegalServicesList(LegalServices legalServices); + + /** + * 新增法律服务 + * + * @param legalServices 法律服务 + * @return 结果 + */ + public int insertLegalServices(LegalServices legalServices); + + /** + * 修改法律服务 + * + * @param legalServices 法律服务 + * @return 结果 + */ + public int updateLegalServices(LegalServices legalServices); + + /** + * 批量删除法律服务 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteLegalServicesByIds(String ids); + + /** + * 删除法律服务信息 + * + * @param id 法律服务ID + * @return 结果 + */ + public int deleteLegalServicesById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/INewsInformationService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/INewsInformationService.java new file mode 100644 index 000000000..535abdb1f --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/INewsInformationService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.NewsInformation; + +/** + * 新闻动态Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface INewsInformationService +{ + /** + * 查询新闻动态 + * + * @param id 新闻动态ID + * @return 新闻动态 + */ + public NewsInformation selectNewsInformationById(Long id); + + /** + * 查询新闻动态列表 + * + * @param newsInformation 新闻动态 + * @return 新闻动态集合 + */ + public List selectNewsInformationList(NewsInformation newsInformation); + + /** + * 新增新闻动态 + * + * @param newsInformation 新闻动态 + * @return 结果 + */ + public int insertNewsInformation(NewsInformation newsInformation); + + /** + * 修改新闻动态 + * + * @param newsInformation 新闻动态 + * @return 结果 + */ + public int updateNewsInformation(NewsInformation newsInformation); + + /** + * 批量删除新闻动态 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteNewsInformationByIds(String ids); + + /** + * 删除新闻动态信息 + * + * @param id 新闻动态ID + * @return 结果 + */ + public int deleteNewsInformationById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IOnlineCoursesEvaluateService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IOnlineCoursesEvaluateService.java new file mode 100644 index 000000000..2e16be6ce --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IOnlineCoursesEvaluateService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.OnlineCoursesEvaluate; + +/** + * 线上课程评价Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface IOnlineCoursesEvaluateService +{ + /** + * 查询线上课程评价 + * + * @param id 线上课程评价ID + * @return 线上课程评价 + */ + public OnlineCoursesEvaluate selectOnlineCoursesEvaluateById(Long id); + + /** + * 查询线上课程评价列表 + * + * @param onlineCoursesEvaluate 线上课程评价 + * @return 线上课程评价集合 + */ + public List selectOnlineCoursesEvaluateList(OnlineCoursesEvaluate onlineCoursesEvaluate); + + /** + * 新增线上课程评价 + * + * @param onlineCoursesEvaluate 线上课程评价 + * @return 结果 + */ + public int insertOnlineCoursesEvaluate(OnlineCoursesEvaluate onlineCoursesEvaluate); + + /** + * 修改线上课程评价 + * + * @param onlineCoursesEvaluate 线上课程评价 + * @return 结果 + */ + public int updateOnlineCoursesEvaluate(OnlineCoursesEvaluate onlineCoursesEvaluate); + + /** + * 批量删除线上课程评价 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteOnlineCoursesEvaluateByIds(String ids); + + /** + * 删除线上课程评价信息 + * + * @param id 线上课程评价ID + * @return 结果 + */ + public int deleteOnlineCoursesEvaluateById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IOnlineCoursesService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IOnlineCoursesService.java new file mode 100644 index 000000000..b81006f5b --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IOnlineCoursesService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.OnlineCourses; + +/** + * 线上课程Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface IOnlineCoursesService +{ + /** + * 查询线上课程 + * + * @param id 线上课程ID + * @return 线上课程 + */ + public OnlineCourses selectOnlineCoursesById(Long id); + + /** + * 查询线上课程列表 + * + * @param onlineCourses 线上课程 + * @return 线上课程集合 + */ + public List selectOnlineCoursesList(OnlineCourses onlineCourses); + + /** + * 新增线上课程 + * + * @param onlineCourses 线上课程 + * @return 结果 + */ + public int insertOnlineCourses(OnlineCourses onlineCourses); + + /** + * 修改线上课程 + * + * @param onlineCourses 线上课程 + * @return 结果 + */ + public int updateOnlineCourses(OnlineCourses onlineCourses); + + /** + * 批量删除线上课程 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteOnlineCoursesByIds(String ids); + + /** + * 删除线上课程信息 + * + * @param id 线上课程ID + * @return 结果 + */ + public int deleteOnlineCoursesById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IOnlineMessageService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IOnlineMessageService.java new file mode 100644 index 000000000..c979738ef --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IOnlineMessageService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.OnlineMessage; + +/** + * 在线留言Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface IOnlineMessageService +{ + /** + * 查询在线留言 + * + * @param id 在线留言ID + * @return 在线留言 + */ + public OnlineMessage selectOnlineMessageById(Long id); + + /** + * 查询在线留言列表 + * + * @param onlineMessage 在线留言 + * @return 在线留言集合 + */ + public List selectOnlineMessageList(OnlineMessage onlineMessage); + + /** + * 新增在线留言 + * + * @param onlineMessage 在线留言 + * @return 结果 + */ + public int insertOnlineMessage(OnlineMessage onlineMessage); + + /** + * 修改在线留言 + * + * @param onlineMessage 在线留言 + * @return 结果 + */ + public int updateOnlineMessage(OnlineMessage onlineMessage); + + /** + * 批量删除在线留言 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteOnlineMessageByIds(String ids); + + /** + * 删除在线留言信息 + * + * @param id 在线留言ID + * @return 结果 + */ + public int deleteOnlineMessageById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/IServiceOrganizationService.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/IServiceOrganizationService.java new file mode 100644 index 000000000..660a815ae --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/IServiceOrganizationService.java @@ -0,0 +1,61 @@ +package com.ruoyi.front.service; + +import java.util.List; +import com.ruoyi.front.domain.ServiceOrganization; + +/** + * 服务组织Service接口 + * + * @author ruoyi + * @date 2020-10-21 + */ +public interface IServiceOrganizationService +{ + /** + * 查询服务组织 + * + * @param id 服务组织ID + * @return 服务组织 + */ + public ServiceOrganization selectServiceOrganizationById(Long id); + + /** + * 查询服务组织列表 + * + * @param serviceOrganization 服务组织 + * @return 服务组织集合 + */ + public List selectServiceOrganizationList(ServiceOrganization serviceOrganization); + + /** + * 新增服务组织 + * + * @param serviceOrganization 服务组织 + * @return 结果 + */ + public int insertServiceOrganization(ServiceOrganization serviceOrganization); + + /** + * 修改服务组织 + * + * @param serviceOrganization 服务组织 + * @return 结果 + */ + public int updateServiceOrganization(ServiceOrganization serviceOrganization); + + /** + * 批量删除服务组织 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteServiceOrganizationByIds(String ids); + + /** + * 删除服务组织信息 + * + * @param id 服务组织ID + * @return 结果 + */ + public int deleteServiceOrganizationById(Long id); +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ClasssicCasesServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ClasssicCasesServiceImpl.java new file mode 100644 index 000000000..c66df43b6 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ClasssicCasesServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.ClasssicCasesMapper; +import com.ruoyi.front.domain.ClasssicCases; +import com.ruoyi.front.service.IClasssicCasesService; +import com.ruoyi.common.core.text.Convert; + +/** + * 典型案例Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class ClasssicCasesServiceImpl implements IClasssicCasesService +{ + @Autowired + private ClasssicCasesMapper classsicCasesMapper; + + /** + * 查询典型案例 + * + * @param id 典型案例ID + * @return 典型案例 + */ + @Override + public ClasssicCases selectClasssicCasesById(Long id) + { + return classsicCasesMapper.selectClasssicCasesById(id); + } + + /** + * 查询典型案例列表 + * + * @param classsicCases 典型案例 + * @return 典型案例 + */ + @Override + public List selectClasssicCasesList(ClasssicCases classsicCases) + { + return classsicCasesMapper.selectClasssicCasesList(classsicCases); + } + + /** + * 新增典型案例 + * + * @param classsicCases 典型案例 + * @return 结果 + */ + @Override + public int insertClasssicCases(ClasssicCases classsicCases) + { + classsicCases.setCreateTime(DateUtils.getNowDate()); + return classsicCasesMapper.insertClasssicCases(classsicCases); + } + + /** + * 修改典型案例 + * + * @param classsicCases 典型案例 + * @return 结果 + */ + @Override + public int updateClasssicCases(ClasssicCases classsicCases) + { + classsicCases.setUpdateTime(DateUtils.getNowDate()); + return classsicCasesMapper.updateClasssicCases(classsicCases); + } + + /** + * 删除典型案例对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteClasssicCasesByIds(String ids) + { + return classsicCasesMapper.deleteClasssicCasesByIds(Convert.toStrArray(ids)); + } + + /** + * 删除典型案例信息 + * + * @param id 典型案例ID + * @return 结果 + */ + @Override + public int deleteClasssicCasesById(Long id) + { + return classsicCasesMapper.deleteClasssicCasesById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/CommonProblemServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/CommonProblemServiceImpl.java new file mode 100644 index 000000000..4f5dcd104 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/CommonProblemServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.CommonProblemMapper; +import com.ruoyi.front.domain.CommonProblem; +import com.ruoyi.front.service.ICommonProblemService; +import com.ruoyi.common.core.text.Convert; + +/** + * 常见问题Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class CommonProblemServiceImpl implements ICommonProblemService +{ + @Autowired + private CommonProblemMapper commonProblemMapper; + + /** + * 查询常见问题 + * + * @param id 常见问题ID + * @return 常见问题 + */ + @Override + public CommonProblem selectCommonProblemById(Long id) + { + return commonProblemMapper.selectCommonProblemById(id); + } + + /** + * 查询常见问题列表 + * + * @param commonProblem 常见问题 + * @return 常见问题 + */ + @Override + public List selectCommonProblemList(CommonProblem commonProblem) + { + return commonProblemMapper.selectCommonProblemList(commonProblem); + } + + /** + * 新增常见问题 + * + * @param commonProblem 常见问题 + * @return 结果 + */ + @Override + public int insertCommonProblem(CommonProblem commonProblem) + { + commonProblem.setCreateTime(DateUtils.getNowDate()); + return commonProblemMapper.insertCommonProblem(commonProblem); + } + + /** + * 修改常见问题 + * + * @param commonProblem 常见问题 + * @return 结果 + */ + @Override + public int updateCommonProblem(CommonProblem commonProblem) + { + commonProblem.setUpdateTime(DateUtils.getNowDate()); + return commonProblemMapper.updateCommonProblem(commonProblem); + } + + /** + * 删除常见问题对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteCommonProblemByIds(String ids) + { + return commonProblemMapper.deleteCommonProblemByIds(Convert.toStrArray(ids)); + } + + /** + * 删除常见问题信息 + * + * @param id 常见问题ID + * @return 结果 + */ + @Override + public int deleteCommonProblemById(Long id) + { + return commonProblemMapper.deleteCommonProblemById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ContactInformationServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ContactInformationServiceImpl.java new file mode 100644 index 000000000..d75cdca37 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ContactInformationServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.ContactInformationMapper; +import com.ruoyi.front.domain.ContactInformation; +import com.ruoyi.front.service.IContactInformationService; +import com.ruoyi.common.core.text.Convert; + +/** + * 联系方式Service业务层处理 + * + * @author ruoyi + * @date 2020-10-22 + */ +@Service +public class ContactInformationServiceImpl implements IContactInformationService +{ + @Autowired + private ContactInformationMapper contactInformationMapper; + + /** + * 查询联系方式 + * + * @param id 联系方式ID + * @return 联系方式 + */ + @Override + public ContactInformation selectContactInformationById(Long id) + { + return contactInformationMapper.selectContactInformationById(id); + } + + /** + * 查询联系方式列表 + * + * @param contactInformation 联系方式 + * @return 联系方式 + */ + @Override + public List selectContactInformationList(ContactInformation contactInformation) + { + return contactInformationMapper.selectContactInformationList(contactInformation); + } + + /** + * 新增联系方式 + * + * @param contactInformation 联系方式 + * @return 结果 + */ + @Override + public int insertContactInformation(ContactInformation contactInformation) + { + contactInformation.setCreateTime(DateUtils.getNowDate()); + return contactInformationMapper.insertContactInformation(contactInformation); + } + + /** + * 修改联系方式 + * + * @param contactInformation 联系方式 + * @return 结果 + */ + @Override + public int updateContactInformation(ContactInformation contactInformation) + { + contactInformation.setUpdateTime(DateUtils.getNowDate()); + return contactInformationMapper.updateContactInformation(contactInformation); + } + + /** + * 删除联系方式对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteContactInformationByIds(String ids) + { + return contactInformationMapper.deleteContactInformationByIds(Convert.toStrArray(ids)); + } + + /** + * 删除联系方式信息 + * + * @param id 联系方式ID + * @return 结果 + */ + @Override + public int deleteContactInformationById(Long id) + { + return contactInformationMapper.deleteContactInformationById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ContractTemplateServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ContractTemplateServiceImpl.java new file mode 100644 index 000000000..21e26870b --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ContractTemplateServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.ContractTemplateMapper; +import com.ruoyi.front.domain.ContractTemplate; +import com.ruoyi.front.service.IContractTemplateService; +import com.ruoyi.common.core.text.Convert; + +/** + * 合同模板Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class ContractTemplateServiceImpl implements IContractTemplateService +{ + @Autowired + private ContractTemplateMapper contractTemplateMapper; + + /** + * 查询合同模板 + * + * @param id 合同模板ID + * @return 合同模板 + */ + @Override + public ContractTemplate selectContractTemplateById(Long id) + { + return contractTemplateMapper.selectContractTemplateById(id); + } + + /** + * 查询合同模板列表 + * + * @param contractTemplate 合同模板 + * @return 合同模板 + */ + @Override + public List selectContractTemplateList(ContractTemplate contractTemplate) + { + return contractTemplateMapper.selectContractTemplateList(contractTemplate); + } + + /** + * 新增合同模板 + * + * @param contractTemplate 合同模板 + * @return 结果 + */ + @Override + public int insertContractTemplate(ContractTemplate contractTemplate) + { + contractTemplate.setCreateTime(DateUtils.getNowDate()); + return contractTemplateMapper.insertContractTemplate(contractTemplate); + } + + /** + * 修改合同模板 + * + * @param contractTemplate 合同模板 + * @return 结果 + */ + @Override + public int updateContractTemplate(ContractTemplate contractTemplate) + { + contractTemplate.setUpdateTime(DateUtils.getNowDate()); + return contractTemplateMapper.updateContractTemplate(contractTemplate); + } + + /** + * 删除合同模板对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteContractTemplateByIds(String ids) + { + return contractTemplateMapper.deleteContractTemplateByIds(Convert.toStrArray(ids)); + } + + /** + * 删除合同模板信息 + * + * @param id 合同模板ID + * @return 结果 + */ + @Override + public int deleteContractTemplateById(Long id) + { + return contractTemplateMapper.deleteContractTemplateById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ContractTypeServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ContractTypeServiceImpl.java new file mode 100644 index 000000000..ecbb25e1b --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ContractTypeServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.ContractTypeMapper; +import com.ruoyi.front.domain.ContractType; +import com.ruoyi.front.service.IContractTypeService; +import com.ruoyi.common.core.text.Convert; + +/** + * 合同分类Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class ContractTypeServiceImpl implements IContractTypeService +{ + @Autowired + private ContractTypeMapper contractTypeMapper; + + /** + * 查询合同分类 + * + * @param id 合同分类ID + * @return 合同分类 + */ + @Override + public ContractType selectContractTypeById(Long id) + { + return contractTypeMapper.selectContractTypeById(id); + } + + /** + * 查询合同分类列表 + * + * @param contractType 合同分类 + * @return 合同分类 + */ + @Override + public List selectContractTypeList(ContractType contractType) + { + return contractTypeMapper.selectContractTypeList(contractType); + } + + /** + * 新增合同分类 + * + * @param contractType 合同分类 + * @return 结果 + */ + @Override + public int insertContractType(ContractType contractType) + { + contractType.setCreateTime(DateUtils.getNowDate()); + return contractTypeMapper.insertContractType(contractType); + } + + /** + * 修改合同分类 + * + * @param contractType 合同分类 + * @return 结果 + */ + @Override + public int updateContractType(ContractType contractType) + { + contractType.setUpdateTime(DateUtils.getNowDate()); + return contractTypeMapper.updateContractType(contractType); + } + + /** + * 删除合同分类对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteContractTypeByIds(String ids) + { + return contractTypeMapper.deleteContractTypeByIds(Convert.toStrArray(ids)); + } + + /** + * 删除合同分类信息 + * + * @param id 合同分类ID + * @return 结果 + */ + @Override + public int deleteContractTypeById(Long id) + { + return contractTypeMapper.deleteContractTypeById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/EventRecruitmentServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/EventRecruitmentServiceImpl.java new file mode 100644 index 000000000..39e9bae21 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/EventRecruitmentServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.EventRecruitmentMapper; +import com.ruoyi.front.domain.EventRecruitment; +import com.ruoyi.front.service.IEventRecruitmentService; +import com.ruoyi.common.core.text.Convert; + +/** + * 活动招募Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class EventRecruitmentServiceImpl implements IEventRecruitmentService +{ + @Autowired + private EventRecruitmentMapper eventRecruitmentMapper; + + /** + * 查询活动招募 + * + * @param id 活动招募ID + * @return 活动招募 + */ + @Override + public EventRecruitment selectEventRecruitmentById(Long id) + { + return eventRecruitmentMapper.selectEventRecruitmentById(id); + } + + /** + * 查询活动招募列表 + * + * @param eventRecruitment 活动招募 + * @return 活动招募 + */ + @Override + public List selectEventRecruitmentList(EventRecruitment eventRecruitment) + { + return eventRecruitmentMapper.selectEventRecruitmentList(eventRecruitment); + } + + /** + * 新增活动招募 + * + * @param eventRecruitment 活动招募 + * @return 结果 + */ + @Override + public int insertEventRecruitment(EventRecruitment eventRecruitment) + { + eventRecruitment.setCreateTime(DateUtils.getNowDate()); + return eventRecruitmentMapper.insertEventRecruitment(eventRecruitment); + } + + /** + * 修改活动招募 + * + * @param eventRecruitment 活动招募 + * @return 结果 + */ + @Override + public int updateEventRecruitment(EventRecruitment eventRecruitment) + { + eventRecruitment.setUpdateTime(DateUtils.getNowDate()); + return eventRecruitmentMapper.updateEventRecruitment(eventRecruitment); + } + + /** + * 删除活动招募对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteEventRecruitmentByIds(String ids) + { + return eventRecruitmentMapper.deleteEventRecruitmentByIds(Convert.toStrArray(ids)); + } + + /** + * 删除活动招募信息 + * + * @param id 活动招募ID + * @return 结果 + */ + @Override + public int deleteEventRecruitmentById(Long id) + { + return eventRecruitmentMapper.deleteEventRecruitmentById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/HomePageCarouselServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/HomePageCarouselServiceImpl.java new file mode 100644 index 000000000..b6a7f00e9 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/HomePageCarouselServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.HomePageCarouselMapper; +import com.ruoyi.front.domain.HomePageCarousel; +import com.ruoyi.front.service.IHomePageCarouselService; +import com.ruoyi.common.core.text.Convert; + +/** + * 首页轮播图Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class HomePageCarouselServiceImpl implements IHomePageCarouselService +{ + @Autowired + private HomePageCarouselMapper homePageCarouselMapper; + + /** + * 查询首页轮播图 + * + * @param id 首页轮播图ID + * @return 首页轮播图 + */ + @Override + public HomePageCarousel selectHomePageCarouselById(Long id) + { + return homePageCarouselMapper.selectHomePageCarouselById(id); + } + + /** + * 查询首页轮播图列表 + * + * @param homePageCarousel 首页轮播图 + * @return 首页轮播图 + */ + @Override + public List selectHomePageCarouselList(HomePageCarousel homePageCarousel) + { + return homePageCarouselMapper.selectHomePageCarouselList(homePageCarousel); + } + + /** + * 新增首页轮播图 + * + * @param homePageCarousel 首页轮播图 + * @return 结果 + */ + @Override + public int insertHomePageCarousel(HomePageCarousel homePageCarousel) + { + homePageCarousel.setCreateTime(DateUtils.getNowDate()); + return homePageCarouselMapper.insertHomePageCarousel(homePageCarousel); + } + + /** + * 修改首页轮播图 + * + * @param homePageCarousel 首页轮播图 + * @return 结果 + */ + @Override + public int updateHomePageCarousel(HomePageCarousel homePageCarousel) + { + homePageCarousel.setUpdateTime(DateUtils.getNowDate()); + return homePageCarouselMapper.updateHomePageCarousel(homePageCarousel); + } + + /** + * 删除首页轮播图对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteHomePageCarouselByIds(String ids) + { + return homePageCarouselMapper.deleteHomePageCarouselByIds(Convert.toStrArray(ids)); + } + + /** + * 删除首页轮播图信息 + * + * @param id 首页轮播图ID + * @return 结果 + */ + @Override + public int deleteHomePageCarouselById(Long id) + { + return homePageCarouselMapper.deleteHomePageCarouselById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/LegalServicesServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/LegalServicesServiceImpl.java new file mode 100644 index 000000000..a4f0ee93a --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/LegalServicesServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.LegalServicesMapper; +import com.ruoyi.front.domain.LegalServices; +import com.ruoyi.front.service.ILegalServicesService; +import com.ruoyi.common.core.text.Convert; + +/** + * 法律服务Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class LegalServicesServiceImpl implements ILegalServicesService +{ + @Autowired + private LegalServicesMapper legalServicesMapper; + + /** + * 查询法律服务 + * + * @param id 法律服务ID + * @return 法律服务 + */ + @Override + public LegalServices selectLegalServicesById(Long id) + { + return legalServicesMapper.selectLegalServicesById(id); + } + + /** + * 查询法律服务列表 + * + * @param legalServices 法律服务 + * @return 法律服务 + */ + @Override + public List selectLegalServicesList(LegalServices legalServices) + { + return legalServicesMapper.selectLegalServicesList(legalServices); + } + + /** + * 新增法律服务 + * + * @param legalServices 法律服务 + * @return 结果 + */ + @Override + public int insertLegalServices(LegalServices legalServices) + { + legalServices.setCreateTime(DateUtils.getNowDate()); + return legalServicesMapper.insertLegalServices(legalServices); + } + + /** + * 修改法律服务 + * + * @param legalServices 法律服务 + * @return 结果 + */ + @Override + public int updateLegalServices(LegalServices legalServices) + { + legalServices.setUpdateTime(DateUtils.getNowDate()); + return legalServicesMapper.updateLegalServices(legalServices); + } + + /** + * 删除法律服务对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteLegalServicesByIds(String ids) + { + return legalServicesMapper.deleteLegalServicesByIds(Convert.toStrArray(ids)); + } + + /** + * 删除法律服务信息 + * + * @param id 法律服务ID + * @return 结果 + */ + @Override + public int deleteLegalServicesById(Long id) + { + return legalServicesMapper.deleteLegalServicesById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/NewsInformationServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/NewsInformationServiceImpl.java new file mode 100644 index 000000000..a6520ef9b --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/NewsInformationServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.NewsInformationMapper; +import com.ruoyi.front.domain.NewsInformation; +import com.ruoyi.front.service.INewsInformationService; +import com.ruoyi.common.core.text.Convert; + +/** + * 新闻动态Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class NewsInformationServiceImpl implements INewsInformationService +{ + @Autowired + private NewsInformationMapper newsInformationMapper; + + /** + * 查询新闻动态 + * + * @param id 新闻动态ID + * @return 新闻动态 + */ + @Override + public NewsInformation selectNewsInformationById(Long id) + { + return newsInformationMapper.selectNewsInformationById(id); + } + + /** + * 查询新闻动态列表 + * + * @param newsInformation 新闻动态 + * @return 新闻动态 + */ + @Override + public List selectNewsInformationList(NewsInformation newsInformation) + { + return newsInformationMapper.selectNewsInformationList(newsInformation); + } + + /** + * 新增新闻动态 + * + * @param newsInformation 新闻动态 + * @return 结果 + */ + @Override + public int insertNewsInformation(NewsInformation newsInformation) + { + newsInformation.setCreateTime(DateUtils.getNowDate()); + return newsInformationMapper.insertNewsInformation(newsInformation); + } + + /** + * 修改新闻动态 + * + * @param newsInformation 新闻动态 + * @return 结果 + */ + @Override + public int updateNewsInformation(NewsInformation newsInformation) + { + newsInformation.setUpdateTime(DateUtils.getNowDate()); + return newsInformationMapper.updateNewsInformation(newsInformation); + } + + /** + * 删除新闻动态对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteNewsInformationByIds(String ids) + { + return newsInformationMapper.deleteNewsInformationByIds(Convert.toStrArray(ids)); + } + + /** + * 删除新闻动态信息 + * + * @param id 新闻动态ID + * @return 结果 + */ + @Override + public int deleteNewsInformationById(Long id) + { + return newsInformationMapper.deleteNewsInformationById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/OnlineCoursesEvaluateServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/OnlineCoursesEvaluateServiceImpl.java new file mode 100644 index 000000000..5113c1aed --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/OnlineCoursesEvaluateServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.OnlineCoursesEvaluateMapper; +import com.ruoyi.front.domain.OnlineCoursesEvaluate; +import com.ruoyi.front.service.IOnlineCoursesEvaluateService; +import com.ruoyi.common.core.text.Convert; + +/** + * 线上课程评价Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class OnlineCoursesEvaluateServiceImpl implements IOnlineCoursesEvaluateService +{ + @Autowired + private OnlineCoursesEvaluateMapper onlineCoursesEvaluateMapper; + + /** + * 查询线上课程评价 + * + * @param id 线上课程评价ID + * @return 线上课程评价 + */ + @Override + public OnlineCoursesEvaluate selectOnlineCoursesEvaluateById(Long id) + { + return onlineCoursesEvaluateMapper.selectOnlineCoursesEvaluateById(id); + } + + /** + * 查询线上课程评价列表 + * + * @param onlineCoursesEvaluate 线上课程评价 + * @return 线上课程评价 + */ + @Override + public List selectOnlineCoursesEvaluateList(OnlineCoursesEvaluate onlineCoursesEvaluate) + { + return onlineCoursesEvaluateMapper.selectOnlineCoursesEvaluateList(onlineCoursesEvaluate); + } + + /** + * 新增线上课程评价 + * + * @param onlineCoursesEvaluate 线上课程评价 + * @return 结果 + */ + @Override + public int insertOnlineCoursesEvaluate(OnlineCoursesEvaluate onlineCoursesEvaluate) + { + onlineCoursesEvaluate.setCreateTime(DateUtils.getNowDate()); + return onlineCoursesEvaluateMapper.insertOnlineCoursesEvaluate(onlineCoursesEvaluate); + } + + /** + * 修改线上课程评价 + * + * @param onlineCoursesEvaluate 线上课程评价 + * @return 结果 + */ + @Override + public int updateOnlineCoursesEvaluate(OnlineCoursesEvaluate onlineCoursesEvaluate) + { + onlineCoursesEvaluate.setUpdateTime(DateUtils.getNowDate()); + return onlineCoursesEvaluateMapper.updateOnlineCoursesEvaluate(onlineCoursesEvaluate); + } + + /** + * 删除线上课程评价对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteOnlineCoursesEvaluateByIds(String ids) + { + return onlineCoursesEvaluateMapper.deleteOnlineCoursesEvaluateByIds(Convert.toStrArray(ids)); + } + + /** + * 删除线上课程评价信息 + * + * @param id 线上课程评价ID + * @return 结果 + */ + @Override + public int deleteOnlineCoursesEvaluateById(Long id) + { + return onlineCoursesEvaluateMapper.deleteOnlineCoursesEvaluateById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/OnlineCoursesServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/OnlineCoursesServiceImpl.java new file mode 100644 index 000000000..4bc978f13 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/OnlineCoursesServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.OnlineCoursesMapper; +import com.ruoyi.front.domain.OnlineCourses; +import com.ruoyi.front.service.IOnlineCoursesService; +import com.ruoyi.common.core.text.Convert; + +/** + * 线上课程Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class OnlineCoursesServiceImpl implements IOnlineCoursesService +{ + @Autowired + private OnlineCoursesMapper onlineCoursesMapper; + + /** + * 查询线上课程 + * + * @param id 线上课程ID + * @return 线上课程 + */ + @Override + public OnlineCourses selectOnlineCoursesById(Long id) + { + return onlineCoursesMapper.selectOnlineCoursesById(id); + } + + /** + * 查询线上课程列表 + * + * @param onlineCourses 线上课程 + * @return 线上课程 + */ + @Override + public List selectOnlineCoursesList(OnlineCourses onlineCourses) + { + return onlineCoursesMapper.selectOnlineCoursesList(onlineCourses); + } + + /** + * 新增线上课程 + * + * @param onlineCourses 线上课程 + * @return 结果 + */ + @Override + public int insertOnlineCourses(OnlineCourses onlineCourses) + { + onlineCourses.setCreateTime(DateUtils.getNowDate()); + return onlineCoursesMapper.insertOnlineCourses(onlineCourses); + } + + /** + * 修改线上课程 + * + * @param onlineCourses 线上课程 + * @return 结果 + */ + @Override + public int updateOnlineCourses(OnlineCourses onlineCourses) + { + onlineCourses.setUpdateTime(DateUtils.getNowDate()); + return onlineCoursesMapper.updateOnlineCourses(onlineCourses); + } + + /** + * 删除线上课程对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteOnlineCoursesByIds(String ids) + { + return onlineCoursesMapper.deleteOnlineCoursesByIds(Convert.toStrArray(ids)); + } + + /** + * 删除线上课程信息 + * + * @param id 线上课程ID + * @return 结果 + */ + @Override + public int deleteOnlineCoursesById(Long id) + { + return onlineCoursesMapper.deleteOnlineCoursesById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/OnlineMessageServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/OnlineMessageServiceImpl.java new file mode 100644 index 000000000..26734cb9b --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/OnlineMessageServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.OnlineMessageMapper; +import com.ruoyi.front.domain.OnlineMessage; +import com.ruoyi.front.service.IOnlineMessageService; +import com.ruoyi.common.core.text.Convert; + +/** + * 在线留言Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class OnlineMessageServiceImpl implements IOnlineMessageService +{ + @Autowired + private OnlineMessageMapper onlineMessageMapper; + + /** + * 查询在线留言 + * + * @param id 在线留言ID + * @return 在线留言 + */ + @Override + public OnlineMessage selectOnlineMessageById(Long id) + { + return onlineMessageMapper.selectOnlineMessageById(id); + } + + /** + * 查询在线留言列表 + * + * @param onlineMessage 在线留言 + * @return 在线留言 + */ + @Override + public List selectOnlineMessageList(OnlineMessage onlineMessage) + { + return onlineMessageMapper.selectOnlineMessageList(onlineMessage); + } + + /** + * 新增在线留言 + * + * @param onlineMessage 在线留言 + * @return 结果 + */ + @Override + public int insertOnlineMessage(OnlineMessage onlineMessage) + { + onlineMessage.setCreateTime(DateUtils.getNowDate()); + return onlineMessageMapper.insertOnlineMessage(onlineMessage); + } + + /** + * 修改在线留言 + * + * @param onlineMessage 在线留言 + * @return 结果 + */ + @Override + public int updateOnlineMessage(OnlineMessage onlineMessage) + { + onlineMessage.setUpdateTime(DateUtils.getNowDate()); + return onlineMessageMapper.updateOnlineMessage(onlineMessage); + } + + /** + * 删除在线留言对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteOnlineMessageByIds(String ids) + { + return onlineMessageMapper.deleteOnlineMessageByIds(Convert.toStrArray(ids)); + } + + /** + * 删除在线留言信息 + * + * @param id 在线留言ID + * @return 结果 + */ + @Override + public int deleteOnlineMessageById(Long id) + { + return onlineMessageMapper.deleteOnlineMessageById(id); + } +} diff --git a/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ServiceOrganizationServiceImpl.java b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ServiceOrganizationServiceImpl.java new file mode 100644 index 000000000..ffb2a0004 --- /dev/null +++ b/ruoyi-front/src/main/java/com/ruoyi/front/service/impl/ServiceOrganizationServiceImpl.java @@ -0,0 +1,97 @@ +package com.ruoyi.front.service.impl; + +import java.util.List; +import com.ruoyi.common.utils.DateUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.front.mapper.ServiceOrganizationMapper; +import com.ruoyi.front.domain.ServiceOrganization; +import com.ruoyi.front.service.IServiceOrganizationService; +import com.ruoyi.common.core.text.Convert; + +/** + * 服务组织Service业务层处理 + * + * @author ruoyi + * @date 2020-10-21 + */ +@Service +public class ServiceOrganizationServiceImpl implements IServiceOrganizationService +{ + @Autowired + private ServiceOrganizationMapper serviceOrganizationMapper; + + /** + * 查询服务组织 + * + * @param id 服务组织ID + * @return 服务组织 + */ + @Override + public ServiceOrganization selectServiceOrganizationById(Long id) + { + return serviceOrganizationMapper.selectServiceOrganizationById(id); + } + + /** + * 查询服务组织列表 + * + * @param serviceOrganization 服务组织 + * @return 服务组织 + */ + @Override + public List selectServiceOrganizationList(ServiceOrganization serviceOrganization) + { + return serviceOrganizationMapper.selectServiceOrganizationList(serviceOrganization); + } + + /** + * 新增服务组织 + * + * @param serviceOrganization 服务组织 + * @return 结果 + */ + @Override + public int insertServiceOrganization(ServiceOrganization serviceOrganization) + { + serviceOrganization.setCreateTime(DateUtils.getNowDate()); + return serviceOrganizationMapper.insertServiceOrganization(serviceOrganization); + } + + /** + * 修改服务组织 + * + * @param serviceOrganization 服务组织 + * @return 结果 + */ + @Override + public int updateServiceOrganization(ServiceOrganization serviceOrganization) + { + serviceOrganization.setUpdateTime(DateUtils.getNowDate()); + return serviceOrganizationMapper.updateServiceOrganization(serviceOrganization); + } + + /** + * 删除服务组织对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteServiceOrganizationByIds(String ids) + { + return serviceOrganizationMapper.deleteServiceOrganizationByIds(Convert.toStrArray(ids)); + } + + /** + * 删除服务组织信息 + * + * @param id 服务组织ID + * @return 结果 + */ + @Override + public int deleteServiceOrganizationById(Long id) + { + return serviceOrganizationMapper.deleteServiceOrganizationById(id); + } +} diff --git a/ruoyi-front/src/main/resources/mapper/front/ClasssicCasesMapper.xml b/ruoyi-front/src/main/resources/mapper/front/ClasssicCasesMapper.xml new file mode 100644 index 000000000..2fb2a227c --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/ClasssicCasesMapper.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + select id, title, introduction, content, type, hits, picture_url, status, del_flag, create_by, create_time, update_by, update_time from classsic_cases + + + + + + + + insert into classsic_cases + + title, + introduction, + content, + type, + hits, + picture_url, + status, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{title}, + #{introduction}, + #{content}, + #{type}, + #{hits}, + #{pictureUrl}, + #{status}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update classsic_cases + + title = #{title}, + introduction = #{introduction}, + content = #{content}, + type = #{type}, + hits = #{hits}, + picture_url = #{pictureUrl}, + status = #{status}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from classsic_cases where id = #{id} + + + + delete from classsic_cases where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/CommonProblemMapper.xml b/ruoyi-front/src/main/resources/mapper/front/CommonProblemMapper.xml new file mode 100644 index 000000000..65a81c14f --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/CommonProblemMapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + select id, title, content, hits, del_flag, create_by, create_time, update_by, update_time from common_problem + + + + + + + + insert into common_problem + + title, + content, + hits, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{title}, + #{content}, + #{hits}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update common_problem + + title = #{title}, + content = #{content}, + hits = #{hits}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from common_problem where id = #{id} + + + + delete from common_problem where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/ContactInformationMapper.xml b/ruoyi-front/src/main/resources/mapper/front/ContactInformationMapper.xml new file mode 100644 index 000000000..41cc55ad0 --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/ContactInformationMapper.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + select id, address, service_phone, supervise_phone, supervise_dept, email, service_date, copyright, del_flag, create_by, create_time, update_by, update_time from contact_information + + + + + + + + insert into contact_information + + address, + service_phone, + supervise_phone, + supervise_dept, + email, + service_date, + copyright, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{address}, + #{servicePhone}, + #{supervisePhone}, + #{superviseDept}, + #{email}, + #{serviceDate}, + #{copyright}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update contact_information + + address = #{address}, + service_phone = #{servicePhone}, + supervise_phone = #{supervisePhone}, + supervise_dept = #{superviseDept}, + email = #{email}, + service_date = #{serviceDate}, + copyright = #{copyright}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from contact_information where id = #{id} + + + + delete from contact_information where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/ContractTemplateMapper.xml b/ruoyi-front/src/main/resources/mapper/front/ContractTemplateMapper.xml new file mode 100644 index 000000000..83954a4e0 --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/ContractTemplateMapper.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + select id, type, title, introduction, content, hits, enclosure_url, status, del_flag, create_by, create_time, update_by, update_time, remark from contract_template + + + + + + + + insert into contract_template + + type, + title, + introduction, + content, + hits, + enclosure_url, + status, + del_flag, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{type}, + #{title}, + #{introduction}, + #{content}, + #{hits}, + #{enclosureUrl}, + #{status}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update contract_template + + type = #{type}, + title = #{title}, + introduction = #{introduction}, + content = #{content}, + hits = #{hits}, + enclosure_url = #{enclosureUrl}, + status = #{status}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from contract_template where id = #{id} + + + + delete from contract_template where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/ContractTypeMapper.xml b/ruoyi-front/src/main/resources/mapper/front/ContractTypeMapper.xml new file mode 100644 index 000000000..1b195f3ca --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/ContractTypeMapper.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + select id, name, english_name, del_flag, create_by, create_time, update_by, update_time, remark from contract_type + + + + + + + + insert into contract_type + + name, + english_name, + del_flag, + create_by, + create_time, + update_by, + update_time, + remark, + + + #{name}, + #{englishName}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{remark}, + + + + + update contract_type + + name = #{name}, + english_name = #{englishName}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from contract_type where id = #{id} + + + + delete from contract_type where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/EventRecruitmentMapper.xml b/ruoyi-front/src/main/resources/mapper/front/EventRecruitmentMapper.xml new file mode 100644 index 000000000..8c91b4d96 --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/EventRecruitmentMapper.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + select id, title, introduction, activity_time, address, organizer, picture_url, del_flag, create_by, create_time, update_by, update_time from event_recruitment + + + + + + + + insert into event_recruitment + + title, + introduction, + activity_time, + address, + organizer, + picture_url, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{title}, + #{introduction}, + #{activityTime}, + #{address}, + #{organizer}, + #{pictureUrl}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update event_recruitment + + title = #{title}, + introduction = #{introduction}, + activity_time = #{activityTime}, + address = #{address}, + organizer = #{organizer}, + picture_url = #{pictureUrl}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from event_recruitment where id = #{id} + + + + delete from event_recruitment where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/HomePageCarouselMapper.xml b/ruoyi-front/src/main/resources/mapper/front/HomePageCarouselMapper.xml new file mode 100644 index 000000000..961d63ce6 --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/HomePageCarouselMapper.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + select id, picture_url, del_flag, create_by, create_time, update_by, update_time from home_page_carousel + + + + + + + + insert into home_page_carousel + + picture_url, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{pictureUrl}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update home_page_carousel + + picture_url = #{pictureUrl}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from home_page_carousel where id = #{id} + + + + delete from home_page_carousel where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/LegalServicesMapper.xml b/ruoyi-front/src/main/resources/mapper/front/LegalServicesMapper.xml new file mode 100644 index 000000000..0fbf04dac --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/LegalServicesMapper.xml @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + select id, name, address, del_flag, create_by, create_time, update_by, update_time from legal_services + + + + + + + + insert into legal_services + + name, + address, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{name}, + #{address}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update legal_services + + name = #{name}, + address = #{address}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from legal_services where id = #{id} + + + + delete from legal_services where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/NewsInformationMapper.xml b/ruoyi-front/src/main/resources/mapper/front/NewsInformationMapper.xml new file mode 100644 index 000000000..2fa1015ff --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/NewsInformationMapper.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + + select id, title, introduction, content, hits, status, del_flag, create_by, create_time, update_by, update_time from news_information + + + + + + + + insert into news_information + + title, + introduction, + content, + hits, + status, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{title}, + #{introduction}, + #{content}, + #{hits}, + #{status}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update news_information + + title = #{title}, + introduction = #{introduction}, + content = #{content}, + hits = #{hits}, + status = #{status}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from news_information where id = #{id} + + + + delete from news_information where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/OnlineCoursesEvaluateMapper.xml b/ruoyi-front/src/main/resources/mapper/front/OnlineCoursesEvaluateMapper.xml new file mode 100644 index 000000000..279a8c7ff --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/OnlineCoursesEvaluateMapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + select id, online_courses_id, evaluate_content, anonymous_flag, del_flag, create_by, create_time, update_by, update_time from online_courses_evaluate + + + + + + + + insert into online_courses_evaluate + + online_courses_id, + evaluate_content, + anonymous_flag, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{onlineCoursesId}, + #{evaluateContent}, + #{anonymousFlag}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update online_courses_evaluate + + online_courses_id = #{onlineCoursesId}, + evaluate_content = #{evaluateContent}, + anonymous_flag = #{anonymousFlag}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from online_courses_evaluate where id = #{id} + + + + delete from online_courses_evaluate where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/OnlineCoursesMapper.xml b/ruoyi-front/src/main/resources/mapper/front/OnlineCoursesMapper.xml new file mode 100644 index 000000000..6b9ad2914 --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/OnlineCoursesMapper.xml @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + select id, title, introduction, hits, target_people, courses_duration, courses_level, picture_url, video_url, status, del_flag, create_by, create_time, update_by, update_time from online_courses + + + + + + + + insert into online_courses + + title, + introduction, + hits, + target_people, + courses_duration, + courses_level, + picture_url, + video_url, + status, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{title}, + #{introduction}, + #{hits}, + #{targetPeople}, + #{coursesDuration}, + #{coursesLevel}, + #{pictureUrl}, + #{videoUrl}, + #{status}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update online_courses + + title = #{title}, + introduction = #{introduction}, + hits = #{hits}, + target_people = #{targetPeople}, + courses_duration = #{coursesDuration}, + courses_level = #{coursesLevel}, + picture_url = #{pictureUrl}, + video_url = #{videoUrl}, + status = #{status}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from online_courses where id = #{id} + + + + delete from online_courses where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/OnlineMessageMapper.xml b/ruoyi-front/src/main/resources/mapper/front/OnlineMessageMapper.xml new file mode 100644 index 000000000..60cb48276 --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/OnlineMessageMapper.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + select id, name, email, contact_information, message_content, del_flag, create_by, create_time, update_by, update_time from online_message + + + + + + + + insert into online_message + + name, + email, + contact_information, + message_content, + del_flag, + create_by, + create_time, + update_by, + update_time, + + + #{name}, + #{email}, + #{contactInformation}, + #{messageContent}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + + + + + update online_message + + name = #{name}, + email = #{email}, + contact_information = #{contactInformation}, + message_content = #{messageContent}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + + where id = #{id} + + + + delete from online_message where id = #{id} + + + + delete from online_message where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/mapper/front/ServiceOrganizationMapper.xml b/ruoyi-front/src/main/resources/mapper/front/ServiceOrganizationMapper.xml new file mode 100644 index 000000000..a60d3d2e5 --- /dev/null +++ b/ruoyi-front/src/main/resources/mapper/front/ServiceOrganizationMapper.xml @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, name, contacts, phone, license_url, title, introduction, content, hits, audit_status, picture_url, status, del_flag, create_by, create_time, update_by, update_time, check_by, check_time, remark from service_organization + + + + + + + + insert into service_organization + + name, + contacts, + phone, + license_url, + title, + introduction, + content, + hits, + audit_status, + picture_url, + status, + del_flag, + create_by, + create_time, + update_by, + update_time, + check_by, + check_time, + remark, + + + #{name}, + #{contacts}, + #{phone}, + #{licenseUrl}, + #{title}, + #{introduction}, + #{content}, + #{hits}, + #{auditStatus}, + #{pictureUrl}, + #{status}, + #{delFlag}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{checkBy}, + #{checkTime}, + #{remark}, + + + + + update service_organization + + name = #{name}, + contacts = #{contacts}, + phone = #{phone}, + license_url = #{licenseUrl}, + title = #{title}, + introduction = #{introduction}, + content = #{content}, + hits = #{hits}, + audit_status = #{auditStatus}, + picture_url = #{pictureUrl}, + status = #{status}, + del_flag = #{delFlag}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + check_by = #{checkBy}, + check_time = #{checkTime}, + remark = #{remark}, + + where id = #{id} + + + + delete from service_organization where id = #{id} + + + + delete from service_organization where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/carousel/add.html b/ruoyi-front/src/main/resources/templates/front/carousel/add.html new file mode 100644 index 000000000..f7eaac861 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/carousel/add.html @@ -0,0 +1,37 @@ + + + + + + +
+ +
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/carousel/carousel.html b/ruoyi-front/src/main/resources/templates/front/carousel/carousel.html new file mode 100644 index 000000000..f0f943dfa --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/carousel/carousel.html @@ -0,0 +1,86 @@ + + + + + + +
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/carousel/edit.html b/ruoyi-front/src/main/resources/templates/front/carousel/edit.html new file mode 100644 index 000000000..8b260ab42 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/carousel/edit.html @@ -0,0 +1,32 @@ + + + + + + +
+ +
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/cases/add.html b/ruoyi-front/src/main/resources/templates/front/cases/add.html new file mode 100644 index 000000000..8444799dc --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/cases/add.html @@ -0,0 +1,118 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ + 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/cases/cases.html b/ruoyi-front/src/main/resources/templates/front/cases/cases.html new file mode 100644 index 000000000..0e7f09ec1 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/cases/cases.html @@ -0,0 +1,132 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/cases/edit.html b/ruoyi-front/src/main/resources/templates/front/cases/edit.html new file mode 100644 index 000000000..a40a3f65f --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/cases/edit.html @@ -0,0 +1,117 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ + 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/contactInformation/add.html b/ruoyi-front/src/main/resources/templates/front/contactInformation/add.html new file mode 100644 index 000000000..f10f90561 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/contactInformation/add.html @@ -0,0 +1,73 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/contactInformation/contactInformation.html b/ruoyi-front/src/main/resources/templates/front/contactInformation/contactInformation.html new file mode 100644 index 000000000..ff23fd896 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/contactInformation/contactInformation.html @@ -0,0 +1,134 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/contactInformation/edit.html b/ruoyi-front/src/main/resources/templates/front/contactInformation/edit.html new file mode 100644 index 000000000..24f3a1dbf --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/contactInformation/edit.html @@ -0,0 +1,68 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/contract/add.html b/ruoyi-front/src/main/resources/templates/front/contract/add.html new file mode 100644 index 000000000..7f788ba08 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/contract/add.html @@ -0,0 +1,49 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/contract/contract.html b/ruoyi-front/src/main/resources/templates/front/contract/contract.html new file mode 100644 index 000000000..bc64c888e --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/contract/contract.html @@ -0,0 +1,98 @@ + + + + + + +
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/contract/edit.html b/ruoyi-front/src/main/resources/templates/front/contract/edit.html new file mode 100644 index 000000000..6847bf771 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/contract/edit.html @@ -0,0 +1,44 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/courses/add.html b/ruoyi-front/src/main/resources/templates/front/courses/add.html new file mode 100644 index 000000000..79b4bc364 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/courses/add.html @@ -0,0 +1,89 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/courses/courses.html b/ruoyi-front/src/main/resources/templates/front/courses/courses.html new file mode 100644 index 000000000..16de5d799 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/courses/courses.html @@ -0,0 +1,145 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/courses/edit.html b/ruoyi-front/src/main/resources/templates/front/courses/edit.html new file mode 100644 index 000000000..3a7c2add0 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/courses/edit.html @@ -0,0 +1,84 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/evaluate/add.html b/ruoyi-front/src/main/resources/templates/front/evaluate/add.html new file mode 100644 index 000000000..dfd4e0333 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/evaluate/add.html @@ -0,0 +1,87 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/evaluate/edit.html b/ruoyi-front/src/main/resources/templates/front/evaluate/edit.html new file mode 100644 index 000000000..e4cd8dc95 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/evaluate/edit.html @@ -0,0 +1,86 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/evaluate/evaluate.html b/ruoyi-front/src/main/resources/templates/front/evaluate/evaluate.html new file mode 100644 index 000000000..b05b1b35b --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/evaluate/evaluate.html @@ -0,0 +1,98 @@ + + + + + + +
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/information/add.html b/ruoyi-front/src/main/resources/templates/front/information/add.html new file mode 100644 index 000000000..5ae713064 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/information/add.html @@ -0,0 +1,103 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/information/edit.html b/ruoyi-front/src/main/resources/templates/front/information/edit.html new file mode 100644 index 000000000..5bfbc518d --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/information/edit.html @@ -0,0 +1,102 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/information/information.html b/ruoyi-front/src/main/resources/templates/front/information/information.html new file mode 100644 index 000000000..9d2c6dbcb --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/information/information.html @@ -0,0 +1,117 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/message/add.html b/ruoyi-front/src/main/resources/templates/front/message/add.html new file mode 100644 index 000000000..301aa8d55 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/message/add.html @@ -0,0 +1,93 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/message/edit.html b/ruoyi-front/src/main/resources/templates/front/message/edit.html new file mode 100644 index 000000000..88697738e --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/message/edit.html @@ -0,0 +1,92 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/message/message.html b/ruoyi-front/src/main/resources/templates/front/message/message.html new file mode 100644 index 000000000..4924258e4 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/message/message.html @@ -0,0 +1,106 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/organization/add.html b/ruoyi-front/src/main/resources/templates/front/organization/add.html new file mode 100644 index 000000000..5e8a21f92 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/organization/add.html @@ -0,0 +1,172 @@ + + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+
+ + + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/organization/edit.html b/ruoyi-front/src/main/resources/templates/front/organization/edit.html new file mode 100644 index 000000000..ae20d0ac4 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/organization/edit.html @@ -0,0 +1,171 @@ + + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+
+ + + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/organization/organization.html b/ruoyi-front/src/main/resources/templates/front/organization/organization.html new file mode 100644 index 000000000..9de14a2e0 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/organization/organization.html @@ -0,0 +1,182 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + + - + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/problem/add.html b/ruoyi-front/src/main/resources/templates/front/problem/add.html new file mode 100644 index 000000000..88e24f1bd --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/problem/add.html @@ -0,0 +1,87 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/problem/edit.html b/ruoyi-front/src/main/resources/templates/front/problem/edit.html new file mode 100644 index 000000000..5b25b3e51 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/problem/edit.html @@ -0,0 +1,86 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/problem/problem.html b/ruoyi-front/src/main/resources/templates/front/problem/problem.html new file mode 100644 index 000000000..c91c98e47 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/problem/problem.html @@ -0,0 +1,98 @@ + + + + + + +
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/recruitment/add.html b/ruoyi-front/src/main/resources/templates/front/recruitment/add.html new file mode 100644 index 000000000..9fe661e89 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/recruitment/add.html @@ -0,0 +1,67 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/recruitment/edit.html b/ruoyi-front/src/main/resources/templates/front/recruitment/edit.html new file mode 100644 index 000000000..8fcd8fa2a --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/recruitment/edit.html @@ -0,0 +1,62 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/recruitment/recruitment.html b/ruoyi-front/src/main/resources/templates/front/recruitment/recruitment.html new file mode 100644 index 000000000..2d72d8512 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/recruitment/recruitment.html @@ -0,0 +1,126 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/services/add.html b/ruoyi-front/src/main/resources/templates/front/services/add.html new file mode 100644 index 000000000..31f829410 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/services/add.html @@ -0,0 +1,43 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/services/edit.html b/ruoyi-front/src/main/resources/templates/front/services/edit.html new file mode 100644 index 000000000..7e9f92101 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/services/edit.html @@ -0,0 +1,38 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/services/services.html b/ruoyi-front/src/main/resources/templates/front/services/services.html new file mode 100644 index 000000000..f19823edb --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/services/services.html @@ -0,0 +1,94 @@ + + + + + + +
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/template/add.html b/ruoyi-front/src/main/resources/templates/front/template/add.html new file mode 100644 index 000000000..4e4c22c2a --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/template/add.html @@ -0,0 +1,124 @@ + + + + + + + +
+
+
+ +
+ + 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/template/edit.html b/ruoyi-front/src/main/resources/templates/front/template/edit.html new file mode 100644 index 000000000..c2dce4b1c --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/template/edit.html @@ -0,0 +1,123 @@ + + + + + + + +
+
+ +
+ +
+ + 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-front/src/main/resources/templates/front/template/template.html b/ruoyi-front/src/main/resources/templates/front/template/template.html new file mode 100644 index 000000000..47e7aadb7 --- /dev/null +++ b/ruoyi-front/src/main/resources/templates/front/template/template.html @@ -0,0 +1,136 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file