feat(wms): 添加员工转岗功能

- 在IWmsEmployeeTransferService中新增employeeTransfer方法
- 在WmsEmployeeTransferController中添加transfer接口
- 实现WmsEmployeeTransferServiceImpl中的员工转岗业务逻辑
- 添加事务注解确保数据一致性
- 在查询方法中关联员工信息表获取完整数据
- 验证员工状态确保在职员工才能转岗
- 记录转岗前后的部门和岗位信息
- 更新WmsEmployeeTransferVo以包含员工信息字段
This commit is contained in:
2026-03-18 11:03:43 +08:00
parent 7dcb779412
commit 8fe459dae5
4 changed files with 93 additions and 2 deletions

View File

@@ -46,4 +46,9 @@ public interface IWmsEmployeeTransferService {
* 校验并批量删除员工转岗记录信息
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
/**
* 员工转岗
*/
Boolean employeeTransfer(WmsEmployeeTransferBo bo);
}