|
|
@@ -16,7 +16,7 @@ import javax.servlet.http.HttpServletResponse;
|
|
16
|
16
|
import java.util.List;
|
|
17
|
17
|
|
|
18
|
18
|
/**
|
|
19
|
|
- * 人员月度考核Controller
|
|
|
19
|
+ * 干部月度考核Controller
|
|
20
|
20
|
*
|
|
21
|
21
|
* @author ruoyi
|
|
22
|
22
|
* @date 2026-05-07
|
|
|
@@ -28,7 +28,7 @@ public class PersonnelMonthlyAssessmentController extends BaseController {
|
|
28
|
28
|
private IPersonnelMonthlyAssessmentService personnelMonthlyAssessmentService;
|
|
29
|
29
|
|
|
30
|
30
|
/**
|
|
31
|
|
- * 查询人员月度考核列表
|
|
|
31
|
+ * 查询干部月度考核列表
|
|
32
|
32
|
*/
|
|
33
|
33
|
@PreAuthorize("@ss.hasPermi('personnel:assessment:list')")
|
|
34
|
34
|
@GetMapping("/list")
|
|
|
@@ -39,19 +39,19 @@ public class PersonnelMonthlyAssessmentController extends BaseController {
|
|
39
|
39
|
}
|
|
40
|
40
|
|
|
41
|
41
|
/**
|
|
42
|
|
- * 导出人员月度考核列表
|
|
|
42
|
+ * 导出干部月度考核列表
|
|
43
|
43
|
*/
|
|
44
|
44
|
@PreAuthorize("@ss.hasPermi('personnel:assessment:export')")
|
|
45
|
|
- @Log(title = "人员月度考核", businessType = BusinessType.EXPORT)
|
|
|
45
|
+ @Log(title = "干部月度考核", businessType = BusinessType.EXPORT)
|
|
46
|
46
|
@PostMapping("/export")
|
|
47
|
47
|
public void export(HttpServletResponse response, PersonnelMonthlyAssessment personnelMonthlyAssessment) {
|
|
48
|
48
|
List<PersonnelMonthlyAssessment> list = personnelMonthlyAssessmentService.selectPersonnelMonthlyAssessmentList(personnelMonthlyAssessment);
|
|
49
|
49
|
ExcelUtil<PersonnelMonthlyAssessment> util = new ExcelUtil<PersonnelMonthlyAssessment>(PersonnelMonthlyAssessment.class);
|
|
50
|
|
- util.exportExcel(response, list, "人员月度考核数据");
|
|
|
50
|
+ util.exportExcel(response, list, "干部月度考核数据");
|
|
51
|
51
|
}
|
|
52
|
52
|
|
|
53
|
53
|
/**
|
|
54
|
|
- * 获取人员月度考核详细信息
|
|
|
54
|
+ * 获取干部月度考核详细信息
|
|
55
|
55
|
*/
|
|
56
|
56
|
@PreAuthorize("@ss.hasPermi('personnel:assessment:query')")
|
|
57
|
57
|
@GetMapping(value = "/{id}")
|
|
|
@@ -60,10 +60,10 @@ public class PersonnelMonthlyAssessmentController extends BaseController {
|
|
60
|
60
|
}
|
|
61
|
61
|
|
|
62
|
62
|
/**
|
|
63
|
|
- * 新增人员月度考核
|
|
|
63
|
+ * 新增干部月度考核
|
|
64
|
64
|
*/
|
|
65
|
65
|
@PreAuthorize("@ss.hasPermi('personnel:assessment:add')")
|
|
66
|
|
- @Log(title = "人员月度考核", businessType = BusinessType.INSERT)
|
|
|
66
|
+ @Log(title = "干部月度考核", businessType = BusinessType.INSERT)
|
|
67
|
67
|
@PostMapping
|
|
68
|
68
|
public AjaxResult add(@RequestBody PersonnelMonthlyAssessment personnelMonthlyAssessment) {
|
|
69
|
69
|
personnelMonthlyAssessment.setCreateBy(getUsername());
|
|
|
@@ -71,10 +71,10 @@ public class PersonnelMonthlyAssessmentController extends BaseController {
|
|
71
|
71
|
}
|
|
72
|
72
|
|
|
73
|
73
|
/**
|
|
74
|
|
- * 修改人员月度考核
|
|
|
74
|
+ * 修改干部月度考核
|
|
75
|
75
|
*/
|
|
76
|
76
|
@PreAuthorize("@ss.hasPermi('personnel:assessment:edit')")
|
|
77
|
|
- @Log(title = "人员月度考核", businessType = BusinessType.UPDATE)
|
|
|
77
|
+ @Log(title = "干部月度考核", businessType = BusinessType.UPDATE)
|
|
78
|
78
|
@PutMapping
|
|
79
|
79
|
public AjaxResult edit(@RequestBody PersonnelMonthlyAssessment personnelMonthlyAssessment) {
|
|
80
|
80
|
personnelMonthlyAssessment.setUpdateBy(getUsername());
|
|
|
@@ -82,10 +82,10 @@ public class PersonnelMonthlyAssessmentController extends BaseController {
|
|
82
|
82
|
}
|
|
83
|
83
|
|
|
84
|
84
|
/**
|
|
85
|
|
- * 删除人员月度考核
|
|
|
85
|
+ * 删除干部月度考核
|
|
86
|
86
|
*/
|
|
87
|
87
|
@PreAuthorize("@ss.hasPermi('personnel:assessment:remove')")
|
|
88
|
|
- @Log(title = "人员月度考核", businessType = BusinessType.DELETE)
|
|
|
88
|
+ @Log(title = "干部月度考核", businessType = BusinessType.DELETE)
|
|
89
|
89
|
@DeleteMapping("/{ids}")
|
|
90
|
90
|
public AjaxResult remove(@PathVariable Long[] ids) {
|
|
91
|
91
|
return toAjax(personnelMonthlyAssessmentService.deletePersonnelMonthlyAssessmentByIds(ids));
|