Files
xgy-oa/klp-wms/src/main/java/com/klp/service/IWmsEmployeeChangeService.java
Joshi 9b82d7230a feat(wms): 新增员工入职离职功能
- 在 IWmsEmployeeChangeService 中添加 employeeEntry 和 employeeLeave 方法
- 扩展 WmsEmployeeChangeBo 类增加员工详细信息字段
- 在 WmsEmployeeChangeController 中添加入职和离职接口
- 实现 WmsEmployeeChangeServiceImpl 的入职离职业务逻辑
- 集成员工信息查询功能并在查询结果中关联员工详情
- 添加事务管理确保数据一致性操作
2026-03-14 10:40:44 +08:00

60 lines
1.4 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.service;
import com.klp.domain.WmsEmployeeChange;
import com.klp.domain.vo.WmsEmployeeChangeVo;
import com.klp.domain.bo.WmsEmployeeChangeBo;
import com.klp.common.core.page.TableDataInfo;
import com.klp.common.core.domain.PageQuery;
import java.util.Collection;
import java.util.List;
/**
* 员工异动(入职/离职Service接口
*
* @author klp
* @date 2026-03-14
*/
public interface IWmsEmployeeChangeService {
/**
* 查询员工异动(入职/离职)
*/
WmsEmployeeChangeVo queryById(Long changeId);
/**
* 查询员工异动(入职/离职)列表
*/
TableDataInfo<WmsEmployeeChangeVo> queryPageList(WmsEmployeeChangeBo bo, PageQuery pageQuery);
/**
* 查询员工异动(入职/离职)列表
*/
List<WmsEmployeeChangeVo> queryList(WmsEmployeeChangeBo bo);
/**
* 新增员工异动(入职/离职)
*/
Boolean insertByBo(WmsEmployeeChangeBo bo);
/**
* 修改员工异动(入职/离职)
*/
Boolean updateByBo(WmsEmployeeChangeBo bo);
/**
* 校验并批量删除员工异动(入职/离职)信息
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
/**
* 员工入职
*/
Boolean employeeEntry(WmsEmployeeChangeBo bo);
/**
* 员工离职
*/
Boolean employeeLeave(WmsEmployeeChangeBo bo);
}