岗位刷新功能
parent
4d8948724e
commit
4105600770
@ -0,0 +1,29 @@
|
||||
package com.engine.organization.entity.hrmresource.po;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Author weaver_cl
|
||||
* @Description:
|
||||
* @Date 2022/12/15
|
||||
* @Version V1.0
|
||||
**/
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ResourcePO {
|
||||
|
||||
private Long id;
|
||||
|
||||
private Integer subcompanyid1;
|
||||
|
||||
private Integer departmentid;
|
||||
|
||||
private Integer jobtitle;
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.engine.organization.mapper.resource;
|
||||
|
||||
import com.engine.organization.entity.hrmresource.po.ResourcePO;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author weaver_cl
|
||||
* @Description:
|
||||
* @Date 2022/12/15
|
||||
* @Version V1.0
|
||||
**/
|
||||
public interface HrmResourceMapper {
|
||||
|
||||
List<ResourcePO> selectFilterDatas();
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
<?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.engine.organization.mapper.resource.HrmResourceMapper">
|
||||
<resultMap id="HrmResourceMap" type="com.engine.organization.entity.hrmresource.po.ResourcePO">
|
||||
<result column="id" property="id"/>
|
||||
<result column="subcompanyid1" property="subcompanyid1"/>
|
||||
<result column="departmentid" property="departmentid"/>
|
||||
<result column="jobtitle" property="jobtitle"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectFilterDatas" resultType="com.engine.organization.entity.hrmresource.po.ResourcePO">
|
||||
SELECT DISTINCT subcompanyid1,departmentid,jobtitle from hrmresource
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue