feat(wms): 添加员工信息管理模块

- 创建员工信息实体类 WmsEmployeeInfo,包含基本信息字段
- 实现员工信息业务对象 WmsEmployeeInfoBo 和视图对象 WmsEmployeeInfoVo
- 开发员工信息服务接口 IWmsEmployeeInfoService 及其实现类
- 添加员工信息数据访问层 WmsEmployeeInfoMapper 及 XML 映射文件
- 实现员工信息 REST 控制器,支持增删改查和导出功能
- 集成 MyBatis-Plus 分页查询和 Excel 导出功能
- 添加数据验证和业务逻辑处理
This commit is contained in:
2026-03-03 09:11:24 +08:00
parent dabcc61174
commit 6062016557
8 changed files with 637 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.klp.mapper.WmsEmployeeInfoMapper">
<resultMap type="com.klp.domain.WmsEmployeeInfo" id="WmsEmployeeInfoResult">
<result property="infoId" column="info_id"/>
<result property="serialNumber" column="serial_number"/>
<result property="dept" column="dept"/>
<result property="jobType" column="job_type"/>
<result property="name" column="name"/>
<result property="idCard" column="id_card"/>
<result property="age" column="age"/>
<result property="gender" column="gender"/>
<result property="education" column="education"/>
<result property="homeAddress" column="home_address"/>
<result property="phone" column="phone"/>
<result property="entryTime" column="entry_time"/>
<result property="emergencyContact" column="emergency_contact"/>
<result property="relationship" column="relationship"/>
<result property="emergencyContactPhone" column="emergency_contact_phone"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
<result property="delFlag" column="del_flag"/>
<result property="remark" column="remark"/>
</resultMap>
</mapper>