chore(git): 更新.gitignore并重构控制器方法命名

在.gitignore中新增三个文档路径,同时将EmployeeBigBrotherController的createEmployeeBigBrother方法重命名为allocationEmployeeBigBrother,使语义更准确反映“分配”业务含义。
This commit is contained in:
2025-12-19 21:09:01 +08:00
parent fe48dfe3a1
commit 6bcb0dd30a
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@@ -59,3 +59,6 @@ application-my.yaml
/.continue/ /.continue/
/script/ /script/
/sql/ /sql/
/.claude/agents/backend-architect.md
/tkdata-model-server-issues.md
/CLAUDE.md

View File

@@ -107,7 +107,7 @@ public class EmployeeBigBrotherController {
@PostMapping("/allocation") @PostMapping("/allocation")
@Operation(summary = "分配大哥给员工") @Operation(summary = "分配大哥给员工")
@PreAuthorize("@ss.hasPermission('server:employee-big-brother:allocation')") @PreAuthorize("@ss.hasPermission('server:employee-big-brother:allocation')")
public CommonResult<Boolean> createEmployeeBigBrother(@Valid @RequestBody List<EmployeeBigBrotherSaveReqVO> createReqVO) { public CommonResult<Boolean> allocationEmployeeBigBrother(@Valid @RequestBody List<EmployeeBigBrotherSaveReqVO> createReqVO) {
return success(employeeBigBrotherService.allocationEmployeeBigBrother(createReqVO)); return success(employeeBigBrotherService.allocationEmployeeBigBrother(createReqVO));
} }