ly 2 лет назад
Родитель
Сommit
b6bcc1af62
47 измененных файлов с 6693 добавлено и 12 удалено
  1. 103 0
      master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnFirstplanController.java
  2. 17 1
      master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnNewController.java
  3. 103 0
      master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnSchoolplanController.java
  4. 103 0
      master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnSchoolplanTmplController.java
  5. 103 0
      master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnTransferplanController.java
  6. 103 0
      master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnTransferplanTmplController.java
  7. 284 0
      master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnFirstplan.java
  8. 8 1
      master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnFirstplanTmpl.java
  9. 289 0
      master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnSchoolplan.java
  10. 290 0
      master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnSchoolplanTmpl.java
  11. 290 0
      master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnTransferplan.java
  12. 289 0
      master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnTransferplanTmpl.java
  13. 63 0
      master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnFirstplanMapper.java
  14. 63 0
      master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnSchoolplanMapper.java
  15. 63 0
      master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnSchoolplanTmplMapper.java
  16. 63 0
      master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnTransferplanMapper.java
  17. 63 0
      master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnTransferplanTmplMapper.java
  18. 61 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnFirstplanService.java
  19. 61 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnSchoolplanService.java
  20. 61 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnSchoolplanTmplService.java
  21. 61 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnTransferplanService.java
  22. 61 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnTransferplanTmplService.java
  23. 93 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnFirstplanServiceImpl.java
  24. 93 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnSchoolplanServiceImpl.java
  25. 93 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnSchoolplanTmplServiceImpl.java
  26. 93 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnTransferplanServiceImpl.java
  27. 93 0
      master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnTransferplanTmplServiceImpl.java
  28. 139 0
      master/src/main/resources/mybatis/training/newstaff/TTnFirstplanMapper.xml
  29. 136 0
      master/src/main/resources/mybatis/training/newstaff/TTnSchoolplanMapper.xml
  30. 132 0
      master/src/main/resources/mybatis/training/newstaff/TTnSchoolplanTmplMapper.xml
  31. 132 0
      master/src/main/resources/mybatis/training/newstaff/TTnTransferplanMapper.xml
  32. 132 0
      master/src/main/resources/mybatis/training/newstaff/TTnTransferplanTmplMapper.xml
  33. 58 0
      master/src/main/resources/tt.sh
  34. 53 0
      ui/src/api/training/newstaff/firstplan.js
  35. 53 0
      ui/src/api/training/newstaff/schoolplan.js
  36. 53 0
      ui/src/api/training/newstaff/schoolplantmpl.js
  37. 11 0
      ui/src/api/training/newstaff/tnNew.js
  38. 53 0
      ui/src/api/training/newstaff/transferplan.js
  39. 53 0
      ui/src/api/training/newstaff/transferplantmpl.js
  40. 13 0
      ui/src/router/index.js
  41. 526 0
      ui/src/views/training/newstaff/firstplan/index.vue
  42. 100 0
      ui/src/views/training/newstaff/planList/index.vue
  43. 517 0
      ui/src/views/training/newstaff/schoolplan/index.vue
  44. 474 0
      ui/src/views/training/newstaff/schoolplantmpl/index.vue
  45. 39 10
      ui/src/views/training/newstaff/tnNew/index.vue
  46. 478 0
      ui/src/views/training/newstaff/transferplan/index.vue
  47. 474 0
      ui/src/views/training/newstaff/transferplantmpl/index.vue

+ 103 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnFirstplanController.java

@@ -0,0 +1,103 @@
+package com.ruoyi.project.training.newstaff.controller;
+
+import java.util.List;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
+import com.ruoyi.project.training.newstaff.domain.TTnFirstplan;
+import com.ruoyi.project.training.newstaff.service.ITTnFirstplanService;
+import com.ruoyi.framework.web.controller.BaseController;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.framework.web.page.TableDataInfo;
+
+/**
+ * 进组培训Controller
+ *
+ * @author ruoyi
+ * @date 2023-07-04
+ */
+@RestController
+@RequestMapping("/newstaff/firstplan")
+public class TTnFirstplanController extends BaseController
+{
+    @Autowired
+    private ITTnFirstplanService tTnFirstplanService;
+
+    /**
+     * 查询进组培训列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:firstplan:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(TTnFirstplan tTnFirstplan)
+    {
+        startPage();
+        List<TTnFirstplan> list = tTnFirstplanService.selectTTnFirstplanList(tTnFirstplan);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出进组培训列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:firstplan:export')")
+    @Log(title = "进组培训", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(TTnFirstplan tTnFirstplan)
+    {
+        List<TTnFirstplan> list = tTnFirstplanService.selectTTnFirstplanList(tTnFirstplan);
+        ExcelUtil<TTnFirstplan> util = new ExcelUtil<TTnFirstplan>(TTnFirstplan.class);
+        return util.exportExcel(list, "firstplan");
+    }
+
+    /**
+     * 获取进组培训详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:firstplan:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(tTnFirstplanService.selectTTnFirstplanById(id));
+    }
+
+    /**
+     * 新增进组培训
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:firstplan:add')")
+    @Log(title = "进组培训", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TTnFirstplan tTnFirstplan)
+    {
+        return toAjax(tTnFirstplanService.insertTTnFirstplan(tTnFirstplan));
+    }
+
+    /**
+     * 修改进组培训
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:firstplan:edit')")
+    @Log(title = "进组培训", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody TTnFirstplan tTnFirstplan)
+    {
+        return toAjax(tTnFirstplanService.updateTTnFirstplan(tTnFirstplan));
+    }
+
+    /**
+     * 删除进组培训
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:firstplan:remove')")
+    @Log(title = "进组培训", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(tTnFirstplanService.deleteTTnFirstplanByIds(ids));
+    }
+}

+ 17 - 1
master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnNewController.java

@@ -1,6 +1,11 @@
 package com.ruoyi.project.training.newstaff.controller;
 
 import java.util.List;
+
+import com.ruoyi.project.plant.domain.TStaffmgr;
+import com.ruoyi.project.plant.service.ITStaffmgrService;
+import com.ruoyi.project.system.domain.SysUser;
+import com.ruoyi.project.training.spec.domain.TStSuccessor;
 import org.springframework.security.access.prepost.PreAuthorize;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
@@ -32,7 +37,8 @@ public class TTnNewController extends BaseController
 {
     @Autowired
     private ITTnNewService tTnNewService;
-
+    @Autowired
+    private ITStaffmgrService tStaffmgrService;
     /**
      * 查询新员工培训列表
      */
@@ -45,6 +51,16 @@ public class TTnNewController extends BaseController
         return getDataTable(list);
     }
 
+    /**
+     * 查询下拉
+     */
+    @GetMapping("/listStaff")
+    public AjaxResult listStaff()
+    {
+        List<TStaffmgr> list = tStaffmgrService.selectAllTStaffmgrList(new TStaffmgr());
+        return AjaxResult.success(list);
+    }
+
     /**
      * 导出新员工培训列表
      */

+ 103 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnSchoolplanController.java

@@ -0,0 +1,103 @@
+package com.ruoyi.project.training.newstaff.controller;
+
+import java.util.List;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
+import com.ruoyi.project.training.newstaff.domain.TTnSchoolplan;
+import com.ruoyi.project.training.newstaff.service.ITTnSchoolplanService;
+import com.ruoyi.framework.web.controller.BaseController;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.framework.web.page.TableDataInfo;
+
+/**
+ * 校招培训Controller
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+@RestController
+@RequestMapping("/newstaff/schoolplan")
+public class TTnSchoolplanController extends BaseController
+{
+    @Autowired
+    private ITTnSchoolplanService tTnSchoolplanService;
+
+    /**
+     * 查询校招培训列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplan:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(TTnSchoolplan tTnSchoolplan)
+    {
+        startPage();
+        List<TTnSchoolplan> list = tTnSchoolplanService.selectTTnSchoolplanList(tTnSchoolplan);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出校招培训列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplan:export')")
+    @Log(title = "校招培训", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(TTnSchoolplan tTnSchoolplan)
+    {
+        List<TTnSchoolplan> list = tTnSchoolplanService.selectTTnSchoolplanList(tTnSchoolplan);
+        ExcelUtil<TTnSchoolplan> util = new ExcelUtil<TTnSchoolplan>(TTnSchoolplan.class);
+        return util.exportExcel(list, "schoolplan");
+    }
+
+    /**
+     * 获取校招培训详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplan:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(tTnSchoolplanService.selectTTnSchoolplanById(id));
+    }
+
+    /**
+     * 新增校招培训
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplan:add')")
+    @Log(title = "校招培训", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TTnSchoolplan tTnSchoolplan)
+    {
+        return toAjax(tTnSchoolplanService.insertTTnSchoolplan(tTnSchoolplan));
+    }
+
+    /**
+     * 修改校招培训
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplan:edit')")
+    @Log(title = "校招培训", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody TTnSchoolplan tTnSchoolplan)
+    {
+        return toAjax(tTnSchoolplanService.updateTTnSchoolplan(tTnSchoolplan));
+    }
+
+    /**
+     * 删除校招培训
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplan:remove')")
+    @Log(title = "校招培训", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(tTnSchoolplanService.deleteTTnSchoolplanByIds(ids));
+    }
+}

+ 103 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnSchoolplanTmplController.java

@@ -0,0 +1,103 @@
+package com.ruoyi.project.training.newstaff.controller;
+
+import java.util.List;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
+import com.ruoyi.project.training.newstaff.domain.TTnSchoolplanTmpl;
+import com.ruoyi.project.training.newstaff.service.ITTnSchoolplanTmplService;
+import com.ruoyi.framework.web.controller.BaseController;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.framework.web.page.TableDataInfo;
+
+/**
+ * 校招培训模版Controller
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+@RestController
+@RequestMapping("/newstaff/schoolplantmpl")
+public class TTnSchoolplanTmplController extends BaseController
+{
+    @Autowired
+    private ITTnSchoolplanTmplService tTnSchoolplanTmplService;
+
+    /**
+     * 查询校招培训模版列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplantmpl:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(TTnSchoolplanTmpl tTnSchoolplanTmpl)
+    {
+        startPage();
+        List<TTnSchoolplanTmpl> list = tTnSchoolplanTmplService.selectTTnSchoolplanTmplList(tTnSchoolplanTmpl);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出校招培训模版列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplantmpl:export')")
+    @Log(title = "校招培训模版", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(TTnSchoolplanTmpl tTnSchoolplanTmpl)
+    {
+        List<TTnSchoolplanTmpl> list = tTnSchoolplanTmplService.selectTTnSchoolplanTmplList(tTnSchoolplanTmpl);
+        ExcelUtil<TTnSchoolplanTmpl> util = new ExcelUtil<TTnSchoolplanTmpl>(TTnSchoolplanTmpl.class);
+        return util.exportExcel(list, "schoolplantmpl");
+    }
+
+    /**
+     * 获取校招培训模版详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplantmpl:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(tTnSchoolplanTmplService.selectTTnSchoolplanTmplById(id));
+    }
+
+    /**
+     * 新增校招培训模版
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplantmpl:add')")
+    @Log(title = "校招培训模版", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TTnSchoolplanTmpl tTnSchoolplanTmpl)
+    {
+        return toAjax(tTnSchoolplanTmplService.insertTTnSchoolplanTmpl(tTnSchoolplanTmpl));
+    }
+
+    /**
+     * 修改校招培训模版
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplantmpl:edit')")
+    @Log(title = "校招培训模版", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody TTnSchoolplanTmpl tTnSchoolplanTmpl)
+    {
+        return toAjax(tTnSchoolplanTmplService.updateTTnSchoolplanTmpl(tTnSchoolplanTmpl));
+    }
+
+    /**
+     * 删除校招培训模版
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:schoolplantmpl:remove')")
+    @Log(title = "校招培训模版", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(tTnSchoolplanTmplService.deleteTTnSchoolplanTmplByIds(ids));
+    }
+}

+ 103 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnTransferplanController.java

@@ -0,0 +1,103 @@
+package com.ruoyi.project.training.newstaff.controller;
+
+import java.util.List;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
+import com.ruoyi.project.training.newstaff.domain.TTnTransferplan;
+import com.ruoyi.project.training.newstaff.service.ITTnTransferplanService;
+import com.ruoyi.framework.web.controller.BaseController;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.framework.web.page.TableDataInfo;
+
+/**
+ * 转岗培训Controller
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+@RestController
+@RequestMapping("/newstaff/transferplan")
+public class TTnTransferplanController extends BaseController
+{
+    @Autowired
+    private ITTnTransferplanService tTnTransferplanService;
+
+    /**
+     * 查询转岗培训列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplan:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(TTnTransferplan tTnTransferplan)
+    {
+        startPage();
+        List<TTnTransferplan> list = tTnTransferplanService.selectTTnTransferplanList(tTnTransferplan);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出转岗培训列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplan:export')")
+    @Log(title = "转岗培训", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(TTnTransferplan tTnTransferplan)
+    {
+        List<TTnTransferplan> list = tTnTransferplanService.selectTTnTransferplanList(tTnTransferplan);
+        ExcelUtil<TTnTransferplan> util = new ExcelUtil<TTnTransferplan>(TTnTransferplan.class);
+        return util.exportExcel(list, "transferplan");
+    }
+
+    /**
+     * 获取转岗培训详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplan:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(tTnTransferplanService.selectTTnTransferplanById(id));
+    }
+
+    /**
+     * 新增转岗培训
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplan:add')")
+    @Log(title = "转岗培训", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TTnTransferplan tTnTransferplan)
+    {
+        return toAjax(tTnTransferplanService.insertTTnTransferplan(tTnTransferplan));
+    }
+
+    /**
+     * 修改转岗培训
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplan:edit')")
+    @Log(title = "转岗培训", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody TTnTransferplan tTnTransferplan)
+    {
+        return toAjax(tTnTransferplanService.updateTTnTransferplan(tTnTransferplan));
+    }
+
+    /**
+     * 删除转岗培训
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplan:remove')")
+    @Log(title = "转岗培训", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(tTnTransferplanService.deleteTTnTransferplanByIds(ids));
+    }
+}

+ 103 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/controller/TTnTransferplanTmplController.java

@@ -0,0 +1,103 @@
+package com.ruoyi.project.training.newstaff.controller;
+
+import java.util.List;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
+import com.ruoyi.project.training.newstaff.domain.TTnTransferplanTmpl;
+import com.ruoyi.project.training.newstaff.service.ITTnTransferplanTmplService;
+import com.ruoyi.framework.web.controller.BaseController;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.framework.web.page.TableDataInfo;
+
+/**
+ * 转岗培训模版Controller
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+@RestController
+@RequestMapping("/newstaff/transferplantmpl")
+public class TTnTransferplanTmplController extends BaseController
+{
+    @Autowired
+    private ITTnTransferplanTmplService tTnTransferplanTmplService;
+
+    /**
+     * 查询转岗培训模版列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplantmpl:list')")
+    @GetMapping("/list")
+    public TableDataInfo list(TTnTransferplanTmpl tTnTransferplanTmpl)
+    {
+        startPage();
+        List<TTnTransferplanTmpl> list = tTnTransferplanTmplService.selectTTnTransferplanTmplList(tTnTransferplanTmpl);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出转岗培训模版列表
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplantmpl:export')")
+    @Log(title = "转岗培训模版", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(TTnTransferplanTmpl tTnTransferplanTmpl)
+    {
+        List<TTnTransferplanTmpl> list = tTnTransferplanTmplService.selectTTnTransferplanTmplList(tTnTransferplanTmpl);
+        ExcelUtil<TTnTransferplanTmpl> util = new ExcelUtil<TTnTransferplanTmpl>(TTnTransferplanTmpl.class);
+        return util.exportExcel(list, "transferplantmpl");
+    }
+
+    /**
+     * 获取转岗培训模版详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplantmpl:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(tTnTransferplanTmplService.selectTTnTransferplanTmplById(id));
+    }
+
+    /**
+     * 新增转岗培训模版
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplantmpl:add')")
+    @Log(title = "转岗培训模版", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody TTnTransferplanTmpl tTnTransferplanTmpl)
+    {
+        return toAjax(tTnTransferplanTmplService.insertTTnTransferplanTmpl(tTnTransferplanTmpl));
+    }
+
+    /**
+     * 修改转岗培训模版
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplantmpl:edit')")
+    @Log(title = "转岗培训模版", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody TTnTransferplanTmpl tTnTransferplanTmpl)
+    {
+        return toAjax(tTnTransferplanTmplService.updateTTnTransferplanTmpl(tTnTransferplanTmpl));
+    }
+
+    /**
+     * 删除转岗培训模版
+     */
+    @PreAuthorize("@ss.hasPermi('newstaff:transferplantmpl:remove')")
+    @Log(title = "转岗培训模版", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(tTnTransferplanTmplService.deleteTTnTransferplanTmplByIds(ids));
+    }
+}

+ 284 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnFirstplan.java

@@ -0,0 +1,284 @@
+package com.ruoyi.project.training.newstaff.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import com.ruoyi.framework.web.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 进组培训对象 t_tn_firstplan
+ *
+ * @author ruoyi
+ * @date 2023-07-04
+ */
+public class TTnFirstplan extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 唯一标识ID */
+    private Long id;
+
+    /** 培训员工编号 */
+    @Excel(name = "培训员工编号")
+    private Long newId;
+
+    /** 课程编号 */
+    @Excel(name = "课程编号")
+    private String courseCode;
+
+    /** 培训主题 */
+    @Excel(name = "培训主题")
+    private String topic;
+
+    /** 培训内容 */
+    @Excel(name = "培训内容")
+    private String content;
+
+    /** 培训天 */
+    @Excel(name = "培训天")
+    private Long courseDay;
+
+    /** 培训小时 */
+    @Excel(name = "培训小时")
+    private Long courseHour;
+
+    /** 培训类型 */
+    @Excel(name = "培训类型")
+    private String courseType;
+
+    /** 讲师 */
+    @Excel(name = "讲师")
+    private String trainer;
+
+    /** 培训日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "培训日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date courseDate;
+
+    /** 考核情况 */
+    @Excel(name = "考核情况")
+    private String assess;
+
+    /** 删除状态 */
+    private Long delFlag;
+
+    /** 创建人 */
+    private String createrCode;
+
+    /** 创建时间 */
+    private Date createdate;
+
+    /** 修改人 */
+    private String updaterCode;
+
+    /** 修改时间 */
+    private Date updatedate;
+
+    /** 部门编号 */
+    private Long deptId;
+
+    /** 部门名称 */
+    @Excel(name = "部门名称")
+    private String deptName;
+
+    /** 备注 */
+    @Excel(name = "备注")
+    private String remarks;
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setNewId(Long newId)
+    {
+        this.newId = newId;
+    }
+
+    public Long getNewId()
+    {
+        return newId;
+    }
+    public void setCourseCode(String courseCode)
+    {
+        this.courseCode = courseCode;
+    }
+
+    public String getCourseCode()
+    {
+        return courseCode;
+    }
+    public void setTopic(String topic)
+    {
+        this.topic = topic;
+    }
+
+    public String getTopic()
+    {
+        return topic;
+    }
+    public void setContent(String content)
+    {
+        this.content = content;
+    }
+
+    public String getContent()
+    {
+        return content;
+    }
+    public void setCourseDay(Long courseDay)
+    {
+        this.courseDay = courseDay;
+    }
+
+    public Long getCourseDay()
+    {
+        return courseDay;
+    }
+    public void setCourseHour(Long courseHour)
+    {
+        this.courseHour = courseHour;
+    }
+
+    public Long getCourseHour()
+    {
+        return courseHour;
+    }
+    public void setCourseType(String courseType)
+    {
+        this.courseType = courseType;
+    }
+
+    public String getCourseType()
+    {
+        return courseType;
+    }
+    public void setTrainer(String trainer)
+    {
+        this.trainer = trainer;
+    }
+
+    public String getTrainer()
+    {
+        return trainer;
+    }
+    public void setCourseDate(Date courseDate)
+    {
+        this.courseDate = courseDate;
+    }
+
+    public Date getCourseDate()
+    {
+        return courseDate;
+    }
+    public void setAssess(String assess)
+    {
+        this.assess = assess;
+    }
+
+    public String getAssess()
+    {
+        return assess;
+    }
+    public void setDelFlag(Long delFlag)
+    {
+        this.delFlag = delFlag;
+    }
+
+    public Long getDelFlag()
+    {
+        return delFlag;
+    }
+    public void setCreaterCode(String createrCode)
+    {
+        this.createrCode = createrCode;
+    }
+
+    public String getCreaterCode()
+    {
+        return createrCode;
+    }
+    public void setCreatedate(Date createdate)
+    {
+        this.createdate = createdate;
+    }
+
+    public Date getCreatedate()
+    {
+        return createdate;
+    }
+    public void setUpdaterCode(String updaterCode)
+    {
+        this.updaterCode = updaterCode;
+    }
+
+    public String getUpdaterCode()
+    {
+        return updaterCode;
+    }
+    public void setUpdatedate(Date updatedate)
+    {
+        this.updatedate = updatedate;
+    }
+
+    public Date getUpdatedate()
+    {
+        return updatedate;
+    }
+    public void setDeptId(Long deptId)
+    {
+        this.deptId = deptId;
+    }
+
+    public Long getDeptId()
+    {
+        return deptId;
+    }
+    public void setRemarks(String remarks)
+    {
+        this.remarks = remarks;
+    }
+
+    public String getRemarks()
+    {
+        return remarks;
+    }
+
+    public String getDeptName() {
+        return deptName;
+    }
+
+    public void setDeptName(String deptName) {
+        this.deptName = deptName;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("newId", getNewId())
+            .append("courseCode", getCourseCode())
+            .append("topic", getTopic())
+            .append("content", getContent())
+            .append("courseDay", getCourseDay())
+            .append("courseHour", getCourseHour())
+            .append("courseType", getCourseType())
+            .append("trainer", getTrainer())
+            .append("courseDate", getCourseDate())
+            .append("assess", getAssess())
+            .append("delFlag", getDelFlag())
+            .append("createrCode", getCreaterCode())
+            .append("createdate", getCreatedate())
+            .append("updaterCode", getUpdaterCode())
+            .append("updatedate", getUpdatedate())
+            .append("deptId", getDeptId())
+            .append("remarks", getRemarks())
+            .toString();
+    }
+}

+ 8 - 1
master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnFirstplanTmpl.java

