diff --git a/God-Vue-master/god-admin/src/main/java/com/god/web/controller/etmEquipmentPerformance/PzhmyAssessmentObjectiveManagementController.java b/God-Vue-master/god-admin/src/main/java/com/god/web/controller/etmEquipmentPerformance/PzhmyAssessmentObjectiveManagementController.java new file mode 100644 index 00000000..705216f4 --- /dev/null +++ b/God-Vue-master/god-admin/src/main/java/com/god/web/controller/etmEquipmentPerformance/PzhmyAssessmentObjectiveManagementController.java @@ -0,0 +1,104 @@ +package com.god.web.controller.etmEquipmentPerformance; + +import com.god.common.annotation.Log; +import com.god.common.core.controller.BaseController; +import com.god.common.core.domain.AjaxResult; +import com.god.common.core.page.TableDataInfo; +import com.god.common.enums.BusinessType; +import com.god.common.utils.poi.ExcelUtil; +import com.god.etmEquipmentPerformance.domain.PzhmyAssessmentObjectiveManagement; +import com.god.etmEquipmentPerformance.service.IPzhmyAssessmentObjectiveManagementService; +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 考核目标管理Controller + * + * @author liweijie + * @date 2023-12-18 + */ +@RestController +@RequestMapping("/pzhmyAssessment/objectiveManagement") +public class PzhmyAssessmentObjectiveManagementController extends BaseController +{ + @Autowired + private IPzhmyAssessmentObjectiveManagementService pzhmyAssessmentObjectiveManagementService; + + /** + * 查询考核目标管理列表 + */ + @PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:list')") + @GetMapping("/list") + public TableDataInfo list(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement) + { + startPage(); + List list = pzhmyAssessmentObjectiveManagementService.selectPzhmyAssessmentObjectiveManagementList(pzhmyAssessmentObjectiveManagement); + return getDataTable(list); + } + + /** + * 导出考核目标管理列表 + */ + @PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:export')") + @Log(title = "考核目标管理", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement) + { + List list = pzhmyAssessmentObjectiveManagementService.selectPzhmyAssessmentObjectiveManagementList(pzhmyAssessmentObjectiveManagement); + ExcelUtil util = new ExcelUtil(PzhmyAssessmentObjectiveManagement.class); + util.exportExcel(response, list, "考核目标管理数据"); + } + + /** + * 获取考核目标管理详细信息 + */ + @PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") String id) + { + return success(pzhmyAssessmentObjectiveManagementService.selectPzhmyAssessmentObjectiveManagementById(id)); + } + + /** + * 新增考核目标管理 + */ + @PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:add')") + @Log(title = "考核目标管理", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement) + { + return toAjax(pzhmyAssessmentObjectiveManagementService.insertPzhmyAssessmentObjectiveManagement(pzhmyAssessmentObjectiveManagement)); + } + + /** + * 修改考核目标管理 + */ + @PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:edit')") + @Log(title = "考核目标管理", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement) + { + return toAjax(pzhmyAssessmentObjectiveManagementService.updatePzhmyAssessmentObjectiveManagement(pzhmyAssessmentObjectiveManagement)); + } + + /** + * 删除考核目标管理 + */ + @PreAuthorize("@ss.hasPermi('pzhmyAssessment:objectiveManagement:remove')") + @Log(title = "考核目标管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable String[] ids) + { + return toAjax(pzhmyAssessmentObjectiveManagementService.deletePzhmyAssessmentObjectiveManagementByIds(ids)); + } +} diff --git a/God-Vue-master/god-admin/src/main/java/com/god/web/controller/etmEquipmentPerformance/PzhmyPerformanceEvaluationIndexController.java b/God-Vue-master/god-admin/src/main/java/com/god/web/controller/etmEquipmentPerformance/PzhmyPerformanceEvaluationIndexController.java new file mode 100644 index 00000000..21248fbf --- /dev/null +++ b/God-Vue-master/god-admin/src/main/java/com/god/web/controller/etmEquipmentPerformance/PzhmyPerformanceEvaluationIndexController.java @@ -0,0 +1,104 @@ +package com.god.web.controller.etmEquipmentPerformance; + +import com.god.common.annotation.Log; +import com.god.common.core.controller.BaseController; +import com.god.common.core.domain.AjaxResult; +import com.god.common.core.page.TableDataInfo; +import com.god.common.enums.BusinessType; +import com.god.common.utils.poi.ExcelUtil; +import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationIndex; +import com.god.etmEquipmentPerformance.service.IPzhmyPerformanceEvaluationIndexService; +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 绩效评估指标Controller + * + * @author liweijie + * @date 2023-12-18 + */ +@RestController +@RequestMapping("/pzhmyPerformance/EvaluationIndex") +public class PzhmyPerformanceEvaluationIndexController extends BaseController +{ + @Autowired + private IPzhmyPerformanceEvaluationIndexService pzhmyPerformanceEvaluationIndexService; + + /** + * 查询绩效评估指标列表 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:list')") + @GetMapping("/list") + public TableDataInfo list(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex) + { + startPage(); + List list = pzhmyPerformanceEvaluationIndexService.selectPzhmyPerformanceEvaluationIndexList(pzhmyPerformanceEvaluationIndex); + return getDataTable(list); + } + + /** + * 导出绩效评估指标列表 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:export')") + @Log(title = "绩效评估指标", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex) + { + List list = pzhmyPerformanceEvaluationIndexService.selectPzhmyPerformanceEvaluationIndexList(pzhmyPerformanceEvaluationIndex); + ExcelUtil util = new ExcelUtil(PzhmyPerformanceEvaluationIndex.class); + util.exportExcel(response, list, "绩效评估指标数据"); + } + + /** + * 获取绩效评估指标详细信息 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") String id) + { + return success(pzhmyPerformanceEvaluationIndexService.selectPzhmyPerformanceEvaluationIndexById(id)); + } + + /** + * 新增绩效评估指标 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:add')") + @Log(title = "绩效评估指标", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex) + { + return toAjax(pzhmyPerformanceEvaluationIndexService.insertPzhmyPerformanceEvaluationIndex(pzhmyPerformanceEvaluationIndex)); + } + + /** + * 修改绩效评估指标 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:edit')") + @Log(title = "绩效评估指标", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex) + { + return toAjax(pzhmyPerformanceEvaluationIndexService.updatePzhmyPerformanceEvaluationIndex(pzhmyPerformanceEvaluationIndex)); + } + + /** + * 删除绩效评估指标 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:EvaluationIndex:remove')") + @Log(title = "绩效评估指标", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable String[] ids) + { + return toAjax(pzhmyPerformanceEvaluationIndexService.deletePzhmyPerformanceEvaluationIndexByIds(ids)); + } +} diff --git a/God-Vue-master/god-admin/src/main/java/com/god/web/controller/etmEquipmentPerformance/PzhmyPerformanceEvaluationResultController.java b/God-Vue-master/god-admin/src/main/java/com/god/web/controller/etmEquipmentPerformance/PzhmyPerformanceEvaluationResultController.java new file mode 100644 index 00000000..6568480d --- /dev/null +++ b/God-Vue-master/god-admin/src/main/java/com/god/web/controller/etmEquipmentPerformance/PzhmyPerformanceEvaluationResultController.java @@ -0,0 +1,104 @@ +package com.god.web.controller.etmEquipmentPerformance; + +import com.god.common.annotation.Log; +import com.god.common.core.controller.BaseController; +import com.god.common.core.domain.AjaxResult; +import com.god.common.core.page.TableDataInfo; +import com.god.common.enums.BusinessType; +import com.god.common.utils.poi.ExcelUtil; +import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationResult; +import com.god.etmEquipmentPerformance.service.IPzhmyPerformanceEvaluationResultService; +import java.util.List; +import javax.servlet.http.HttpServletResponse; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + * 绩效评估结果Controller + * + * @author liweijie + * @date 2023-12-18 + */ +@RestController +@RequestMapping("/pzhmyPerformance/evaluationResult") +public class PzhmyPerformanceEvaluationResultController extends BaseController +{ + @Autowired + private IPzhmyPerformanceEvaluationResultService pzhmyPerformanceEvaluationResultService; + + /** + * 查询绩效评估结果列表 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:list')") + @GetMapping("/list") + public TableDataInfo list(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult) + { + startPage(); + List list = pzhmyPerformanceEvaluationResultService.selectPzhmyPerformanceEvaluationResultList(pzhmyPerformanceEvaluationResult); + return getDataTable(list); + } + + /** + * 导出绩效评估结果列表 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:export')") + @Log(title = "绩效评估结果", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult) + { + List list = pzhmyPerformanceEvaluationResultService.selectPzhmyPerformanceEvaluationResultList(pzhmyPerformanceEvaluationResult); + ExcelUtil util = new ExcelUtil(PzhmyPerformanceEvaluationResult.class); + util.exportExcel(response, list, "绩效评估结果数据"); + } + + /** + * 获取绩效评估结果详细信息 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:query')") + @GetMapping(value = "/{id}") + public AjaxResult getInfo(@PathVariable("id") String id) + { + return success(pzhmyPerformanceEvaluationResultService.selectPzhmyPerformanceEvaluationResultById(id)); + } + + /** + * 新增绩效评估结果 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:add')") + @Log(title = "绩效评估结果", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult) + { + return toAjax(pzhmyPerformanceEvaluationResultService.insertPzhmyPerformanceEvaluationResult(pzhmyPerformanceEvaluationResult)); + } + + /** + * 修改绩效评估结果 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:edit')") + @Log(title = "绩效评估结果", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult) + { + return toAjax(pzhmyPerformanceEvaluationResultService.updatePzhmyPerformanceEvaluationResult(pzhmyPerformanceEvaluationResult)); + } + + /** + * 删除绩效评估结果 + */ + @PreAuthorize("@ss.hasPermi('pzhmyPerformance:evaluationResult:remove')") + @Log(title = "绩效评估结果", businessType = BusinessType.DELETE) + @DeleteMapping("/{ids}") + public AjaxResult remove(@PathVariable String[] ids) + { + return toAjax(pzhmyPerformanceEvaluationResultService.deletePzhmyPerformanceEvaluationResultByIds(ids)); + } +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/domain/PzhmyAssessmentObjectiveManagement.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/domain/PzhmyAssessmentObjectiveManagement.java new file mode 100644 index 00000000..14a2b5c1 --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/domain/PzhmyAssessmentObjectiveManagement.java @@ -0,0 +1,150 @@ +package com.god.etmEquipmentPerformance.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.god.common.annotation.Excel; +import com.god.common.core.domain.BaseEntity; + +/** + * 考核目标管理对象 pzhmy_assessment_objective_management + * + * @author liweijie + * @date 2023-12-18 + */ +public class PzhmyAssessmentObjectiveManagement extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private String id; + + /** 考核编号 */ + @Excel(name = "考核编号") + private String examinationNumber; + + /** 考核任务名称 */ + @Excel(name = "考核任务名称") + private String assessmentTaskName; + + /** 考核时间 */ + @Excel(name = "考核时间") + private String assessmentTime; + + /** 考核数据 */ + @Excel(name = "考核数据") + private String assessmentData; + + /** 后续考核计划 */ + @Excel(name = "后续考核计划") + private String followUpAssessmentPlan; + + /** 考核目标 */ + @Excel(name = "考核目标") + private String assessmentObjective; + + /** 本次不足分析 */ + @Excel(name = "本次不足分析") + private String thisDeficiencyAnalysis; + + /** 完善措施 */ + @Excel(name = "完善措施") + private String perfectMeasure; + + public void setId(String id) + { + this.id = id; + } + + public String getId() + { + return id; + } + public void setExaminationNumber(String examinationNumber) + { + this.examinationNumber = examinationNumber; + } + + public String getExaminationNumber() + { + return examinationNumber; + } + public void setAssessmentTaskName(String assessmentTaskName) + { + this.assessmentTaskName = assessmentTaskName; + } + + public String getAssessmentTaskName() + { + return assessmentTaskName; + } + public void setAssessmentTime(String assessmentTime) + { + this.assessmentTime = assessmentTime; + } + + public String getAssessmentTime() + { + return assessmentTime; + } + public void setAssessmentData(String assessmentData) + { + this.assessmentData = assessmentData; + } + + public String getAssessmentData() + { + return assessmentData; + } + public void setFollowUpAssessmentPlan(String followUpAssessmentPlan) + { + this.followUpAssessmentPlan = followUpAssessmentPlan; + } + + public String getFollowUpAssessmentPlan() + { + return followUpAssessmentPlan; + } + public void setAssessmentObjective(String assessmentObjective) + { + this.assessmentObjective = assessmentObjective; + } + + public String getAssessmentObjective() + { + return assessmentObjective; + } + public void setThisDeficiencyAnalysis(String thisDeficiencyAnalysis) + { + this.thisDeficiencyAnalysis = thisDeficiencyAnalysis; + } + + public String getThisDeficiencyAnalysis() + { + return thisDeficiencyAnalysis; + } + public void setPerfectMeasure(String perfectMeasure) + { + this.perfectMeasure = perfectMeasure; + } + + public String getPerfectMeasure() + { + return perfectMeasure; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("examinationNumber", getExaminationNumber()) + .append("assessmentTaskName", getAssessmentTaskName()) + .append("assessmentTime", getAssessmentTime()) + .append("assessmentData", getAssessmentData()) + .append("followUpAssessmentPlan", getFollowUpAssessmentPlan()) + .append("assessmentObjective", getAssessmentObjective()) + .append("thisDeficiencyAnalysis", getThisDeficiencyAnalysis()) + .append("perfectMeasure", getPerfectMeasure()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/domain/PzhmyPerformanceEvaluationIndex.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/domain/PzhmyPerformanceEvaluationIndex.java new file mode 100644 index 00000000..c636f0ee --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/domain/PzhmyPerformanceEvaluationIndex.java @@ -0,0 +1,136 @@ +package com.god.etmEquipmentPerformance.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.god.common.annotation.Excel; +import com.god.common.core.domain.BaseEntity; + +/** + * 绩效评估指标对象 pzhmy_performance_evaluation_index + * + * @author liweijie + * @date 2023-12-18 + */ +public class PzhmyPerformanceEvaluationIndex extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private String id; + + /** 考核唯一id */ + @Excel(name = "考核唯一id") + private String assessUniqueId; + + /** 考核名称 */ + @Excel(name = "考核名称") + private String assessmentName; + + /** 考核指标 */ + @Excel(name = "考核指标") + private String assessmentIndex; + + /** 工作目标 */ + @Excel(name = "工作目标") + private String workObjective; + + /** 填写时间 */ + @Excel(name = "填写时间") + private String fillingTime; + + /** 审核状态 */ + @Excel(name = "审核状态") + private String auditStatus; + + /** 审核人 */ + @Excel(name = "审核人") + private String auditor; + + public void setId(String id) + { + this.id = id; + } + + public String getId() + { + return id; + } + public void setAssessUniqueId(String assessUniqueId) + { + this.assessUniqueId = assessUniqueId; + } + + public String getAssessUniqueId() + { + return assessUniqueId; + } + public void setAssessmentName(String assessmentName) + { + this.assessmentName = assessmentName; + } + + public String getAssessmentName() + { + return assessmentName; + } + public void setAssessmentIndex(String assessmentIndex) + { + this.assessmentIndex = assessmentIndex; + } + + public String getAssessmentIndex() + { + return assessmentIndex; + } + public void setWorkObjective(String workObjective) + { + this.workObjective = workObjective; + } + + public String getWorkObjective() + { + return workObjective; + } + public void setFillingTime(String fillingTime) + { + this.fillingTime = fillingTime; + } + + public String getFillingTime() + { + return fillingTime; + } + public void setAuditStatus(String auditStatus) + { + this.auditStatus = auditStatus; + } + + public String getAuditStatus() + { + return auditStatus; + } + public void setAuditor(String auditor) + { + this.auditor = auditor; + } + + public String getAuditor() + { + return auditor; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("assessUniqueId", getAssessUniqueId()) + .append("assessmentName", getAssessmentName()) + .append("assessmentIndex", getAssessmentIndex()) + .append("workObjective", getWorkObjective()) + .append("fillingTime", getFillingTime()) + .append("auditStatus", getAuditStatus()) + .append("auditor", getAuditor()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/domain/PzhmyPerformanceEvaluationResult.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/domain/PzhmyPerformanceEvaluationResult.java new file mode 100644 index 00000000..1a54ea7d --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/domain/PzhmyPerformanceEvaluationResult.java @@ -0,0 +1,150 @@ +package com.god.etmEquipmentPerformance.domain; + +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.god.common.annotation.Excel; +import com.god.common.core.domain.BaseEntity; + +/** + * 绩效评估结果对象 pzhmy_performance_evaluation_result + * + * @author liweijie + * @date 2023-12-18 + */ +public class PzhmyPerformanceEvaluationResult extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 主键 */ + private String id; + + /** 员工姓名 */ + @Excel(name = "员工姓名") + private String employeeName; + + /** 绩效计算规则 */ + @Excel(name = "绩效计算规则") + private String performanceCalculationRules; + + /** 员工绩效考核表 */ + @Excel(name = "员工绩效考核表") + private String employeePerformanceAppraisalForm; + + /** 部门绩效考核表 */ + @Excel(name = "部门绩效考核表") + private String departmentPerformanceReviewForm; + + /** 员工绩效考核等级表 */ + @Excel(name = "员工绩效考核等级表") + private String employeePerformanceAppraisalScale; + + /** 各种考核方式的绩效得分 */ + @Excel(name = "各种考核方式的绩效得分") + private String performanceScoresForVariousAssessmentMethods; + + /** 历史考核数据 */ + @Excel(name = "历史考核数据") + private String historicalAssessmentData; + + /** 员工历次绩效考核结果表 */ + @Excel(name = "员工历次绩效考核结果表") + private String employeePerformanceAppraisalResults; + + public void setId(String id) + { + this.id = id; + } + + public String getId() + { + return id; + } + public void setEmployeeName(String employeeName) + { + this.employeeName = employeeName; + } + + public String getEmployeeName() + { + return employeeName; + } + public void setPerformanceCalculationRules(String performanceCalculationRules) + { + this.performanceCalculationRules = performanceCalculationRules; + } + + public String getPerformanceCalculationRules() + { + return performanceCalculationRules; + } + public void setEmployeePerformanceAppraisalForm(String employeePerformanceAppraisalForm) + { + this.employeePerformanceAppraisalForm = employeePerformanceAppraisalForm; + } + + public String getEmployeePerformanceAppraisalForm() + { + return employeePerformanceAppraisalForm; + } + public void setDepartmentPerformanceReviewForm(String departmentPerformanceReviewForm) + { + this.departmentPerformanceReviewForm = departmentPerformanceReviewForm; + } + + public String getDepartmentPerformanceReviewForm() + { + return departmentPerformanceReviewForm; + } + public void setEmployeePerformanceAppraisalScale(String employeePerformanceAppraisalScale) + { + this.employeePerformanceAppraisalScale = employeePerformanceAppraisalScale; + } + + public String getEmployeePerformanceAppraisalScale() + { + return employeePerformanceAppraisalScale; + } + public void setPerformanceScoresForVariousAssessmentMethods(String performanceScoresForVariousAssessmentMethods) + { + this.performanceScoresForVariousAssessmentMethods = performanceScoresForVariousAssessmentMethods; + } + + public String getPerformanceScoresForVariousAssessmentMethods() + { + return performanceScoresForVariousAssessmentMethods; + } + public void setHistoricalAssessmentData(String historicalAssessmentData) + { + this.historicalAssessmentData = historicalAssessmentData; + } + + public String getHistoricalAssessmentData() + { + return historicalAssessmentData; + } + public void setEmployeePerformanceAppraisalResults(String employeePerformanceAppraisalResults) + { + this.employeePerformanceAppraisalResults = employeePerformanceAppraisalResults; + } + + public String getEmployeePerformanceAppraisalResults() + { + return employeePerformanceAppraisalResults; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("employeeName", getEmployeeName()) + .append("performanceCalculationRules", getPerformanceCalculationRules()) + .append("employeePerformanceAppraisalForm", getEmployeePerformanceAppraisalForm()) + .append("departmentPerformanceReviewForm", getDepartmentPerformanceReviewForm()) + .append("employeePerformanceAppraisalScale", getEmployeePerformanceAppraisalScale()) + .append("performanceScoresForVariousAssessmentMethods", getPerformanceScoresForVariousAssessmentMethods()) + .append("historicalAssessmentData", getHistoricalAssessmentData()) + .append("employeePerformanceAppraisalResults", getEmployeePerformanceAppraisalResults()) + .append("remark", getRemark()) + .toString(); + } +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/mapper/PzhmyAssessmentObjectiveManagementMapper.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/mapper/PzhmyAssessmentObjectiveManagementMapper.java new file mode 100644 index 00000000..ce305a62 --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/mapper/PzhmyAssessmentObjectiveManagementMapper.java @@ -0,0 +1,61 @@ +package com.god.etmEquipmentPerformance.mapper; + +import com.god.etmEquipmentPerformance.domain.PzhmyAssessmentObjectiveManagement; +import java.util.List; + +/** + * 考核目标管理Mapper接口 + * + * @author liweijie + * @date 2023-12-18 + */ +public interface PzhmyAssessmentObjectiveManagementMapper +{ + /** + * 查询考核目标管理 + * + * @param id 考核目标管理主键 + * @return 考核目标管理 + */ + public PzhmyAssessmentObjectiveManagement selectPzhmyAssessmentObjectiveManagementById(String id); + + /** + * 查询考核目标管理列表 + * + * @param pzhmyAssessmentObjectiveManagement 考核目标管理 + * @return 考核目标管理集合 + */ + public List selectPzhmyAssessmentObjectiveManagementList(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement); + + /** + * 新增考核目标管理 + * + * @param pzhmyAssessmentObjectiveManagement 考核目标管理 + * @return 结果 + */ + public int insertPzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement); + + /** + * 修改考核目标管理 + * + * @param pzhmyAssessmentObjectiveManagement 考核目标管理 + * @return 结果 + */ + public int updatePzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement); + + /** + * 删除考核目标管理 + * + * @param id 考核目标管理主键 + * @return 结果 + */ + public int deletePzhmyAssessmentObjectiveManagementById(String id); + + /** + * 批量删除考核目标管理 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deletePzhmyAssessmentObjectiveManagementByIds(String[] ids); +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/mapper/PzhmyPerformanceEvaluationIndexMapper.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/mapper/PzhmyPerformanceEvaluationIndexMapper.java new file mode 100644 index 00000000..026f5ba3 --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/mapper/PzhmyPerformanceEvaluationIndexMapper.java @@ -0,0 +1,61 @@ +package com.god.etmEquipmentPerformance.mapper; + +import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationIndex; +import java.util.List; + +/** + * 绩效评估指标Mapper接口 + * + * @author liweijie + * @date 2023-12-18 + */ +public interface PzhmyPerformanceEvaluationIndexMapper +{ + /** + * 查询绩效评估指标 + * + * @param id 绩效评估指标主键 + * @return 绩效评估指标 + */ + public PzhmyPerformanceEvaluationIndex selectPzhmyPerformanceEvaluationIndexById(String id); + + /** + * 查询绩效评估指标列表 + * + * @param pzhmyPerformanceEvaluationIndex 绩效评估指标 + * @return 绩效评估指标集合 + */ + public List selectPzhmyPerformanceEvaluationIndexList(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex); + + /** + * 新增绩效评估指标 + * + * @param pzhmyPerformanceEvaluationIndex 绩效评估指标 + * @return 结果 + */ + public int insertPzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex); + + /** + * 修改绩效评估指标 + * + * @param pzhmyPerformanceEvaluationIndex 绩效评估指标 + * @return 结果 + */ + public int updatePzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex); + + /** + * 删除绩效评估指标 + * + * @param id 绩效评估指标主键 + * @return 结果 + */ + public int deletePzhmyPerformanceEvaluationIndexById(String id); + + /** + * 批量删除绩效评估指标 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deletePzhmyPerformanceEvaluationIndexByIds(String[] ids); +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/mapper/PzhmyPerformanceEvaluationResultMapper.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/mapper/PzhmyPerformanceEvaluationResultMapper.java new file mode 100644 index 00000000..60e47219 --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/mapper/PzhmyPerformanceEvaluationResultMapper.java @@ -0,0 +1,61 @@ +package com.god.etmEquipmentPerformance.mapper; + +import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationResult; +import java.util.List; + +/** + * 绩效评估结果Mapper接口 + * + * @author liweijie + * @date 2023-12-18 + */ +public interface PzhmyPerformanceEvaluationResultMapper +{ + /** + * 查询绩效评估结果 + * + * @param id 绩效评估结果主键 + * @return 绩效评估结果 + */ + public PzhmyPerformanceEvaluationResult selectPzhmyPerformanceEvaluationResultById(String id); + + /** + * 查询绩效评估结果列表 + * + * @param pzhmyPerformanceEvaluationResult 绩效评估结果 + * @return 绩效评估结果集合 + */ + public List selectPzhmyPerformanceEvaluationResultList(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult); + + /** + * 新增绩效评估结果 + * + * @param pzhmyPerformanceEvaluationResult 绩效评估结果 + * @return 结果 + */ + public int insertPzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult); + + /** + * 修改绩效评估结果 + * + * @param pzhmyPerformanceEvaluationResult 绩效评估结果 + * @return 结果 + */ + public int updatePzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult); + + /** + * 删除绩效评估结果 + * + * @param id 绩效评估结果主键 + * @return 结果 + */ + public int deletePzhmyPerformanceEvaluationResultById(String id); + + /** + * 批量删除绩效评估结果 + * + * @param ids 需要删除的数据主键集合 + * @return 结果 + */ + public int deletePzhmyPerformanceEvaluationResultByIds(String[] ids); +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/IPzhmyAssessmentObjectiveManagementService.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/IPzhmyAssessmentObjectiveManagementService.java new file mode 100644 index 00000000..c422c035 --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/IPzhmyAssessmentObjectiveManagementService.java @@ -0,0 +1,61 @@ +package com.god.etmEquipmentPerformance.service; + +import com.god.etmEquipmentPerformance.domain.PzhmyAssessmentObjectiveManagement; +import java.util.List; + +/** + * 考核目标管理Service接口 + * + * @author liweijie + * @date 2023-12-18 + */ +public interface IPzhmyAssessmentObjectiveManagementService +{ + /** + * 查询考核目标管理 + * + * @param id 考核目标管理主键 + * @return 考核目标管理 + */ + public PzhmyAssessmentObjectiveManagement selectPzhmyAssessmentObjectiveManagementById(String id); + + /** + * 查询考核目标管理列表 + * + * @param pzhmyAssessmentObjectiveManagement 考核目标管理 + * @return 考核目标管理集合 + */ + public List selectPzhmyAssessmentObjectiveManagementList(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement); + + /** + * 新增考核目标管理 + * + * @param pzhmyAssessmentObjectiveManagement 考核目标管理 + * @return 结果 + */ + public int insertPzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement); + + /** + * 修改考核目标管理 + * + * @param pzhmyAssessmentObjectiveManagement 考核目标管理 + * @return 结果 + */ + public int updatePzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement); + + /** + * 批量删除考核目标管理 + * + * @param ids 需要删除的考核目标管理主键集合 + * @return 结果 + */ + public int deletePzhmyAssessmentObjectiveManagementByIds(String[] ids); + + /** + * 删除考核目标管理信息 + * + * @param id 考核目标管理主键 + * @return 结果 + */ + public int deletePzhmyAssessmentObjectiveManagementById(String id); +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/IPzhmyPerformanceEvaluationIndexService.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/IPzhmyPerformanceEvaluationIndexService.java new file mode 100644 index 00000000..cd3e3333 --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/IPzhmyPerformanceEvaluationIndexService.java @@ -0,0 +1,61 @@ +package com.god.etmEquipmentPerformance.service; + +import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationIndex; +import java.util.List; + +/** + * 绩效评估指标Service接口 + * + * @author liweijie + * @date 2023-12-18 + */ +public interface IPzhmyPerformanceEvaluationIndexService +{ + /** + * 查询绩效评估指标 + * + * @param id 绩效评估指标主键 + * @return 绩效评估指标 + */ + public PzhmyPerformanceEvaluationIndex selectPzhmyPerformanceEvaluationIndexById(String id); + + /** + * 查询绩效评估指标列表 + * + * @param pzhmyPerformanceEvaluationIndex 绩效评估指标 + * @return 绩效评估指标集合 + */ + public List selectPzhmyPerformanceEvaluationIndexList(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex); + + /** + * 新增绩效评估指标 + * + * @param pzhmyPerformanceEvaluationIndex 绩效评估指标 + * @return 结果 + */ + public int insertPzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex); + + /** + * 修改绩效评估指标 + * + * @param pzhmyPerformanceEvaluationIndex 绩效评估指标 + * @return 结果 + */ + public int updatePzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex); + + /** + * 批量删除绩效评估指标 + * + * @param ids 需要删除的绩效评估指标主键集合 + * @return 结果 + */ + public int deletePzhmyPerformanceEvaluationIndexByIds(String[] ids); + + /** + * 删除绩效评估指标信息 + * + * @param id 绩效评估指标主键 + * @return 结果 + */ + public int deletePzhmyPerformanceEvaluationIndexById(String id); +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/IPzhmyPerformanceEvaluationResultService.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/IPzhmyPerformanceEvaluationResultService.java new file mode 100644 index 00000000..774993ca --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/IPzhmyPerformanceEvaluationResultService.java @@ -0,0 +1,61 @@ +package com.god.etmEquipmentPerformance.service; + +import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationResult; +import java.util.List; + +/** + * 绩效评估结果Service接口 + * + * @author liweijie + * @date 2023-12-18 + */ +public interface IPzhmyPerformanceEvaluationResultService +{ + /** + * 查询绩效评估结果 + * + * @param id 绩效评估结果主键 + * @return 绩效评估结果 + */ + public PzhmyPerformanceEvaluationResult selectPzhmyPerformanceEvaluationResultById(String id); + + /** + * 查询绩效评估结果列表 + * + * @param pzhmyPerformanceEvaluationResult 绩效评估结果 + * @return 绩效评估结果集合 + */ + public List selectPzhmyPerformanceEvaluationResultList(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult); + + /** + * 新增绩效评估结果 + * + * @param pzhmyPerformanceEvaluationResult 绩效评估结果 + * @return 结果 + */ + public int insertPzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult); + + /** + * 修改绩效评估结果 + * + * @param pzhmyPerformanceEvaluationResult 绩效评估结果 + * @return 结果 + */ + public int updatePzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult); + + /** + * 批量删除绩效评估结果 + * + * @param ids 需要删除的绩效评估结果主键集合 + * @return 结果 + */ + public int deletePzhmyPerformanceEvaluationResultByIds(String[] ids); + + /** + * 删除绩效评估结果信息 + * + * @param id 绩效评估结果主键 + * @return 结果 + */ + public int deletePzhmyPerformanceEvaluationResultById(String id); +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/impl/PzhmyAssessmentObjectiveManagementServiceImpl.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/impl/PzhmyAssessmentObjectiveManagementServiceImpl.java new file mode 100644 index 00000000..c715a011 --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/impl/PzhmyAssessmentObjectiveManagementServiceImpl.java @@ -0,0 +1,95 @@ +package com.god.etmEquipmentPerformance.service.impl; + +import com.god.common.utils.uuid.IdUtils; +import com.god.etmEquipmentPerformance.domain.PzhmyAssessmentObjectiveManagement; +import com.god.etmEquipmentPerformance.mapper.PzhmyAssessmentObjectiveManagementMapper; +import com.god.etmEquipmentPerformance.service.IPzhmyAssessmentObjectiveManagementService; +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * 考核目标管理Service业务层处理 + * + * @author liweijie + * @date 2023-12-18 + */ +@Service +public class PzhmyAssessmentObjectiveManagementServiceImpl implements IPzhmyAssessmentObjectiveManagementService +{ + @Autowired + private PzhmyAssessmentObjectiveManagementMapper pzhmyAssessmentObjectiveManagementMapper; + + /** + * 查询考核目标管理 + * + * @param id 考核目标管理主键 + * @return 考核目标管理 + */ + @Override + public PzhmyAssessmentObjectiveManagement selectPzhmyAssessmentObjectiveManagementById(String id) + { + return pzhmyAssessmentObjectiveManagementMapper.selectPzhmyAssessmentObjectiveManagementById(id); + } + + /** + * 查询考核目标管理列表 + * + * @param pzhmyAssessmentObjectiveManagement 考核目标管理 + * @return 考核目标管理 + */ + @Override + public List selectPzhmyAssessmentObjectiveManagementList(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement) + { + return pzhmyAssessmentObjectiveManagementMapper.selectPzhmyAssessmentObjectiveManagementList(pzhmyAssessmentObjectiveManagement); + } + + /** + * 新增考核目标管理 + * + * @param pzhmyAssessmentObjectiveManagement 考核目标管理 + * @return 结果 + */ + @Override + public int insertPzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement) + { + pzhmyAssessmentObjectiveManagement.setId(IdUtils.fastSimpleUUID()); + return pzhmyAssessmentObjectiveManagementMapper.insertPzhmyAssessmentObjectiveManagement(pzhmyAssessmentObjectiveManagement); + } + + /** + * 修改考核目标管理 + * + * @param pzhmyAssessmentObjectiveManagement 考核目标管理 + * @return 结果 + */ + @Override + public int updatePzhmyAssessmentObjectiveManagement(PzhmyAssessmentObjectiveManagement pzhmyAssessmentObjectiveManagement) + { + return pzhmyAssessmentObjectiveManagementMapper.updatePzhmyAssessmentObjectiveManagement(pzhmyAssessmentObjectiveManagement); + } + + /** + * 批量删除考核目标管理 + * + * @param ids 需要删除的考核目标管理主键 + * @return 结果 + */ + @Override + public int deletePzhmyAssessmentObjectiveManagementByIds(String[] ids) + { + return pzhmyAssessmentObjectiveManagementMapper.deletePzhmyAssessmentObjectiveManagementByIds(ids); + } + + /** + * 删除考核目标管理信息 + * + * @param id 考核目标管理主键 + * @return 结果 + */ + @Override + public int deletePzhmyAssessmentObjectiveManagementById(String id) + { + return pzhmyAssessmentObjectiveManagementMapper.deletePzhmyAssessmentObjectiveManagementById(id); + } +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/impl/PzhmyPerformanceEvaluationIndexServiceImpl.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/impl/PzhmyPerformanceEvaluationIndexServiceImpl.java new file mode 100644 index 00000000..24180bfd --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/impl/PzhmyPerformanceEvaluationIndexServiceImpl.java @@ -0,0 +1,95 @@ +package com.god.etmEquipmentPerformance.service.impl; + +import com.god.common.utils.uuid.IdUtils; +import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationIndex; +import com.god.etmEquipmentPerformance.mapper.PzhmyPerformanceEvaluationIndexMapper; +import com.god.etmEquipmentPerformance.service.IPzhmyPerformanceEvaluationIndexService; +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * 绩效评估指标Service业务层处理 + * + * @author liweijie + * @date 2023-12-18 + */ +@Service +public class PzhmyPerformanceEvaluationIndexServiceImpl implements IPzhmyPerformanceEvaluationIndexService +{ + @Autowired + private PzhmyPerformanceEvaluationIndexMapper pzhmyPerformanceEvaluationIndexMapper; + + /** + * 查询绩效评估指标 + * + * @param id 绩效评估指标主键 + * @return 绩效评估指标 + */ + @Override + public PzhmyPerformanceEvaluationIndex selectPzhmyPerformanceEvaluationIndexById(String id) + { + return pzhmyPerformanceEvaluationIndexMapper.selectPzhmyPerformanceEvaluationIndexById(id); + } + + /** + * 查询绩效评估指标列表 + * + * @param pzhmyPerformanceEvaluationIndex 绩效评估指标 + * @return 绩效评估指标 + */ + @Override + public List selectPzhmyPerformanceEvaluationIndexList(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex) + { + return pzhmyPerformanceEvaluationIndexMapper.selectPzhmyPerformanceEvaluationIndexList(pzhmyPerformanceEvaluationIndex); + } + + /** + * 新增绩效评估指标 + * + * @param pzhmyPerformanceEvaluationIndex 绩效评估指标 + * @return 结果 + */ + @Override + public int insertPzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex) + { + pzhmyPerformanceEvaluationIndex.setId(IdUtils.fastSimpleUUID()); + return pzhmyPerformanceEvaluationIndexMapper.insertPzhmyPerformanceEvaluationIndex(pzhmyPerformanceEvaluationIndex); + } + + /** + * 修改绩效评估指标 + * + * @param pzhmyPerformanceEvaluationIndex 绩效评估指标 + * @return 结果 + */ + @Override + public int updatePzhmyPerformanceEvaluationIndex(PzhmyPerformanceEvaluationIndex pzhmyPerformanceEvaluationIndex) + { + return pzhmyPerformanceEvaluationIndexMapper.updatePzhmyPerformanceEvaluationIndex(pzhmyPerformanceEvaluationIndex); + } + + /** + * 批量删除绩效评估指标 + * + * @param ids 需要删除的绩效评估指标主键 + * @return 结果 + */ + @Override + public int deletePzhmyPerformanceEvaluationIndexByIds(String[] ids) + { + return pzhmyPerformanceEvaluationIndexMapper.deletePzhmyPerformanceEvaluationIndexByIds(ids); + } + + /** + * 删除绩效评估指标信息 + * + * @param id 绩效评估指标主键 + * @return 结果 + */ + @Override + public int deletePzhmyPerformanceEvaluationIndexById(String id) + { + return pzhmyPerformanceEvaluationIndexMapper.deletePzhmyPerformanceEvaluationIndexById(id); + } +} diff --git a/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/impl/PzhmyPerformanceEvaluationResultServiceImpl.java b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/impl/PzhmyPerformanceEvaluationResultServiceImpl.java new file mode 100644 index 00000000..a012f24e --- /dev/null +++ b/God-Vue-master/god-system/src/main/java/com/god/etmEquipmentPerformance/service/impl/PzhmyPerformanceEvaluationResultServiceImpl.java @@ -0,0 +1,95 @@ +package com.god.etmEquipmentPerformance.service.impl; + +import com.god.common.utils.uuid.IdUtils; +import com.god.etmEquipmentPerformance.domain.PzhmyPerformanceEvaluationResult; +import com.god.etmEquipmentPerformance.mapper.PzhmyPerformanceEvaluationResultMapper; +import com.god.etmEquipmentPerformance.service.IPzhmyPerformanceEvaluationResultService; +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +/** + * 绩效评估结果Service业务层处理 + * + * @author liweijie + * @date 2023-12-18 + */ +@Service +public class PzhmyPerformanceEvaluationResultServiceImpl implements IPzhmyPerformanceEvaluationResultService +{ + @Autowired + private PzhmyPerformanceEvaluationResultMapper pzhmyPerformanceEvaluationResultMapper; + + /** + * 查询绩效评估结果 + * + * @param id 绩效评估结果主键 + * @return 绩效评估结果 + */ + @Override + public PzhmyPerformanceEvaluationResult selectPzhmyPerformanceEvaluationResultById(String id) + { + return pzhmyPerformanceEvaluationResultMapper.selectPzhmyPerformanceEvaluationResultById(id); + } + + /** + * 查询绩效评估结果列表 + * + * @param pzhmyPerformanceEvaluationResult 绩效评估结果 + * @return 绩效评估结果 + */ + @Override + public List selectPzhmyPerformanceEvaluationResultList(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult) + { + return pzhmyPerformanceEvaluationResultMapper.selectPzhmyPerformanceEvaluationResultList(pzhmyPerformanceEvaluationResult); + } + + /** + * 新增绩效评估结果 + * + * @param pzhmyPerformanceEvaluationResult 绩效评估结果 + * @return 结果 + */ + @Override + public int insertPzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult) + { + pzhmyPerformanceEvaluationResult.setId(IdUtils.fastSimpleUUID()); + return pzhmyPerformanceEvaluationResultMapper.insertPzhmyPerformanceEvaluationResult(pzhmyPerformanceEvaluationResult); + } + + /** + * 修改绩效评估结果 + * + * @param pzhmyPerformanceEvaluationResult 绩效评估结果 + * @return 结果 + */ + @Override + public int updatePzhmyPerformanceEvaluationResult(PzhmyPerformanceEvaluationResult pzhmyPerformanceEvaluationResult) + { + return pzhmyPerformanceEvaluationResultMapper.updatePzhmyPerformanceEvaluationResult(pzhmyPerformanceEvaluationResult); + } + + /** + * 批量删除绩效评估结果 + * + * @param ids 需要删除的绩效评估结果主键 + * @return 结果 + */ + @Override + public int deletePzhmyPerformanceEvaluationResultByIds(String[] ids) + { + return pzhmyPerformanceEvaluationResultMapper.deletePzhmyPerformanceEvaluationResultByIds(ids); + } + + /** + * 删除绩效评估结果信息 + * + * @param id 绩效评估结果主键 + * @return 结果 + */ + @Override + public int deletePzhmyPerformanceEvaluationResultById(String id) + { + return pzhmyPerformanceEvaluationResultMapper.deletePzhmyPerformanceEvaluationResultById(id); + } +} diff --git a/God-Vue-master/god-system/src/main/resources/mapper/etmEquipmentPerformance/PzhmyAssessmentObjectiveManagementMapper.xml b/God-Vue-master/god-system/src/main/resources/mapper/etmEquipmentPerformance/PzhmyAssessmentObjectiveManagementMapper.xml new file mode 100644 index 00000000..a6c2cb01 --- /dev/null +++ b/God-Vue-master/god-system/src/main/resources/mapper/etmEquipmentPerformance/PzhmyAssessmentObjectiveManagementMapper.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + select id, examination_number, assessment_task_name, assessment_time, assessment_data, follow_up_assessment_plan, assessment_objective, this_deficiency_analysis, perfect_measure, remark from pzhmy_assessment_objective_management + + + + + + + + insert into pzhmy_assessment_objective_management + + id, + examination_number, + assessment_task_name, + assessment_time, + assessment_data, + follow_up_assessment_plan, + assessment_objective, + this_deficiency_analysis, + perfect_measure, + remark, + + + #{id}, + #{examinationNumber}, + #{assessmentTaskName}, + #{assessmentTime}, + #{assessmentData}, + #{followUpAssessmentPlan}, + #{assessmentObjective}, + #{thisDeficiencyAnalysis}, + #{perfectMeasure}, + #{remark}, + + + + + update pzhmy_assessment_objective_management + + examination_number = #{examinationNumber}, + assessment_task_name = #{assessmentTaskName}, + assessment_time = #{assessmentTime}, + assessment_data = #{assessmentData}, + follow_up_assessment_plan = #{followUpAssessmentPlan}, + assessment_objective = #{assessmentObjective}, + this_deficiency_analysis = #{thisDeficiencyAnalysis}, + perfect_measure = #{perfectMeasure}, + remark = #{remark}, + + where id = #{id} + + + + delete from pzhmy_assessment_objective_management where id = #{id} + + + + delete from pzhmy_assessment_objective_management where id in + + #{id} + + + \ No newline at end of file diff --git a/God-Vue-master/god-system/src/main/resources/mapper/etmEquipmentPerformance/PzhmyPerformanceEvaluationIndexMapper.xml b/God-Vue-master/god-system/src/main/resources/mapper/etmEquipmentPerformance/PzhmyPerformanceEvaluationIndexMapper.xml new file mode 100644 index 00000000..43524400 --- /dev/null +++ b/God-Vue-master/god-system/src/main/resources/mapper/etmEquipmentPerformance/PzhmyPerformanceEvaluationIndexMapper.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + select id, assess_unique_id, assessment_name, assessment_index, work_objective, filling_time, audit_status, auditor, remark from pzhmy_performance_evaluation_index + + + + + + + + insert into pzhmy_performance_evaluation_index + + id, + assess_unique_id, + assessment_name, + assessment_index, + work_objective, + filling_time, + audit_status, + auditor, + remark, + + + #{id}, + #{assessUniqueId}, + #{assessmentName}, + #{assessmentIndex}, + #{workObjective}, + #{fillingTime}, + #{auditStatus}, + #{auditor}, + #{remark}, + + + + + update pzhmy_performance_evaluation_index + + assess_unique_id = #{assessUniqueId}, + assessment_name = #{assessmentName}, + assessment_index = #{assessmentIndex}, + work_objective = #{workObjective}, + filling_time = #{fillingTime}, + audit_status = #{auditStatus}, + auditor = #{auditor}, + remark = #{remark}, + + where id = #{id} + + + + delete from pzhmy_performance_evaluation_index where id = #{id} + + + + delete from pzhmy_performance_evaluation_index where id in + + #{id} + + + \ No newline at end of file diff --git a/God-Vue-master/god-system/src/main/resources/mapper/etmEquipmentPerformance/PzhmyPerformanceEvaluationResultMapper.xml b/God-Vue-master/god-system/src/main/resources/mapper/etmEquipmentPerformance/PzhmyPerformanceEvaluationResultMapper.xml new file mode 100644 index 00000000..cc87b896 --- /dev/null +++ b/God-Vue-master/god-system/src/main/resources/mapper/etmEquipmentPerformance/PzhmyPerformanceEvaluationResultMapper.xml @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + + + + select id, employee_name, performance_calculation_rules, employee_performance_appraisal_form, department_performance_review_form, employee_performance_appraisal_scale, performance_scores_for_various_assessment_methods, historical_assessment_data, employee_performance_appraisal_results, remark from pzhmy_performance_evaluation_result + + + + + + + + insert into pzhmy_performance_evaluation_result + + id, + employee_name, + performance_calculation_rules, + employee_performance_appraisal_form, + department_performance_review_form, + employee_performance_appraisal_scale, + performance_scores_for_various_assessment_methods, + historical_assessment_data, + employee_performance_appraisal_results, + remark, + + + #{id}, + #{employeeName}, + #{performanceCalculationRules}, + #{employeePerformanceAppraisalForm}, + #{departmentPerformanceReviewForm}, + #{employeePerformanceAppraisalScale}, + #{performanceScoresForVariousAssessmentMethods}, + #{historicalAssessmentData}, + #{employeePerformanceAppraisalResults}, + #{remark}, + + + + + update pzhmy_performance_evaluation_result + + employee_name = #{employeeName}, + performance_calculation_rules = #{performanceCalculationRules}, + employee_performance_appraisal_form = #{employeePerformanceAppraisalForm}, + department_performance_review_form = #{departmentPerformanceReviewForm}, + employee_performance_appraisal_scale = #{employeePerformanceAppraisalScale}, + performance_scores_for_various_assessment_methods = #{performanceScoresForVariousAssessmentMethods}, + historical_assessment_data = #{historicalAssessmentData}, + employee_performance_appraisal_results = #{employeePerformanceAppraisalResults}, + remark = #{remark}, + + where id = #{id} + + + + delete from pzhmy_performance_evaluation_result where id = #{id} + + + + delete from pzhmy_performance_evaluation_result where id in + + #{id} + + + \ No newline at end of file diff --git a/god-ui/src/api/etmEquipmentPerformance/pzhmyAssessment/objectiveManagement.js b/god-ui/src/api/etmEquipmentPerformance/pzhmyAssessment/objectiveManagement.js new file mode 100644 index 00000000..4f86dfba --- /dev/null +++ b/god-ui/src/api/etmEquipmentPerformance/pzhmyAssessment/objectiveManagement.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询考核目标管理列表 +export function listObjectiveManagement(query) { + return request({ + url: '/pzhmyAssessment/objectiveManagement/list', + method: 'get', + params: query + }) +} + +// 查询考核目标管理详细 +export function getObjectiveManagement(id) { + return request({ + url: '/pzhmyAssessment/objectiveManagement/' + id, + method: 'get' + }) +} + +// 新增考核目标管理 +export function addObjectiveManagement(data) { + return request({ + url: '/pzhmyAssessment/objectiveManagement', + method: 'post', + data: data + }) +} + +// 修改考核目标管理 +export function updateObjectiveManagement(data) { + return request({ + url: '/pzhmyAssessment/objectiveManagement', + method: 'put', + data: data + }) +} + +// 删除考核目标管理 +export function delObjectiveManagement(id) { + return request({ + url: '/pzhmyAssessment/objectiveManagement/' + id, + method: 'delete' + }) +} diff --git a/god-ui/src/api/etmEquipmentPerformance/pzhmyPerformance/evaluationIndex.js b/god-ui/src/api/etmEquipmentPerformance/pzhmyPerformance/evaluationIndex.js new file mode 100644 index 00000000..9cae9dbb --- /dev/null +++ b/god-ui/src/api/etmEquipmentPerformance/pzhmyPerformance/evaluationIndex.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询绩效评估指标列表 +export function listEvaluationIndex(query) { + return request({ + url: '/pzhmyPerformance/EvaluationIndex/list', + method: 'get', + params: query + }) +} + +// 查询绩效评估指标详细 +export function getEvaluationIndex(id) { + return request({ + url: '/pzhmyPerformance/EvaluationIndex/' + id, + method: 'get' + }) +} + +// 新增绩效评估指标 +export function addEvaluationIndex(data) { + return request({ + url: '/pzhmyPerformance/EvaluationIndex', + method: 'post', + data: data + }) +} + +// 修改绩效评估指标 +export function updateEvaluationIndex(data) { + return request({ + url: '/pzhmyPerformance/EvaluationIndex', + method: 'put', + data: data + }) +} + +// 删除绩效评估指标 +export function delEvaluationIndex(id) { + return request({ + url: '/pzhmyPerformance/EvaluationIndex/' + id, + method: 'delete' + }) +} diff --git a/god-ui/src/api/etmEquipmentPerformance/pzhmyPerformance/evaluationResult.js b/god-ui/src/api/etmEquipmentPerformance/pzhmyPerformance/evaluationResult.js new file mode 100644 index 00000000..d937cdc7 --- /dev/null +++ b/god-ui/src/api/etmEquipmentPerformance/pzhmyPerformance/evaluationResult.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询绩效评估结果列表 +export function listEvaluationResult(query) { + return request({ + url: '/pzhmyPerformance/evaluationResult/list', + method: 'get', + params: query + }) +} + +// 查询绩效评估结果详细 +export function getEvaluationResult(id) { + return request({ + url: '/pzhmyPerformance/evaluationResult/' + id, + method: 'get' + }) +} + +// 新增绩效评估结果 +export function addEvaluationResult(data) { + return request({ + url: '/pzhmyPerformance/evaluationResult', + method: 'post', + data: data + }) +} + +// 修改绩效评估结果 +export function updateEvaluationResult(data) { + return request({ + url: '/pzhmyPerformance/evaluationResult', + method: 'put', + data: data + }) +} + +// 删除绩效评估结果 +export function delEvaluationResult(id) { + return request({ + url: '/pzhmyPerformance/evaluationResult/' + id, + method: 'delete' + }) +} diff --git a/god-ui/src/views/etmEquipmentPerformance/pzhmyAssessment/objectiveManagement/index.vue b/god-ui/src/views/etmEquipmentPerformance/pzhmyAssessment/objectiveManagement/index.vue new file mode 100644 index 00000000..c7e1f414 --- /dev/null +++ b/god-ui/src/views/etmEquipmentPerformance/pzhmyAssessment/objectiveManagement/index.vue @@ -0,0 +1,347 @@ + + + diff --git a/god-ui/src/views/etmEquipmentPerformance/pzhmyPerformance/evaluationIndex/index.vue b/god-ui/src/views/etmEquipmentPerformance/pzhmyPerformance/evaluationIndex/index.vue new file mode 100644 index 00000000..8e1674a1 --- /dev/null +++ b/god-ui/src/views/etmEquipmentPerformance/pzhmyPerformance/evaluationIndex/index.vue @@ -0,0 +1,348 @@ + + + diff --git a/god-ui/src/views/etmEquipmentPerformance/pzhmyPerformance/evaluationResult/index.vue b/god-ui/src/views/etmEquipmentPerformance/pzhmyPerformance/evaluationResult/index.vue new file mode 100644 index 00000000..8546422e --- /dev/null +++ b/god-ui/src/views/etmEquipmentPerformance/pzhmyPerformance/evaluationResult/index.vue @@ -0,0 +1,321 @@ + + +