parent
43a53991a0
commit
a04eaba7ad
12 changed files with 124 additions and 84 deletions
@ -1,14 +0,0 @@ |
|||||||
<?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.daqing.financial.hrms.dao.EmployeeDeptDao"> |
|
||||||
|
|
||||||
<!-- 可根据自己的需求,是否要使用 --> |
|
||||||
<resultMap type="com.daqing.framework.domain.hrms.EmployeeDeptEntity" id="employeeDeptMap"> |
|
||||||
<result property="id" column="id"/> |
|
||||||
<result property="employeeId" column="employee_id"/> |
|
||||||
<result property="deptId" column="dept_id"/> |
|
||||||
</resultMap> |
|
||||||
|
|
||||||
|
|
||||||
</mapper> |
|
@ -1,14 +0,0 @@ |
|||||||
<?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.daqing.financial.hrms.dao.EmployeePositionDao"> |
|
||||||
|
|
||||||
<!-- 可根据自己的需求,是否要使用 --> |
|
||||||
<resultMap type="com.daqing.framework.domain.hrms.EmployeePositionEntity" id="employeePositionMap"> |
|
||||||
<result property="id" column="id"/> |
|
||||||
<result property="empId" column="emp_id"/> |
|
||||||
<result property="positionId" column="position_id"/> |
|
||||||
</resultMap> |
|
||||||
|
|
||||||
|
|
||||||
</mapper> |
|
@ -1,14 +0,0 @@ |
|||||||
<?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.daqing.financial.hrms.dao.EmployeeRoleDao"> |
|
||||||
|
|
||||||
<!-- 可根据自己的需求,是否要使用 --> |
|
||||||
<resultMap type="com.daqing.framework.domain.hrms.EmployeeRoleEntity" id="employeeRoleMap"> |
|
||||||
<result property="id" column="id"/> |
|
||||||
<result property="userId" column="user_id"/> |
|
||||||
<result property="roleId" column="role_id"/> |
|
||||||
</resultMap> |
|
||||||
|
|
||||||
|
|
||||||
</mapper> |
|
@ -1,14 +0,0 @@ |
|||||||
<?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.daqing.financial.hrms.dao.RolePermissionDao"> |
|
||||||
|
|
||||||
<!-- 可根据自己的需求,是否要使用 --> |
|
||||||
<resultMap type="com.daqing.framework.domain.hrms.RolePermissionEntity" id="rolePermissionMap"> |
|
||||||
<result property="id" column="id"/> |
|
||||||
<result property="roleId" column="role_id"/> |
|
||||||
<result property="permissionId" column="permission_id"/> |
|
||||||
</resultMap> |
|
||||||
|
|
||||||
|
|
||||||
</mapper> |
|
@ -0,0 +1,36 @@ |
|||||||
|
package com.daqing.framework.domain.hrms.request; |
||||||
|
|
||||||
|
import lombok.Data; |
||||||
|
|
||||||
|
import java.io.Serializable; |
||||||
|
|
||||||
|
/** |
||||||
|
* 新增部门请求体对象 |
||||||
|
* |
||||||
|
* @author gongsj |
||||||
|
* @email gongsj@gmail.com |
||||||
|
* @date 2020-09-07 17:12:14 |
||||||
|
*/ |
||||||
|
@Data |
||||||
|
public class DeptUpdateSortRequest implements Serializable { |
||||||
|
/** |
||||||
|
* 主键 |
||||||
|
*/ |
||||||
|
private Long id; |
||||||
|
/** |
||||||
|
* 部门名称 |
||||||
|
*/ |
||||||
|
private String name; |
||||||
|
/** |
||||||
|
* 上级部门id |
||||||
|
*/ |
||||||
|
private Long parentId; |
||||||
|
/** |
||||||
|
* 层级 |
||||||
|
*/ |
||||||
|
private Integer level; |
||||||
|
/** |
||||||
|
* 排序 |
||||||
|
*/ |
||||||
|
private Integer sort; |
||||||
|
} |
Loading…
Reference in new issue