@@ -76,7 +76,6 @@ public class TTnFirstplanTmpl extends BaseEntity
     private Date updatedate;
 
     /** 部门编号 */
-    @Excel(name = "部门编号")
     private Long deptId;
 
     /** 部门名称 */
@@ -250,6 +249,14 @@ public class TTnFirstplanTmpl extends BaseEntity
         return remarks;
     }
 
+    public String getDeptName() {
+        return deptName;
+    }
+
+    public void setDeptName(String deptName) {
+        this.deptName = deptName;
+    }
+
     @Override
     public String toString() {
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)

+ 289 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnSchoolplan.java

@@ -0,0 +1,289 @@
+package com.ruoyi.project.training.newstaff.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import com.ruoyi.framework.web.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 校招培训对象 t_tn_schoolplan
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public class TTnSchoolplan extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 唯一标识ID */
+    private Long id;
+
+    /** 培训员工编号 */
+    @Excel(name = "培训员工编号")
+    private Long newId;
+
+    /** 课程编号 */
+    @Excel(name = "课程编号")
+    private String courseCode;
+
+    /** 培训主题 */
+    @Excel(name = "培训主题")
+    private String topic;
+
+    /** 培训内容 */
+    @Excel(name = "培训内容")
+    private String content;
+
+    /** 培训天 */
+    @Excel(name = "培训天")
+    private Long courseDay;
+
+    /** 培训小时 */
+    @Excel(name = "培训小时")
+    private Long courseHour;
+
+    /** 详细计划 */
+    @Excel(name = "详细计划")
+    private String detailPlan;
+
+    /** 讲师 */
+    @Excel(name = "讲师")
+    private String trainer;
+
+    /** 培训日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "培训日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date courseDate;
+
+    /** 考核情况 */
+    @Excel(name = "考核情况")
+    private String assess;
+
+    /** 删除状态 */
+    private Long delFlag;
+
+    /** 创建人 */
+    @Excel(name = "创建人")
+    private String createrCode;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date createdate;
+
+    /** 修改人 */
+    @Excel(name = "修改人")
+    private String updaterCode;
+
+    /** 修改时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date updatedate;
+
+    /** 部门编号 */
+    private Long deptId;
+    /** 部门名称 */
+    @Excel(name = "部门名称")
+    private String deptName;
+
+    /** 备注 */
+    @Excel(name = "备注")
+    private String remarks;
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setNewId(Long newId)
+    {
+        this.newId = newId;
+    }
+
+    public Long getNewId()
+    {
+        return newId;
+    }
+    public void setCourseCode(String courseCode)
+    {
+        this.courseCode = courseCode;
+    }
+
+    public String getCourseCode()
+    {
+        return courseCode;
+    }
+    public void setTopic(String topic)
+    {
+        this.topic = topic;
+    }
+
+    public String getTopic()
+    {
+        return topic;
+    }
+    public void setContent(String content)
+    {
+        this.content = content;
+    }
+
+    public String getContent()
+    {
+        return content;
+    }
+    public void setCourseDay(Long courseDay)
+    {
+        this.courseDay = courseDay;
+    }
+
+    public Long getCourseDay()
+    {
+        return courseDay;
+    }
+    public void setCourseHour(Long courseHour)
+    {
+        this.courseHour = courseHour;
+    }
+
+    public Long getCourseHour()
+    {
+        return courseHour;
+    }
+    public void setDetailPlan(String detailPlan)
+    {
+        this.detailPlan = detailPlan;
+    }
+
+    public String getDetailPlan()
+    {
+        return detailPlan;
+    }
+    public void setTrainer(String trainer)
+    {
+        this.trainer = trainer;
+    }
+
+    public String getTrainer()
+    {
+        return trainer;
+    }
+    public void setCourseDate(Date courseDate)
+    {
+        this.courseDate = courseDate;
+    }
+
+    public Date getCourseDate()
+    {
+        return courseDate;
+    }
+    public void setAssess(String assess)
+    {
+        this.assess = assess;
+    }
+
+    public String getAssess()
+    {
+        return assess;
+    }
+    public void setDelFlag(Long delFlag)
+    {
+        this.delFlag = delFlag;
+    }
+
+    public Long getDelFlag()
+    {
+        return delFlag;
+    }
+    public void setCreaterCode(String createrCode)
+    {
+        this.createrCode = createrCode;
+    }
+
+    public String getCreaterCode()
+    {
+        return createrCode;
+    }
+    public void setCreatedate(Date createdate)
+    {
+        this.createdate = createdate;
+    }
+
+    public Date getCreatedate()
+    {
+        return createdate;
+    }
+    public void setUpdaterCode(String updaterCode)
+    {
+        this.updaterCode = updaterCode;
+    }
+
+    public String getUpdaterCode()
+    {
+        return updaterCode;
+    }
+    public void setUpdatedate(Date updatedate)
+    {
+        this.updatedate = updatedate;
+    }
+
+    public Date getUpdatedate()
+    {
+        return updatedate;
+    }
+    public void setDeptId(Long deptId)
+    {
+        this.deptId = deptId;
+    }
+
+    public Long getDeptId()
+    {
+        return deptId;
+    }
+    public void setRemarks(String remarks)
+    {
+        this.remarks = remarks;
+    }
+
+    public String getRemarks()
+    {
+        return remarks;
+    }
+
+    public String getDeptName() {
+        return deptName;
+    }
+
+    public void setDeptName(String deptName) {
+        this.deptName = deptName;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("newId", getNewId())
+            .append("courseCode", getCourseCode())
+            .append("topic", getTopic())
+            .append("content", getContent())
+            .append("courseDay", getCourseDay())
+            .append("courseHour", getCourseHour())
+            .append("detailPlan", getDetailPlan())
+            .append("trainer", getTrainer())
+            .append("courseDate", getCourseDate())
+            .append("assess", getAssess())
+            .append("delFlag", getDelFlag())
+            .append("createrCode", getCreaterCode())
+            .append("createdate", getCreatedate())
+            .append("updaterCode", getUpdaterCode())
+            .append("updatedate", getUpdatedate())
+            .append("deptId", getDeptId())
+            .append("remarks", getRemarks())
+            .toString();
+    }
+}

+ 290 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnSchoolplanTmpl.java

@@ -0,0 +1,290 @@
+package com.ruoyi.project.training.newstaff.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import com.ruoyi.framework.web.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 校招培训模版对象 t_tn_schoolplan_tmpl
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public class TTnSchoolplanTmpl extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 唯一标识ID */
+    private Long id;
+
+    /** 培训员工编号 */
+    private Long newId;
+
+    /** 课程编号 */
+    @Excel(name = "课程编号")
+    private String courseCode;
+
+    /** 培训主题 */
+    @Excel(name = "培训主题")
+    private String topic;
+
+    /** 培训内容 */
+    @Excel(name = "培训内容")
+    private String content;
+
+    /** 培训天 */
+    @Excel(name = "培训天")
+    private Long courseDay;
+
+    /** 培训小时 */
+    @Excel(name = "培训小时")
+    private Long courseHour;
+
+    /** 详细计划 */
+    @Excel(name = "详细计划")
+    private String detailPlan;
+
+    /** 讲师 */
+    @Excel(name = "讲师")
+    private String trainer;
+
+    /** 培训日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "培训日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date courseDate;
+
+    /** 考核情况 */
+    @Excel(name = "考核情况")
+    private String assess;
+
+    /** 删除状态 */
+    private Long delFlag;
+
+    /** 创建人 */
+    @Excel(name = "创建人")
+    private String createrCode;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date createdate;
+
+    /** 修改人 */
+    @Excel(name = "修改人")
+    private String updaterCode;
+
+    /** 修改时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date updatedate;
+
+    /** 部门编号 */
+    @Excel(name = "部门编号")
+    private Long deptId;
+
+    /** 部门名称 */
+    @Excel(name = "部门名称")
+    private String deptName;
+
+    /** 备注 */
+    @Excel(name = "备注")
+    private String remarks;
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setNewId(Long newId)
+    {
+        this.newId = newId;
+    }
+
+    public Long getNewId()
+    {
+        return newId;
+    }
+    public void setCourseCode(String courseCode)
+    {
+        this.courseCode = courseCode;
+    }
+
+    public String getCourseCode()
+    {
+        return courseCode;
+    }
+    public void setTopic(String topic)
+    {
+        this.topic = topic;
+    }
+
+    public String getTopic()
+    {
+        return topic;
+    }
+    public void setContent(String content)
+    {
+        this.content = content;
+    }
+
+    public String getContent()
+    {
+        return content;
+    }
+    public void setCourseDay(Long courseDay)
+    {
+        this.courseDay = courseDay;
+    }
+
+    public Long getCourseDay()
+    {
+        return courseDay;
+    }
+    public void setCourseHour(Long courseHour)
+    {
+        this.courseHour = courseHour;
+    }
+
+    public Long getCourseHour()
+    {
+        return courseHour;
+    }
+    public void setDetailPlan(String detailPlan)
+    {
+        this.detailPlan = detailPlan;
+    }
+
+    public String getDetailPlan()
+    {
+        return detailPlan;
+    }
+    public void setTrainer(String trainer)
+    {
+        this.trainer = trainer;
+    }
+
+    public String getTrainer()
+    {
+        return trainer;
+    }
+    public void setCourseDate(Date courseDate)
+    {
+        this.courseDate = courseDate;
+    }
+
+    public Date getCourseDate()
+    {
+        return courseDate;
+    }
+    public void setAssess(String assess)
+    {
+        this.assess = assess;
+    }
+
+    public String getAssess()
+    {
+        return assess;
+    }
+    public void setDelFlag(Long delFlag)
+    {
+        this.delFlag = delFlag;
+    }
+
+    public Long getDelFlag()
+    {
+        return delFlag;
+    }
+    public void setCreaterCode(String createrCode)
+    {
+        this.createrCode = createrCode;
+    }
+
+    public String getCreaterCode()
+    {
+        return createrCode;
+    }
+    public void setCreatedate(Date createdate)
+    {
+        this.createdate = createdate;
+    }
+
+    public Date getCreatedate()
+    {
+        return createdate;
+    }
+    public void setUpdaterCode(String updaterCode)
+    {
+        this.updaterCode = updaterCode;
+    }
+
+    public String getUpdaterCode()
+    {
+        return updaterCode;
+    }
+    public void setUpdatedate(Date updatedate)
+    {
+        this.updatedate = updatedate;
+    }
+
+    public Date getUpdatedate()
+    {
+        return updatedate;
+    }
+    public void setDeptId(Long deptId)
+    {
+        this.deptId = deptId;
+    }
+
+    public Long getDeptId()
+    {
+        return deptId;
+    }
+    public void setRemarks(String remarks)
+    {
+        this.remarks = remarks;
+    }
+
+    public String getRemarks()
+    {
+        return remarks;
+    }
+
+    public String getDeptName() {
+        return deptName;
+    }
+
+    public void setDeptName(String deptName) {
+        this.deptName = deptName;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("newId", getNewId())
+            .append("courseCode", getCourseCode())
+            .append("topic", getTopic())
+            .append("content", getContent())
+            .append("courseDay", getCourseDay())
+            .append("courseHour", getCourseHour())
+            .append("detailPlan", getDetailPlan())
+            .append("trainer", getTrainer())
+            .append("courseDate", getCourseDate())
+            .append("assess", getAssess())
+            .append("delFlag", getDelFlag())
+            .append("createrCode", getCreaterCode())
+            .append("createdate", getCreatedate())
+            .append("updaterCode", getUpdaterCode())
+            .append("updatedate", getUpdatedate())
+            .append("deptId", getDeptId())
+            .append("remarks", getRemarks())
+            .toString();
+    }
+}

+ 290 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnTransferplan.java

@@ -0,0 +1,290 @@
+package com.ruoyi.project.training.newstaff.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import com.ruoyi.framework.web.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 转岗培训对象 t_tn_transferplan
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public class TTnTransferplan extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 唯一标识ID */
+    private Long id;
+
+    /** 培训员工编号 */
+    @Excel(name = "培训员工编号")
+    private Long newId;
+
+    /** 课程编号 */
+    @Excel(name = "课程编号")
+    private String courseCode;
+
+    /** 培训主题 */
+    @Excel(name = "培训主题")
+    private String topic;
+
+    /** 培训内容 */
+    @Excel(name = "培训内容")
+    private String content;
+
+    /** 培训天 */
+    @Excel(name = "培训天")
+    private Long courseDay;
+
+    /** 培训小时 */
+    @Excel(name = "培训小时")
+    private Long courseHour;
+
+    /** 详细计划 */
+    @Excel(name = "详细计划")
+    private String detailPlan;
+
+    /** 讲师 */
+    @Excel(name = "讲师")
+    private String trainer;
+
+    /** 培训日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "培训日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date courseDate;
+
+    /** 考核情况 */
+    @Excel(name = "考核情况")
+    private String assess;
+
+    /** 删除状态 */
+    private Long delFlag;
+
+    /** 创建人 */
+    @Excel(name = "创建人")
+    private String createrCode;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date createdate;
+
+    /** 修改人 */
+    @Excel(name = "修改人")
+    private String updaterCode;
+
+    /** 修改时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date updatedate;
+
+    /** 部门编号 */
+    private Long deptId;
+
+    /** 部门名称 */
+    @Excel(name = "部门名称")
+    private String deptName;
+
+    /** 备注 */
+    @Excel(name = "备注")
+    private String remarks;
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setNewId(Long newId)
+    {
+        this.newId = newId;
+    }
+
+    public Long getNewId()
+    {
+        return newId;
+    }
+    public void setCourseCode(String courseCode)
+    {
+        this.courseCode = courseCode;
+    }
+
+    public String getCourseCode()
+    {
+        return courseCode;
+    }
+    public void setTopic(String topic)
+    {
+        this.topic = topic;
+    }
+
+    public String getTopic()
+    {
+        return topic;
+    }
+    public void setContent(String content)
+    {
+        this.content = content;
+    }
+
+    public String getContent()
+    {
+        return content;
+    }
+    public void setCourseDay(Long courseDay)
+    {
+        this.courseDay = courseDay;
+    }
+
+    public Long getCourseDay()
+    {
+        return courseDay;
+    }
+    public void setCourseHour(Long courseHour)
+    {
+        this.courseHour = courseHour;
+    }
+
+    public Long getCourseHour()
+    {
+        return courseHour;
+    }
+    public void setDetailPlan(String detailPlan)
+    {
+        this.detailPlan = detailPlan;
+    }
+
+    public String getDetailPlan()
+    {
+        return detailPlan;
+    }
+    public void setTrainer(String trainer)
+    {
+        this.trainer = trainer;
+    }
+
+    public String getTrainer()
+    {
+        return trainer;
+    }
+    public void setCourseDate(Date courseDate)
+    {
+        this.courseDate = courseDate;
+    }
+
+    public Date getCourseDate()
+    {
+        return courseDate;
+    }
+    public void setAssess(String assess)
+    {
+        this.assess = assess;
+    }
+
+    public String getAssess()
+    {
+        return assess;
+    }
+    public void setDelFlag(Long delFlag)
+    {
+        this.delFlag = delFlag;
+    }
+
+    public Long getDelFlag()
+    {
+        return delFlag;
+    }
+    public void setCreaterCode(String createrCode)
+    {
+        this.createrCode = createrCode;
+    }
+
+    public String getCreaterCode()
+    {
+        return createrCode;
+    }
+    public void setCreatedate(Date createdate)
+    {
+        this.createdate = createdate;
+    }
+
+    public Date getCreatedate()
+    {
+        return createdate;
+    }
+    public void setUpdaterCode(String updaterCode)
+    {
+        this.updaterCode = updaterCode;
+    }
+
+    public String getUpdaterCode()
+    {
+        return updaterCode;
+    }
+    public void setUpdatedate(Date updatedate)
+    {
+        this.updatedate = updatedate;
+    }
+
+    public Date getUpdatedate()
+    {
+        return updatedate;
+    }
+    public void setDeptId(Long deptId)
+    {
+        this.deptId = deptId;
+    }
+
+    public Long getDeptId()
+    {
+        return deptId;
+    }
+    public void setRemarks(String remarks)
+    {
+        this.remarks = remarks;
+    }
+
+    public String getRemarks()
+    {
+        return remarks;
+    }
+
+    public String getDeptName() {
+        return deptName;
+    }
+
+    public void setDeptName(String deptName) {
+        this.deptName = deptName;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("newId", getNewId())
+            .append("courseCode", getCourseCode())
+            .append("topic", getTopic())
+            .append("content", getContent())
+            .append("courseDay", getCourseDay())
+            .append("courseHour", getCourseHour())
+            .append("detailPlan", getDetailPlan())
+            .append("trainer", getTrainer())
+            .append("courseDate", getCourseDate())
+            .append("assess", getAssess())
+            .append("delFlag", getDelFlag())
+            .append("createrCode", getCreaterCode())
+            .append("createdate", getCreatedate())
+            .append("updaterCode", getUpdaterCode())
+            .append("updatedate", getUpdatedate())
+            .append("deptId", getDeptId())
+            .append("remarks", getRemarks())
+            .toString();
+    }
+}

+ 289 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/domain/TTnTransferplanTmpl.java

@@ -0,0 +1,289 @@
+package com.ruoyi.project.training.newstaff.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.ruoyi.framework.aspectj.lang.annotation.Excel;
+import com.ruoyi.framework.web.domain.BaseEntity;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+
+/**
+ * 转岗培训模版对象 t_tn_transferplan_tmpl
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public class TTnTransferplanTmpl extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 唯一标识ID */
+    private Long id;
+
+    /** 培训员工编号 */
+    private Long newId;
+
+    /** 课程编号 */
+    @Excel(name = "课程编号")
+    private String courseCode;
+
+    /** 培训主题 */
+    @Excel(name = "培训主题")
+    private String topic;
+
+    /** 培训内容 */
+    @Excel(name = "培训内容")
+    private String content;
+
+    /** 培训天 */
+    @Excel(name = "培训天")
+    private Long courseDay;
+
+    /** 培训小时 */
+    @Excel(name = "培训小时")
+    private Long courseHour;
+
+    /** 详细计划 */
+    @Excel(name = "详细计划")
+    private String detailPlan;
+
+    /** 讲师 */
+    @Excel(name = "讲师")
+    private String trainer;
+
+    /** 培训日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "培训日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date courseDate;
+
+    /** 考核情况 */
+    @Excel(name = "考核情况")
+    private String assess;
+
+    /** 删除状态 */
+    private Long delFlag;
+
+    /** 创建人 */
+    @Excel(name = "创建人")
+    private String createrCode;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date createdate;
+
+    /** 修改人 */
+    @Excel(name = "修改人")
+    private String updaterCode;
+
+    /** 修改时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
+    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date updatedate;
+
+    /** 部门编号 */
+    private Long deptId;
+
+    /** 部门名称 */
+    @Excel(name = "部门名称")
+    private String deptName;
+
+    /** 备注 */
+    @Excel(name = "备注")
+    private String remarks;
+
+    public void setId(Long id)
+    {
+        this.id = id;
+    }
+
+    public Long getId()
+    {
+        return id;
+    }
+    public void setNewId(Long newId)
+    {
+        this.newId = newId;
+    }
+
+    public Long getNewId()
+    {
+        return newId;
+    }
+    public void setCourseCode(String courseCode)
+    {
+        this.courseCode = courseCode;
+    }
+
+    public String getCourseCode()
+    {
+        return courseCode;
+    }
+    public void setTopic(String topic)
+    {
+        this.topic = topic;
+    }
+
+    public String getTopic()
+    {
+        return topic;
+    }
+    public void setContent(String content)
+    {
+        this.content = content;
+    }
+
+    public String getContent()
+    {
+        return content;
+    }
+    public void setCourseDay(Long courseDay)
+    {
+        this.courseDay = courseDay;
+    }
+
+    public Long getCourseDay()
+    {
+        return courseDay;
+    }
+    public void setCourseHour(Long courseHour)
+    {
+        this.courseHour = courseHour;
+    }
+
+    public Long getCourseHour()
+    {
+        return courseHour;
+    }
+    public void setDetailPlan(String detailPlan)
+    {
+        this.detailPlan = detailPlan;
+    }
+
+    public String getDetailPlan()
+    {
+        return detailPlan;
+    }
+    public void setTrainer(String trainer)
+    {
+        this.trainer = trainer;
+    }
+
+    public String getTrainer()
+    {
+        return trainer;
+    }
+    public void setCourseDate(Date courseDate)
+    {
+        this.courseDate = courseDate;
+    }
+
+    public Date getCourseDate()
+    {
+        return courseDate;
+    }
+    public void setAssess(String assess)
+    {
+        this.assess = assess;
+    }
+
+    public String getAssess()
+    {
+        return assess;
+    }
+    public void setDelFlag(Long delFlag)
+    {
+        this.delFlag = delFlag;
+    }
+
+    public Long getDelFlag()
+    {
+        return delFlag;
+    }
+    public void setCreaterCode(String createrCode)
+    {
+        this.createrCode = createrCode;
+    }
+
+    public String getCreaterCode()
+    {
+        return createrCode;
+    }
+    public void setCreatedate(Date createdate)
+    {
+        this.createdate = createdate;
+    }
+
+    public Date getCreatedate()
+    {
+        return createdate;
+    }
+    public void setUpdaterCode(String updaterCode)
+    {
+        this.updaterCode = updaterCode;
+    }
+
+    public String getUpdaterCode()
+    {
+        return updaterCode;
+    }
+    public void setUpdatedate(Date updatedate)
+    {
+        this.updatedate = updatedate;
+    }
+
+    public Date getUpdatedate()
+    {
+        return updatedate;
+    }
+    public void setDeptId(Long deptId)
+    {
+        this.deptId = deptId;
+    }
+
+    public Long getDeptId()
+    {
+        return deptId;
+    }
+    public void setRemarks(String remarks)
+    {
+        this.remarks = remarks;
+    }
+
+    public String getRemarks()
+    {
+        return remarks;
+    }
+
+    public String getDeptName() {
+        return deptName;
+    }
+
+    public void setDeptName(String deptName) {
+        this.deptName = deptName;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("newId", getNewId())
+            .append("courseCode", getCourseCode())
+            .append("topic", getTopic())
+            .append("content", getContent())
+            .append("courseDay", getCourseDay())
+            .append("courseHour", getCourseHour())
+            .append("detailPlan", getDetailPlan())
+            .append("trainer", getTrainer())
+            .append("courseDate", getCourseDate())
+            .append("assess", getAssess())
+            .append("delFlag", getDelFlag())
+            .append("createrCode", getCreaterCode())
+            .append("createdate", getCreatedate())
+            .append("updaterCode", getUpdaterCode())
+            .append("updatedate", getUpdatedate())
+            .append("deptId", getDeptId())
+            .append("remarks", getRemarks())
+            .toString();
+    }
+}

+ 63 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnFirstplanMapper.java

@@ -0,0 +1,63 @@
+package com.ruoyi.project.training.newstaff.mapper;
+
+import java.util.List;
+import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
+import com.ruoyi.project.training.newstaff.domain.TTnFirstplan;
+
+/**
+ * 进组培训Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-04
+ */
+public interface TTnFirstplanMapper 
+{
+    /**
+     * 查询进组培训
+     * 
+     * @param id 进组培训ID
+     * @return 进组培训
+     */
+    public TTnFirstplan selectTTnFirstplanById(Long id);
+
+    /**
+     * 查询进组培训列表
+     * 
+     * @param tTnFirstplan 进组培训
+     * @return 进组培训集合
+     */
+    @DataScope(deptAlias = "d")
+    public List<TTnFirstplan> selectTTnFirstplanList(TTnFirstplan tTnFirstplan);
+
+    /**
+     * 新增进组培训
+     * 
+     * @param tTnFirstplan 进组培训
+     * @return 结果
+     */
+    public int insertTTnFirstplan(TTnFirstplan tTnFirstplan);
+
+    /**
+     * 修改进组培训
+     * 
+     * @param tTnFirstplan 进组培训
+     * @return 结果
+     */
+    public int updateTTnFirstplan(TTnFirstplan tTnFirstplan);
+
+    /**
+     * 删除进组培训
+     * 
+     * @param id 进组培训ID
+     * @return 结果
+     */
+    public int deleteTTnFirstplanById(Long id);
+
+    /**
+     * 批量删除进组培训
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTTnFirstplanByIds(Long[] ids);
+}

+ 63 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnSchoolplanMapper.java

@@ -0,0 +1,63 @@
+package com.ruoyi.project.training.newstaff.mapper;
+
+import java.util.List;
+import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
+import com.ruoyi.project.training.newstaff.domain.TTnSchoolplan;
+
+/**
+ * 校招培训Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public interface TTnSchoolplanMapper 
+{
+    /**
+     * 查询校招培训
+     * 
+     * @param id 校招培训ID
+     * @return 校招培训
+     */
+    public TTnSchoolplan selectTTnSchoolplanById(Long id);
+
+    /**
+     * 查询校招培训列表
+     * 
+     * @param tTnSchoolplan 校招培训
+     * @return 校招培训集合
+     */
+    @DataScope(deptAlias = "d")
+    public List<TTnSchoolplan> selectTTnSchoolplanList(TTnSchoolplan tTnSchoolplan);
+
+    /**
+     * 新增校招培训
+     * 
+     * @param tTnSchoolplan 校招培训
+     * @return 结果
+     */
+    public int insertTTnSchoolplan(TTnSchoolplan tTnSchoolplan);
+
+    /**
+     * 修改校招培训
+     * 
+     * @param tTnSchoolplan 校招培训
+     * @return 结果
+     */
+    public int updateTTnSchoolplan(TTnSchoolplan tTnSchoolplan);
+
+    /**
+     * 删除校招培训
+     * 
+     * @param id 校招培训ID
+     * @return 结果
+     */
+    public int deleteTTnSchoolplanById(Long id);
+
+    /**
+     * 批量删除校招培训
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTTnSchoolplanByIds(Long[] ids);
+}

+ 63 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnSchoolplanTmplMapper.java

@@ -0,0 +1,63 @@
+package com.ruoyi.project.training.newstaff.mapper;
+
+import java.util.List;
+import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
+import com.ruoyi.project.training.newstaff.domain.TTnSchoolplanTmpl;
+
+/**
+ * 校招培训模版Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public interface TTnSchoolplanTmplMapper 
+{
+    /**
+     * 查询校招培训模版
+     * 
+     * @param id 校招培训模版ID
+     * @return 校招培训模版
+     */
+    public TTnSchoolplanTmpl selectTTnSchoolplanTmplById(Long id);
+
+    /**
+     * 查询校招培训模版列表
+     * 
+     * @param tTnSchoolplanTmpl 校招培训模版
+     * @return 校招培训模版集合
+     */
+    @DataScope(deptAlias = "d")
+    public List<TTnSchoolplanTmpl> selectTTnSchoolplanTmplList(TTnSchoolplanTmpl tTnSchoolplanTmpl);
+
+    /**
+     * 新增校招培训模版
+     * 
+     * @param tTnSchoolplanTmpl 校招培训模版
+     * @return 结果
+     */
+    public int insertTTnSchoolplanTmpl(TTnSchoolplanTmpl tTnSchoolplanTmpl);
+
+    /**
+     * 修改校招培训模版
+     * 
+     * @param tTnSchoolplanTmpl 校招培训模版
+     * @return 结果
+     */
+    public int updateTTnSchoolplanTmpl(TTnSchoolplanTmpl tTnSchoolplanTmpl);
+
+    /**
+     * 删除校招培训模版
+     * 
+     * @param id 校招培训模版ID
+     * @return 结果
+     */
+    public int deleteTTnSchoolplanTmplById(Long id);
+
+    /**
+     * 批量删除校招培训模版
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTTnSchoolplanTmplByIds(Long[] ids);
+}

+ 63 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnTransferplanMapper.java

@@ -0,0 +1,63 @@
+package com.ruoyi.project.training.newstaff.mapper;
+
+import java.util.List;
+import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
+import com.ruoyi.project.training.newstaff.domain.TTnTransferplan;
+
+/**
+ * 转岗培训Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public interface TTnTransferplanMapper 
+{
+    /**
+     * 查询转岗培训
+     * 
+     * @param id 转岗培训ID
+     * @return 转岗培训
+     */
+    public TTnTransferplan selectTTnTransferplanById(Long id);
+
+    /**
+     * 查询转岗培训列表
+     * 
+     * @param tTnTransferplan 转岗培训
+     * @return 转岗培训集合
+     */
+    @DataScope(deptAlias = "d")
+    public List<TTnTransferplan> selectTTnTransferplanList(TTnTransferplan tTnTransferplan);
+
+    /**
+     * 新增转岗培训
+     * 
+     * @param tTnTransferplan 转岗培训
+     * @return 结果
+     */
+    public int insertTTnTransferplan(TTnTransferplan tTnTransferplan);
+
+    /**
+     * 修改转岗培训
+     * 
+     * @param tTnTransferplan 转岗培训
+     * @return 结果
+     */
+    public int updateTTnTransferplan(TTnTransferplan tTnTransferplan);
+
+    /**
+     * 删除转岗培训
+     * 
+     * @param id 转岗培训ID
+     * @return 结果
+     */
+    public int deleteTTnTransferplanById(Long id);
+
+    /**
+     * 批量删除转岗培训
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTTnTransferplanByIds(Long[] ids);
+}

+ 63 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/mapper/TTnTransferplanTmplMapper.java

@@ -0,0 +1,63 @@
+package com.ruoyi.project.training.newstaff.mapper;
+
+import java.util.List;
+import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
+import com.ruoyi.project.training.newstaff.domain.TTnTransferplanTmpl;
+
+/**
+ * 转岗培训模版Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public interface TTnTransferplanTmplMapper 
+{
+    /**
+     * 查询转岗培训模版
+     * 
+     * @param id 转岗培训模版ID
+     * @return 转岗培训模版
+     */
+    public TTnTransferplanTmpl selectTTnTransferplanTmplById(Long id);
+
+    /**
+     * 查询转岗培训模版列表
+     * 
+     * @param tTnTransferplanTmpl 转岗培训模版
+     * @return 转岗培训模版集合
+     */
+    @DataScope(deptAlias = "d")
+    public List<TTnTransferplanTmpl> selectTTnTransferplanTmplList(TTnTransferplanTmpl tTnTransferplanTmpl);
+
+    /**
+     * 新增转岗培训模版
+     * 
+     * @param tTnTransferplanTmpl 转岗培训模版
+     * @return 结果
+     */
+    public int insertTTnTransferplanTmpl(TTnTransferplanTmpl tTnTransferplanTmpl);
+
+    /**
+     * 修改转岗培训模版
+     * 
+     * @param tTnTransferplanTmpl 转岗培训模版
+     * @return 结果
+     */
+    public int updateTTnTransferplanTmpl(TTnTransferplanTmpl tTnTransferplanTmpl);
+
+    /**
+     * 删除转岗培训模版
+     * 
+     * @param id 转岗培训模版ID
+     * @return 结果
+     */
+    public int deleteTTnTransferplanTmplById(Long id);
+
+    /**
+     * 批量删除转岗培训模版
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteTTnTransferplanTmplByIds(Long[] ids);
+}

+ 61 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnFirstplanService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.project.training.newstaff.service;
+
+import java.util.List;
+import com.ruoyi.project.training.newstaff.domain.TTnFirstplan;
+
+/**
+ * 进组培训Service接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-04
+ */
+public interface ITTnFirstplanService 
+{
+    /**
+     * 查询进组培训
+     * 
+     * @param id 进组培训ID
+     * @return 进组培训
+     */
+    public TTnFirstplan selectTTnFirstplanById(Long id);
+
+    /**
+     * 查询进组培训列表
+     * 
+     * @param tTnFirstplan 进组培训
+     * @return 进组培训集合
+     */
+    public List<TTnFirstplan> selectTTnFirstplanList(TTnFirstplan tTnFirstplan);
+
+    /**
+     * 新增进组培训
+     * 
+     * @param tTnFirstplan 进组培训
+     * @return 结果
+     */
+    public int insertTTnFirstplan(TTnFirstplan tTnFirstplan);
+
+    /**
+     * 修改进组培训
+     * 
+     * @param tTnFirstplan 进组培训
+     * @return 结果
+     */
+    public int updateTTnFirstplan(TTnFirstplan tTnFirstplan);
+
+    /**
+     * 批量删除进组培训
+     * 
+     * @param ids 需要删除的进组培训ID
+     * @return 结果
+     */
+    public int deleteTTnFirstplanByIds(Long[] ids);
+
+    /**
+     * 删除进组培训信息
+     * 
+     * @param id 进组培训ID
+     * @return 结果
+     */
+    public int deleteTTnFirstplanById(Long id);
+}

+ 61 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnSchoolplanService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.project.training.newstaff.service;
+
+import java.util.List;
+import com.ruoyi.project.training.newstaff.domain.TTnSchoolplan;
+
+/**
+ * 校招培训Service接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public interface ITTnSchoolplanService 
+{
+    /**
+     * 查询校招培训
+     * 
+     * @param id 校招培训ID
+     * @return 校招培训
+     */
+    public TTnSchoolplan selectTTnSchoolplanById(Long id);
+
+    /**
+     * 查询校招培训列表
+     * 
+     * @param tTnSchoolplan 校招培训
+     * @return 校招培训集合
+     */
+    public List<TTnSchoolplan> selectTTnSchoolplanList(TTnSchoolplan tTnSchoolplan);
+
+    /**
+     * 新增校招培训
+     * 
+     * @param tTnSchoolplan 校招培训
+     * @return 结果
+     */
+    public int insertTTnSchoolplan(TTnSchoolplan tTnSchoolplan);
+
+    /**
+     * 修改校招培训
+     * 
+     * @param tTnSchoolplan 校招培训
+     * @return 结果
+     */
+    public int updateTTnSchoolplan(TTnSchoolplan tTnSchoolplan);
+
+    /**
+     * 批量删除校招培训
+     * 
+     * @param ids 需要删除的校招培训ID
+     * @return 结果
+     */
+    public int deleteTTnSchoolplanByIds(Long[] ids);
+
+    /**
+     * 删除校招培训信息
+     * 
+     * @param id 校招培训ID
+     * @return 结果
+     */
+    public int deleteTTnSchoolplanById(Long id);
+}

+ 61 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnSchoolplanTmplService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.project.training.newstaff.service;
+
+import java.util.List;
+import com.ruoyi.project.training.newstaff.domain.TTnSchoolplanTmpl;
+
+/**
+ * 校招培训模版Service接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public interface ITTnSchoolplanTmplService 
+{
+    /**
+     * 查询校招培训模版
+     * 
+     * @param id 校招培训模版ID
+     * @return 校招培训模版
+     */
+    public TTnSchoolplanTmpl selectTTnSchoolplanTmplById(Long id);
+
+    /**
+     * 查询校招培训模版列表
+     * 
+     * @param tTnSchoolplanTmpl 校招培训模版
+     * @return 校招培训模版集合
+     */
+    public List<TTnSchoolplanTmpl> selectTTnSchoolplanTmplList(TTnSchoolplanTmpl tTnSchoolplanTmpl);
+
+    /**
+     * 新增校招培训模版
+     * 
+     * @param tTnSchoolplanTmpl 校招培训模版
+     * @return 结果
+     */
+    public int insertTTnSchoolplanTmpl(TTnSchoolplanTmpl tTnSchoolplanTmpl);
+
+    /**
+     * 修改校招培训模版
+     * 
+     * @param tTnSchoolplanTmpl 校招培训模版
+     * @return 结果
+     */
+    public int updateTTnSchoolplanTmpl(TTnSchoolplanTmpl tTnSchoolplanTmpl);
+
+    /**
+     * 批量删除校招培训模版
+     * 
+     * @param ids 需要删除的校招培训模版ID
+     * @return 结果
+     */
+    public int deleteTTnSchoolplanTmplByIds(Long[] ids);
+
+    /**
+     * 删除校招培训模版信息
+     * 
+     * @param id 校招培训模版ID
+     * @return 结果
+     */
+    public int deleteTTnSchoolplanTmplById(Long id);
+}

+ 61 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnTransferplanService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.project.training.newstaff.service;
+
+import java.util.List;
+import com.ruoyi.project.training.newstaff.domain.TTnTransferplan;
+
+/**
+ * 转岗培训Service接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public interface ITTnTransferplanService 
+{
+    /**
+     * 查询转岗培训
+     * 
+     * @param id 转岗培训ID
+     * @return 转岗培训
+     */
+    public TTnTransferplan selectTTnTransferplanById(Long id);
+
+    /**
+     * 查询转岗培训列表
+     * 
+     * @param tTnTransferplan 转岗培训
+     * @return 转岗培训集合
+     */
+    public List<TTnTransferplan> selectTTnTransferplanList(TTnTransferplan tTnTransferplan);
+
+    /**
+     * 新增转岗培训
+     * 
+     * @param tTnTransferplan 转岗培训
+     * @return 结果
+     */
+    public int insertTTnTransferplan(TTnTransferplan tTnTransferplan);
+
+    /**
+     * 修改转岗培训
+     * 
+     * @param tTnTransferplan 转岗培训
+     * @return 结果
+     */
+    public int updateTTnTransferplan(TTnTransferplan tTnTransferplan);
+
+    /**
+     * 批量删除转岗培训
+     * 
+     * @param ids 需要删除的转岗培训ID
+     * @return 结果
+     */
+    public int deleteTTnTransferplanByIds(Long[] ids);
+
+    /**
+     * 删除转岗培训信息
+     * 
+     * @param id 转岗培训ID
+     * @return 结果
+     */
+    public int deleteTTnTransferplanById(Long id);
+}

+ 61 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/ITTnTransferplanTmplService.java

@@ -0,0 +1,61 @@
+package com.ruoyi.project.training.newstaff.service;
+
+import java.util.List;
+import com.ruoyi.project.training.newstaff.domain.TTnTransferplanTmpl;
+
+/**
+ * 转岗培训模版Service接口
+ * 
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+public interface ITTnTransferplanTmplService 
+{
+    /**
+     * 查询转岗培训模版
+     * 
+     * @param id 转岗培训模版ID
+     * @return 转岗培训模版
+     */
+    public TTnTransferplanTmpl selectTTnTransferplanTmplById(Long id);
+
+    /**
+     * 查询转岗培训模版列表
+     * 
+     * @param tTnTransferplanTmpl 转岗培训模版
+     * @return 转岗培训模版集合
+     */
+    public List<TTnTransferplanTmpl> selectTTnTransferplanTmplList(TTnTransferplanTmpl tTnTransferplanTmpl);
+
+    /**
+     * 新增转岗培训模版
+     * 
+     * @param tTnTransferplanTmpl 转岗培训模版
+     * @return 结果
+     */
+    public int insertTTnTransferplanTmpl(TTnTransferplanTmpl tTnTransferplanTmpl);
+
+    /**
+     * 修改转岗培训模版
+     * 
+     * @param tTnTransferplanTmpl 转岗培训模版
+     * @return 结果
+     */
+    public int updateTTnTransferplanTmpl(TTnTransferplanTmpl tTnTransferplanTmpl);
+
+    /**
+     * 批量删除转岗培训模版
+     * 
+     * @param ids 需要删除的转岗培训模版ID
+     * @return 结果
+     */
+    public int deleteTTnTransferplanTmplByIds(Long[] ids);
+
+    /**
+     * 删除转岗培训模版信息
+     * 
+     * @param id 转岗培训模版ID
+     * @return 结果
+     */
+    public int deleteTTnTransferplanTmplById(Long id);
+}

+ 93 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnFirstplanServiceImpl.java

