From dece245a286fd6c67d65f881b4abf5dffc05d1dd Mon Sep 17 00:00:00 2001 From: haodong <2451763483@qq.com> Date: Tue, 6 Apr 2021 22:40:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=BA=86=E5=91=98=E5=B7=A5=E7=AE=A1?= =?UTF-8?q?=E7=90=86=EF=BC=8C=E7=BB=84=E7=BB=87=E7=AE=A1=E7=90=86=EF=BC=8C?= =?UTF-8?q?=E6=8B=9B=E8=81=98=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/WkCrmCandidateController.java | 126 +++ ...WkCrmOrganizationManagementController.java | 126 +++ .../WkCrmRecruitmentController.java | 126 +++ .../WkCrmStaffManagement1Controller.java | 129 +++ .../templates/system/candidate/add.html | 163 ++++ .../templates/system/candidate/candidate.html | 233 ++++++ .../templates/system/candidate/edit.html | 164 ++++ .../templates/system/management/add.html | 67 ++ .../templates/system/management/edit.html | 68 ++ .../system/management/management.html | 134 ++++ .../templates/system/management1/add.html | 395 ++++++++++ .../templates/system/management1/edit.html | 395 ++++++++++ .../system/management1/management1.html | 479 ++++++++++++ .../templates/system/recruitment/add.html | 85 ++ .../templates/system/recruitment/edit.html | 86 ++ .../system/recruitment/recruitment.html | 158 ++++ .../ruoyi/system/domain/WkCrmCandidate.java | 307 ++++++++ .../domain/WkCrmOrganizationManagement.java | 135 ++++ .../ruoyi/system/domain/WkCrmRecruitment.java | 177 +++++ .../system/domain/WkCrmStaffManagement1.java | 732 ++++++++++++++++++ .../system/mapper/WkCrmCandidateMapper.java | 61 ++ .../WkCrmOrganizationManagementMapper.java | 61 ++ .../system/mapper/WkCrmRecruitmentMapper.java | 61 ++ .../mapper/WkCrmStaffManagement1Mapper.java | 61 ++ .../service/IWkCrmCandidateService.java | 61 ++ .../IWkCrmOrganizationManagementService.java | 61 ++ .../service/IWkCrmRecruitmentService.java | 61 ++ .../IWkCrmStaffManagement1Service.java | 61 ++ .../impl/WkCrmCandidateServiceImpl.java | 94 +++ ...kCrmOrganizationManagementServiceImpl.java | 94 +++ .../impl/WkCrmRecruitmentServiceImpl.java | 94 +++ .../WkCrmStaffManagement1ServiceImpl.java | 94 +++ .../mapper/system/WkCrmCandidateMapper.xml | 147 ++++ .../WkCrmOrganizationManagementMapper.xml | 87 +++ .../mapper/system/WkCrmRecruitmentMapper.xml | 102 +++ .../system/WkCrmStaffManagement1Mapper.xml | 297 +++++++ 36 files changed, 5782 insertions(+) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmCandidateController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmOrganizationManagementController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmRecruitmentController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmStaffManagement1Controller.java create mode 100644 ruoyi-admin/src/main/resources/templates/system/candidate/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/candidate/candidate.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/candidate/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/management/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/management/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/management/management.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/management1/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/management1/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/management1/management1.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/recruitment/add.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/recruitment/edit.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/recruitment/recruitment.html create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmCandidate.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmOrganizationManagement.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmRecruitment.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmStaffManagement1.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmCandidateMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmOrganizationManagementMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmRecruitmentMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmStaffManagement1Mapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmCandidateService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmOrganizationManagementService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmRecruitmentService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmStaffManagement1Service.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmCandidateServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmOrganizationManagementServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmRecruitmentServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmStaffManagement1ServiceImpl.java create mode 100644 ruoyi-system/src/main/resources/mapper/system/WkCrmCandidateMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/system/WkCrmOrganizationManagementMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/system/WkCrmRecruitmentMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/system/WkCrmStaffManagement1Mapper.xml diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmCandidateController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmCandidateController.java new file mode 100644 index 000000000..3a4b860e0 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmCandidateController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.system.domain.WkCrmCandidate; +import com.ruoyi.system.service.IWkCrmCandidateService; +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 2021-04-06 + */ +@Controller +@RequestMapping("/system/candidate") +public class WkCrmCandidateController extends BaseController +{ + private String prefix = "system/candidate"; + + @Autowired + private IWkCrmCandidateService wkCrmCandidateService; + + @RequiresPermissions("system:candidate:view") + @GetMapping() + public String candidate() + { + return prefix + "/candidate"; + } + + /** + * 查询候选人列表 + */ + @RequiresPermissions("system:candidate:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(WkCrmCandidate wkCrmCandidate) + { + startPage(); + List list = wkCrmCandidateService.selectWkCrmCandidateList(wkCrmCandidate); + return getDataTable(list); + } + + /** + * 导出候选人列表 + */ + @RequiresPermissions("system:candidate:export") + @Log(title = "候选人", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(WkCrmCandidate wkCrmCandidate) + { + List list = wkCrmCandidateService.selectWkCrmCandidateList(wkCrmCandidate); + ExcelUtil util = new ExcelUtil(WkCrmCandidate.class); + return util.exportExcel(list, "candidate"); + } + + /** + * 新增候选人 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存候选人 + */ + @RequiresPermissions("system:candidate:add") + @Log(title = "候选人", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(WkCrmCandidate wkCrmCandidate) + { + return toAjax(wkCrmCandidateService.insertWkCrmCandidate(wkCrmCandidate)); + } + + /** + * 修改候选人 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Integer id, ModelMap mmap) + { + WkCrmCandidate wkCrmCandidate = wkCrmCandidateService.selectWkCrmCandidateById(id); + mmap.put("wkCrmCandidate", wkCrmCandidate); + return prefix + "/edit"; + } + + /** + * 修改保存候选人 + */ + @RequiresPermissions("system:candidate:edit") + @Log(title = "候选人", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(WkCrmCandidate wkCrmCandidate) + { + return toAjax(wkCrmCandidateService.updateWkCrmCandidate(wkCrmCandidate)); + } + + /** + * 删除候选人 + */ + @RequiresPermissions("system:candidate:remove") + @Log(title = "候选人", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(wkCrmCandidateService.deleteWkCrmCandidateByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmOrganizationManagementController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmOrganizationManagementController.java new file mode 100644 index 000000000..a1fbd04b9 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmOrganizationManagementController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.system.domain.WkCrmOrganizationManagement; +import com.ruoyi.system.service.IWkCrmOrganizationManagementService; +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 2021-04-06 + */ +@Controller +@RequestMapping("/system/management") +public class WkCrmOrganizationManagementController extends BaseController +{ + private String prefix = "system/management"; + + @Autowired + private IWkCrmOrganizationManagementService wkCrmOrganizationManagementService; + + @RequiresPermissions("system:management:view") + @GetMapping() + public String management() + { + return prefix + "/management"; + } + + /** + * 查询组织管理列表 + */ + @RequiresPermissions("system:management:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(WkCrmOrganizationManagement wkCrmOrganizationManagement) + { + startPage(); + List list = wkCrmOrganizationManagementService.selectWkCrmOrganizationManagementList(wkCrmOrganizationManagement); + return getDataTable(list); + } + + /** + * 导出组织管理列表 + */ + @RequiresPermissions("system:management:export") + @Log(title = "组织管理", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(WkCrmOrganizationManagement wkCrmOrganizationManagement) + { + List list = wkCrmOrganizationManagementService.selectWkCrmOrganizationManagementList(wkCrmOrganizationManagement); + ExcelUtil util = new ExcelUtil(WkCrmOrganizationManagement.class); + return util.exportExcel(list, "management"); + } + + /** + * 新增组织管理 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存组织管理 + */ + @RequiresPermissions("system:management:add") + @Log(title = "组织管理", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(WkCrmOrganizationManagement wkCrmOrganizationManagement) + { + return toAjax(wkCrmOrganizationManagementService.insertWkCrmOrganizationManagement(wkCrmOrganizationManagement)); + } + + /** + * 修改组织管理 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + WkCrmOrganizationManagement wkCrmOrganizationManagement = wkCrmOrganizationManagementService.selectWkCrmOrganizationManagementById(id); + mmap.put("wkCrmOrganizationManagement", wkCrmOrganizationManagement); + return prefix + "/edit"; + } + + /** + * 修改保存组织管理 + */ + @RequiresPermissions("system:management:edit") + @Log(title = "组织管理", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(WkCrmOrganizationManagement wkCrmOrganizationManagement) + { + return toAjax(wkCrmOrganizationManagementService.updateWkCrmOrganizationManagement(wkCrmOrganizationManagement)); + } + + /** + * 删除组织管理 + */ + @RequiresPermissions("system:management:remove") + @Log(title = "组织管理", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(wkCrmOrganizationManagementService.deleteWkCrmOrganizationManagementByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmRecruitmentController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmRecruitmentController.java new file mode 100644 index 000000000..efba98f2b --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmRecruitmentController.java @@ -0,0 +1,126 @@ +package com.ruoyi.web.controller; + +import java.util.List; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.system.domain.WkCrmRecruitment; +import com.ruoyi.system.service.IWkCrmRecruitmentService; +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 2021-04-06 + */ +@Controller +@RequestMapping("/system/recruitment") +public class WkCrmRecruitmentController extends BaseController +{ + private String prefix = "system/recruitment"; + + @Autowired + private IWkCrmRecruitmentService wkCrmRecruitmentService; + + @RequiresPermissions("system:recruitment:view") + @GetMapping() + public String recruitment() + { + return prefix + "/recruitment"; + } + + /** + * 查询招聘职位列表 + */ + @RequiresPermissions("system:recruitment:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(WkCrmRecruitment wkCrmRecruitment) + { + startPage(); + List list = wkCrmRecruitmentService.selectWkCrmRecruitmentList(wkCrmRecruitment); + return getDataTable(list); + } + + /** + * 导出招聘职位列表 + */ + @RequiresPermissions("system:recruitment:export") + @Log(title = "招聘职位", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(WkCrmRecruitment wkCrmRecruitment) + { + List list = wkCrmRecruitmentService.selectWkCrmRecruitmentList(wkCrmRecruitment); + ExcelUtil util = new ExcelUtil(WkCrmRecruitment.class); + return util.exportExcel(list, "recruitment"); + } + + /** + * 新增招聘职位 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存招聘职位 + */ + @RequiresPermissions("system:recruitment:add") + @Log(title = "招聘职位", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(WkCrmRecruitment wkCrmRecruitment) + { + return toAjax(wkCrmRecruitmentService.insertWkCrmRecruitment(wkCrmRecruitment)); + } + + /** + * 修改招聘职位 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + WkCrmRecruitment wkCrmRecruitment = wkCrmRecruitmentService.selectWkCrmRecruitmentById(id); + mmap.put("wkCrmRecruitment", wkCrmRecruitment); + return prefix + "/edit"; + } + + /** + * 修改保存招聘职位 + */ + @RequiresPermissions("system:recruitment:edit") + @Log(title = "招聘职位", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(WkCrmRecruitment wkCrmRecruitment) + { + return toAjax(wkCrmRecruitmentService.updateWkCrmRecruitment(wkCrmRecruitment)); + } + + /** + * 删除招聘职位 + */ + @RequiresPermissions("system:recruitment:remove") + @Log(title = "招聘职位", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + return toAjax(wkCrmRecruitmentService.deleteWkCrmRecruitmentByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmStaffManagement1Controller.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmStaffManagement1Controller.java new file mode 100644 index 000000000..a8115a352 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/WkCrmStaffManagement1Controller.java @@ -0,0 +1,129 @@ +package com.ruoyi.web.controller; + +import java.util.List; + +import com.ruoyi.system.service.IWkCrmCandidateService; +import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.ModelMap; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.system.domain.WkCrmStaffManagement1; +import com.ruoyi.system.service.IWkCrmStaffManagement1Service; +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 2021-04-06 + */ +@Controller +@RequestMapping("/system/management1") +public class WkCrmStaffManagement1Controller extends BaseController +{ + private String prefix = "system/management1"; + + @Autowired + private IWkCrmStaffManagement1Service wkCrmStaffManagement1Service; + + @RequiresPermissions("system:management1:view") + @GetMapping() + public String management1() + { + return prefix + "/management1"; + } + + /** + * 查询员工管理列表 + */ + @RequiresPermissions("system:management1:list") + @PostMapping("/list") + @ResponseBody + public TableDataInfo list(WkCrmStaffManagement1 wkCrmStaffManagement1) + { + startPage(); + List list = wkCrmStaffManagement1Service.selectWkCrmStaffManagement1List(wkCrmStaffManagement1); + return getDataTable(list); + } + + /** + * 导出员工管理列表 + */ + @RequiresPermissions("system:management1:export") + @Log(title = "员工管理", businessType = BusinessType.EXPORT) + @PostMapping("/export") + @ResponseBody + public AjaxResult export(WkCrmStaffManagement1 wkCrmStaffManagement1) + { + List list = wkCrmStaffManagement1Service.selectWkCrmStaffManagement1List(wkCrmStaffManagement1); + ExcelUtil util = new ExcelUtil(WkCrmStaffManagement1.class); + return util.exportExcel(list, "management1"); + } + + /** + * 新增员工管理 + */ + @GetMapping("/add") + public String add() + { + return prefix + "/add"; + } + + /** + * 新增保存员工管理 + */ + @RequiresPermissions("system:management1:add") + @Log(title = "员工管理", businessType = BusinessType.INSERT) + @PostMapping("/add") + @ResponseBody + public AjaxResult addSave(WkCrmStaffManagement1 wkCrmStaffManagement1) + { + return toAjax(wkCrmStaffManagement1Service.insertWkCrmStaffManagement1(wkCrmStaffManagement1)); + } + + /** + * 修改员工管理 + */ + @GetMapping("/edit/{id}") + public String edit(@PathVariable("id") Long id, ModelMap mmap) + { + WkCrmStaffManagement1 wkCrmStaffManagement1 = wkCrmStaffManagement1Service.selectWkCrmStaffManagement1ById(id); + mmap.put("wkCrmStaffManagement1", wkCrmStaffManagement1); + return prefix + "/edit"; + } + + /** + * 修改保存员工管理 + */ + @RequiresPermissions("system:management1:edit") + @Log(title = "员工管理", businessType = BusinessType.UPDATE) + @PostMapping("/edit") + @ResponseBody + public AjaxResult editSave(WkCrmStaffManagement1 wkCrmStaffManagement1) + { + return toAjax(wkCrmStaffManagement1Service.updateWkCrmStaffManagement1(wkCrmStaffManagement1)); + } + + /** + * 删除员工管理 + */ + @RequiresPermissions("system:management1:remove") + @Log(title = "员工管理", businessType = BusinessType.DELETE) + @PostMapping( "/remove") + @ResponseBody + public AjaxResult remove(String ids) + { + + return toAjax(wkCrmStaffManagement1Service.deleteWkCrmStaffManagement1ByIds(ids)); + } +} diff --git a/ruoyi-admin/src/main/resources/templates/system/candidate/add.html b/ruoyi-admin/src/main/resources/templates/system/candidate/add.html new file mode 100644 index 000000000..64781b060 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/candidate/add.html @@ -0,0 +1,163 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/candidate/candidate.html b/ruoyi-admin/src/main/resources/templates/system/candidate/candidate.html new file mode 100644 index 000000000..1d5e140e8 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/candidate/candidate.html @@ -0,0 +1,233 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/candidate/edit.html b/ruoyi-admin/src/main/resources/templates/system/candidate/edit.html new file mode 100644 index 000000000..8dc3f91c2 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/candidate/edit.html @@ -0,0 +1,164 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/management/add.html b/ruoyi-admin/src/main/resources/templates/system/management/add.html new file mode 100644 index 000000000..260854314 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/management/add.html @@ -0,0 +1,67 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/management/edit.html b/ruoyi-admin/src/main/resources/templates/system/management/edit.html new file mode 100644 index 000000000..530a57758 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/management/edit.html @@ -0,0 +1,68 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/management/management.html b/ruoyi-admin/src/main/resources/templates/system/management/management.html new file mode 100644 index 000000000..59d69927a --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/management/management.html @@ -0,0 +1,134 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/management1/add.html b/ruoyi-admin/src/main/resources/templates/system/management1/add.html new file mode 100644 index 000000000..9c3185f75 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/management1/add.html @@ -0,0 +1,395 @@ + + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ + 代码生成请选择字典属性 +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/management1/edit.html b/ruoyi-admin/src/main/resources/templates/system/management1/edit.html new file mode 100644 index 000000000..ea3634105 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/management1/edit.html @@ -0,0 +1,395 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ + 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+ 代码生成请选择字典属性 +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ + 代码生成请选择字典属性 +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/management1/management1.html b/ruoyi-admin/src/main/resources/templates/system/management1/management1.html new file mode 100644 index 000000000..d5b1131d8 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/management1/management1.html @@ -0,0 +1,479 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/recruitment/add.html b/ruoyi-admin/src/main/resources/templates/system/recruitment/add.html new file mode 100644 index 000000000..47dce0b10 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/recruitment/add.html @@ -0,0 +1,85 @@ + + + + + + +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/recruitment/edit.html b/ruoyi-admin/src/main/resources/templates/system/recruitment/edit.html new file mode 100644 index 000000000..1c4c66583 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/recruitment/edit.html @@ -0,0 +1,86 @@ + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/recruitment/recruitment.html b/ruoyi-admin/src/main/resources/templates/system/recruitment/recruitment.html new file mode 100644 index 000000000..095828e40 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/recruitment/recruitment.html @@ -0,0 +1,158 @@ + + + + + + +
+
+
+
+
+
    +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmCandidate.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmCandidate.java new file mode 100644 index 000000000..18365bc30 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmCandidate.java @@ -0,0 +1,307 @@ +package com.ruoyi.system.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 候选人对象 wk_crm_candidate + * + * @author ruoyi + * @date 2021-04-06 + */ +public class WkCrmCandidate extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** id */ + private Integer id; + + /** 应聘职位 */ + @Excel(name = "应聘职位") + private String position; + + /** 用人部门 */ + @Excel(name = "用人部门") + private String department; + + /** 候选人状态 */ + @Excel(name = "候选人状态") + private String candidateStatus; + + /** 手机号 */ + @Excel(name = "手机号") + private String phone; + + /** 性别 */ + @Excel(name = "性别") + private String gender; + + /** 年龄 */ + @Excel(name = "年龄") + private Long age; + + /** 邮箱 */ + @Excel(name = "邮箱") + private String email; + + /** 招聘负责人 */ + @Excel(name = "招聘负责人") + private String boss; + + /** 工作年限 */ + @Excel(name = "工作年限") + private String workingYears; + + /** 学历 */ + @Excel(name = "学历") + private String education; + + /** 毕业院校 */ + @Excel(name = "毕业院校") + private String graduate; + + /** 最近工作单位 */ + @Excel(name = "最近工作单位") + private String work; + + /** 招聘渠道 */ + @Excel(name = "招聘渠道") + private String recruitment; + + /** 面试时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "面试时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date interview; + + /** 面试轮次 */ + @Excel(name = "面试轮次") + private String degree; + + /** 面试官 */ + @Excel(name = "面试官") + private String interviewer; + + /** 面试方式 */ + @Excel(name = "面试方式") + private String waysOfIntervie; + + /** 其他面试官 */ + @Excel(name = "其他面试官") + private String elseInterviewer; + + /** 创建时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date creation; + + public void setId(Integer id) + { + this.id = id; + } + + public Integer getId() + { + return id; + } + public void setPosition(String position) + { + this.position = position; + } + + public String getPosition() + { + return position; + } + public void setDepartment(String department) + { + this.department = department; + } + + public String getDepartment() + { + return department; + } + public void setCandidateStatus(String candidateStatus) + { + this.candidateStatus = candidateStatus; + } + + public String getCandidateStatus() + { + return candidateStatus; + } + public void setPhone(String phone) + { + this.phone = phone; + } + + public String getPhone() + { + return phone; + } + public void setGender(String gender) + { + this.gender = gender; + } + + public String getGender() + { + return gender; + } + public void setAge(Long age) + { + this.age = age; + } + + public Long getAge() + { + return age; + } + public void setEmail(String email) + { + this.email = email; + } + + public String getEmail() + { + return email; + } + public void setBoss(String boss) + { + this.boss = boss; + } + + public String getBoss() + { + return boss; + } + public void setWorkingYears(String workingYears) + { + this.workingYears = workingYears; + } + + public String getWorkingYears() + { + return workingYears; + } + public void setEducation(String education) + { + this.education = education; + } + + public String getEducation() + { + return education; + } + public void setGraduate(String graduate) + { + this.graduate = graduate; + } + + public String getGraduate() + { + return graduate; + } + public void setWork(String work) + { + this.work = work; + } + + public String getWork() + { + return work; + } + public void setRecruitment(String recruitment) + { + this.recruitment = recruitment; + } + + public String getRecruitment() + { + return recruitment; + } + public void setInterview(Date interview) + { + this.interview = interview; + } + + public Date getInterview() + { + return interview; + } + public void setDegree(String degree) + { + this.degree = degree; + } + + public String getDegree() + { + return degree; + } + public void setInterviewer(String interviewer) + { + this.interviewer = interviewer; + } + + public String getInterviewer() + { + return interviewer; + } + public void setWaysOfIntervie(String waysOfIntervie) + { + this.waysOfIntervie = waysOfIntervie; + } + + public String getWaysOfIntervie() + { + return waysOfIntervie; + } + public void setElseInterviewer(String elseInterviewer) + { + this.elseInterviewer = elseInterviewer; + } + + public String getElseInterviewer() + { + return elseInterviewer; + } + public void setCreation(Date creation) + { + this.creation = creation; + } + + public Date getCreation() + { + return creation; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("position", getPosition()) + .append("department", getDepartment()) + .append("candidateStatus", getCandidateStatus()) + .append("phone", getPhone()) + .append("gender", getGender()) + .append("age", getAge()) + .append("email", getEmail()) + .append("boss", getBoss()) + .append("workingYears", getWorkingYears()) + .append("education", getEducation()) + .append("graduate", getGraduate()) + .append("work", getWork()) + .append("recruitment", getRecruitment()) + .append("interview", getInterview()) + .append("degree", getDegree()) + .append("interviewer", getInterviewer()) + .append("waysOfIntervie", getWaysOfIntervie()) + .append("elseInterviewer", getElseInterviewer()) + .append("creation", getCreation()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmOrganizationManagement.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmOrganizationManagement.java new file mode 100644 index 000000000..e5e258acb --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmOrganizationManagement.java @@ -0,0 +1,135 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 组织管理对象 wk_crm_organization_management + * + * @author ruoyi + * @date 2021-04-06 + */ +public class WkCrmOrganizationManagement extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** */ + private Long id; + + /** 公司 */ + @Excel(name = "公司") + private String company; + + /** 总经理 */ + @Excel(name = "总经理") + private String generalManager; + + /** 行政部 */ + @Excel(name = "行政部") + private String administrationSection; + + /** 人事部 */ + @Excel(name = "人事部") + private String ministryPersonnel; + + /** 财务部 */ + @Excel(name = "财务部") + private String accountingDepartment; + + /** 研发部 */ + @Excel(name = "研发部") + private String researchDevelopment; + + /** 市场部 */ + @Excel(name = "市场部") + private String bazaar; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setCompany(String company) + { + this.company = company; + } + + public String getCompany() + { + return company; + } + public void setGeneralManager(String generalManager) + { + this.generalManager = generalManager; + } + + public String getGeneralManager() + { + return generalManager; + } + public void setAdministrationSection(String administrationSection) + { + this.administrationSection = administrationSection; + } + + public String getAdministrationSection() + { + return administrationSection; + } + public void setMinistryPersonnel(String ministryPersonnel) + { + this.ministryPersonnel = ministryPersonnel; + } + + public String getMinistryPersonnel() + { + return ministryPersonnel; + } + public void setAccountingDepartment(String accountingDepartment) + { + this.accountingDepartment = accountingDepartment; + } + + public String getAccountingDepartment() + { + return accountingDepartment; + } + public void setResearchDevelopment(String researchDevelopment) + { + this.researchDevelopment = researchDevelopment; + } + + public String getResearchDevelopment() + { + return researchDevelopment; + } + public void setBazaar(String bazaar) + { + this.bazaar = bazaar; + } + + public String getBazaar() + { + return bazaar; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("company", getCompany()) + .append("generalManager", getGeneralManager()) + .append("administrationSection", getAdministrationSection()) + .append("ministryPersonnel", getMinistryPersonnel()) + .append("accountingDepartment", getAccountingDepartment()) + .append("researchDevelopment", getResearchDevelopment()) + .append("bazaar", getBazaar()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmRecruitment.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmRecruitment.java new file mode 100644 index 000000000..a8c07c38a --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmRecruitment.java @@ -0,0 +1,177 @@ +package com.ruoyi.system.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 招聘职位对象 wk_crm_recruitment + * + * @author ruoyi + * @date 2021-04-06 + */ +public class WkCrmRecruitment extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** */ + private Long id; + + /** 职位名称 */ + @Excel(name = "职位名称") + private String jobTitle; + + /** 用人部门 */ + @Excel(name = "用人部门") + private String employPersons; + + /** 工作性质 */ + @Excel(name = "工作性质") + private String natureofWork; + + /** 工作城市 */ + @Excel(name = "工作城市") + private String workCity; + + /** 招聘人数 */ + @Excel(name = "招聘人数") + private Long hiring; + + /** 已入职人数 */ + @Excel(name = "已入职人数") + private Long employees; + + /** 招聘进度 */ + @Excel(name = "招聘进度") + private String schedule; + + /** 工作经验 */ + @Excel(name = "工作经验") + private String experience; + + /** 学历要求 */ + @Excel(name = "学历要求") + private String required; + + /** 薪资范围 */ + @Excel(name = "薪资范围") + private String range; + + public void setId(Long id) + { + this.id = id; + } + + public Long getId() + { + return id; + } + public void setJobTitle(String jobTitle) + { + this.jobTitle = jobTitle; + } + + public String getJobTitle() + { + return jobTitle; + } + public void setEmployPersons(String employPersons) + { + this.employPersons = employPersons; + } + + public String getEmployPersons() + { + return employPersons; + } + public void setNatureofWork(String natureofWork) + { + this.natureofWork = natureofWork; + } + + public String getNatureofWork() + { + return natureofWork; + } + public void setWorkCity(String workCity) + { + this.workCity = workCity; + } + + public String getWorkCity() + { + return workCity; + } + public void setHiring(Long hiring) + { + this.hiring = hiring; + } + + public Long getHiring() + { + return hiring; + } + public void setEmployees(Long employees) + { + this.employees = employees; + } + + public Long getEmployees() + { + return employees; + } + public void setSchedule(String schedule) + { + this.schedule = schedule; + } + + public String getSchedule() + { + return schedule; + } + public void setExperience(String experience) + { + this.experience = experience; + } + + public String getExperience() + { + return experience; + } + public void setRequired(String required) + { + this.required = required; + } + + public String getRequired() + { + return required; + } + public void setRange(String range) + { + this.range = range; + } + + public String getRange() + { + return range; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("jobTitle", getJobTitle()) + .append("employPersons", getEmployPersons()) + .append("natureofWork", getNatureofWork()) + .append("workCity", getWorkCity()) + .append("hiring", getHiring()) + .append("employees", getEmployees()) + .append("schedule", getSchedule()) + .append("experience", getExperience()) + .append("required", getRequired()) + .append("range", getRange()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmStaffManagement1.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmStaffManagement1.java new file mode 100644 index 000000000..f2b5909b2 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/WkCrmStaffManagement1.java @@ -0,0 +1,732 @@ +package com.ruoyi.system.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 员工管理对象 wk_crm_staff_management1 + * + * @author ruoyi + * @date 2021-04-06 + */ +public class WkCrmStaffManagement1 extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** id */ + private Long id; + + /** 姓名 */ + @Excel(name = "姓名") + private String name; + + /** 手机号 */ + @Excel(name = "手机号") + private String mobilePhone; + + /** 证件类型 */ + @Excel(name = "证件类型") + private String certificateType; + + /** 证件号码 */ + @Excel(name = "证件号码") + private String certificateId; + + /** 性别 */ + @Excel(name = "性别") + private String gender; + + /** 出生日期 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd") + private Date birthdayDate; + + /** 生日 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd") + private Date birthday; + + /** 年龄 */ + @Excel(name = "年龄") + private Long age; + + /** 是否已婚 */ + @Excel(name = "是否已婚") + private String married; + + /** 是否已孕 */ + @Excel(name = "是否已孕") + private String pregnancy; + + /** 国家地区 */ + @Excel(name = "国家地区") + private String countriesRegions; + + /** 民族 */ + @Excel(name = "民族") + private String nation; + + /** 政治面貌 */ + @Excel(name = "政治面貌") + private String politicsStatus; + + /** 籍贯 */ + @Excel(name = "籍贯") + private String nativePlace; + + /** 户籍所在地 */ + @Excel(name = "户籍所在地") + private String placeOfDomicile; + + /** 健康状态 */ + @Excel(name = "健康状态") + private String health; + + /** 最高学历 */ + @Excel(name = "最高学历") + private String highestEducation; + + /** 入职时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date hireDate; + + /** 试用期 */ + @Excel(name = "试用期") + private Long probationPeriod; + + /** 转正日期 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "转正日期", width = 30, dateFormat = "yyyy-MM-dd") + private Date regularizationDate; + + /** 工号 */ + @Excel(name = "工号") + private Long jobNumber; + + /** 部门 */ + @Excel(name = "部门") + private String department; + + /** 直属上级 */ + @Excel(name = "直属上级") + private String directSupervisor; + + /** 岗位 */ + @Excel(name = "岗位") + private String post; + + /** 职级 */ + @Excel(name = "职级") + private String jobGrade; + + /** 工作地点 */ + @Excel(name = "工作地点") + private String workSite; + + /** 详细工作地点 */ + @Excel(name = "详细工作地点") + private String detailedWorkLocation; + + /** 工作城市 */ + @Excel(name = "工作城市") + private String workCity; + + /** 招聘渠道 */ + @Excel(name = "招聘渠道") + private String recruitmentChannel; + + /** 聘用城市 */ + @Excel(name = "聘用城市") + private String employmentCity; + + /** 司龄开始日期 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "司龄开始日期", width = 30, dateFormat = "yyyy-MM-dd") + private Date commencementSeniorityDate; + + /** 司龄 */ + @Excel(name = "司龄") + private Long workingYears; + + /** 合同类型 */ + @Excel(name = "合同类型") + private String contractType; + + /** 现合同开始时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "现合同开始时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date contractCommencementTime; + + /** 现合同结束时间 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "现合同结束时间", width = 30, dateFormat = "yyyy-MM-dd") + private Date endOfContrac; + + /** 现合同期限 */ + @Excel(name = "现合同期限") + private Long currentContractTerm; + + /** 工资卡卡号 */ + @Excel(name = "工资卡卡号") + private Long wagesCardNumber; + + /** 工资卡开户城市 */ + @Excel(name = "工资卡开户城市") + private String accountOpeningCity; + + /** 银行卡名称 */ + @Excel(name = "银行卡名称") + private String bankCardName; + + /** 工资卡开户行 */ + @Excel(name = "工资卡开户行") + private String payCardBank; + + /** 个人社保账号 */ + @Excel(name = "个人社保账号") + private Long socialSecurityAccount; + + /** 个人公积金账号 */ + @Excel(name = "个人公积金账号") + private Long providentFundAccount; + + /** 操作 */ + @Excel(name = "操作") + private String operation; + + /** 办理转正 */ + @Excel(name = "办理转正") + private String regularization; + + /** 调整部门岗位 */ + @Excel(name = "调整部门岗位") + private String adjustmentOfDepartmentalPosts; + + /** 晋升/降级 */ + @Excel(name = "晋升/降级") + private String promotion; + + /** 参保方案 */ + @Excel(name = "参保方案") + private String ginsengProtectPlan; + + /** 办理离职 */ + @Excel(name = "办理离职") + private String forDeparture; + + /** 钉钉用户id */ + @Excel(name = "钉钉用户id") + private String userId; + + 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 setMobilePhone(String mobilePhone) + { + this.mobilePhone = mobilePhone; + } + + public String getMobilePhone() + { + return mobilePhone; + } + public void setCertificateType(String certificateType) + { + this.certificateType = certificateType; + } + + public String getCertificateType() + { + return certificateType; + } + public void setCertificateId(String certificateId) + { + this.certificateId = certificateId; + } + + public String getCertificateId() + { + return certificateId; + } + public void setGender(String gender) + { + this.gender = gender; + } + + public String getGender() + { + return gender; + } + public void setBirthdayDate(Date birthdayDate) + { + this.birthdayDate = birthdayDate; + } + + public Date getBirthdayDate() + { + return birthdayDate; + } + public void setBirthday(Date birthday) + { + this.birthday = birthday; + } + + public Date getBirthday() + { + return birthday; + } + public void setAge(Long age) + { + this.age = age; + } + + public Long getAge() + { + return age; + } + public void setMarried(String married) + { + this.married = married; + } + + public String getMarried() + { + return married; + } + public void setPregnancy(String pregnancy) + { + this.pregnancy = pregnancy; + } + + public String getPregnancy() + { + return pregnancy; + } + public void setCountriesRegions(String countriesRegions) + { + this.countriesRegions = countriesRegions; + } + + public String getCountriesRegions() + { + return countriesRegions; + } + public void setNation(String nation) + { + this.nation = nation; + } + + public String getNation() + { + return nation; + } + public void setPoliticsStatus(String politicsStatus) + { + this.politicsStatus = politicsStatus; + } + + public String getPoliticsStatus() + { + return politicsStatus; + } + public void setNativePlace(String nativePlace) + { + this.nativePlace = nativePlace; + } + + public String getNativePlace() + { + return nativePlace; + } + public void setPlaceOfDomicile(String placeOfDomicile) + { + this.placeOfDomicile = placeOfDomicile; + } + + public String getPlaceOfDomicile() + { + return placeOfDomicile; + } + public void setHealth(String health) + { + this.health = health; + } + + public String getHealth() + { + return health; + } + public void setHighestEducation(String highestEducation) + { + this.highestEducation = highestEducation; + } + + public String getHighestEducation() + { + return highestEducation; + } + public void setHireDate(Date hireDate) + { + this.hireDate = hireDate; + } + + public Date getHireDate() + { + return hireDate; + } + public void setProbationPeriod(Long probationPeriod) + { + this.probationPeriod = probationPeriod; + } + + public Long getProbationPeriod() + { + return probationPeriod; + } + public void setRegularizationDate(Date regularizationDate) + { + this.regularizationDate = regularizationDate; + } + + public Date getRegularizationDate() + { + return regularizationDate; + } + public void setJobNumber(Long jobNumber) + { + this.jobNumber = jobNumber; + } + + public Long getJobNumber() + { + return jobNumber; + } + public void setDepartment(String department) + { + this.department = department; + } + + public String getDepartment() + { + return department; + } + public void setDirectSupervisor(String directSupervisor) + { + this.directSupervisor = directSupervisor; + } + + public String getDirectSupervisor() + { + return directSupervisor; + } + public void setPost(String post) + { + this.post = post; + } + + public String getPost() + { + return post; + } + public void setJobGrade(String jobGrade) + { + this.jobGrade = jobGrade; + } + + public String getJobGrade() + { + return jobGrade; + } + public void setWorkSite(String workSite) + { + this.workSite = workSite; + } + + public String getWorkSite() + { + return workSite; + } + public void setDetailedWorkLocation(String detailedWorkLocation) + { + this.detailedWorkLocation = detailedWorkLocation; + } + + public String getDetailedWorkLocation() + { + return detailedWorkLocation; + } + public void setWorkCity(String workCity) + { + this.workCity = workCity; + } + + public String getWorkCity() + { + return workCity; + } + public void setRecruitmentChannel(String recruitmentChannel) + { + this.recruitmentChannel = recruitmentChannel; + } + + public String getRecruitmentChannel() + { + return recruitmentChannel; + } + public void setEmploymentCity(String employmentCity) + { + this.employmentCity = employmentCity; + } + + public String getEmploymentCity() + { + return employmentCity; + } + public void setCommencementSeniorityDate(Date commencementSeniorityDate) + { + this.commencementSeniorityDate = commencementSeniorityDate; + } + + public Date getCommencementSeniorityDate() + { + return commencementSeniorityDate; + } + public void setWorkingYears(Long workingYears) + { + this.workingYears = workingYears; + } + + public Long getWorkingYears() + { + return workingYears; + } + public void setContractType(String contractType) + { + this.contractType = contractType; + } + + public String getContractType() + { + return contractType; + } + public void setContractCommencementTime(Date contractCommencementTime) + { + this.contractCommencementTime = contractCommencementTime; + } + + public Date getContractCommencementTime() + { + return contractCommencementTime; + } + public void setEndOfContrac(Date endOfContrac) + { + this.endOfContrac = endOfContrac; + } + + public Date getEndOfContrac() + { + return endOfContrac; + } + public void setCurrentContractTerm(Long currentContractTerm) + { + this.currentContractTerm = currentContractTerm; + } + + public Long getCurrentContractTerm() + { + return currentContractTerm; + } + public void setWagesCardNumber(Long wagesCardNumber) + { + this.wagesCardNumber = wagesCardNumber; + } + + public Long getWagesCardNumber() + { + return wagesCardNumber; + } + public void setAccountOpeningCity(String accountOpeningCity) + { + this.accountOpeningCity = accountOpeningCity; + } + + public String getAccountOpeningCity() + { + return accountOpeningCity; + } + public void setBankCardName(String bankCardName) + { + this.bankCardName = bankCardName; + } + + public String getBankCardName() + { + return bankCardName; + } + public void setPayCardBank(String payCardBank) + { + this.payCardBank = payCardBank; + } + + public String getPayCardBank() + { + return payCardBank; + } + public void setSocialSecurityAccount(Long socialSecurityAccount) + { + this.socialSecurityAccount = socialSecurityAccount; + } + + public Long getSocialSecurityAccount() + { + return socialSecurityAccount; + } + public void setProvidentFundAccount(Long providentFundAccount) + { + this.providentFundAccount = providentFundAccount; + } + + public Long getProvidentFundAccount() + { + return providentFundAccount; + } + public void setOperation(String operation) + { + this.operation = operation; + } + + public String getOperation() + { + return operation; + } + public void setRegularization(String regularization) + { + this.regularization = regularization; + } + + public String getRegularization() + { + return regularization; + } + public void setAdjustmentOfDepartmentalPosts(String adjustmentOfDepartmentalPosts) + { + this.adjustmentOfDepartmentalPosts = adjustmentOfDepartmentalPosts; + } + + public String getAdjustmentOfDepartmentalPosts() + { + return adjustmentOfDepartmentalPosts; + } + public void setPromotion(String promotion) + { + this.promotion = promotion; + } + + public String getPromotion() + { + return promotion; + } + public void setGinsengProtectPlan(String ginsengProtectPlan) + { + this.ginsengProtectPlan = ginsengProtectPlan; + } + + public String getGinsengProtectPlan() + { + return ginsengProtectPlan; + } + public void setForDeparture(String forDeparture) + { + this.forDeparture = forDeparture; + } + + public String getForDeparture() + { + return forDeparture; + } + public void setUserId(String userId) + { + this.userId = userId; + } + + public String getUserId() + { + return userId; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("name", getName()) + .append("mobilePhone", getMobilePhone()) + .append("certificateType", getCertificateType()) + .append("certificateId", getCertificateId()) + .append("gender", getGender()) + .append("birthdayDate", getBirthdayDate()) + .append("birthday", getBirthday()) + .append("age", getAge()) + .append("married", getMarried()) + .append("pregnancy", getPregnancy()) + .append("countriesRegions", getCountriesRegions()) + .append("nation", getNation()) + .append("politicsStatus", getPoliticsStatus()) + .append("nativePlace", getNativePlace()) + .append("placeOfDomicile", getPlaceOfDomicile()) + .append("health", getHealth()) + .append("highestEducation", getHighestEducation()) + .append("hireDate", getHireDate()) + .append("probationPeriod", getProbationPeriod()) + .append("regularizationDate", getRegularizationDate()) + .append("jobNumber", getJobNumber()) + .append("department", getDepartment()) + .append("directSupervisor", getDirectSupervisor()) + .append("post", getPost()) + .append("jobGrade", getJobGrade()) + .append("workSite", getWorkSite()) + .append("detailedWorkLocation", getDetailedWorkLocation()) + .append("workCity", getWorkCity()) + .append("recruitmentChannel", getRecruitmentChannel()) + .append("employmentCity", getEmploymentCity()) + .append("commencementSeniorityDate", getCommencementSeniorityDate()) + .append("workingYears", getWorkingYears()) + .append("contractType", getContractType()) + .append("contractCommencementTime", getContractCommencementTime()) + .append("endOfContrac", getEndOfContrac()) + .append("currentContractTerm", getCurrentContractTerm()) + .append("wagesCardNumber", getWagesCardNumber()) + .append("accountOpeningCity", getAccountOpeningCity()) + .append("bankCardName", getBankCardName()) + .append("payCardBank", getPayCardBank()) + .append("socialSecurityAccount", getSocialSecurityAccount()) + .append("providentFundAccount", getProvidentFundAccount()) + .append("operation", getOperation()) + .append("regularization", getRegularization()) + .append("adjustmentOfDepartmentalPosts", getAdjustmentOfDepartmentalPosts()) + .append("promotion", getPromotion()) + .append("ginsengProtectPlan", getGinsengProtectPlan()) + .append("forDeparture", getForDeparture()) + .append("userId", getUserId()) + .toString(); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmCandidateMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmCandidateMapper.java new file mode 100644 index 000000000..ba221cba4 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmCandidateMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.mapper; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmCandidate; + +/** + * 候选人Mapper接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface WkCrmCandidateMapper +{ + /** + * 查询候选人 + * + * @param id 候选人ID + * @return 候选人 + */ + public WkCrmCandidate selectWkCrmCandidateById(Integer id); + + /** + * 查询候选人列表 + * + * @param wkCrmCandidate 候选人 + * @return 候选人集合 + */ + public List selectWkCrmCandidateList(WkCrmCandidate wkCrmCandidate); + + /** + * 新增候选人 + * + * @param wkCrmCandidate 候选人 + * @return 结果 + */ + public int insertWkCrmCandidate(WkCrmCandidate wkCrmCandidate); + + /** + * 修改候选人 + * + * @param wkCrmCandidate 候选人 + * @return 结果 + */ + public int updateWkCrmCandidate(WkCrmCandidate wkCrmCandidate); + + /** + * 删除候选人 + * + * @param id 候选人ID + * @return 结果 + */ + public int deleteWkCrmCandidateById(Integer id); + + /** + * 批量删除候选人 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmCandidateByIds(String[] ids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmOrganizationManagementMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmOrganizationManagementMapper.java new file mode 100644 index 000000000..88b00af6e --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmOrganizationManagementMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.mapper; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmOrganizationManagement; + +/** + * 组织管理Mapper接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface WkCrmOrganizationManagementMapper +{ + /** + * 查询组织管理 + * + * @param id 组织管理ID + * @return 组织管理 + */ + public WkCrmOrganizationManagement selectWkCrmOrganizationManagementById(Long id); + + /** + * 查询组织管理列表 + * + * @param wkCrmOrganizationManagement 组织管理 + * @return 组织管理集合 + */ + public List selectWkCrmOrganizationManagementList(WkCrmOrganizationManagement wkCrmOrganizationManagement); + + /** + * 新增组织管理 + * + * @param wkCrmOrganizationManagement 组织管理 + * @return 结果 + */ + public int insertWkCrmOrganizationManagement(WkCrmOrganizationManagement wkCrmOrganizationManagement); + + /** + * 修改组织管理 + * + * @param wkCrmOrganizationManagement 组织管理 + * @return 结果 + */ + public int updateWkCrmOrganizationManagement(WkCrmOrganizationManagement wkCrmOrganizationManagement); + + /** + * 删除组织管理 + * + * @param id 组织管理ID + * @return 结果 + */ + public int deleteWkCrmOrganizationManagementById(Long id); + + /** + * 批量删除组织管理 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmOrganizationManagementByIds(String[] ids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmRecruitmentMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmRecruitmentMapper.java new file mode 100644 index 000000000..bd64d27ce --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmRecruitmentMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.mapper; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmRecruitment; + +/** + * 招聘职位Mapper接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface WkCrmRecruitmentMapper +{ + /** + * 查询招聘职位 + * + * @param id 招聘职位ID + * @return 招聘职位 + */ + public WkCrmRecruitment selectWkCrmRecruitmentById(Long id); + + /** + * 查询招聘职位列表 + * + * @param wkCrmRecruitment 招聘职位 + * @return 招聘职位集合 + */ + public List selectWkCrmRecruitmentList(WkCrmRecruitment wkCrmRecruitment); + + /** + * 新增招聘职位 + * + * @param wkCrmRecruitment 招聘职位 + * @return 结果 + */ + public int insertWkCrmRecruitment(WkCrmRecruitment wkCrmRecruitment); + + /** + * 修改招聘职位 + * + * @param wkCrmRecruitment 招聘职位 + * @return 结果 + */ + public int updateWkCrmRecruitment(WkCrmRecruitment wkCrmRecruitment); + + /** + * 删除招聘职位 + * + * @param id 招聘职位ID + * @return 结果 + */ + public int deleteWkCrmRecruitmentById(Long id); + + /** + * 批量删除招聘职位 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmRecruitmentByIds(String[] ids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmStaffManagement1Mapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmStaffManagement1Mapper.java new file mode 100644 index 000000000..65d00689a --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/WkCrmStaffManagement1Mapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.mapper; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmStaffManagement1; + +/** + * 员工管理Mapper接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface WkCrmStaffManagement1Mapper +{ + /** + * 查询员工管理 + * + * @param id 员工管理ID + * @return 员工管理 + */ + public WkCrmStaffManagement1 selectWkCrmStaffManagement1ById(Long id); + + /** + * 查询员工管理列表 + * + * @param wkCrmStaffManagement1 员工管理 + * @return 员工管理集合 + */ + public List selectWkCrmStaffManagement1List(WkCrmStaffManagement1 wkCrmStaffManagement1); + + /** + * 新增员工管理 + * + * @param wkCrmStaffManagement1 员工管理 + * @return 结果 + */ + public int insertWkCrmStaffManagement1(WkCrmStaffManagement1 wkCrmStaffManagement1); + + /** + * 修改员工管理 + * + * @param wkCrmStaffManagement1 员工管理 + * @return 结果 + */ + public int updateWkCrmStaffManagement1(WkCrmStaffManagement1 wkCrmStaffManagement1); + + /** + * 删除员工管理 + * + * @param id 员工管理ID + * @return 结果 + */ + public int deleteWkCrmStaffManagement1ById(Long id); + + /** + * 批量删除员工管理 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmStaffManagement1ByIds(String[] ids); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmCandidateService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmCandidateService.java new file mode 100644 index 000000000..7dff94a64 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmCandidateService.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.service; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmCandidate; + +/** + * 候选人Service接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface IWkCrmCandidateService +{ + /** + * 查询候选人 + * + * @param id 候选人ID + * @return 候选人 + */ + public WkCrmCandidate selectWkCrmCandidateById(Integer id); + + /** + * 查询候选人列表 + * + * @param wkCrmCandidate 候选人 + * @return 候选人集合 + */ + public List selectWkCrmCandidateList(WkCrmCandidate wkCrmCandidate); + + /** + * 新增候选人 + * + * @param wkCrmCandidate 候选人 + * @return 结果 + */ + public int insertWkCrmCandidate(WkCrmCandidate wkCrmCandidate); + + /** + * 修改候选人 + * + * @param wkCrmCandidate 候选人 + * @return 结果 + */ + public int updateWkCrmCandidate(WkCrmCandidate wkCrmCandidate); + + /** + * 批量删除候选人 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmCandidateByIds(String ids); + + /** + * 删除候选人信息 + * + * @param id 候选人ID + * @return 结果 + */ + public int deleteWkCrmCandidateById(Integer id); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmOrganizationManagementService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmOrganizationManagementService.java new file mode 100644 index 000000000..318b44873 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmOrganizationManagementService.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.service; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmOrganizationManagement; + +/** + * 组织管理Service接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface IWkCrmOrganizationManagementService +{ + /** + * 查询组织管理 + * + * @param id 组织管理ID + * @return 组织管理 + */ + public WkCrmOrganizationManagement selectWkCrmOrganizationManagementById(Long id); + + /** + * 查询组织管理列表 + * + * @param wkCrmOrganizationManagement 组织管理 + * @return 组织管理集合 + */ + public List selectWkCrmOrganizationManagementList(WkCrmOrganizationManagement wkCrmOrganizationManagement); + + /** + * 新增组织管理 + * + * @param wkCrmOrganizationManagement 组织管理 + * @return 结果 + */ + public int insertWkCrmOrganizationManagement(WkCrmOrganizationManagement wkCrmOrganizationManagement); + + /** + * 修改组织管理 + * + * @param wkCrmOrganizationManagement 组织管理 + * @return 结果 + */ + public int updateWkCrmOrganizationManagement(WkCrmOrganizationManagement wkCrmOrganizationManagement); + + /** + * 批量删除组织管理 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmOrganizationManagementByIds(String ids); + + /** + * 删除组织管理信息 + * + * @param id 组织管理ID + * @return 结果 + */ + public int deleteWkCrmOrganizationManagementById(Long id); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmRecruitmentService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmRecruitmentService.java new file mode 100644 index 000000000..14aea981f --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmRecruitmentService.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.service; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmRecruitment; + +/** + * 招聘职位Service接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface IWkCrmRecruitmentService +{ + /** + * 查询招聘职位 + * + * @param id 招聘职位ID + * @return 招聘职位 + */ + public WkCrmRecruitment selectWkCrmRecruitmentById(Long id); + + /** + * 查询招聘职位列表 + * + * @param wkCrmRecruitment 招聘职位 + * @return 招聘职位集合 + */ + public List selectWkCrmRecruitmentList(WkCrmRecruitment wkCrmRecruitment); + + /** + * 新增招聘职位 + * + * @param wkCrmRecruitment 招聘职位 + * @return 结果 + */ + public int insertWkCrmRecruitment(WkCrmRecruitment wkCrmRecruitment); + + /** + * 修改招聘职位 + * + * @param wkCrmRecruitment 招聘职位 + * @return 结果 + */ + public int updateWkCrmRecruitment(WkCrmRecruitment wkCrmRecruitment); + + /** + * 批量删除招聘职位 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmRecruitmentByIds(String ids); + + /** + * 删除招聘职位信息 + * + * @param id 招聘职位ID + * @return 结果 + */ + public int deleteWkCrmRecruitmentById(Long id); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmStaffManagement1Service.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmStaffManagement1Service.java new file mode 100644 index 000000000..6b58f136e --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IWkCrmStaffManagement1Service.java @@ -0,0 +1,61 @@ +package com.ruoyi.system.service; + +import java.util.List; +import com.ruoyi.system.domain.WkCrmStaffManagement1; + +/** + * 员工管理Service接口 + * + * @author ruoyi + * @date 2021-04-06 + */ +public interface IWkCrmStaffManagement1Service +{ + /** + * 查询员工管理 + * + * @param id 员工管理ID + * @return 员工管理 + */ + public WkCrmStaffManagement1 selectWkCrmStaffManagement1ById(Long id); + + /** + * 查询员工管理列表 + * + * @param wkCrmStaffManagement1 员工管理 + * @return 员工管理集合 + */ + public List selectWkCrmStaffManagement1List(WkCrmStaffManagement1 wkCrmStaffManagement1); + + /** + * 新增员工管理 + * + * @param wkCrmStaffManagement1 员工管理 + * @return 结果 + */ + public int insertWkCrmStaffManagement1(WkCrmStaffManagement1 wkCrmStaffManagement1); + + /** + * 修改员工管理 + * + * @param wkCrmStaffManagement1 员工管理 + * @return 结果 + */ + public int updateWkCrmStaffManagement1(WkCrmStaffManagement1 wkCrmStaffManagement1); + + /** + * 批量删除员工管理 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + public int deleteWkCrmStaffManagement1ByIds(String ids); + + /** + * 删除员工管理信息 + * + * @param id 员工管理ID + * @return 结果 + */ + public int deleteWkCrmStaffManagement1ById(Long id); +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmCandidateServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmCandidateServiceImpl.java new file mode 100644 index 000000000..8c5839f45 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmCandidateServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.WkCrmCandidateMapper; +import com.ruoyi.system.domain.WkCrmCandidate; +import com.ruoyi.system.service.IWkCrmCandidateService; +import com.ruoyi.common.core.text.Convert; + +/** + * 候选人Service业务层处理 + * + * @author ruoyi + * @date 2021-04-06 + */ +@Service +public class WkCrmCandidateServiceImpl implements IWkCrmCandidateService +{ + @Autowired + private WkCrmCandidateMapper wkCrmCandidateMapper; + + /** + * 查询候选人 + * + * @param id 候选人ID + * @return 候选人 + */ + @Override + public WkCrmCandidate selectWkCrmCandidateById(Integer id) + { + return wkCrmCandidateMapper.selectWkCrmCandidateById(id); + } + + /** + * 查询候选人列表 + * + * @param wkCrmCandidate 候选人 + * @return 候选人 + */ + @Override + public List selectWkCrmCandidateList(WkCrmCandidate wkCrmCandidate) + { + return wkCrmCandidateMapper.selectWkCrmCandidateList(wkCrmCandidate); + } + + /** + * 新增候选人 + * + * @param wkCrmCandidate 候选人 + * @return 结果 + */ + @Override + public int insertWkCrmCandidate(WkCrmCandidate wkCrmCandidate) + { + return wkCrmCandidateMapper.insertWkCrmCandidate(wkCrmCandidate); + } + + /** + * 修改候选人 + * + * @param wkCrmCandidate 候选人 + * @return 结果 + */ + @Override + public int updateWkCrmCandidate(WkCrmCandidate wkCrmCandidate) + { + return wkCrmCandidateMapper.updateWkCrmCandidate(wkCrmCandidate); + } + + /** + * 删除候选人对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteWkCrmCandidateByIds(String ids) + { + return wkCrmCandidateMapper.deleteWkCrmCandidateByIds(Convert.toStrArray(ids)); + } + + /** + * 删除候选人信息 + * + * @param id 候选人ID + * @return 结果 + */ + @Override + public int deleteWkCrmCandidateById(Integer id) + { + return wkCrmCandidateMapper.deleteWkCrmCandidateById(id); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmOrganizationManagementServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmOrganizationManagementServiceImpl.java new file mode 100644 index 000000000..2513337b7 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmOrganizationManagementServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.WkCrmOrganizationManagementMapper; +import com.ruoyi.system.domain.WkCrmOrganizationManagement; +import com.ruoyi.system.service.IWkCrmOrganizationManagementService; +import com.ruoyi.common.core.text.Convert; + +/** + * 组织管理Service业务层处理 + * + * @author ruoyi + * @date 2021-04-06 + */ +@Service +public class WkCrmOrganizationManagementServiceImpl implements IWkCrmOrganizationManagementService +{ + @Autowired + private WkCrmOrganizationManagementMapper wkCrmOrganizationManagementMapper; + + /** + * 查询组织管理 + * + * @param id 组织管理ID + * @return 组织管理 + */ + @Override + public WkCrmOrganizationManagement selectWkCrmOrganizationManagementById(Long id) + { + return wkCrmOrganizationManagementMapper.selectWkCrmOrganizationManagementById(id); + } + + /** + * 查询组织管理列表 + * + * @param wkCrmOrganizationManagement 组织管理 + * @return 组织管理 + */ + @Override + public List selectWkCrmOrganizationManagementList(WkCrmOrganizationManagement wkCrmOrganizationManagement) + { + return wkCrmOrganizationManagementMapper.selectWkCrmOrganizationManagementList(wkCrmOrganizationManagement); + } + + /** + * 新增组织管理 + * + * @param wkCrmOrganizationManagement 组织管理 + * @return 结果 + */ + @Override + public int insertWkCrmOrganizationManagement(WkCrmOrganizationManagement wkCrmOrganizationManagement) + { + return wkCrmOrganizationManagementMapper.insertWkCrmOrganizationManagement(wkCrmOrganizationManagement); + } + + /** + * 修改组织管理 + * + * @param wkCrmOrganizationManagement 组织管理 + * @return 结果 + */ + @Override + public int updateWkCrmOrganizationManagement(WkCrmOrganizationManagement wkCrmOrganizationManagement) + { + return wkCrmOrganizationManagementMapper.updateWkCrmOrganizationManagement(wkCrmOrganizationManagement); + } + + /** + * 删除组织管理对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteWkCrmOrganizationManagementByIds(String ids) + { + return wkCrmOrganizationManagementMapper.deleteWkCrmOrganizationManagementByIds(Convert.toStrArray(ids)); + } + + /** + * 删除组织管理信息 + * + * @param id 组织管理ID + * @return 结果 + */ + @Override + public int deleteWkCrmOrganizationManagementById(Long id) + { + return wkCrmOrganizationManagementMapper.deleteWkCrmOrganizationManagementById(id); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmRecruitmentServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmRecruitmentServiceImpl.java new file mode 100644 index 000000000..142e5889f --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmRecruitmentServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.WkCrmRecruitmentMapper; +import com.ruoyi.system.domain.WkCrmRecruitment; +import com.ruoyi.system.service.IWkCrmRecruitmentService; +import com.ruoyi.common.core.text.Convert; + +/** + * 招聘职位Service业务层处理 + * + * @author ruoyi + * @date 2021-04-06 + */ +@Service +public class WkCrmRecruitmentServiceImpl implements IWkCrmRecruitmentService +{ + @Autowired + private WkCrmRecruitmentMapper wkCrmRecruitmentMapper; + + /** + * 查询招聘职位 + * + * @param id 招聘职位ID + * @return 招聘职位 + */ + @Override + public WkCrmRecruitment selectWkCrmRecruitmentById(Long id) + { + return wkCrmRecruitmentMapper.selectWkCrmRecruitmentById(id); + } + + /** + * 查询招聘职位列表 + * + * @param wkCrmRecruitment 招聘职位 + * @return 招聘职位 + */ + @Override + public List selectWkCrmRecruitmentList(WkCrmRecruitment wkCrmRecruitment) + { + return wkCrmRecruitmentMapper.selectWkCrmRecruitmentList(wkCrmRecruitment); + } + + /** + * 新增招聘职位 + * + * @param wkCrmRecruitment 招聘职位 + * @return 结果 + */ + @Override + public int insertWkCrmRecruitment(WkCrmRecruitment wkCrmRecruitment) + { + return wkCrmRecruitmentMapper.insertWkCrmRecruitment(wkCrmRecruitment); + } + + /** + * 修改招聘职位 + * + * @param wkCrmRecruitment 招聘职位 + * @return 结果 + */ + @Override + public int updateWkCrmRecruitment(WkCrmRecruitment wkCrmRecruitment) + { + return wkCrmRecruitmentMapper.updateWkCrmRecruitment(wkCrmRecruitment); + } + + /** + * 删除招聘职位对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteWkCrmRecruitmentByIds(String ids) + { + return wkCrmRecruitmentMapper.deleteWkCrmRecruitmentByIds(Convert.toStrArray(ids)); + } + + /** + * 删除招聘职位信息 + * + * @param id 招聘职位ID + * @return 结果 + */ + @Override + public int deleteWkCrmRecruitmentById(Long id) + { + return wkCrmRecruitmentMapper.deleteWkCrmRecruitmentById(id); + } +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmStaffManagement1ServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmStaffManagement1ServiceImpl.java new file mode 100644 index 000000000..cf37e8573 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/WkCrmStaffManagement1ServiceImpl.java @@ -0,0 +1,94 @@ +package com.ruoyi.system.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.system.mapper.WkCrmStaffManagement1Mapper; +import com.ruoyi.system.domain.WkCrmStaffManagement1; +import com.ruoyi.system.service.IWkCrmStaffManagement1Service; +import com.ruoyi.common.core.text.Convert; + +/** + * 员工管理Service业务层处理 + * + * @author ruoyi + * @date 2021-04-06 + */ +@Service +public class WkCrmStaffManagement1ServiceImpl implements IWkCrmStaffManagement1Service +{ + @Autowired + private WkCrmStaffManagement1Mapper wkCrmStaffManagement1Mapper; + + /** + * 查询员工管理 + * + * @param id 员工管理ID + * @return 员工管理 + */ + @Override + public WkCrmStaffManagement1 selectWkCrmStaffManagement1ById(Long id) + { + return wkCrmStaffManagement1Mapper.selectWkCrmStaffManagement1ById(id); + } + + /** + * 查询员工管理列表 + * + * @param wkCrmStaffManagement1 员工管理 + * @return 员工管理 + */ + @Override + public List selectWkCrmStaffManagement1List(WkCrmStaffManagement1 wkCrmStaffManagement1) + { + return wkCrmStaffManagement1Mapper.selectWkCrmStaffManagement1List(wkCrmStaffManagement1); + } + + /** + * 新增员工管理 + * + * @param wkCrmStaffManagement1 员工管理 + * @return 结果 + */ + @Override + public int insertWkCrmStaffManagement1(WkCrmStaffManagement1 wkCrmStaffManagement1) + { + return wkCrmStaffManagement1Mapper.insertWkCrmStaffManagement1(wkCrmStaffManagement1); + } + + /** + * 修改员工管理 + * + * @param wkCrmStaffManagement1 员工管理 + * @return 结果 + */ + @Override + public int updateWkCrmStaffManagement1(WkCrmStaffManagement1 wkCrmStaffManagement1) + { + return wkCrmStaffManagement1Mapper.updateWkCrmStaffManagement1(wkCrmStaffManagement1); + } + + /** + * 删除员工管理对象 + * + * @param ids 需要删除的数据ID + * @return 结果 + */ + @Override + public int deleteWkCrmStaffManagement1ByIds(String ids) + { + return wkCrmStaffManagement1Mapper.deleteWkCrmStaffManagement1ByIds(Convert.toStrArray(ids)); + } + + /** + * 删除员工管理信息 + * + * @param id 员工管理ID + * @return 结果 + */ + @Override + public int deleteWkCrmStaffManagement1ById(Long id) + { + return wkCrmStaffManagement1Mapper.deleteWkCrmStaffManagement1ById(id); + } +} diff --git a/ruoyi-system/src/main/resources/mapper/system/WkCrmCandidateMapper.xml b/ruoyi-system/src/main/resources/mapper/system/WkCrmCandidateMapper.xml new file mode 100644 index 000000000..5bc280609 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/WkCrmCandidateMapper.xml @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, position, department, candidate_status, phone, gender, age, email, boss, working_years, education, graduate, work, recruitment, interview, degree, interviewer, ways_of_intervie, else_interviewer, creation from wk_crm_candidate + + + + + + + + insert into wk_crm_candidate + + position, + department, + candidate_status, + phone, + gender, + age, + email, + boss, + working_years, + education, + graduate, + work, + recruitment, + interview, + degree, + interviewer, + ways_of_intervie, + else_interviewer, + creation, + + + #{position}, + #{department}, + #{candidateStatus}, + #{phone}, + #{gender}, + #{age}, + #{email}, + #{boss}, + #{workingYears}, + #{education}, + #{graduate}, + #{work}, + #{recruitment}, + #{interview}, + #{degree}, + #{interviewer}, + #{waysOfIntervie}, + #{elseInterviewer}, + #{creation}, + + + + + update wk_crm_candidate + + position = #{position}, + department = #{department}, + candidate_status = #{candidateStatus}, + phone = #{phone}, + gender = #{gender}, + age = #{age}, + email = #{email}, + boss = #{boss}, + working_years = #{workingYears}, + education = #{education}, + graduate = #{graduate}, + work = #{work}, + recruitment = #{recruitment}, + interview = #{interview}, + degree = #{degree}, + interviewer = #{interviewer}, + ways_of_intervie = #{waysOfIntervie}, + else_interviewer = #{elseInterviewer}, + creation = #{creation}, + + where id = #{id} + + + + delete from wk_crm_candidate where id = #{id} + + + + delete from wk_crm_candidate where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/WkCrmOrganizationManagementMapper.xml b/ruoyi-system/src/main/resources/mapper/system/WkCrmOrganizationManagementMapper.xml new file mode 100644 index 000000000..4f29ba195 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/WkCrmOrganizationManagementMapper.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + select id, company, general_manager, administration_section, ministry_personnel, accounting_department, research_development, bazaar from wk_crm_organization_management + + + + + + + + insert into wk_crm_organization_management + + company, + general_manager, + administration_section, + ministry_personnel, + accounting_department, + research_development, + bazaar, + + + #{company}, + #{generalManager}, + #{administrationSection}, + #{ministryPersonnel}, + #{accountingDepartment}, + #{researchDevelopment}, + #{bazaar}, + + + + + update wk_crm_organization_management + + company = #{company}, + general_manager = #{generalManager}, + administration_section = #{administrationSection}, + ministry_personnel = #{ministryPersonnel}, + accounting_department = #{accountingDepartment}, + research_development = #{researchDevelopment}, + bazaar = #{bazaar}, + + where id = #{id} + + + + delete from wk_crm_organization_management where id = #{id} + + + + delete from wk_crm_organization_management where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/WkCrmRecruitmentMapper.xml b/ruoyi-system/src/main/resources/mapper/system/WkCrmRecruitmentMapper.xml new file mode 100644 index 000000000..d92b66886 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/WkCrmRecruitmentMapper.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + select id, job_title, employ_persons, natureof_work, work_city, hiring, employees, schedule, experience, required, range from wk_crm_recruitment + + + + + + + + insert into wk_crm_recruitment + + job_title, + employ_persons, + natureof_work, + work_city, + hiring, + employees, + schedule, + experience, + required, + range, + + + #{jobTitle}, + #{employPersons}, + #{natureofWork}, + #{workCity}, + #{hiring}, + #{employees}, + #{schedule}, + #{experience}, + #{required}, + #{range}, + + + + + update wk_crm_recruitment + + job_title = #{jobTitle}, + employ_persons = #{employPersons}, + natureof_work = #{natureofWork}, + work_city = #{workCity}, + hiring = #{hiring}, + employees = #{employees}, + schedule = #{schedule}, + experience = #{experience}, + required = #{required}, + range = #{range}, + + where id = #{id} + + + + delete from wk_crm_recruitment where id = #{id} + + + + delete from wk_crm_recruitment where id in + + #{id} + + + + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/WkCrmStaffManagement1Mapper.xml b/ruoyi-system/src/main/resources/mapper/system/WkCrmStaffManagement1Mapper.xml new file mode 100644 index 000000000..f21815e3e --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/WkCrmStaffManagement1Mapper.xml @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id, name, mobile_phone, certificate_type, certificate_id, gender, birthday_date, birthday, age, married, pregnancy, countries_regions, nation, politics_status, native_place, place_of_domicile, health, highest_education, hire_date, probation_period, Regularization_date, job_number, department, direct_supervisor, post, job_grade, work_site, detailed_work_location, work_city, recruitment_channel, employment_city, commencement_seniority_date, working_years, contract_type, contract_commencement_time, end_of_contrac, current_contract_term, wages_card_number, account_opening_city, bank_card_name, pay_card_bank, social_security_account, provident_fund_account, operation, regularization, adjustment_of_departmental_posts, promotion, ginseng_protect_plan, for_departure, userId from wk_crm_staff_management1 + + + + + + + + insert into wk_crm_staff_management1 + + name, + mobile_phone, + certificate_type, + certificate_id, + gender, + birthday_date, + birthday, + age, + married, + pregnancy, + countries_regions, + nation, + politics_status, + native_place, + place_of_domicile, + health, + highest_education, + hire_date, + probation_period, + Regularization_date, + job_number, + department, + direct_supervisor, + post, + job_grade, + work_site, + detailed_work_location, + work_city, + recruitment_channel, + employment_city, + commencement_seniority_date, + working_years, + contract_type, + contract_commencement_time, + end_of_contrac, + current_contract_term, + wages_card_number, + account_opening_city, + bank_card_name, + pay_card_bank, + social_security_account, + provident_fund_account, + operation, + regularization, + adjustment_of_departmental_posts, + promotion, + ginseng_protect_plan, + for_departure, + userId, + + + #{name}, + #{mobilePhone}, + #{certificateType}, + #{certificateId}, + #{gender}, + #{birthdayDate}, + #{birthday}, + #{age}, + #{married}, + #{pregnancy}, + #{countriesRegions}, + #{nation}, + #{politicsStatus}, + #{nativePlace}, + #{placeOfDomicile}, + #{health}, + #{highestEducation}, + #{hireDate}, + #{probationPeriod}, + #{regularizationDate}, + #{jobNumber}, + #{department}, + #{directSupervisor}, + #{post}, + #{jobGrade}, + #{workSite}, + #{detailedWorkLocation}, + #{workCity}, + #{recruitmentChannel}, + #{employmentCity}, + #{commencementSeniorityDate}, + #{workingYears}, + #{contractType}, + #{contractCommencementTime}, + #{endOfContrac}, + #{currentContractTerm}, + #{wagesCardNumber}, + #{accountOpeningCity}, + #{bankCardName}, + #{payCardBank}, + #{socialSecurityAccount}, + #{providentFundAccount}, + #{operation}, + #{regularization}, + #{adjustmentOfDepartmentalPosts}, + #{promotion}, + #{ginsengProtectPlan}, + #{forDeparture}, + #{userId}, + + + + + update wk_crm_staff_management1 + + name = #{name}, + mobile_phone = #{mobilePhone}, + certificate_type = #{certificateType}, + certificate_id = #{certificateId}, + gender = #{gender}, + birthday_date = #{birthdayDate}, + birthday = #{birthday}, + age = #{age}, + married = #{married}, + pregnancy = #{pregnancy}, + countries_regions = #{countriesRegions}, + nation = #{nation}, + politics_status = #{politicsStatus}, + native_place = #{nativePlace}, + place_of_domicile = #{placeOfDomicile}, + health = #{health}, + highest_education = #{highestEducation}, + hire_date = #{hireDate}, + probation_period = #{probationPeriod}, + Regularization_date = #{regularizationDate}, + job_number = #{jobNumber}, + department = #{department}, + direct_supervisor = #{directSupervisor}, + post = #{post}, + job_grade = #{jobGrade}, + work_site = #{workSite}, + detailed_work_location = #{detailedWorkLocation}, + work_city = #{workCity}, + recruitment_channel = #{recruitmentChannel}, + employment_city = #{employmentCity}, + commencement_seniority_date = #{commencementSeniorityDate}, + working_years = #{workingYears}, + contract_type = #{contractType}, + contract_commencement_time = #{contractCommencementTime}, + end_of_contrac = #{endOfContrac}, + current_contract_term = #{currentContractTerm}, + wages_card_number = #{wagesCardNumber}, + account_opening_city = #{accountOpeningCity}, + bank_card_name = #{bankCardName}, + pay_card_bank = #{payCardBank}, + social_security_account = #{socialSecurityAccount}, + provident_fund_account = #{providentFundAccount}, + operation = #{operation}, + regularization = #{regularization}, + adjustment_of_departmental_posts = #{adjustmentOfDepartmentalPosts}, + promotion = #{promotion}, + ginseng_protect_plan = #{ginsengProtectPlan}, + for_departure = #{forDeparture}, + userId = #{userId}, + + where id = #{id} + + + + delete from wk_crm_staff_management1 where id = #{id} + + + + delete from wk_crm_staff_management1 where id in + + #{id} + + + + \ No newline at end of file