@@ -0,0 +1,93 @@
+package com.ruoyi.project.training.newstaff.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.project.training.newstaff.mapper.TTnFirstplanMapper;
+import com.ruoyi.project.training.newstaff.domain.TTnFirstplan;
+import com.ruoyi.project.training.newstaff.service.ITTnFirstplanService;
+
+/**
+ * 进组培训Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2023-07-04
+ */
+@Service
+public class TTnFirstplanServiceImpl implements ITTnFirstplanService
+{
+    @Autowired
+    private TTnFirstplanMapper tTnFirstplanMapper;
+
+    /**
+     * 查询进组培训
+     *
+     * @param id 进组培训ID
+     * @return 进组培训
+     */
+    @Override
+    public TTnFirstplan selectTTnFirstplanById(Long id)
+    {
+        return tTnFirstplanMapper.selectTTnFirstplanById(id);
+    }
+
+    /**
+     * 查询进组培训列表
+     *
+     * @param tTnFirstplan 进组培训
+     * @return 进组培训
+     */
+    @Override
+    public List<TTnFirstplan> selectTTnFirstplanList(TTnFirstplan tTnFirstplan)
+    {
+        return tTnFirstplanMapper.selectTTnFirstplanList(tTnFirstplan);
+    }
+
+    /**
+     * 新增进组培训
+     *
+     * @param tTnFirstplan 进组培训
+     * @return 结果
+     */
+    @Override
+    public int insertTTnFirstplan(TTnFirstplan tTnFirstplan)
+    {
+        return tTnFirstplanMapper.insertTTnFirstplan(tTnFirstplan);
+    }
+
+    /**
+     * 修改进组培训
+     *
+     * @param tTnFirstplan 进组培训
+     * @return 结果
+     */
+    @Override
+    public int updateTTnFirstplan(TTnFirstplan tTnFirstplan)
+    {
+        return tTnFirstplanMapper.updateTTnFirstplan(tTnFirstplan);
+    }
+
+    /**
+     * 批量删除进组培训
+     *
+     * @param ids 需要删除的进组培训ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnFirstplanByIds(Long[] ids)
+    {
+        return tTnFirstplanMapper.deleteTTnFirstplanByIds(ids);
+    }
+
+    /**
+     * 删除进组培训信息
+     *
+     * @param id 进组培训ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnFirstplanById(Long id)
+    {
+        return tTnFirstplanMapper.deleteTTnFirstplanById(id);
+    }
+}

+ 93 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnSchoolplanServiceImpl.java

@@ -0,0 +1,93 @@
+package com.ruoyi.project.training.newstaff.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.project.training.newstaff.mapper.TTnSchoolplanMapper;
+import com.ruoyi.project.training.newstaff.domain.TTnSchoolplan;
+import com.ruoyi.project.training.newstaff.service.ITTnSchoolplanService;
+
+/**
+ * 校招培训Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+@Service
+public class TTnSchoolplanServiceImpl implements ITTnSchoolplanService
+{
+    @Autowired
+    private TTnSchoolplanMapper tTnSchoolplanMapper;
+
+    /**
+     * 查询校招培训
+     *
+     * @param id 校招培训ID
+     * @return 校招培训
+     */
+    @Override
+    public TTnSchoolplan selectTTnSchoolplanById(Long id)
+    {
+        return tTnSchoolplanMapper.selectTTnSchoolplanById(id);
+    }
+
+    /**
+     * 查询校招培训列表
+     *
+     * @param tTnSchoolplan 校招培训
+     * @return 校招培训
+     */
+    @Override
+    public List<TTnSchoolplan> selectTTnSchoolplanList(TTnSchoolplan tTnSchoolplan)
+    {
+        return tTnSchoolplanMapper.selectTTnSchoolplanList(tTnSchoolplan);
+    }
+
+    /**
+     * 新增校招培训
+     *
+     * @param tTnSchoolplan 校招培训
+     * @return 结果
+     */
+    @Override
+    public int insertTTnSchoolplan(TTnSchoolplan tTnSchoolplan)
+    {
+        return tTnSchoolplanMapper.insertTTnSchoolplan(tTnSchoolplan);
+    }
+
+    /**
+     * 修改校招培训
+     *
+     * @param tTnSchoolplan 校招培训
+     * @return 结果
+     */
+    @Override
+    public int updateTTnSchoolplan(TTnSchoolplan tTnSchoolplan)
+    {
+        return tTnSchoolplanMapper.updateTTnSchoolplan(tTnSchoolplan);
+    }
+
+    /**
+     * 批量删除校招培训
+     *
+     * @param ids 需要删除的校招培训ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnSchoolplanByIds(Long[] ids)
+    {
+        return tTnSchoolplanMapper.deleteTTnSchoolplanByIds(ids);
+    }
+
+    /**
+     * 删除校招培训信息
+     *
+     * @param id 校招培训ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnSchoolplanById(Long id)
+    {
+        return tTnSchoolplanMapper.deleteTTnSchoolplanById(id);
+    }
+}

+ 93 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnSchoolplanTmplServiceImpl.java

@@ -0,0 +1,93 @@
+package com.ruoyi.project.training.newstaff.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.project.training.newstaff.mapper.TTnSchoolplanTmplMapper;
+import com.ruoyi.project.training.newstaff.domain.TTnSchoolplanTmpl;
+import com.ruoyi.project.training.newstaff.service.ITTnSchoolplanTmplService;
+
+/**
+ * 校招培训模版Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+@Service
+public class TTnSchoolplanTmplServiceImpl implements ITTnSchoolplanTmplService
+{
+    @Autowired
+    private TTnSchoolplanTmplMapper tTnSchoolplanTmplMapper;
+
+    /**
+     * 查询校招培训模版
+     *
+     * @param id 校招培训模版ID
+     * @return 校招培训模版
+     */
+    @Override
+    public TTnSchoolplanTmpl selectTTnSchoolplanTmplById(Long id)
+    {
+        return tTnSchoolplanTmplMapper.selectTTnSchoolplanTmplById(id);
+    }
+
+    /**
+     * 查询校招培训模版列表
+     *
+     * @param tTnSchoolplanTmpl 校招培训模版
+     * @return 校招培训模版
+     */
+    @Override
+    public List<TTnSchoolplanTmpl> selectTTnSchoolplanTmplList(TTnSchoolplanTmpl tTnSchoolplanTmpl)
+    {
+        return tTnSchoolplanTmplMapper.selectTTnSchoolplanTmplList(tTnSchoolplanTmpl);
+    }
+
+    /**
+     * 新增校招培训模版
+     *
+     * @param tTnSchoolplanTmpl 校招培训模版
+     * @return 结果
+     */
+    @Override
+    public int insertTTnSchoolplanTmpl(TTnSchoolplanTmpl tTnSchoolplanTmpl)
+    {
+        return tTnSchoolplanTmplMapper.insertTTnSchoolplanTmpl(tTnSchoolplanTmpl);
+    }
+
+    /**
+     * 修改校招培训模版
+     *
+     * @param tTnSchoolplanTmpl 校招培训模版
+     * @return 结果
+     */
+    @Override
+    public int updateTTnSchoolplanTmpl(TTnSchoolplanTmpl tTnSchoolplanTmpl)
+    {
+        return tTnSchoolplanTmplMapper.updateTTnSchoolplanTmpl(tTnSchoolplanTmpl);
+    }
+
+    /**
+     * 批量删除校招培训模版
+     *
+     * @param ids 需要删除的校招培训模版ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnSchoolplanTmplByIds(Long[] ids)
+    {
+        return tTnSchoolplanTmplMapper.deleteTTnSchoolplanTmplByIds(ids);
+    }
+
+    /**
+     * 删除校招培训模版信息
+     *
+     * @param id 校招培训模版ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnSchoolplanTmplById(Long id)
+    {
+        return tTnSchoolplanTmplMapper.deleteTTnSchoolplanTmplById(id);
+    }
+}

+ 93 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnTransferplanServiceImpl.java

@@ -0,0 +1,93 @@
+package com.ruoyi.project.training.newstaff.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.project.training.newstaff.mapper.TTnTransferplanMapper;
+import com.ruoyi.project.training.newstaff.domain.TTnTransferplan;
+import com.ruoyi.project.training.newstaff.service.ITTnTransferplanService;
+
+/**
+ * 转岗培训Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+@Service
+public class TTnTransferplanServiceImpl implements ITTnTransferplanService
+{
+    @Autowired
+    private TTnTransferplanMapper tTnTransferplanMapper;
+
+    /**
+     * 查询转岗培训
+     *
+     * @param id 转岗培训ID
+     * @return 转岗培训
+     */
+    @Override
+    public TTnTransferplan selectTTnTransferplanById(Long id)
+    {
+        return tTnTransferplanMapper.selectTTnTransferplanById(id);
+    }
+
+    /**
+     * 查询转岗培训列表
+     *
+     * @param tTnTransferplan 转岗培训
+     * @return 转岗培训
+     */
+    @Override
+    public List<TTnTransferplan> selectTTnTransferplanList(TTnTransferplan tTnTransferplan)
+    {
+        return tTnTransferplanMapper.selectTTnTransferplanList(tTnTransferplan);
+    }
+
+    /**
+     * 新增转岗培训
+     *
+     * @param tTnTransferplan 转岗培训
+     * @return 结果
+     */
+    @Override
+    public int insertTTnTransferplan(TTnTransferplan tTnTransferplan)
+    {
+        return tTnTransferplanMapper.insertTTnTransferplan(tTnTransferplan);
+    }
+
+    /**
+     * 修改转岗培训
+     *
+     * @param tTnTransferplan 转岗培训
+     * @return 结果
+     */
+    @Override
+    public int updateTTnTransferplan(TTnTransferplan tTnTransferplan)
+    {
+        return tTnTransferplanMapper.updateTTnTransferplan(tTnTransferplan);
+    }
+
+    /**
+     * 批量删除转岗培训
+     *
+     * @param ids 需要删除的转岗培训ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnTransferplanByIds(Long[] ids)
+    {
+        return tTnTransferplanMapper.deleteTTnTransferplanByIds(ids);
+    }
+
+    /**
+     * 删除转岗培训信息
+     *
+     * @param id 转岗培训ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnTransferplanById(Long id)
+    {
+        return tTnTransferplanMapper.deleteTTnTransferplanById(id);
+    }
+}

+ 93 - 0
master/src/main/java/com/ruoyi/project/training/newstaff/service/impl/TTnTransferplanTmplServiceImpl.java

@@ -0,0 +1,93 @@
+package com.ruoyi.project.training.newstaff.service.impl;
+
+import java.util.List;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.project.training.newstaff.mapper.TTnTransferplanTmplMapper;
+import com.ruoyi.project.training.newstaff.domain.TTnTransferplanTmpl;
+import com.ruoyi.project.training.newstaff.service.ITTnTransferplanTmplService;
+
+/**
+ * 转岗培训模版Service业务层处理
+ *
+ * @author ruoyi
+ * @date 2023-07-05
+ */
+@Service
+public class TTnTransferplanTmplServiceImpl implements ITTnTransferplanTmplService
+{
+    @Autowired
+    private TTnTransferplanTmplMapper tTnTransferplanTmplMapper;
+
+    /**
+     * 查询转岗培训模版
+     *
+     * @param id 转岗培训模版ID
+     * @return 转岗培训模版
+     */
+    @Override
+    public TTnTransferplanTmpl selectTTnTransferplanTmplById(Long id)
+    {
+        return tTnTransferplanTmplMapper.selectTTnTransferplanTmplById(id);
+    }
+
+    /**
+     * 查询转岗培训模版列表
+     *
+     * @param tTnTransferplanTmpl 转岗培训模版
+     * @return 转岗培训模版
+     */
+    @Override
+    public List<TTnTransferplanTmpl> selectTTnTransferplanTmplList(TTnTransferplanTmpl tTnTransferplanTmpl)
+    {
+        return tTnTransferplanTmplMapper.selectTTnTransferplanTmplList(tTnTransferplanTmpl);
+    }
+
+    /**
+     * 新增转岗培训模版
+     *
+     * @param tTnTransferplanTmpl 转岗培训模版
+     * @return 结果
+     */
+    @Override
+    public int insertTTnTransferplanTmpl(TTnTransferplanTmpl tTnTransferplanTmpl)
+    {
+        return tTnTransferplanTmplMapper.insertTTnTransferplanTmpl(tTnTransferplanTmpl);
+    }
+
+    /**
+     * 修改转岗培训模版
+     *
+     * @param tTnTransferplanTmpl 转岗培训模版
+     * @return 结果
+     */
+    @Override
+    public int updateTTnTransferplanTmpl(TTnTransferplanTmpl tTnTransferplanTmpl)
+    {
+        return tTnTransferplanTmplMapper.updateTTnTransferplanTmpl(tTnTransferplanTmpl);
+    }
+
+    /**
+     * 批量删除转岗培训模版
+     *
+     * @param ids 需要删除的转岗培训模版ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnTransferplanTmplByIds(Long[] ids)
+    {
+        return tTnTransferplanTmplMapper.deleteTTnTransferplanTmplByIds(ids);
+    }
+
+    /**
+     * 删除转岗培训模版信息
+     *
+     * @param id 转岗培训模版ID
+     * @return 结果
+     */
+    @Override
+    public int deleteTTnTransferplanTmplById(Long id)
+    {
+        return tTnTransferplanTmplMapper.deleteTTnTransferplanTmplById(id);
+    }
+}

+ 139 - 0
master/src/main/resources/mybatis/training/newstaff/TTnFirstplanMapper.xml

@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.project.training.newstaff.mapper.TTnFirstplanMapper">
+    
+    <resultMap type="TTnFirstplan" id="TTnFirstplanResult">
+        <result property="id"    column="id"    />
+        <result property="newId"    column="new_id"    />
+        <result property="courseCode"    column="course_code"    />
+        <result property="topic"    column="topic"    />
+        <result property="content"    column="content"    />
+        <result property="courseDay"    column="course_day"    />
+        <result property="courseHour"    column="course_hour"    />
+        <result property="courseType"    column="course_type"    />
+        <result property="trainer"    column="trainer"    />
+        <result property="courseDate"    column="course_date"    />
+        <result property="assess"    column="assess"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createrCode"    column="creater_code"    />
+        <result property="createdate"    column="createdate"    />
+        <result property="updaterCode"    column="updater_code"    />
+        <result property="updatedate"    column="updatedate"    />
+        <result property="deptId"    column="dept_id"    />
+        <result property="remarks"    column="remarks"    />
+        <result property="deptName" column="dept_name" />
+    </resultMap>
+
+    <sql id="selectTTnFirstplanVo">
+        select d.id, d.new_id, d.course_code, d.topic, d.content, d.course_day, d.course_hour, d.course_type, d.trainer, d.course_date, d.assess, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks ,s.dept_name from t_tn_firstplan d
+      left join sys_dept s on s.dept_id = d.dept_id
+    </sql>
+
+    <select id="selectTTnFirstplanList" parameterType="TTnFirstplan" resultMap="TTnFirstplanResult">
+        <include refid="selectTTnFirstplanVo"/>
+        <where>  
+            <if test="newId != null "> and new_id = #{newId}</if>
+            <if test="courseCode != null  and courseCode != ''"> and course_code = #{courseCode}</if>
+            <if test="topic != null  and topic != ''"> and topic = #{topic}</if>
+            <if test="content != null  and content != ''"> and content = #{content}</if>
+            <if test="courseDay != null "> and course_day = #{courseDay}</if>
+            <if test="courseHour != null "> and course_hour = #{courseHour}</if>
+            <if test="courseType != null  and courseType != ''"> and course_type = #{courseType}</if>
+            <if test="trainer != null  and trainer != ''"> and trainer = #{trainer}</if>
+            <if test="courseDate != null "> and course_date = #{courseDate}</if>
+            and d.del_flag = 0
+        </where>
+        <!-- 数据范围过滤 -->
+        ${params.dataScope}
+    </select>
+    
+    <select id="selectTTnFirstplanById" parameterType="Long" resultMap="TTnFirstplanResult">
+        <include refid="selectTTnFirstplanVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTTnFirstplan" parameterType="TTnFirstplan">
+        <selectKey keyProperty="id" resultType="long" order="BEFORE">
+            SELECT seq_t_tn_firstplan.NEXTVAL as id FROM DUAL
+        </selectKey>
+        insert into t_tn_firstplan
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="newId != null">new_id,</if>
+            <if test="courseCode != null">course_code,</if>
+            <if test="topic != null">topic,</if>
+            <if test="content != null">content,</if>
+            <if test="courseDay != null">course_day,</if>
+            <if test="courseHour != null">course_hour,</if>
+            <if test="courseType != null">course_type,</if>
+            <if test="trainer != null">trainer,</if>
+            <if test="courseDate != null">course_date,</if>
+            <if test="assess != null">assess,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createrCode != null">creater_code,</if>
+            <if test="createdate != null">createdate,</if>
+            <if test="updaterCode != null">updater_code,</if>
+            <if test="updatedate != null">updatedate,</if>
+            <if test="deptId != null">dept_id,</if>
+            <if test="remarks != null">remarks,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="newId != null">#{newId},</if>
+            <if test="courseCode != null">#{courseCode},</if>
+            <if test="topic != null">#{topic},</if>
+            <if test="content != null">#{content},</if>
+            <if test="courseDay != null">#{courseDay},</if>
+            <if test="courseHour != null">#{courseHour},</if>
+            <if test="courseType != null">#{courseType},</if>
+            <if test="trainer != null">#{trainer},</if>
+            <if test="courseDate != null">#{courseDate},</if>
+            <if test="assess != null">#{assess},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createrCode != null">#{createrCode},</if>
+            <if test="createdate != null">#{createdate},</if>
+            <if test="updaterCode != null">#{updaterCode},</if>
+            <if test="updatedate != null">#{updatedate},</if>
+            <if test="deptId != null">#{deptId},</if>
+            <if test="remarks != null">#{remarks},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTTnFirstplan" parameterType="TTnFirstplan">
+        update t_tn_firstplan
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="newId != null">new_id = #{newId},</if>
+            <if test="courseCode != null">course_code = #{courseCode},</if>
+            <if test="topic != null">topic = #{topic},</if>
+            <if test="content != null">content = #{content},</if>
+            <if test="courseDay != null">course_day = #{courseDay},</if>
+            <if test="courseHour != null">course_hour = #{courseHour},</if>
+            <if test="courseType != null">course_type = #{courseType},</if>
+            <if test="trainer != null">trainer = #{trainer},</if>
+            <if test="courseDate != null">course_date = #{courseDate},</if>
+            <if test="assess != null">assess = #{assess},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createrCode != null">creater_code = #{createrCode},</if>
+            <if test="createdate != null">createdate = #{createdate},</if>
+            <if test="updaterCode != null">updater_code = #{updaterCode},</if>
+            <if test="updatedate != null">updatedate = #{updatedate},</if>
+            <if test="deptId != null">dept_id = #{deptId},</if>
+            <if test="remarks != null">remarks = #{remarks},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <update id="deleteTTnFirstplanById" parameterType="Long">
+        update t_tn_firstplan set del_flag = 2 where id = #{id}
+    </update>
+
+    <update id="deleteTTnFirstplanByIds" parameterType="String">
+        update t_tn_firstplan set del_flag = 2 where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+    
+</mapper>

+ 136 - 0
master/src/main/resources/mybatis/training/newstaff/TTnSchoolplanMapper.xml

@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.project.training.newstaff.mapper.TTnSchoolplanMapper">
+    
+    <resultMap type="TTnSchoolplan" id="TTnSchoolplanResult">
+        <result property="id"    column="id"    />
+        <result property="newId"    column="new_id"    />
+        <result property="courseCode"    column="course_code"    />
+        <result property="topic"    column="topic"    />
+        <result property="content"    column="content"    />
+        <result property="courseDay"    column="course_day"    />
+        <result property="courseHour"    column="course_hour"    />
+        <result property="detailPlan"    column="detail_plan"    />
+        <result property="trainer"    column="trainer"    />
+        <result property="courseDate"    column="course_date"    />
+        <result property="assess"    column="assess"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createrCode"    column="creater_code"    />
+        <result property="createdate"    column="createdate"    />
+        <result property="updaterCode"    column="updater_code"    />
+        <result property="updatedate"    column="updatedate"    />
+        <result property="deptId"    column="dept_id"    />
+        <result property="remarks"    column="remarks"    />
+        <result property="deptName" column="dept_name" />
+    </resultMap>
+
+    <sql id="selectTTnSchoolplanVo">
+        select d.id, d.new_id, d.course_code, d.topic, d.content, d.course_day, d.course_hour, d.detail_plan, d.trainer, d.course_date, d.assess, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks ,s.dept_name from t_tn_schoolplan d
+      left join sys_dept s on s.dept_id = d.dept_id
+    </sql>
+
+    <select id="selectTTnSchoolplanList" parameterType="TTnSchoolplan" resultMap="TTnSchoolplanResult">
+        <include refid="selectTTnSchoolplanVo"/>
+        <where>  
+            <if test="courseCode != null  and courseCode != ''"> and course_code = #{courseCode}</if>
+            <if test="topic != null  and topic != ''"> and topic = #{topic}</if>
+            <if test="detailPlan != null  and detailPlan != ''"> and detail_plan = #{detailPlan}</if>
+            <if test="trainer != null  and trainer != ''"> and trainer = #{trainer}</if>
+            <if test="courseDate != null "> and course_date = #{courseDate}</if>
+            <if test="assess != null  and assess != ''"> and assess = #{assess}</if>
+            and d.del_flag = 0
+        </where>
+        <!-- 数据范围过滤 -->
+        ${params.dataScope}
+    </select>
+    
+    <select id="selectTTnSchoolplanById" parameterType="Long" resultMap="TTnSchoolplanResult">
+        <include refid="selectTTnSchoolplanVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTTnSchoolplan" parameterType="TTnSchoolplan">
+        <selectKey keyProperty="id" resultType="long" order="BEFORE">
+            SELECT seq_t_tn_schoolplan.NEXTVAL as id FROM DUAL
+        </selectKey>
+        insert into t_tn_schoolplan
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="newId != null">new_id,</if>
+            <if test="courseCode != null">course_code,</if>
+            <if test="topic != null">topic,</if>
+            <if test="content != null">content,</if>
+            <if test="courseDay != null">course_day,</if>
+            <if test="courseHour != null">course_hour,</if>
+            <if test="detailPlan != null">detail_plan,</if>
+            <if test="trainer != null">trainer,</if>
+            <if test="courseDate != null">course_date,</if>
+            <if test="assess != null">assess,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createrCode != null">creater_code,</if>
+            <if test="createdate != null">createdate,</if>
+            <if test="updaterCode != null">updater_code,</if>
+            <if test="updatedate != null">updatedate,</if>
+            <if test="deptId != null">dept_id,</if>
+            <if test="remarks != null">remarks,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="newId != null">#{newId},</if>
+            <if test="courseCode != null">#{courseCode},</if>
+            <if test="topic != null">#{topic},</if>
+            <if test="content != null">#{content},</if>
+            <if test="courseDay != null">#{courseDay},</if>
+            <if test="courseHour != null">#{courseHour},</if>
+            <if test="detailPlan != null">#{detailPlan},</if>
+            <if test="trainer != null">#{trainer},</if>
+            <if test="courseDate != null">#{courseDate},</if>
+            <if test="assess != null">#{assess},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createrCode != null">#{createrCode},</if>
+            <if test="createdate != null">#{createdate},</if>
+            <if test="updaterCode != null">#{updaterCode},</if>
+            <if test="updatedate != null">#{updatedate},</if>
+            <if test="deptId != null">#{deptId},</if>
+            <if test="remarks != null">#{remarks},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTTnSchoolplan" parameterType="TTnSchoolplan">
+        update t_tn_schoolplan
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="newId != null">new_id = #{newId},</if>
+            <if test="courseCode != null">course_code = #{courseCode},</if>
+            <if test="topic != null">topic = #{topic},</if>
+            <if test="content != null">content = #{content},</if>
+            <if test="courseDay != null">course_day = #{courseDay},</if>
+            <if test="courseHour != null">course_hour = #{courseHour},</if>
+            <if test="detailPlan != null">detail_plan = #{detailPlan},</if>
+            <if test="trainer != null">trainer = #{trainer},</if>
+            <if test="courseDate != null">course_date = #{courseDate},</if>
+            <if test="assess != null">assess = #{assess},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createrCode != null">creater_code = #{createrCode},</if>
+            <if test="createdate != null">createdate = #{createdate},</if>
+            <if test="updaterCode != null">updater_code = #{updaterCode},</if>
+            <if test="updatedate != null">updatedate = #{updatedate},</if>
+            <if test="deptId != null">dept_id = #{deptId},</if>
+            <if test="remarks != null">remarks = #{remarks},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <update id="deleteTTnSchoolplanById" parameterType="Long">
+        update t_tn_schoolplan set del_flag = 2 where id = #{id}
+    </update>
+
+    <update id="deleteTTnSchoolplanByIds" parameterType="String">
+        update t_tn_schoolplan set del_flag = 2 where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+    
+</mapper>

+ 132 - 0
master/src/main/resources/mybatis/training/newstaff/TTnSchoolplanTmplMapper.xml

@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.project.training.newstaff.mapper.TTnSchoolplanTmplMapper">
+    
+    <resultMap type="TTnSchoolplanTmpl" id="TTnSchoolplanTmplResult">
+        <result property="id"    column="id"    />
+        <result property="newId"    column="new_id"    />
+        <result property="courseCode"    column="course_code"    />
+        <result property="topic"    column="topic"    />
+        <result property="content"    column="content"    />
+        <result property="courseDay"    column="course_day"    />
+        <result property="courseHour"    column="course_hour"    />
+        <result property="detailPlan"    column="detail_plan"    />
+        <result property="trainer"    column="trainer"    />
+        <result property="courseDate"    column="course_date"    />
+        <result property="assess"    column="assess"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createrCode"    column="creater_code"    />
+        <result property="createdate"    column="createdate"    />
+        <result property="updaterCode"    column="updater_code"    />
+        <result property="updatedate"    column="updatedate"    />
+        <result property="deptId"    column="dept_id"    />
+        <result property="remarks"    column="remarks"    />
+        <result property="deptName" column="dept_name" />
+    </resultMap>
+
+    <sql id="selectTTnSchoolplanTmplVo">
+        select d.id, d.new_id, d.course_code, d.topic, d.content, d.course_day, d.course_hour, d.detail_plan, d.trainer, d.course_date, d.assess, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks ,s.dept_name from t_tn_schoolplan_tmpl d
+      left join sys_dept s on s.dept_id = d.dept_id
+    </sql>
+
+    <select id="selectTTnSchoolplanTmplList" parameterType="TTnSchoolplanTmpl" resultMap="TTnSchoolplanTmplResult">
+        <include refid="selectTTnSchoolplanTmplVo"/>
+        <where>  
+            <if test="courseCode != null  and courseCode != ''"> and course_code like concat(concat('%', #{courseCode}), '%')</if>
+            <if test="topic != null  and topic != ''"> and topic like concat(concat('%', #{topic}), '%')</if>
+            and d.del_flag = 0
+        </where>
+        <!-- 数据范围过滤 -->
+        ${params.dataScope}
+    </select>
+    
+    <select id="selectTTnSchoolplanTmplById" parameterType="Long" resultMap="TTnSchoolplanTmplResult">
+        <include refid="selectTTnSchoolplanTmplVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTTnSchoolplanTmpl" parameterType="TTnSchoolplanTmpl">
+        <selectKey keyProperty="id" resultType="long" order="BEFORE">
+            SELECT seq_t_tn_schoolplan_tmpl.NEXTVAL as id FROM DUAL
+        </selectKey>
+        insert into t_tn_schoolplan_tmpl
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="newId != null">new_id,</if>
+            <if test="courseCode != null">course_code,</if>
+            <if test="topic != null">topic,</if>
+            <if test="content != null">content,</if>
+            <if test="courseDay != null">course_day,</if>
+            <if test="courseHour != null">course_hour,</if>
+            <if test="detailPlan != null">detail_plan,</if>
+            <if test="trainer != null">trainer,</if>
+            <if test="courseDate != null">course_date,</if>
+            <if test="assess != null">assess,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createrCode != null">creater_code,</if>
+            <if test="createdate != null">createdate,</if>
+            <if test="updaterCode != null">updater_code,</if>
+            <if test="updatedate != null">updatedate,</if>
+            <if test="deptId != null">dept_id,</if>
+            <if test="remarks != null">remarks,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="newId != null">#{newId},</if>
+            <if test="courseCode != null">#{courseCode},</if>
+            <if test="topic != null">#{topic},</if>
+            <if test="content != null">#{content},</if>
+            <if test="courseDay != null">#{courseDay},</if>
+            <if test="courseHour != null">#{courseHour},</if>
+            <if test="detailPlan != null">#{detailPlan},</if>
+            <if test="trainer != null">#{trainer},</if>
+            <if test="courseDate != null">#{courseDate},</if>
+            <if test="assess != null">#{assess},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createrCode != null">#{createrCode},</if>
+            <if test="createdate != null">#{createdate},</if>
+            <if test="updaterCode != null">#{updaterCode},</if>
+            <if test="updatedate != null">#{updatedate},</if>
+            <if test="deptId != null">#{deptId},</if>
+            <if test="remarks != null">#{remarks},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTTnSchoolplanTmpl" parameterType="TTnSchoolplanTmpl">
+        update t_tn_schoolplan_tmpl
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="newId != null">new_id = #{newId},</if>
+            <if test="courseCode != null">course_code = #{courseCode},</if>
+            <if test="topic != null">topic = #{topic},</if>
+            <if test="content != null">content = #{content},</if>
+            <if test="courseDay != null">course_day = #{courseDay},</if>
+            <if test="courseHour != null">course_hour = #{courseHour},</if>
+            <if test="detailPlan != null">detail_plan = #{detailPlan},</if>
+            <if test="trainer != null">trainer = #{trainer},</if>
+            <if test="courseDate != null">course_date = #{courseDate},</if>
+            <if test="assess != null">assess = #{assess},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createrCode != null">creater_code = #{createrCode},</if>
+            <if test="createdate != null">createdate = #{createdate},</if>
+            <if test="updaterCode != null">updater_code = #{updaterCode},</if>
+            <if test="updatedate != null">updatedate = #{updatedate},</if>
+            <if test="deptId != null">dept_id = #{deptId},</if>
+            <if test="remarks != null">remarks = #{remarks},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <update id="deleteTTnSchoolplanTmplById" parameterType="Long">
+        update t_tn_schoolplan_tmpl set del_flag = 2 where id = #{id}
+    </update>
+
+    <update id="deleteTTnSchoolplanTmplByIds" parameterType="String">
+        update t_tn_schoolplan_tmpl set del_flag = 2 where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+    
+</mapper>

+ 132 - 0
master/src/main/resources/mybatis/training/newstaff/TTnTransferplanMapper.xml

@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.project.training.newstaff.mapper.TTnTransferplanMapper">
+    
+    <resultMap type="TTnTransferplan" id="TTnTransferplanResult">
+        <result property="id"    column="id"    />
+        <result property="newId"    column="new_id"    />
+        <result property="courseCode"    column="course_code"    />
+        <result property="topic"    column="topic"    />
+        <result property="content"    column="content"    />
+        <result property="courseDay"    column="course_day"    />
+        <result property="courseHour"    column="course_hour"    />
+        <result property="detailPlan"    column="detail_plan"    />
+        <result property="trainer"    column="trainer"    />
+        <result property="courseDate"    column="course_date"    />
+        <result property="assess"    column="assess"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createrCode"    column="creater_code"    />
+        <result property="createdate"    column="createdate"    />
+        <result property="updaterCode"    column="updater_code"    />
+        <result property="updatedate"    column="updatedate"    />
+        <result property="deptId"    column="dept_id"    />
+        <result property="remarks"    column="remarks"    />
+        <result property="deptName" column="dept_name" />
+    </resultMap>
+
+    <sql id="selectTTnTransferplanVo">
+        select d.id, d.new_id, d.course_code, d.topic, d.content, d.course_day, d.course_hour, d.detail_plan, d.trainer, d.course_date, d.assess, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks ,s.dept_name from t_tn_transferplan d
+      left join sys_dept s on s.dept_id = d.dept_id
+    </sql>
+
+    <select id="selectTTnTransferplanList" parameterType="TTnTransferplan" resultMap="TTnTransferplanResult">
+        <include refid="selectTTnTransferplanVo"/>
+        <where>  
+            <if test="courseCode != null  and courseCode != ''"> and course_code like concat(concat('%', #{courseCode}), '%')</if>
+            <if test="topic != null  and topic != ''"> and topic like concat(concat('%', #{topic}), '%')</if>
+            and d.del_flag = 0
+        </where>
+        <!-- 数据范围过滤 -->
+        ${params.dataScope}
+    </select>
+    
+    <select id="selectTTnTransferplanById" parameterType="Long" resultMap="TTnTransferplanResult">
+        <include refid="selectTTnTransferplanVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTTnTransferplan" parameterType="TTnTransferplan">
+        <selectKey keyProperty="id" resultType="long" order="BEFORE">
+            SELECT seq_t_tn_transferplan.NEXTVAL as id FROM DUAL
+        </selectKey>
+        insert into t_tn_transferplan
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="newId != null">new_id,</if>
+            <if test="courseCode != null">course_code,</if>
+            <if test="topic != null">topic,</if>
+            <if test="content != null">content,</if>
+            <if test="courseDay != null">course_day,</if>
+            <if test="courseHour != null">course_hour,</if>
+            <if test="detailPlan != null">detail_plan,</if>
+            <if test="trainer != null">trainer,</if>
+            <if test="courseDate != null">course_date,</if>
+            <if test="assess != null">assess,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createrCode != null">creater_code,</if>
+            <if test="createdate != null">createdate,</if>
+            <if test="updaterCode != null">updater_code,</if>
+            <if test="updatedate != null">updatedate,</if>
+            <if test="deptId != null">dept_id,</if>
+            <if test="remarks != null">remarks,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="newId != null">#{newId},</if>
+            <if test="courseCode != null">#{courseCode},</if>
+            <if test="topic != null">#{topic},</if>
+            <if test="content != null">#{content},</if>
+            <if test="courseDay != null">#{courseDay},</if>
+            <if test="courseHour != null">#{courseHour},</if>
+            <if test="detailPlan != null">#{detailPlan},</if>
+            <if test="trainer != null">#{trainer},</if>
+            <if test="courseDate != null">#{courseDate},</if>
+            <if test="assess != null">#{assess},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createrCode != null">#{createrCode},</if>
+            <if test="createdate != null">#{createdate},</if>
+            <if test="updaterCode != null">#{updaterCode},</if>
+            <if test="updatedate != null">#{updatedate},</if>
+            <if test="deptId != null">#{deptId},</if>
+            <if test="remarks != null">#{remarks},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTTnTransferplan" parameterType="TTnTransferplan">
+        update t_tn_transferplan
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="newId != null">new_id = #{newId},</if>
+            <if test="courseCode != null">course_code = #{courseCode},</if>
+            <if test="topic != null">topic = #{topic},</if>
+            <if test="content != null">content = #{content},</if>
+            <if test="courseDay != null">course_day = #{courseDay},</if>
+            <if test="courseHour != null">course_hour = #{courseHour},</if>
+            <if test="detailPlan != null">detail_plan = #{detailPlan},</if>
+            <if test="trainer != null">trainer = #{trainer},</if>
+            <if test="courseDate != null">course_date = #{courseDate},</if>
+            <if test="assess != null">assess = #{assess},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createrCode != null">creater_code = #{createrCode},</if>
+            <if test="createdate != null">createdate = #{createdate},</if>
+            <if test="updaterCode != null">updater_code = #{updaterCode},</if>
+            <if test="updatedate != null">updatedate = #{updatedate},</if>
+            <if test="deptId != null">dept_id = #{deptId},</if>
+            <if test="remarks != null">remarks = #{remarks},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <update id="deleteTTnTransferplanById" parameterType="Long">
+        update t_tn_transferplan set del_flag = 2 where id = #{id}
+    </update>
+
+    <update id="deleteTTnTransferplanByIds" parameterType="String">
+        update t_tn_transferplan set del_flag = 2 where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+    
+</mapper>

+ 132 - 0
master/src/main/resources/mybatis/training/newstaff/TTnTransferplanTmplMapper.xml

@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.project.training.newstaff.mapper.TTnTransferplanTmplMapper">
+    
+    <resultMap type="TTnTransferplanTmpl" id="TTnTransferplanTmplResult">
+        <result property="id"    column="id"    />
+        <result property="newId"    column="new_id"    />
+        <result property="courseCode"    column="course_code"    />
+        <result property="topic"    column="topic"    />
+        <result property="content"    column="content"    />
+        <result property="courseDay"    column="course_day"    />
+        <result property="courseHour"    column="course_hour"    />
+        <result property="detailPlan"    column="detail_plan"    />
+        <result property="trainer"    column="trainer"    />
+        <result property="courseDate"    column="course_date"    />
+        <result property="assess"    column="assess"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createrCode"    column="creater_code"    />
+        <result property="createdate"    column="createdate"    />
+        <result property="updaterCode"    column="updater_code"    />
+        <result property="updatedate"    column="updatedate"    />
+        <result property="deptId"    column="dept_id"    />
+        <result property="remarks"    column="remarks"    />
+        <result property="deptName" column="dept_name" />
+    </resultMap>
+
+    <sql id="selectTTnTransferplanTmplVo">
+        select d.id, d.new_id, d.course_code, d.topic, d.content, d.course_day, d.course_hour, d.detail_plan, d.trainer, d.course_date, d.assess, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.dept_id, d.remarks ,s.dept_name from t_tn_transferplan_tmpl d
+      left join sys_dept s on s.dept_id = d.dept_id
+    </sql>
+
+    <select id="selectTTnTransferplanTmplList" parameterType="TTnTransferplanTmpl" resultMap="TTnTransferplanTmplResult">
+        <include refid="selectTTnTransferplanTmplVo"/>
+        <where>  
+            <if test="courseCode != null  and courseCode != ''"> and course_code like concat(concat('%', #{courseCode}), '%')</if>
+            <if test="topic != null  and topic != ''"> and topic like concat(concat('%', #{topic}), '%')</if>
+            and d.del_flag = 0
+        </where>
+        <!-- 数据范围过滤 -->
+        ${params.dataScope}
+    </select>
+    
+    <select id="selectTTnTransferplanTmplById" parameterType="Long" resultMap="TTnTransferplanTmplResult">
+        <include refid="selectTTnTransferplanTmplVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertTTnTransferplanTmpl" parameterType="TTnTransferplanTmpl">
+        <selectKey keyProperty="id" resultType="long" order="BEFORE">
+            SELECT seq_t_tn_transferplan_tmpl.NEXTVAL as id FROM DUAL
+        </selectKey>
+        insert into t_tn_transferplan_tmpl
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null">id,</if>
+            <if test="newId != null">new_id,</if>
+            <if test="courseCode != null">course_code,</if>
+            <if test="topic != null">topic,</if>
+            <if test="content != null">content,</if>
+            <if test="courseDay != null">course_day,</if>
+            <if test="courseHour != null">course_hour,</if>
+            <if test="detailPlan != null">detail_plan,</if>
+            <if test="trainer != null">trainer,</if>
+            <if test="courseDate != null">course_date,</if>
+            <if test="assess != null">assess,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createrCode != null">creater_code,</if>
+            <if test="createdate != null">createdate,</if>
+            <if test="updaterCode != null">updater_code,</if>
+            <if test="updatedate != null">updatedate,</if>
+            <if test="deptId != null">dept_id,</if>
+            <if test="remarks != null">remarks,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null">#{id},</if>
+            <if test="newId != null">#{newId},</if>
+            <if test="courseCode != null">#{courseCode},</if>
+            <if test="topic != null">#{topic},</if>
+            <if test="content != null">#{content},</if>
+            <if test="courseDay != null">#{courseDay},</if>
+            <if test="courseHour != null">#{courseHour},</if>
+            <if test="detailPlan != null">#{detailPlan},</if>
+            <if test="trainer != null">#{trainer},</if>
+            <if test="courseDate != null">#{courseDate},</if>
+            <if test="assess != null">#{assess},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createrCode != null">#{createrCode},</if>
+            <if test="createdate != null">#{createdate},</if>
+            <if test="updaterCode != null">#{updaterCode},</if>
+            <if test="updatedate != null">#{updatedate},</if>
+            <if test="deptId != null">#{deptId},</if>
+            <if test="remarks != null">#{remarks},</if>
+         </trim>
+    </insert>
+
+    <update id="updateTTnTransferplanTmpl" parameterType="TTnTransferplanTmpl">
+        update t_tn_transferplan_tmpl
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="newId != null">new_id = #{newId},</if>
+            <if test="courseCode != null">course_code = #{courseCode},</if>
+            <if test="topic != null">topic = #{topic},</if>
+            <if test="content != null">content = #{content},</if>
+            <if test="courseDay != null">course_day = #{courseDay},</if>
+            <if test="courseHour != null">course_hour = #{courseHour},</if>
+            <if test="detailPlan != null">detail_plan = #{detailPlan},</if>
+            <if test="trainer != null">trainer = #{trainer},</if>
+            <if test="courseDate != null">course_date = #{courseDate},</if>
+            <if test="assess != null">assess = #{assess},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createrCode != null">creater_code = #{createrCode},</if>
+            <if test="createdate != null">createdate = #{createdate},</if>
+            <if test="updaterCode != null">updater_code = #{updaterCode},</if>
+            <if test="updatedate != null">updatedate = #{updatedate},</if>
+            <if test="deptId != null">dept_id = #{deptId},</if>
+            <if test="remarks != null">remarks = #{remarks},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <update id="deleteTTnTransferplanTmplById" parameterType="Long">
+        update t_tn_transferplan_tmpl set del_flag = 2 where id = #{id}
+    </update>
+
+    <update id="deleteTTnTransferplanTmplByIds" parameterType="String">
+        update t_tn_transferplan_tmpl set del_flag = 2 where id in
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </update>
+    
+</mapper>

+ 58 - 0
master/src/main/resources/tt.sh

@@ -0,0 +1,58 @@
+#!/bin/bash
+
+# 设置Tomcat路径
+TOMCAT_HOME="/www/tomcat-cpms"
+
+# 定义Tomcat启动命令
+START_COMMAND="${TOMCAT_HOME}/bin/startup.sh"
+
+# 定义Tomcat停止命令
+STOP_COMMAND="${TOMCAT_HOME}/bin/shutdown.sh"
+
+# 检查Tomcat进程是否在运行
+is_tomcat_running() {
+    ps_output=$(ps aux | grep "${TOMCAT_HOME}" | grep -v "grep")
+    if [ -n "$ps_output" ]; then
+        return 0  # Tomcat进程正在运行
+    else
+        return 1  # Tomcat进程未运行
+    fi
+}
+
+# 启动Tomcat
+start_tomcat() {
+    if ! is_tomcat_running; then
+        echo "Starting Tomcat..."
+        ${START_COMMAND}
+        echo "Tomcat started."
+    else
+        echo "Tomcat is already running."
+    fi
+}
+
+# 停止Tomcat
+stop_tomcat() {
+    if is_tomcat_running; then
+        echo "Stopping Tomcat..."
+        ${STOP_COMMAND}
+        echo "Tomcat stopped."
+    else
+        echo "Tomcat is not running."
+    fi
+}
+
+# 主循环
+while true; do
+    # 检查Tomcat进程状态
+    if ! is_tomcat_running; then
+        echo "Tomcat process is not running. Starting..."
+        start_tomcat
+    fi
+
+    # 每隔100秒检查一次Tomcat进程
+    sleep 100
+done
+
+while true; do
+  sleep 1
+done

+ 53 - 0
ui/src/api/training/newstaff/firstplan.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询进组培训列表
+export function listFirstplan(query) {
+  return request({
+    url: '/newstaff/firstplan/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询进组培训详细
+export function getFirstplan(id) {
+  return request({
+    url: '/newstaff/firstplan/' + id,
+    method: 'get'
+  })
+}
+
+// 新增进组培训
+export function addFirstplan(data) {
+  return request({
+    url: '/newstaff/firstplan',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改进组培训
+export function updateFirstplan(data) {
+  return request({
+    url: '/newstaff/firstplan',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除进组培训
+export function delFirstplan(id) {
+  return request({
+    url: '/newstaff/firstplan/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出进组培训
+export function exportFirstplan(query) {
+  return request({
+    url: '/newstaff/firstplan/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
ui/src/api/training/newstaff/schoolplan.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询校招培训列表
+export function listSchoolplan(query) {
+  return request({
+    url: '/newstaff/schoolplan/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询校招培训详细
+export function getSchoolplan(id) {
+  return request({
+    url: '/newstaff/schoolplan/' + id,
+    method: 'get'
+  })
+}
+
+// 新增校招培训
+export function addSchoolplan(data) {
+  return request({
+    url: '/newstaff/schoolplan',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改校招培训
+export function updateSchoolplan(data) {
+  return request({
+    url: '/newstaff/schoolplan',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除校招培训
+export function delSchoolplan(id) {
+  return request({
+    url: '/newstaff/schoolplan/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出校招培训
+export function exportSchoolplan(query) {
+  return request({
+    url: '/newstaff/schoolplan/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
ui/src/api/training/newstaff/schoolplantmpl.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询校招培训模版列表
+export function listSchoolplantmpl(query) {
+  return request({
+    url: '/newstaff/schoolplantmpl/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询校招培训模版详细
+export function getSchoolplantmpl(id) {
+  return request({
+    url: '/newstaff/schoolplantmpl/' + id,
+    method: 'get'
+  })
+}
+
+// 新增校招培训模版
+export function addSchoolplantmpl(data) {
+  return request({
+    url: '/newstaff/schoolplantmpl',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改校招培训模版
+export function updateSchoolplantmpl(data) {
+  return request({
+    url: '/newstaff/schoolplantmpl',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除校招培训模版
+export function delSchoolplantmpl(id) {
+  return request({
+    url: '/newstaff/schoolplantmpl/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出校招培训模版
+export function exportSchoolplantmpl(query) {
+  return request({
+    url: '/newstaff/schoolplantmpl/export',
+    method: 'get',
+    params: query
+  })
+}

+ 11 - 0
ui/src/api/training/newstaff/tnNew.js

@@ -9,6 +9,15 @@ export function listTnNew(query) {
   })
 }
 
+// 查询学员
+export function listStaff(query) {
+  return request({
+    url: '/newstaff/tnNew/listStaff',
+    method: 'get',
+    params: query
+  })
+}
+
 // 查询新员工培训详细
 export function getTnNew(newId) {
   return request({
@@ -51,3 +60,5 @@ export function exportTnNew(query) {
     params: query
   })
 }
+
+

+ 53 - 0
ui/src/api/training/newstaff/transferplan.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询转岗培训列表
+export function listTransferplan(query) {
+  return request({
+    url: '/newstaff/transferplan/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询转岗培训详细
+export function getTransferplan(id) {
+  return request({
+    url: '/newstaff/transferplan/' + id,
+    method: 'get'
+  })
+}
+
+// 新增转岗培训
+export function addTransferplan(data) {
+  return request({
+    url: '/newstaff/transferplan',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改转岗培训
+export function updateTransferplan(data) {
+  return request({
+    url: '/newstaff/transferplan',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除转岗培训
+export function delTransferplan(id) {
+  return request({
+    url: '/newstaff/transferplan/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出转岗培训
+export function exportTransferplan(query) {
+  return request({
+    url: '/newstaff/transferplan/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
ui/src/api/training/newstaff/transferplantmpl.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询转岗培训模版列表
+export function listTransferplantmpl(query) {
+  return request({
+    url: '/newstaff/transferplantmpl/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询转岗培训模版详细
+export function getTransferplantmpl(id) {
+  return request({
+    url: '/newstaff/transferplantmpl/' + id,
+    method: 'get'
+  })
+}
+
+// 新增转岗培训模版
+export function addTransferplantmpl(data) {
+  return request({
+    url: '/newstaff/transferplantmpl',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改转岗培训模版
+export function updateTransferplantmpl(data) {
+  return request({
+    url: '/newstaff/transferplantmpl',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除转岗培训模版
+export function delTransferplantmpl(id) {
+  return request({
+    url: '/newstaff/transferplantmpl/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出转岗培训模版
+export function exportTransferplantmpl(query) {
+  return request({
+    url: '/newstaff/transferplantmpl/export',
+    method: 'get',
+    params: query
+  })
+}

+ 13 - 0
ui/src/router/index.js

@@ -232,6 +232,19 @@ export const constantRoutes = [
       }
     ]
   },
+  {
+    path: '/training/newstaff',
+    component: Layout,
+    hidden: true,
+    children: [
+      {
+        path: 'planList/:newId(\\d+)',
+        component: (resolve) => require(['@/views/training/newstaff/planList'], resolve),
+        name: 'planList',
+        meta: { title: '新员工培训计划' }
+      },
+    ]
+  },
   {
     path: '/production',
     component: Layout,

+ 526 - 0
ui/src/views/training/newstaff/firstplan/index.vue

@@ -0,0 +1,526 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="培训员工编号" prop="newId">
+        <el-input
+          v-model="queryParams.newId"
+          placeholder="请输入培训员工编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="课程编号" prop="courseCode">
+        <el-input
+          v-model="queryParams.courseCode"
+          placeholder="请输入课程编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训主题" prop="topic">
+        <el-input
+          v-model="queryParams.topic"
+          placeholder="请输入培训主题"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训天" prop="courseDay">
+        <el-input
+          v-model="queryParams.courseDay"
+          placeholder="请输入培训天"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训小时" prop="courseHour">
+        <el-input
+          v-model="queryParams.courseHour"
+          placeholder="请输入培训小时"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训类型" prop="courseType">
+        <el-input
+          v-model="queryParams.courseType"
+          placeholder="请输入培训类型"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="讲师" prop="trainer">
+        <el-input
+          v-model="queryParams.trainer"
+          placeholder="请输入讲师"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训日期" prop="courseDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.courseDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择培训日期">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item>
+        <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <el-col :span="1.5">
+        <el-button
+          type="primary"
+          icon="el-icon-plus"
+          size="mini"
+          @click="handleAdd"
+          v-hasPermi="['newstaff:firstplan:add']"
+        >新增</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="success"
+          icon="el-icon-edit"
+          size="mini"
+          :disabled="single"
+          @click="handleUpdate"
+          v-hasPermi="['newstaff:firstplan:edit']"
+        >修改</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          icon="el-icon-delete"
+          size="mini"
+          :disabled="multiple"
+          @click="handleDelete"
+          v-hasPermi="['newstaff:firstplan:remove']"
+        >删除</el-button>
+      </el-col>
+        <el-col :span="1.5">
+            <el-button
+                    type="info"
+                    icon="el-icon-upload2"
+                    size="mini"
+                    @click="handleImport"
+                    v-hasPermi="['newstaff:firstplan:edit']"
+            >导入</el-button>
+        </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="warning"
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['newstaff:firstplan:export']"
+        >导出</el-button>
+      </el-col>
+	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="firstplanList" @selection-change="handleSelectionChange" :height="clientHeight" border>
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="唯一标识ID" align="center" prop="id" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训员工编号" align="center" prop="newId" :show-overflow-tooltip="true"/>
+      <el-table-column label="课程编号" align="center" prop="courseCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训主题" align="center" prop="topic" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训内容" align="center" prop="content" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训天" align="center" prop="courseDay" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训小时" align="center" prop="courseHour" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训类型" align="center" prop="courseType" :show-overflow-tooltip="true"/>
+      <el-table-column label="讲师" align="center" prop="trainer" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训日期" align="center" prop="courseDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.courseDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="考核情况" align="center" prop="assess" :show-overflow-tooltip="true"/>
+      <el-table-column label="部门编号" align="center" prop="deptId" :show-overflow-tooltip="true"/>
+      <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
+      <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="handleUpdate(scope.row)"
+            v-hasPermi="['newstaff:firstplan:edit']"
+          >修改</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-delete"
+            @click="handleDelete(scope.row)"
+            v-hasPermi="['newstaff:firstplan:remove']"
+          >删除</el-button>
+        </template>
+      </el-table-column>
+    </el-table>
+
+    <pagination
+      v-show="total>0"
+      :total="total"
+      :page.sync="queryParams.pageNum"
+      :limit.sync="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改进组培训对话框 -->
+    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+        <el-form-item label="培训员工编号" prop="newId">
+          <el-input v-model="form.newId" placeholder="请输入培训员工编号" />
+        </el-form-item>
+        <el-form-item label="课程编号" prop="courseCode">
+          <el-input v-model="form.courseCode" placeholder="请输入课程编号" />
+        </el-form-item>
+        <el-form-item label="培训主题" prop="topic">
+          <el-input v-model="form.topic" placeholder="请输入培训主题" />
+        </el-form-item>
+        <el-form-item label="培训内容" prop="content">
+          <el-input v-model="form.content" type="textarea" placeholder="请输入内容" />
+        </el-form-item>
+        <el-form-item label="培训天" prop="courseDay">
+          <el-input v-model="form.courseDay" placeholder="请输入培训天" />
+        </el-form-item>
+        <el-form-item label="培训小时" prop="courseHour">
+          <el-input v-model="form.courseHour" placeholder="请输入培训小时" />
+        </el-form-item>
+        <el-form-item label="培训类型" prop="courseType">
+          <el-input v-model="form.courseType" placeholder="请输入培训类型" />
+        </el-form-item>
+        <el-form-item label="讲师" prop="trainer">
+          <el-input v-model="form.trainer" placeholder="请输入讲师" />
+        </el-form-item>
+        <el-form-item label="培训日期" prop="courseDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.courseDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择培训日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="考核情况" prop="assess">
+          <el-input v-model="form.assess" placeholder="请输入考核情况" />
+        </el-form-item>
+        <el-form-item label="删除状态" prop="delFlag">
+          <el-input v-model="form.delFlag" placeholder="请输入删除状态" />
+        </el-form-item>
+        <el-form-item label="创建人" prop="createrCode">
+          <el-input v-model="form.createrCode" placeholder="请输入创建人" />
+        </el-form-item>
+        <el-form-item label="创建时间" prop="createdate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.createdate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择创建时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="修改人" prop="updaterCode">
+          <el-input v-model="form.updaterCode" placeholder="请输入修改人" />
+        </el-form-item>
+        <el-form-item label="修改时间" prop="updatedate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.updatedate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择修改时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="部门编号" prop="deptId">
+          <el-input v-model="form.deptId" placeholder="请输入部门编号" />
+        </el-form-item>
+        <el-form-item label="备注" prop="remarks">
+          <el-input v-model="form.remarks" placeholder="请输入备注" />
+        </el-form-item>
+          <el-form-item label="归属部门" prop="deptId">
+              <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
+          </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForm">确 定</el-button>
+        <el-button @click="cancel">取 消</el-button>
+      </div>
+    </el-dialog>
+      <!-- 用户导入对话框 -->
+      <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+          <el-upload
+                  ref="upload"
+                  :limit="1"
+                  accept=".xlsx, .xls"
+                  :headers="upload.headers"
+                  :action="upload.url + '?updateSupport=' + upload.updateSupport"
+                  :disabled="upload.isUploading"
+                  :on-progress="handleFileUploadProgress"
+                  :on-success="handleFileSuccess"
+                  :auto-upload="false"
+                  drag
+          >
+              <i class="el-icon-upload"></i>
+              <div class="el-upload__text">
+                  将文件拖到此处,或
+                  <em>点击上传</em>
+              </div>
+              <div class="el-upload__tip" slot="tip">
+                  <el-checkbox v-model="upload.updateSupport" />是否更新已经存在的用户数据
+                  <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+              </div>
+              <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+          </el-upload>
+          <div slot="footer" class="dialog-footer">
+              <el-button type="primary" @click="submitFileForm">确 定</el-button>
+              <el-button @click="upload.open = false">取 消</el-button>
+          </div>
+      </el-dialog>
+  </div>
+</template>
+
+<script>
+import { listFirstplan, getFirstplan, delFirstplan, addFirstplan, updateFirstplan, exportFirstplan, importTemplate} from "@/api/training/newstaff/firstplan";
+import { treeselect } from "@/api/system/dept";
+import { getToken } from "@/utils/auth";
+import Treeselect from "@riophae/vue-treeselect";
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+
+export default {
+  name: "Firstplan",
+  components: { Treeselect },
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: false,
+      // 总条数
+      total: 0,
+      // 进组培训表格数据
+      firstplanList: [],
+      // 弹出层标题
+      title: "",
+      // 部门树选项
+      deptOptions: undefined,
+      clientHeight:300,
+      // 是否显示弹出层
+      open: false,
+        // 用户导入参数
+        upload: {
+            // 是否显示弹出层(用户导入)
+            open: false,
+            // 弹出层标题(用户导入)
+            title: "",
+            // 是否禁用上传
+            isUploading: false,
+            // 是否更新已经存在的用户数据
+            updateSupport: 0,
+            // 设置上传的请求头部
+            headers: { Authorization: "Bearer " + getToken() },
+            // 上传的地址
+            url: process.env.VUE_APP_BASE_API + "/newstaff/firstplan/importData"
+        },
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 20,
+        newId: null,
+        courseCode: null,
+        topic: null,
+        content: null,
+        courseDay: null,
+        courseHour: null,
+        courseType: null,
+        trainer: null,
+        courseDate: null,
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+      }
+    };
+  },
+  watch: {
+        // 根据名称筛选部门树
+        deptName(val) {
+            this.$refs.tree.filter(val);
+        }
+   },
+  created() {
+      //设置表格高度对应屏幕高度
+      this.$nextTick(() => {
+          this.clientHeight = document.body.clientHeight -250
+      })
+    this.getList();
+    this.getTreeselect();
+  },
+  methods: {
+    /** 查询进组培训列表 */
+    getList() {
+      this.loading = true;
+      listFirstplan(this.queryParams).then(response => {
+        this.firstplanList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+     /** 查询部门下拉树结构 */
+     getTreeselect() {
+          treeselect().then(response => {
+              this.deptOptions = response.data;
+          });
+     },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        id: null,
+        newId: null,
+        courseCode: null,
+        topic: null,
+        content: null,
+        courseDay: null,
+        courseHour: null,
+        courseType: null,
+        trainer: null,
+        courseDate: null,
+        assess: null,
+        delFlag: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null,
+        remarks: null
+      };
+      this.resetForm("form");
+    },
+    /** 搜索按钮操作 */
+    handleQuery() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    resetQuery() {
+      this.resetForm("queryForm");
+      this.handleQuery();
+    },
+    // 多选框选中数据
+    handleSelectionChange(selection) {
+      this.ids = selection.map(item => item.id)
+      this.single = selection.length!==1
+      this.multiple = !selection.length
+    },
+    /** 新增按钮操作 */
+    handleAdd() {
+      this.reset();
+      this.open = true;
+      this.title = "添加进组培训";
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row) {
+      this.reset();
+      const id = row.id || this.ids
+      getFirstplan(id).then(response => {
+        this.form = response.data;
+        this.open = true;
+        this.title = "修改进组培训";
+      });
+    },
+    /** 提交按钮 */
+    submitForm() {
+      this.$refs["form"].validate(valid => {
+        if (valid) {
+          if (this.form.id != null) {
+            updateFirstplan(this.form).then(response => {
+              this.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addFirstplan(this.form).then(response => {
+              this.msgSuccess("新增成功");
+              this.open = false;
+              this.getList();
+            });
+          }
+        }
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(row) {
+      const ids = row.id || this.ids;
+      this.$confirm('是否确认删除?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return delFirstplan(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      const queryParams = this.queryParams;
+      this.$confirm('是否确认导出所有进组培训数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return exportFirstplan(queryParams);
+        }).then(response => {
+          this.download(response.msg);
+        })
+    },
+      /** 导入按钮操作 */
+      handleImport() {
+          this.upload.title = "用户导入";
+          this.upload.open = true;
+      },
+      /** 下载模板操作 */
+      importTemplate() {
+          importTemplate().then(response => {
+              this.download(response.msg);
+          });
+      },
+      // 文件上传中处理
+      handleFileUploadProgress(event, file, fileList) {
+          this.upload.isUploading = true;
+      },
+      // 文件上传成功处理
+      handleFileSuccess(response, file, fileList) {
+          this.upload.open = false;
+          this.upload.isUploading = false;
+          this.$refs.upload.clearFiles();
+          this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+          this.getList();
+      },
+      // 提交上传文件
+      submitFileForm() {
+          this.$refs.upload.submit();
+      }
+  }
+};
+</script>

+ 100 - 0
ui/src/views/training/newstaff/planList/index.vue

@@ -0,0 +1,100 @@
+<template>
+  <div class="app-container" style="padding: 0 0 0 0">
+    <el-tabs type="border-card" v-model="activeName" @tab-click="handleClick">
+      <el-tab-pane label="进组前培训" name="first">
+        <list item="1" typename="firstplan" v-if="isFirst"></list>
+      </el-tab-pane>
+      <el-tab-pane v-if="planType == 2" label="转岗培训" name="second">
+        <list2 item="1" typename="transferplan" v-if="isSecond"></list2>
+      </el-tab-pane>
+      <el-tab-pane v-else-if="planType == 1" label="校招培训" name="third">
+        <list3 item="1" typename="schoolplan" v-if="isThird"></list3>
+      </el-tab-pane>
+    </el-tabs>
+  </div>
+</template>
+
+<script>
+import List from '@/views/training/newstaff/firstplan/index.vue'
+import List2 from '@/views/training/newstaff/transferplan/index.vue'
+import List3 from '@/views/training/newstaff/schoolplan/index.vue'
+import {getTnNew} from "@/api/training/newstaff/tnNew";
+
+export default {
+  name: "palnList",
+  components: {
+    List,
+    List2,
+    List3,
+  },
+  data() {
+    return {
+      // 默认第一个Tab
+      activeName: 'first',
+      isFirst: true,
+      isSecond: false,
+      isThird: false,
+      isFourth: false,
+      isFifth: false,
+      isSixth: false,
+      planType: 1
+    }
+  },
+  created() {
+    //设置表格高度对应屏幕高度
+    const newId = this.$route.params && this.$route.params.newId;
+    getTnNew(newId).then(response => {
+      this.planType = response.data.planType;
+
+    });
+  },
+  methods: {
+    handleClick(tab) {
+      console.log(tab.name)
+      if (tab.name === 'first') {
+        this.isFirst = true
+        this.isSecond = false
+        this.isThird = false
+        this.isFourth = false
+        this.isFifth = false
+        this.isSix1th = false
+      } else if (tab.name === 'second') {
+        this.isFirst = false
+        this.isSecond = true
+        this.isThird = false
+        this.isFourth = false
+        this.isFifth = false
+        this.isSixth = false
+      }else if (tab.name === 'third') {
+        this.isFirst = false
+        this.isSecond = false
+        this.isThird = true
+        this.isFourth = false
+        this.isFifth = false
+        this.isSixth = false
+      }else if (tab.name === 'fourth') {
+        this.isFirst = false
+        this.isSecond = false
+        this.isThird = false
+        this.isFourth = true
+        this.isFifth = false
+        this.isSixth = false
+      }else if (tab.name === 'fifth') {
+        this.isFirst = false
+        this.isSecond = false
+        this.isThird = false
+        this.isFourth = false
+        this.isFifth = true
+        this.isSixth = false
+      }else if (tab.name === 'sixth') {
+        this.isFirst = false
+        this.isSecond = false
+        this.isThird = false
+        this.isFourth = false
+        this.isFifth = false
+        this.isSixth = true
+      }
+    }
+  }
+};
+</script>

+ 517 - 0
ui/src/views/training/newstaff/schoolplan/index.vue

@@ -0,0 +1,517 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="课程编号" prop="courseCode">
+        <el-input
+          v-model="queryParams.courseCode"
+          placeholder="请输入课程编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训主题" prop="topic">
+        <el-input
+          v-model="queryParams.topic"
+          placeholder="请输入培训主题"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="详细计划" prop="detailPlan">
+        <el-input
+          v-model="queryParams.detailPlan"
+          placeholder="请输入详细计划"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="讲师" prop="trainer">
+        <el-input
+          v-model="queryParams.trainer"
+          placeholder="请输入讲师"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训日期" prop="courseDate">
+        <el-date-picker clearable size="small" style="width: 200px"
+          v-model="queryParams.courseDate"
+          type="date"
+          value-format="yyyy-MM-dd"
+          placeholder="选择培训日期">
+        </el-date-picker>
+      </el-form-item>
+      <el-form-item label="考核情况" prop="assess">
+        <el-input
+          v-model="queryParams.assess"
+          placeholder="请输入考核情况"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item>
+        <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <el-col :span="1.5">
+        <el-button
+          type="primary"
+          icon="el-icon-plus"
+          size="mini"
+          @click="handleAdd"
+          v-hasPermi="['newstaff:schoolplan:add']"
+        >新增</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="success"
+          icon="el-icon-edit"
+          size="mini"
+          :disabled="single"
+          @click="handleUpdate"
+          v-hasPermi="['newstaff:schoolplan:edit']"
+        >修改</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          icon="el-icon-delete"
+          size="mini"
+          :disabled="multiple"
+          @click="handleDelete"
+          v-hasPermi="['newstaff:schoolplan:remove']"
+        >删除</el-button>
+      </el-col>
+        <el-col :span="1.5">
+            <el-button
+                    type="info"
+                    icon="el-icon-upload2"
+                    size="mini"
+                    @click="handleImport"
+                    v-hasPermi="['newstaff:schoolplan:edit']"
+            >导入</el-button>
+        </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="warning"
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['newstaff:schoolplan:export']"
+        >导出</el-button>
+      </el-col>
+	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="schoolplanList" @selection-change="handleSelectionChange" :height="clientHeight" border>
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="唯一标识ID" align="center" prop="id" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训员工编号" align="center" prop="newId" :show-overflow-tooltip="true"/>
+      <el-table-column label="课程编号" align="center" prop="courseCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训主题" align="center" prop="topic" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训内容" align="center" prop="content" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训天" align="center" prop="courseDay" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训小时" align="center" prop="courseHour" :show-overflow-tooltip="true"/>
+      <el-table-column label="详细计划" align="center" prop="detailPlan" :show-overflow-tooltip="true"/>
+      <el-table-column label="讲师" align="center" prop="trainer" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训日期" align="center" prop="courseDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.courseDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="考核情况" align="center" prop="assess" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建人" align="center" prop="createrCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建时间" align="center" prop="createdate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.createdate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="修改人" align="center" prop="updaterCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="修改时间" align="center" prop="updatedate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.updatedate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="部门编号" align="center" prop="deptId" :show-overflow-tooltip="true"/>
+      <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
+      <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="handleUpdate(scope.row)"
+            v-hasPermi="['newstaff:schoolplan:edit']"
+          >修改</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-delete"
+            @click="handleDelete(scope.row)"
+            v-hasPermi="['newstaff:schoolplan:remove']"
+          >删除</el-button>
+        </template>
+      </el-table-column>
+    </el-table>
+
+    <pagination
+      v-show="total>0"
+      :total="total"
+      :page.sync="queryParams.pageNum"
+      :limit.sync="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改校招培训对话框 -->
+    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+        <el-form-item label="培训员工编号" prop="newId">
+          <el-input v-model="form.newId" placeholder="请输入培训员工编号" />
+        </el-form-item>
+        <el-form-item label="课程编号" prop="courseCode">
+          <el-input v-model="form.courseCode" placeholder="请输入课程编号" />
+        </el-form-item>
+        <el-form-item label="培训主题" prop="topic">
+          <el-input v-model="form.topic" placeholder="请输入培训主题" />
+        </el-form-item>
+        <el-form-item label="培训内容" prop="content">
+          <el-input v-model="form.content" type="textarea" placeholder="请输入内容" />
+        </el-form-item>
+        <el-form-item label="培训天" prop="courseDay">
+          <el-input v-model="form.courseDay" placeholder="请输入培训天" />
+        </el-form-item>
+        <el-form-item label="培训小时" prop="courseHour">
+          <el-input v-model="form.courseHour" placeholder="请输入培训小时" />
+        </el-form-item>
+        <el-form-item label="详细计划" prop="detailPlan">
+          <el-input v-model="form.detailPlan" placeholder="请输入详细计划" />
+        </el-form-item>
+        <el-form-item label="讲师" prop="trainer">
+          <el-input v-model="form.trainer" placeholder="请输入讲师" />
+        </el-form-item>
+        <el-form-item label="培训日期" prop="courseDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.courseDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择培训日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="考核情况" prop="assess">
+          <el-input v-model="form.assess" placeholder="请输入考核情况" />
+        </el-form-item>
+        <el-form-item label="删除状态" prop="delFlag">
+          <el-input v-model="form.delFlag" placeholder="请输入删除状态" />
+        </el-form-item>
+        <el-form-item label="创建人" prop="createrCode">
+          <el-input v-model="form.createrCode" placeholder="请输入创建人" />
+        </el-form-item>
+        <el-form-item label="创建时间" prop="createdate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.createdate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择创建时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="修改人" prop="updaterCode">
+          <el-input v-model="form.updaterCode" placeholder="请输入修改人" />
+        </el-form-item>
+        <el-form-item label="修改时间" prop="updatedate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.updatedate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择修改时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="部门编号" prop="deptId">
+          <el-input v-model="form.deptId" placeholder="请输入部门编号" />
+        </el-form-item>
+        <el-form-item label="备注" prop="remarks">
+          <el-input v-model="form.remarks" placeholder="请输入备注" />
+        </el-form-item>
+          <el-form-item label="归属部门" prop="deptId">
+              <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
+          </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForm">确 定</el-button>
+        <el-button @click="cancel">取 消</el-button>
+      </div>
+    </el-dialog>
+      <!-- 用户导入对话框 -->
+      <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+          <el-upload
+                  ref="upload"
+                  :limit="1"
+                  accept=".xlsx, .xls"
+                  :headers="upload.headers"
+                  :action="upload.url + '?updateSupport=' + upload.updateSupport"
+                  :disabled="upload.isUploading"
+                  :on-progress="handleFileUploadProgress"
+                  :on-success="handleFileSuccess"
+                  :auto-upload="false"
+                  drag
+          >
+              <i class="el-icon-upload"></i>
+              <div class="el-upload__text">
+                  将文件拖到此处,或
+                  <em>点击上传</em>
+              </div>
+              <div class="el-upload__tip" slot="tip">
+                  <el-checkbox v-model="upload.updateSupport" />是否更新已经存在的用户数据
+                  <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+              </div>
+              <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+          </el-upload>
+          <div slot="footer" class="dialog-footer">
+              <el-button type="primary" @click="submitFileForm">确 定</el-button>
+              <el-button @click="upload.open = false">取 消</el-button>
+          </div>
+      </el-dialog>
+  </div>
+</template>
+
+<script>
+import { listSchoolplan, getSchoolplan, delSchoolplan, addSchoolplan, updateSchoolplan, exportSchoolplan, importTemplate} from "@/api/training/newstaff/schoolplan";
+import { treeselect } from "@/api/system/dept";
+import { getToken } from "@/utils/auth";
+import Treeselect from "@riophae/vue-treeselect";
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+
+export default {
+  name: "Schoolplan",
+  components: { Treeselect },
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: false,
+      // 总条数
+      total: 0,
+      // 校招培训表格数据
+      schoolplanList: [],
+      // 弹出层标题
+      title: "",
+      // 部门树选项
+      deptOptions: undefined,
+      clientHeight:300,
+      // 是否显示弹出层
+      open: false,
+        // 用户导入参数
+        upload: {
+            // 是否显示弹出层(用户导入)
+            open: false,
+            // 弹出层标题(用户导入)
+            title: "",
+            // 是否禁用上传
+            isUploading: false,
+            // 是否更新已经存在的用户数据
+            updateSupport: 0,
+            // 设置上传的请求头部
+            headers: { Authorization: "Bearer " + getToken() },
+            // 上传的地址
+            url: process.env.VUE_APP_BASE_API + "/newstaff/schoolplan/importData"
+        },
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 20,
+        courseCode: null,
+        topic: null,
+        detailPlan: null,
+        trainer: null,
+        courseDate: null,
+        assess: null,
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+      }
+    };
+  },
+  watch: {
+        // 根据名称筛选部门树
+        deptName(val) {
+            this.$refs.tree.filter(val);
+        }
+   },
+  created() {
+      //设置表格高度对应屏幕高度
+      this.$nextTick(() => {
+          this.clientHeight = document.body.clientHeight -250
+      })
+    this.getList();
+    this.getTreeselect();
+  },
+  methods: {
+    /** 查询校招培训列表 */
+    getList() {
+      this.loading = true;
+      listSchoolplan(this.queryParams).then(response => {
+        this.schoolplanList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+     /** 查询部门下拉树结构 */
+     getTreeselect() {
+          treeselect().then(response => {
+              this.deptOptions = response.data;
+          });
+     },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        id: null,
+        newId: null,
+        courseCode: null,
+        topic: null,
+        content: null,
+        courseDay: null,
+        courseHour: null,
+        detailPlan: null,
+        trainer: null,
+        courseDate: null,
+        assess: null,
+        delFlag: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null,
+        remarks: null
+      };
+      this.resetForm("form");
+    },
+    /** 搜索按钮操作 */
+    handleQuery() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    resetQuery() {
+      this.resetForm("queryForm");
+      this.handleQuery();
+    },
+    // 多选框选中数据
+    handleSelectionChange(selection) {
+      this.ids = selection.map(item => item.id)
+      this.single = selection.length!==1
+      this.multiple = !selection.length
+    },
+    /** 新增按钮操作 */
+    handleAdd() {
+      this.reset();
+      this.open = true;
+      this.title = "添加校招培训";
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row) {
+      this.reset();
+      const id = row.id || this.ids
+      getSchoolplan(id).then(response => {
+        this.form = response.data;
+        this.open = true;
+        this.title = "修改校招培训";
+      });
+    },
+    /** 提交按钮 */
+    submitForm() {
+      this.$refs["form"].validate(valid => {
+        if (valid) {
+          if (this.form.id != null) {
+            updateSchoolplan(this.form).then(response => {
+              this.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addSchoolplan(this.form).then(response => {
+              this.msgSuccess("新增成功");
+              this.open = false;
+              this.getList();
+            });
+          }
+        }
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(row) {
+      const ids = row.id || this.ids;
+      this.$confirm('是否确认删除?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return delSchoolplan(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      const queryParams = this.queryParams;
+      this.$confirm('是否确认导出所有校招培训数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return exportSchoolplan(queryParams);
+        }).then(response => {
+          this.download(response.msg);
+        })
+    },
+      /** 导入按钮操作 */
+      handleImport() {
+          this.upload.title = "用户导入";
+          this.upload.open = true;
+      },
+      /** 下载模板操作 */
+      importTemplate() {
+          importTemplate().then(response => {
+              this.download(response.msg);
+          });
+      },
+      // 文件上传中处理
+      handleFileUploadProgress(event, file, fileList) {
+          this.upload.isUploading = true;
+      },
+      // 文件上传成功处理
+      handleFileSuccess(response, file, fileList) {
+          this.upload.open = false;
+          this.upload.isUploading = false;
+          this.$refs.upload.clearFiles();
+          this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+          this.getList();
+      },
+      // 提交上传文件
+      submitFileForm() {
+          this.$refs.upload.submit();
+      }
+  }
+};
+</script>

+ 474 - 0
ui/src/views/training/newstaff/schoolplantmpl/index.vue

@@ -0,0 +1,474 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="课程编号" prop="courseCode">
+        <el-input
+          v-model="queryParams.courseCode"
+          placeholder="请输入课程编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训主题" prop="topic">
+        <el-input
+          v-model="queryParams.topic"
+          placeholder="请输入培训主题"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item>
+        <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <el-col :span="1.5">
+        <el-button
+          type="primary"
+          icon="el-icon-plus"
+          size="mini"
+          @click="handleAdd"
+          v-hasPermi="['newstaff:schoolplantmpl:add']"
+        >新增</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="success"
+          icon="el-icon-edit"
+          size="mini"
+          :disabled="single"
+          @click="handleUpdate"
+          v-hasPermi="['newstaff:schoolplantmpl:edit']"
+        >修改</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          icon="el-icon-delete"
+          size="mini"
+          :disabled="multiple"
+          @click="handleDelete"
+          v-hasPermi="['newstaff:schoolplantmpl:remove']"
+        >删除</el-button>
+      </el-col>
+        <el-col :span="1.5">
+            <el-button
+                    type="info"
+                    icon="el-icon-upload2"
+                    size="mini"
+                    @click="handleImport"
+                    v-hasPermi="['newstaff:schoolplantmpl:edit']"
+            >导入</el-button>
+        </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="warning"
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['newstaff:schoolplantmpl:export']"
+        >导出</el-button>
+      </el-col>
+	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="schoolplantmplList" @selection-change="handleSelectionChange" :height="clientHeight" border>
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="唯一标识ID" align="center" prop="id" :show-overflow-tooltip="true"/>
+      <el-table-column label="课程编号" align="center" prop="courseCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训主题" align="center" prop="topic" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训内容" align="center" prop="content" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训天" align="center" prop="courseDay" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训小时" align="center" prop="courseHour" :show-overflow-tooltip="true"/>
+      <el-table-column label="详细计划" align="center" prop="detailPlan" :show-overflow-tooltip="true"/>
+      <el-table-column label="讲师" align="center" prop="trainer" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训日期" align="center" prop="courseDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.courseDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="考核情况" align="center" prop="assess" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建人" align="center" prop="createrCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建时间" align="center" prop="createdate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.createdate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="修改人" align="center" prop="updaterCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="修改时间" align="center" prop="updatedate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.updatedate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="部门编号" align="center" prop="deptId" :show-overflow-tooltip="true"/>
+      <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
+      <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="handleUpdate(scope.row)"
+            v-hasPermi="['newstaff:schoolplantmpl:edit']"
+          >修改</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-delete"
+            @click="handleDelete(scope.row)"
+            v-hasPermi="['newstaff:schoolplantmpl:remove']"
+          >删除</el-button>
+        </template>
+      </el-table-column>
+    </el-table>
+
+    <pagination
+      v-show="total>0"
+      :total="total"
+      :page.sync="queryParams.pageNum"
+      :limit.sync="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改校招培训模版对话框 -->
+    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+        <el-form-item label="课程编号" prop="courseCode">
+          <el-input v-model="form.courseCode" placeholder="请输入课程编号" />
+        </el-form-item>
+        <el-form-item label="培训主题" prop="topic">
+          <el-input v-model="form.topic" placeholder="请输入培训主题" />
+        </el-form-item>
+        <el-form-item label="培训内容" prop="content">
+          <el-input v-model="form.content" type="textarea" placeholder="请输入内容" />
+        </el-form-item>
+        <el-form-item label="培训天" prop="courseDay">
+          <el-input v-model="form.courseDay" placeholder="请输入培训天" />
+        </el-form-item>
+        <el-form-item label="培训小时" prop="courseHour">
+          <el-input v-model="form.courseHour" placeholder="请输入培训小时" />
+        </el-form-item>
+        <el-form-item label="详细计划" prop="detailPlan">
+          <el-input v-model="form.detailPlan" placeholder="请输入详细计划" />
+        </el-form-item>
+        <el-form-item label="讲师" prop="trainer">
+          <el-input v-model="form.trainer" placeholder="请输入讲师" />
+        </el-form-item>
+        <el-form-item label="培训日期" prop="courseDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.courseDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择培训日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="考核情况" prop="assess">
+          <el-input v-model="form.assess" placeholder="请输入考核情况" />
+        </el-form-item>
+        <el-form-item label="删除状态" prop="delFlag">
+          <el-input v-model="form.delFlag" placeholder="请输入删除状态" />
+        </el-form-item>
+        <el-form-item label="创建人" prop="createrCode">
+          <el-input v-model="form.createrCode" placeholder="请输入创建人" />
+        </el-form-item>
+        <el-form-item label="创建时间" prop="createdate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.createdate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择创建时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="修改人" prop="updaterCode">
+          <el-input v-model="form.updaterCode" placeholder="请输入修改人" />
+        </el-form-item>
+        <el-form-item label="修改时间" prop="updatedate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.updatedate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择修改时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="部门编号" prop="deptId">
+          <el-input v-model="form.deptId" placeholder="请输入部门编号" />
+        </el-form-item>
+        <el-form-item label="备注" prop="remarks">
+          <el-input v-model="form.remarks" placeholder="请输入备注" />
+        </el-form-item>
+          <el-form-item label="归属部门" prop="deptId">
+              <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
+          </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForm">确 定</el-button>
+        <el-button @click="cancel">取 消</el-button>
+      </div>
+    </el-dialog>
+      <!-- 用户导入对话框 -->
+      <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+          <el-upload
+                  ref="upload"
+                  :limit="1"
+                  accept=".xlsx, .xls"
+                  :headers="upload.headers"
+                  :action="upload.url + '?updateSupport=' + upload.updateSupport"
+                  :disabled="upload.isUploading"
+                  :on-progress="handleFileUploadProgress"
+                  :on-success="handleFileSuccess"
+                  :auto-upload="false"
+                  drag
+          >
+              <i class="el-icon-upload"></i>
+              <div class="el-upload__text">
+                  将文件拖到此处,或
+                  <em>点击上传</em>
+              </div>
+              <div class="el-upload__tip" slot="tip">
+                  <el-checkbox v-model="upload.updateSupport" />是否更新已经存在的用户数据
+                  <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+              </div>
+              <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+          </el-upload>
+          <div slot="footer" class="dialog-footer">
+              <el-button type="primary" @click="submitFileForm">确 定</el-button>
+              <el-button @click="upload.open = false">取 消</el-button>
+          </div>
+      </el-dialog>
+  </div>
+</template>
+
+<script>
+import { listSchoolplantmpl, getSchoolplantmpl, delSchoolplantmpl, addSchoolplantmpl, updateSchoolplantmpl, exportSchoolplantmpl, importTemplate} from "@/api/training/newstaff/schoolplantmpl";
+import { treeselect } from "@/api/system/dept";
+import { getToken } from "@/utils/auth";
+import Treeselect from "@riophae/vue-treeselect";
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+
+export default {
+  name: "Schoolplantmpl",
+  components: { Treeselect },
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: false,
+      // 总条数
+      total: 0,
+      // 校招培训模版表格数据
+      schoolplantmplList: [],
+      // 弹出层标题
+      title: "",
+      // 部门树选项
+      deptOptions: undefined,
+      clientHeight:300,
+      // 是否显示弹出层
+      open: false,
+        // 用户导入参数
+        upload: {
+            // 是否显示弹出层(用户导入)
+            open: false,
+            // 弹出层标题(用户导入)
+            title: "",
+            // 是否禁用上传
+            isUploading: false,
+            // 是否更新已经存在的用户数据
+            updateSupport: 0,
+            // 设置上传的请求头部
+            headers: { Authorization: "Bearer " + getToken() },
+            // 上传的地址
+            url: process.env.VUE_APP_BASE_API + "/newstaff/schoolplantmpl/importData"
+        },
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 20,
+        courseCode: null,
+        topic: null,
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+      }
+    };
+  },
+  watch: {
+        // 根据名称筛选部门树
+        deptName(val) {
+            this.$refs.tree.filter(val);
+        }
+   },
+  created() {
+      //设置表格高度对应屏幕高度
+      this.$nextTick(() => {
+          this.clientHeight = document.body.clientHeight -250
+      })
+    this.getList();
+    this.getTreeselect();
+  },
+  methods: {
+    /** 查询校招培训模版列表 */
+    getList() {
+      this.loading = true;
+      listSchoolplantmpl(this.queryParams).then(response => {
+        this.schoolplantmplList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+     /** 查询部门下拉树结构 */
+     getTreeselect() {
+          treeselect().then(response => {
+              this.deptOptions = response.data;
+          });
+     },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        id: null,
+        newId: null,
+        courseCode: null,
+        topic: null,
+        content: null,
+        courseDay: null,
+        courseHour: null,
+        detailPlan: null,
+        trainer: null,
+        courseDate: null,
+        assess: null,
+        delFlag: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null,
+        remarks: null
+      };
+      this.resetForm("form");
+    },
+    /** 搜索按钮操作 */
+    handleQuery() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    resetQuery() {
+      this.resetForm("queryForm");
+      this.handleQuery();
+    },
+    // 多选框选中数据
+    handleSelectionChange(selection) {
+      this.ids = selection.map(item => item.id)
+      this.single = selection.length!==1
+      this.multiple = !selection.length
+    },
+    /** 新增按钮操作 */
+    handleAdd() {
+      this.reset();
+      this.open = true;
+      this.title = "添加校招培训模版";
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row) {
+      this.reset();
+      const id = row.id || this.ids
+      getSchoolplantmpl(id).then(response => {
+        this.form = response.data;
+        this.open = true;
+        this.title = "修改校招培训模版";
+      });
+    },
+    /** 提交按钮 */
+    submitForm() {
+      this.$refs["form"].validate(valid => {
+        if (valid) {
+          if (this.form.id != null) {
+            updateSchoolplantmpl(this.form).then(response => {
+              this.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addSchoolplantmpl(this.form).then(response => {
+              this.msgSuccess("新增成功");
+              this.open = false;
+              this.getList();
+            });
+          }
+        }
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(row) {
+      const ids = row.id || this.ids;
+      this.$confirm('是否确认删除?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return delSchoolplantmpl(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      const queryParams = this.queryParams;
+      this.$confirm('是否确认导出所有校招培训模版数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return exportSchoolplantmpl(queryParams);
+        }).then(response => {
+          this.download(response.msg);
+        })
+    },
+      /** 导入按钮操作 */
+      handleImport() {
+          this.upload.title = "用户导入";
+          this.upload.open = true;
+      },
+      /** 下载模板操作 */
+      importTemplate() {
+          importTemplate().then(response => {
+              this.download(response.msg);
+          });
+      },
+      // 文件上传中处理
+      handleFileUploadProgress(event, file, fileList) {
+          this.upload.isUploading = true;
+      },
+      // 文件上传成功处理
+      handleFileSuccess(response, file, fileList) {
+          this.upload.open = false;
+          this.upload.isUploading = false;
+          this.$refs.upload.clearFiles();
+          this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+          this.getList();
+      },
+      // 提交上传文件
+      submitFileForm() {
+          this.$refs.upload.submit();
+      }
+  }
+};
+</script>

+ 39 - 10
ui/src/views/training/newstaff/tnNew/index.vue

@@ -120,10 +120,16 @@
       </el-table-column>
 <!--      <el-table-column label="导师员工编号" align="center" prop="mentorStaffId" :show-overflow-tooltip="true"/>-->
       <el-table-column label="导师号" align="center" prop="mentorStaffName" :show-overflow-tooltip="true"/>
-      <el-table-column label="培训类型 1-新员工 2-转岗" align="center" prop="planType" :formatter="planTypeFormat" />
+      <el-table-column label="培训类型" align="center" prop="planType" :formatter="planTypeFormat" />
       <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
       <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
         <template slot-scope="scope">
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-view"
+            @click="planList(scope.row)"
+          >培训计划</el-button>
           <el-button
             size="mini"
             type="text"
@@ -131,13 +137,6 @@
             @click="handleUpdate(scope.row)"
             v-hasPermi="['newstaff:tnNew:edit']"
           >修改</el-button>
-          <el-button
-            size="mini"
-            type="text"
-            icon="el-icon-delete"
-            @click="handleDelete(scope.row)"
-            v-hasPermi="['newstaff:tnNew:remove']"
-          >删除</el-button>
         </template>
       </el-table-column>
     </el-table>
@@ -156,6 +155,17 @@
         <el-form-item label="培训员工编号" prop="staffId">
           <el-input v-model="form.staffId" placeholder="请输入培训员工编号" />
         </el-form-item>
+        <el-form-item label="培训员工" prop="mentorStaffId">
+          <el-select v-model="form.staffId" filterable :placeholder="$t('请选择')+$t('培训员工')">
+            <el-option
+              v-for="item in userOption"
+              :key="item.staffid"
+              :label="item.name +'  '+ item.deptName"
+              :value="item.staffid"
+              :disabled="item.disabled">
+            </el-option>
+          </el-select>
+        </el-form-item>
         <el-form-item label="培训状态">
           <el-select v-model="form.planStatus" placeholder="请选择培训状态">
             <el-option
@@ -185,7 +195,18 @@
         <el-form-item label="导师员工编号" prop="mentorStaffId">
           <el-input v-model="form.mentorStaffId" placeholder="请输入导师员工编号" />
         </el-form-item>
-        <el-form-item label="培训类型 1-新员工 2-转岗" prop="planType">
+        <el-form-item label="导师员工" prop="mentorStaffId">
+          <el-select v-model="form.mentorStaffId" filterable :placeholder="$t('请选择')+$t('导师员工')">
+            <el-option
+              v-for="item in userOption"
+              :key="item.staffid"
+              :label="item.name +'  '+ item.deptName"
+              :value="item.staffid"
+              :disabled="item.disabled">
+            </el-option>
+          </el-select>
+        </el-form-item>
+        <el-form-item label="培训类型" prop="planType">
           <el-radio-group v-model="form.planType">
             <el-radio
               v-for="dict in planTypeOptions"
@@ -240,7 +261,7 @@
 </template>
 
 <script>
-import { listTnNew, getTnNew, delTnNew, addTnNew, updateTnNew, exportTnNew, importTemplate} from "@/api/training/newstaff/tnNew";
+import { listTnNew,listStaff, getTnNew, delTnNew, addTnNew, updateTnNew, exportTnNew, importTemplate} from "@/api/training/newstaff/tnNew";
 import { treeselect } from "@/api/system/dept";
 import { getToken } from "@/utils/auth";
 import Treeselect from "@riophae/vue-treeselect";
@@ -274,6 +295,7 @@ export default {
       planStatusOptions: [],
       // 培训类型 1-新员工 2-转岗字典
       planTypeOptions: [],
+      userOption:[],
       // 是否显示弹出层
       open: false,
         // 用户导入参数
@@ -327,6 +349,9 @@ export default {
     this.getDicts("training_newstaff_type").then(response => {
       this.planTypeOptions = response.data;
     });
+    listStaff(this.queryParams).then(response => {
+      this.userOption = response.data;
+    });
   },
   methods: {
     /** 查询新员工培训列表 */
@@ -395,6 +420,10 @@ export default {
       this.single = selection.length!==1
       this.multiple = !selection.length
     },
+    planList(row){
+      const newId = row.newId
+      this.$router.push("/training/newstaff/planList/" + newId);
+    },
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();

+ 478 - 0
ui/src/views/training/newstaff/transferplan/index.vue

@@ -0,0 +1,478 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="课程编号" prop="courseCode">
+        <el-input
+          v-model="queryParams.courseCode"
+          placeholder="请输入课程编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训主题" prop="topic">
+        <el-input
+          v-model="queryParams.topic"
+          placeholder="请输入培训主题"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item>
+        <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <el-col :span="1.5">
+        <el-button
+          type="primary"
+          icon="el-icon-plus"
+          size="mini"
+          @click="handleAdd"
+          v-hasPermi="['newstaff:transferplan:add']"
+        >新增</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="success"
+          icon="el-icon-edit"
+          size="mini"
+          :disabled="single"
+          @click="handleUpdate"
+          v-hasPermi="['newstaff:transferplan:edit']"
+        >修改</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          icon="el-icon-delete"
+          size="mini"
+          :disabled="multiple"
+          @click="handleDelete"
+          v-hasPermi="['newstaff:transferplan:remove']"
+        >删除</el-button>
+      </el-col>
+        <el-col :span="1.5">
+            <el-button
+                    type="info"
+                    icon="el-icon-upload2"
+                    size="mini"
+                    @click="handleImport"
+                    v-hasPermi="['newstaff:transferplan:edit']"
+            >导入</el-button>
+        </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="warning"
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['newstaff:transferplan:export']"
+        >导出</el-button>
+      </el-col>
+	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="transferplanList" @selection-change="handleSelectionChange" :height="clientHeight" border>
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="唯一标识ID" align="center" prop="id" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训员工编号" align="center" prop="newId" :show-overflow-tooltip="true"/>
+      <el-table-column label="课程编号" align="center" prop="courseCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训主题" align="center" prop="topic" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训内容" align="center" prop="content" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训天" align="center" prop="courseDay" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训小时" align="center" prop="courseHour" :show-overflow-tooltip="true"/>
+      <el-table-column label="详细计划" align="center" prop="detailPlan" :show-overflow-tooltip="true"/>
+      <el-table-column label="讲师" align="center" prop="trainer" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训日期" align="center" prop="courseDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.courseDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="考核情况" align="center" prop="assess" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建人" align="center" prop="createrCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建时间" align="center" prop="createdate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.createdate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="修改人" align="center" prop="updaterCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="修改时间" align="center" prop="updatedate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.updatedate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="部门编号" align="center" prop="deptId" :show-overflow-tooltip="true"/>
+      <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
+      <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="handleUpdate(scope.row)"
+            v-hasPermi="['newstaff:transferplan:edit']"
+          >修改</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-delete"
+            @click="handleDelete(scope.row)"
+            v-hasPermi="['newstaff:transferplan:remove']"
+          >删除</el-button>
+        </template>
+      </el-table-column>
+    </el-table>
+
+    <pagination
+      v-show="total>0"
+      :total="total"
+      :page.sync="queryParams.pageNum"
+      :limit.sync="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改转岗培训对话框 -->
+    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+        <el-form-item label="培训员工编号" prop="newId">
+          <el-input v-model="form.newId" placeholder="请输入培训员工编号" />
+        </el-form-item>
+        <el-form-item label="课程编号" prop="courseCode">
+          <el-input v-model="form.courseCode" placeholder="请输入课程编号" />
+        </el-form-item>
+        <el-form-item label="培训主题" prop="topic">
+          <el-input v-model="form.topic" placeholder="请输入培训主题" />
+        </el-form-item>
+        <el-form-item label="培训内容" prop="content">
+          <el-input v-model="form.content" type="textarea" placeholder="请输入内容" />
+        </el-form-item>
+        <el-form-item label="培训天" prop="courseDay">
+          <el-input v-model="form.courseDay" placeholder="请输入培训天" />
+        </el-form-item>
+        <el-form-item label="培训小时" prop="courseHour">
+          <el-input v-model="form.courseHour" placeholder="请输入培训小时" />
+        </el-form-item>
+        <el-form-item label="详细计划" prop="detailPlan">
+          <el-input v-model="form.detailPlan" placeholder="请输入详细计划" />
+        </el-form-item>
+        <el-form-item label="讲师" prop="trainer">
+          <el-input v-model="form.trainer" placeholder="请输入讲师" />
+        </el-form-item>
+        <el-form-item label="培训日期" prop="courseDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.courseDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择培训日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="考核情况" prop="assess">
+          <el-input v-model="form.assess" placeholder="请输入考核情况" />
+        </el-form-item>
+        <el-form-item label="删除状态" prop="delFlag">
+          <el-input v-model="form.delFlag" placeholder="请输入删除状态" />
+        </el-form-item>
+        <el-form-item label="创建人" prop="createrCode">
+          <el-input v-model="form.createrCode" placeholder="请输入创建人" />
+        </el-form-item>
+        <el-form-item label="创建时间" prop="createdate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.createdate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择创建时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="修改人" prop="updaterCode">
+          <el-input v-model="form.updaterCode" placeholder="请输入修改人" />
+        </el-form-item>
+        <el-form-item label="修改时间" prop="updatedate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.updatedate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择修改时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="部门编号" prop="deptId">
+          <el-input v-model="form.deptId" placeholder="请输入部门编号" />
+        </el-form-item>
+        <el-form-item label="备注" prop="remarks">
+          <el-input v-model="form.remarks" placeholder="请输入备注" />
+        </el-form-item>
+          <el-form-item label="归属部门" prop="deptId">
+              <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
+          </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForm">确 定</el-button>
+        <el-button @click="cancel">取 消</el-button>
+      </div>
+    </el-dialog>
+      <!-- 用户导入对话框 -->
+      <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+          <el-upload
+                  ref="upload"
+                  :limit="1"
+                  accept=".xlsx, .xls"
+                  :headers="upload.headers"
+                  :action="upload.url + '?updateSupport=' + upload.updateSupport"
+                  :disabled="upload.isUploading"
+                  :on-progress="handleFileUploadProgress"
+                  :on-success="handleFileSuccess"
+                  :auto-upload="false"
+                  drag
+          >
+              <i class="el-icon-upload"></i>
+              <div class="el-upload__text">
+                  将文件拖到此处,或
+                  <em>点击上传</em>
+              </div>
+              <div class="el-upload__tip" slot="tip">
+                  <el-checkbox v-model="upload.updateSupport" />是否更新已经存在的用户数据
+                  <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+              </div>
+              <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+          </el-upload>
+          <div slot="footer" class="dialog-footer">
+              <el-button type="primary" @click="submitFileForm">确 定</el-button>
+              <el-button @click="upload.open = false">取 消</el-button>
+          </div>
+      </el-dialog>
+  </div>
+</template>
+
+<script>
+import { listTransferplan, getTransferplan, delTransferplan, addTransferplan, updateTransferplan, exportTransferplan, importTemplate} from "@/api/training/newstaff/transferplan";
+import { treeselect } from "@/api/system/dept";
+import { getToken } from "@/utils/auth";
+import Treeselect from "@riophae/vue-treeselect";
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+
+export default {
+  name: "Transferplan",
+  components: { Treeselect },
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: false,
+      // 总条数
+      total: 0,
+      // 转岗培训表格数据
+      transferplanList: [],
+      // 弹出层标题
+      title: "",
+      // 部门树选项
+      deptOptions: undefined,
+      clientHeight:300,
+      // 是否显示弹出层
+      open: false,
+        // 用户导入参数
+        upload: {
+            // 是否显示弹出层(用户导入)
+            open: false,
+            // 弹出层标题(用户导入)
+            title: "",
+            // 是否禁用上传
+            isUploading: false,
+            // 是否更新已经存在的用户数据
+            updateSupport: 0,
+            // 设置上传的请求头部
+            headers: { Authorization: "Bearer " + getToken() },
+            // 上传的地址
+            url: process.env.VUE_APP_BASE_API + "/newstaff/transferplan/importData"
+        },
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 20,
+        courseCode: null,
+        topic: null,
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+      }
+    };
+  },
+  watch: {
+        // 根据名称筛选部门树
+        deptName(val) {
+            this.$refs.tree.filter(val);
+        }
+   },
+  created() {
+      //设置表格高度对应屏幕高度
+      this.$nextTick(() => {
+          this.clientHeight = document.body.clientHeight -250
+      })
+    this.getList();
+    this.getTreeselect();
+  },
+  methods: {
+    /** 查询转岗培训列表 */
+    getList() {
+      this.loading = true;
+      listTransferplan(this.queryParams).then(response => {
+        this.transferplanList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+     /** 查询部门下拉树结构 */
+     getTreeselect() {
+          treeselect().then(response => {
+              this.deptOptions = response.data;
+          });
+     },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        id: null,
+        newId: null,
+        courseCode: null,
+        topic: null,
+        content: null,
+        courseDay: null,
+        courseHour: null,
+        detailPlan: null,
+        trainer: null,
+        courseDate: null,
+        assess: null,
+        delFlag: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null,
+        remarks: null
+      };
+      this.resetForm("form");
+    },
+    /** 搜索按钮操作 */
+    handleQuery() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    resetQuery() {
+      this.resetForm("queryForm");
+      this.handleQuery();
+    },
+    // 多选框选中数据
+    handleSelectionChange(selection) {
+      this.ids = selection.map(item => item.id)
+      this.single = selection.length!==1
+      this.multiple = !selection.length
+    },
+    /** 新增按钮操作 */
+    handleAdd() {
+      this.reset();
+      this.open = true;
+      this.title = "添加转岗培训";
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row) {
+      this.reset();
+      const id = row.id || this.ids
+      getTransferplan(id).then(response => {
+        this.form = response.data;
+        this.open = true;
+        this.title = "修改转岗培训";
+      });
+    },
+    /** 提交按钮 */
+    submitForm() {
+      this.$refs["form"].validate(valid => {
+        if (valid) {
+          if (this.form.id != null) {
+            updateTransferplan(this.form).then(response => {
+              this.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addTransferplan(this.form).then(response => {
+              this.msgSuccess("新增成功");
+              this.open = false;
+              this.getList();
+            });
+          }
+        }
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(row) {
+      const ids = row.id || this.ids;
+      this.$confirm('是否确认删除?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return delTransferplan(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      const queryParams = this.queryParams;
+      this.$confirm('是否确认导出所有转岗培训数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return exportTransferplan(queryParams);
+        }).then(response => {
+          this.download(response.msg);
+        })
+    },
+      /** 导入按钮操作 */
+      handleImport() {
+          this.upload.title = "用户导入";
+          this.upload.open = true;
+      },
+      /** 下载模板操作 */
+      importTemplate() {
+          importTemplate().then(response => {
+              this.download(response.msg);
+          });
+      },
+      // 文件上传中处理
+      handleFileUploadProgress(event, file, fileList) {
+          this.upload.isUploading = true;
+      },
+      // 文件上传成功处理
+      handleFileSuccess(response, file, fileList) {
+          this.upload.open = false;
+          this.upload.isUploading = false;
+          this.$refs.upload.clearFiles();
+          this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+          this.getList();
+      },
+      // 提交上传文件
+      submitFileForm() {
+          this.$refs.upload.submit();
+      }
+  }
+};
+</script>

+ 474 - 0
ui/src/views/training/newstaff/transferplantmpl/index.vue

@@ -0,0 +1,474 @@
+<template>
+  <div class="app-container">
+    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="课程编号" prop="courseCode">
+        <el-input
+          v-model="queryParams.courseCode"
+          placeholder="请输入课程编号"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item label="培训主题" prop="topic">
+        <el-input
+          v-model="queryParams.topic"
+          placeholder="请输入培训主题"
+          clearable
+          size="small"
+          @keyup.enter.native="handleQuery"
+        />
+      </el-form-item>
+      <el-form-item>
+        <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
+        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
+      </el-form-item>
+    </el-form>
+
+    <el-row :gutter="10" class="mb8">
+      <el-col :span="1.5">
+        <el-button
+          type="primary"
+          icon="el-icon-plus"
+          size="mini"
+          @click="handleAdd"
+          v-hasPermi="['newstaff:transferplantmpl:add']"
+        >新增</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="success"
+          icon="el-icon-edit"
+          size="mini"
+          :disabled="single"
+          @click="handleUpdate"
+          v-hasPermi="['newstaff:transferplantmpl:edit']"
+        >修改</el-button>
+      </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="danger"
+          icon="el-icon-delete"
+          size="mini"
+          :disabled="multiple"
+          @click="handleDelete"
+          v-hasPermi="['newstaff:transferplantmpl:remove']"
+        >删除</el-button>
+      </el-col>
+        <el-col :span="1.5">
+            <el-button
+                    type="info"
+                    icon="el-icon-upload2"
+                    size="mini"
+                    @click="handleImport"
+                    v-hasPermi="['newstaff:transferplantmpl:edit']"
+            >导入</el-button>
+        </el-col>
+      <el-col :span="1.5">
+        <el-button
+          type="warning"
+          icon="el-icon-download"
+          size="mini"
+          @click="handleExport"
+          v-hasPermi="['newstaff:transferplantmpl:export']"
+        >导出</el-button>
+      </el-col>
+	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
+    </el-row>
+
+    <el-table v-loading="loading" :data="transferplantmplList" @selection-change="handleSelectionChange" :height="clientHeight" border>
+      <el-table-column type="selection" width="55" align="center" />
+      <el-table-column label="唯一标识ID" align="center" prop="id" :show-overflow-tooltip="true"/>
+      <el-table-column label="课程编号" align="center" prop="courseCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训主题" align="center" prop="topic" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训内容" align="center" prop="content" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训天" align="center" prop="courseDay" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训小时" align="center" prop="courseHour" :show-overflow-tooltip="true"/>
+      <el-table-column label="详细计划" align="center" prop="detailPlan" :show-overflow-tooltip="true"/>
+      <el-table-column label="讲师" align="center" prop="trainer" :show-overflow-tooltip="true"/>
+      <el-table-column label="培训日期" align="center" prop="courseDate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.courseDate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="考核情况" align="center" prop="assess" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建人" align="center" prop="createrCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="创建时间" align="center" prop="createdate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.createdate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="修改人" align="center" prop="updaterCode" :show-overflow-tooltip="true"/>
+      <el-table-column label="修改时间" align="center" prop="updatedate" width="100">
+        <template slot-scope="scope">
+          <span>{{ parseTime(scope.row.updatedate, '{y}-{m}-{d}') }}</span>
+        </template>
+      </el-table-column>
+      <el-table-column label="部门编号" align="center" prop="deptId" :show-overflow-tooltip="true"/>
+      <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true"/>
+      <el-table-column label="操作" align="center" fixed="right" width="120" class-name="small-padding fixed-width">
+        <template slot-scope="scope">
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-edit"
+            @click="handleUpdate(scope.row)"
+            v-hasPermi="['newstaff:transferplantmpl:edit']"
+          >修改</el-button>
+          <el-button
+            size="mini"
+            type="text"
+            icon="el-icon-delete"
+            @click="handleDelete(scope.row)"
+            v-hasPermi="['newstaff:transferplantmpl:remove']"
+          >删除</el-button>
+        </template>
+      </el-table-column>
+    </el-table>
+
+    <pagination
+      v-show="total>0"
+      :total="total"
+      :page.sync="queryParams.pageNum"
+      :limit.sync="queryParams.pageSize"
+      @pagination="getList"
+    />
+
+    <!-- 添加或修改转岗培训模版对话框 -->
+    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
+      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
+        <el-form-item label="课程编号" prop="courseCode">
+          <el-input v-model="form.courseCode" placeholder="请输入课程编号" />
+        </el-form-item>
+        <el-form-item label="培训主题" prop="topic">
+          <el-input v-model="form.topic" placeholder="请输入培训主题" />
+        </el-form-item>
+        <el-form-item label="培训内容" prop="content">
+          <el-input v-model="form.content" type="textarea" placeholder="请输入内容" />
+        </el-form-item>
+        <el-form-item label="培训天" prop="courseDay">
+          <el-input v-model="form.courseDay" placeholder="请输入培训天" />
+        </el-form-item>
+        <el-form-item label="培训小时" prop="courseHour">
+          <el-input v-model="form.courseHour" placeholder="请输入培训小时" />
+        </el-form-item>
+        <el-form-item label="详细计划" prop="detailPlan">
+          <el-input v-model="form.detailPlan" placeholder="请输入详细计划" />
+        </el-form-item>
+        <el-form-item label="讲师" prop="trainer">
+          <el-input v-model="form.trainer" placeholder="请输入讲师" />
+        </el-form-item>
+        <el-form-item label="培训日期" prop="courseDate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.courseDate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择培训日期">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="考核情况" prop="assess">
+          <el-input v-model="form.assess" placeholder="请输入考核情况" />
+        </el-form-item>
+        <el-form-item label="删除状态" prop="delFlag">
+          <el-input v-model="form.delFlag" placeholder="请输入删除状态" />
+        </el-form-item>
+        <el-form-item label="创建人" prop="createrCode">
+          <el-input v-model="form.createrCode" placeholder="请输入创建人" />
+        </el-form-item>
+        <el-form-item label="创建时间" prop="createdate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.createdate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择创建时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="修改人" prop="updaterCode">
+          <el-input v-model="form.updaterCode" placeholder="请输入修改人" />
+        </el-form-item>
+        <el-form-item label="修改时间" prop="updatedate">
+          <el-date-picker clearable size="small" style="width: 200px"
+            v-model="form.updatedate"
+            type="date"
+            value-format="yyyy-MM-dd"
+            placeholder="选择修改时间">
+          </el-date-picker>
+        </el-form-item>
+        <el-form-item label="部门编号" prop="deptId">
+          <el-input v-model="form.deptId" placeholder="请输入部门编号" />
+        </el-form-item>
+        <el-form-item label="备注" prop="remarks">
+          <el-input v-model="form.remarks" placeholder="请输入备注" />
+        </el-form-item>
+          <el-form-item label="归属部门" prop="deptId">
+              <treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
+          </el-form-item>
+      </el-form>
+      <div slot="footer" class="dialog-footer">
+        <el-button type="primary" @click="submitForm">确 定</el-button>
+        <el-button @click="cancel">取 消</el-button>
+      </div>
+    </el-dialog>
+      <!-- 用户导入对话框 -->
+      <el-dialog :title="upload.title" :visible.sync="upload.open" width="400px" append-to-body>
+          <el-upload
+                  ref="upload"
+                  :limit="1"
+                  accept=".xlsx, .xls"
+                  :headers="upload.headers"
+                  :action="upload.url + '?updateSupport=' + upload.updateSupport"
+                  :disabled="upload.isUploading"
+                  :on-progress="handleFileUploadProgress"
+                  :on-success="handleFileSuccess"
+                  :auto-upload="false"
+                  drag
+          >
+              <i class="el-icon-upload"></i>
+              <div class="el-upload__text">
+                  将文件拖到此处,或
+                  <em>点击上传</em>
+              </div>
+              <div class="el-upload__tip" slot="tip">
+                  <el-checkbox v-model="upload.updateSupport" />是否更新已经存在的用户数据
+                  <el-link type="info" style="font-size:12px" @click="importTemplate">下载模板</el-link>
+              </div>
+              <div class="el-upload__tip" style="color:red" slot="tip">提示:仅允许导入“xls”或“xlsx”格式文件!</div>
+          </el-upload>
+          <div slot="footer" class="dialog-footer">
+              <el-button type="primary" @click="submitFileForm">确 定</el-button>
+              <el-button @click="upload.open = false">取 消</el-button>
+          </div>
+      </el-dialog>
+  </div>
+</template>
+
+<script>
+import { listTransferplantmpl, getTransferplantmpl, delTransferplantmpl, addTransferplantmpl, updateTransferplantmpl, exportTransferplantmpl, importTemplate} from "@/api/training/newstaff/transferplantmpl";
+import { treeselect } from "@/api/system/dept";
+import { getToken } from "@/utils/auth";
+import Treeselect from "@riophae/vue-treeselect";
+import "@riophae/vue-treeselect/dist/vue-treeselect.css";
+
+export default {
+  name: "Transferplantmpl",
+  components: { Treeselect },
+  data() {
+    return {
+      // 遮罩层
+      loading: true,
+      // 选中数组
+      ids: [],
+      // 非单个禁用
+      single: true,
+      // 非多个禁用
+      multiple: true,
+      // 显示搜索条件
+      showSearch: false,
+      // 总条数
+      total: 0,
+      // 转岗培训模版表格数据
+      transferplantmplList: [],
+      // 弹出层标题
+      title: "",
+      // 部门树选项
+      deptOptions: undefined,
+      clientHeight:300,
+      // 是否显示弹出层
+      open: false,
+        // 用户导入参数
+        upload: {
+            // 是否显示弹出层(用户导入)
+            open: false,
+            // 弹出层标题(用户导入)
+            title: "",
+            // 是否禁用上传
+            isUploading: false,
+            // 是否更新已经存在的用户数据
+            updateSupport: 0,
+            // 设置上传的请求头部
+            headers: { Authorization: "Bearer " + getToken() },
+            // 上传的地址
+            url: process.env.VUE_APP_BASE_API + "/newstaff/transferplantmpl/importData"
+        },
+      // 查询参数
+      queryParams: {
+        pageNum: 1,
+        pageSize: 20,
+        courseCode: null,
+        topic: null,
+      },
+      // 表单参数
+      form: {},
+      // 表单校验
+      rules: {
+      }
+    };
+  },
+  watch: {
+        // 根据名称筛选部门树
+        deptName(val) {
+            this.$refs.tree.filter(val);
+        }
+   },
+  created() {
+      //设置表格高度对应屏幕高度
+      this.$nextTick(() => {
+          this.clientHeight = document.body.clientHeight -250
+      })
+    this.getList();
+    this.getTreeselect();
+  },
+  methods: {
+    /** 查询转岗培训模版列表 */
+    getList() {
+      this.loading = true;
+      listTransferplantmpl(this.queryParams).then(response => {
+        this.transferplantmplList = response.rows;
+        this.total = response.total;
+        this.loading = false;
+      });
+    },
+     /** 查询部门下拉树结构 */
+     getTreeselect() {
+          treeselect().then(response => {
+              this.deptOptions = response.data;
+          });
+     },
+    // 取消按钮
+    cancel() {
+      this.open = false;
+      this.reset();
+    },
+    // 表单重置
+    reset() {
+      this.form = {
+        id: null,
+        newId: null,
+        courseCode: null,
+        topic: null,
+        content: null,
+        courseDay: null,
+        courseHour: null,
+        detailPlan: null,
+        trainer: null,
+        courseDate: null,
+        assess: null,
+        delFlag: null,
+        createrCode: null,
+        createdate: null,
+        updaterCode: null,
+        updatedate: null,
+        deptId: null,
+        remarks: null
+      };
+      this.resetForm("form");
+    },
+    /** 搜索按钮操作 */
+    handleQuery() {
+      this.queryParams.pageNum = 1;
+      this.getList();
+    },
+    /** 重置按钮操作 */
+    resetQuery() {
+      this.resetForm("queryForm");
+      this.handleQuery();
+    },
+    // 多选框选中数据
+    handleSelectionChange(selection) {
+      this.ids = selection.map(item => item.id)
+      this.single = selection.length!==1
+      this.multiple = !selection.length
+    },
+    /** 新增按钮操作 */
+    handleAdd() {
+      this.reset();
+      this.open = true;
+      this.title = "添加转岗培训模版";
+    },
+    /** 修改按钮操作 */
+    handleUpdate(row) {
+      this.reset();
+      const id = row.id || this.ids
+      getTransferplantmpl(id).then(response => {
+        this.form = response.data;
+        this.open = true;
+        this.title = "修改转岗培训模版";
+      });
+    },
+    /** 提交按钮 */
+    submitForm() {
+      this.$refs["form"].validate(valid => {
+        if (valid) {
+          if (this.form.id != null) {
+            updateTransferplantmpl(this.form).then(response => {
+              this.msgSuccess("修改成功");
+              this.open = false;
+              this.getList();
+            });
+          } else {
+            addTransferplantmpl(this.form).then(response => {
+              this.msgSuccess("新增成功");
+              this.open = false;
+              this.getList();
+            });
+          }
+        }
+      });
+    },
+    /** 删除按钮操作 */
+    handleDelete(row) {
+      const ids = row.id || this.ids;
+      this.$confirm('是否确认删除?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return delTransferplantmpl(ids);
+        }).then(() => {
+          this.getList();
+          this.msgSuccess("删除成功");
+        })
+    },
+    /** 导出按钮操作 */
+    handleExport() {
+      const queryParams = this.queryParams;
+      this.$confirm('是否确认导出所有转岗培训模版数据项?', "警告", {
+          confirmButtonText: "确定",
+          cancelButtonText: "取消",
+          type: "warning"
+        }).then(function() {
+          return exportTransferplantmpl(queryParams);
+        }).then(response => {
+          this.download(response.msg);
+        })
+    },
+      /** 导入按钮操作 */
+      handleImport() {
+          this.upload.title = "用户导入";
+          this.upload.open = true;
+      },
+      /** 下载模板操作 */
+      importTemplate() {
+          importTemplate().then(response => {
+              this.download(response.msg);
+          });
+      },
+      // 文件上传中处理
+      handleFileUploadProgress(event, file, fileList) {
+          this.upload.isUploading = true;
+      },
+      // 文件上传成功处理
+      handleFileSuccess(response, file, fileList) {
+          this.upload.open = false;
+          this.upload.isUploading = false;
+          this.$refs.upload.clearFiles();
+          this.$alert(response.msg, "导入结果", { dangerouslyUseHTMLString: true });
+          this.getList();
+      },
+      // 提交上传文件
+      submitFileForm() {
+          this.$refs.upload.submit();
+      }
+  }
+};
+</script>