Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
e246a2b6
Commit
e246a2b6
authored
Dec 23, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat[AI人力]:新增职位上下架功能
parent
97bdf635
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
386 additions
and
173 deletions
+386
-173
HumanResourceService.java
...m/poc/human_resources/aggregate/HumanResourceService.java
+20
-4
HumanResourceServiceImpl.java
...an_resources/aggregate/impl/HumanResourceServiceImpl.java
+58
-16
HumanResourcePositionConstant.java
...man_resources/constant/HumanResourcePositionConstant.java
+16
-0
BizHumanResourcePositionConvert.java
...an_resources/convert/BizHumanResourcePositionConvert.java
+6
-0
BizHumanResourcePositionDto.java
.../poc/human_resources/dto/BizHumanResourcePositionDto.java
+16
-0
HumanResourcePositionDto.java
...com/poc/human_resources/dto/HumanResourcePositionDto.java
+10
-0
BizHumanResourcePositionEntity.java
...uman_resources/entity/BizHumanResourcePositionEntity.java
+16
-0
HumanResourcePositionBaseInfo.java
...human_resources/entity/HumanResourcePositionBaseInfo.java
+13
-0
BizHumanResourcePositionModel.java
.../human_resources/model/BizHumanResourcePositionModel.java
+125
-108
PositionListQuery.sql
...va/cn/com/poc/human_resources/query/PositionListQuery.sql
+2
-0
PositionListQueryCondition.java
...poc/human_resources/query/PositionListQueryCondition.java
+15
-6
PositionListQueryItem.java
.../com/poc/human_resources/query/PositionListQueryItem.java
+47
-30
HumanResourceRest.java
...va/cn/com/poc/human_resources/rest/HumanResourceRest.java
+11
-0
HumanResourceRestImpl.java
.../poc/human_resources/rest/impl/HumanResourceRestImpl.java
+24
-6
BizHumanResourcePositionService.java
...an_resources/service/BizHumanResourcePositionService.java
+1
-1
BizHumanResourcePositionServiceImpl.java
...ces/service/impl/BizHumanResourcePositionServiceImpl.java
+6
-2
No files found.
src/main/java/cn/com/poc/human_resources/aggregate/HumanResourceService.java
View file @
e246a2b6
...
...
@@ -9,6 +9,7 @@ import cn.com.poc.human_resources.entity.position.Job;
import
cn.com.poc.human_resources.entity.position.Por
;
import
cn.com.poc.human_resources.entity.resume.Resume
;
import
cn.com.yict.framemax.data.model.PagingInfo
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
java.io.IOException
;
import
java.util.List
;
...
...
@@ -62,7 +63,8 @@ public interface HumanResourceService {
* @param id 职位id[更新必填]
* @param memberId 用户id
*/
BizHumanResourcePositionEntity
saveOrUpdatePosition
(
BaseInfo
baseInfo
,
Job
job
,
Por
por
,
Long
id
,
Long
memberId
)
throws
Exception
;
BizHumanResourcePositionEntity
saveOrUpdatePosition
(
BaseInfo
baseInfo
,
Job
job
,
Por
por
,
Long
id
,
Long
memberId
)
throws
Exception
;
/**
...
...
@@ -89,6 +91,17 @@ public interface HumanResourceService {
*/
void
deletePositions
(
Long
userId
,
Long
...
positionIds
)
throws
Exception
;
/**
* 发布职位-仅用于上架/发布职位
*/
String
publishPositions
(
Long
id
,
Long
memberId
)
throws
Exception
;
/**
* 下架职位
*/
String
unPublishPositions
(
Long
id
,
Long
memberId
)
throws
Exception
;
// ------------------------- 简历 -------------------------- //
/**
...
...
@@ -100,7 +113,8 @@ public interface HumanResourceService {
* @param resume
* @throws Exception
*/
BizHumanResourceResumeEntity
saveResume
(
Long
userId
,
String
fileURL
,
Long
positionId
,
Resume
resume
)
throws
Exception
;
BizHumanResourceResumeEntity
saveResume
(
Long
userId
,
String
fileURL
,
Long
positionId
,
Resume
resume
)
throws
Exception
;
/**
* 更新简历信息
...
...
@@ -113,7 +127,8 @@ public interface HumanResourceService {
* @return
* @throws Exception
*/
BizHumanResourceResumeEntity
updateResume
(
Long
id
,
Long
userId
,
String
fileURL
,
Long
positionId
,
Resume
resume
)
throws
Exception
;
BizHumanResourceResumeEntity
updateResume
(
Long
id
,
Long
userId
,
String
fileURL
,
Long
positionId
,
Resume
resume
)
throws
Exception
;
/**
* 查询简历列表
...
...
@@ -122,7 +137,8 @@ public interface HumanResourceService {
* @param positionId
* @param pagingInfo
*/
List
<
BizHumanResourceResumeEntity
>
listResumes
(
Long
userId
,
Long
positionId
,
PagingInfo
pagingInfo
)
throws
Exception
;
List
<
BizHumanResourceResumeEntity
>
listResumes
(
Long
userId
,
Long
positionId
,
PagingInfo
pagingInfo
)
throws
Exception
;
/**
* 查询简历详情
...
...
src/main/java/cn/com/poc/human_resources/aggregate/impl/HumanResourceServiceImpl.java
View file @
e246a2b6
...
...
@@ -13,11 +13,11 @@ import cn.com.gsst.dify_client.model.chat.ChatMessage;
import
cn.com.gsst.dify_client.model.chat.ChatMessageResponse
;
import
cn.com.gsst.dify_client.model.file.FileInfo
;
import
cn.com.poc.common.constant.CommonConstant
;
import
cn.com.poc.common.utils.DocumentLoad
;
import
cn.com.poc.common.utils.JsonUtils
;
import
cn.com.poc.common.utils.SSEUtil
;
import
cn.com.poc.common.utils.StringUtils
;
import
cn.com.poc.human_resources.aggregate.HumanResourceService
;
import
cn.com.poc.human_resources.constant.HumanResourcePositionConstant
;
import
cn.com.poc.human_resources.convert.BizHumanResourceResumeConvert
;
import
cn.com.poc.human_resources.entity.BizHumanResourcePositionEntity
;
import
cn.com.poc.human_resources.entity.BizHumanResourceResumeEntity
;
...
...
@@ -107,7 +107,9 @@ public class HumanResourceServiceImpl implements HumanResourceService {
}
@Override
public
void
positionAssistant
(
String
demand
,
String
type
,
String
fileInfos
,
String
jobInformation
,
String
question
,
String
dialoguesId
,
Long
userId
)
throws
DifyApiException
,
IOException
,
InterruptedException
{
public
void
positionAssistant
(
String
demand
,
String
type
,
String
fileInfos
,
String
jobInformation
,
String
question
,
String
dialoguesId
,
Long
userId
)
throws
DifyApiException
,
IOException
,
InterruptedException
{
// 创建聊天客户端
DifyChatClient
chatClient
=
DifyClientFactory
.
createChatClient
(
DIFY_BASE_URL
,
"app-YmVPoXmTh7ejERFbip3ADCYN"
);
Map
<
String
,
Object
>
inputs
=
new
LinkedHashMap
<>();
...
...
@@ -131,7 +133,8 @@ public class HumanResourceServiceImpl implements HumanResourceService {
.
build
();
CountDownLatch
countDownLatch
=
new
CountDownLatch
(
1
);
ServletRequestAttributes
servletRequestAttributes
=
(
ServletRequestAttributes
)
RequestContextHolder
.
getRequestAttributes
();
ServletRequestAttributes
servletRequestAttributes
=
(
ServletRequestAttributes
)
RequestContextHolder
.
getRequestAttributes
();
HttpServletResponse
response
=
servletRequestAttributes
.
getResponse
();
// 发送消息并获取响应
chatClient
.
sendChatMessageStream
(
message
,
new
ChatStreamCallback
()
{
...
...
@@ -170,10 +173,12 @@ public class HumanResourceServiceImpl implements HumanResourceService {
@Override
public
BizHumanResourcePositionEntity
saveOrUpdatePosition
(
BaseInfo
baseInfo
,
Job
job
,
Por
por
,
Long
id
,
Long
memberId
)
throws
Exception
{
public
BizHumanResourcePositionEntity
saveOrUpdatePosition
(
BaseInfo
baseInfo
,
Job
job
,
Por
por
,
Long
id
,
Long
memberId
)
throws
Exception
{
BizHumanResourcePositionEntity
bizHumanResourcePositionEntity
=
new
BizHumanResourcePositionEntity
();
bizHumanResourcePositionEntity
.
setId
(
id
);
bizHumanResourcePositionEntity
.
setPostStatus
(
HumanResourcePositionConstant
.
POST_STATUS
.
DRAFT
);
bizHumanResourcePositionEntity
.
setJobTitle
(
baseInfo
.
getJobTitle
());
bizHumanResourcePositionEntity
.
setDepartment
(
baseInfo
.
getDepartment
());
bizHumanResourcePositionEntity
.
setWorkLocation
(
baseInfo
.
getWorkLocation
());
...
...
@@ -186,24 +191,30 @@ public class HumanResourceServiceImpl implements HumanResourceService {
bizHumanResourcePositionEntity
.
setJobRequirements
(
job
.
getJobRequirements
());
bizHumanResourcePositionEntity
.
setJobDuties
(
job
.
getJobDuties
());
bizHumanResourcePositionEntity
.
setEssential
(
MapUtils
.
isNotEmpty
(
por
.
getEssential
())
?
JsonUtils
.
serialize
(
por
.
getEssential
())
:
null
);
bizHumanResourcePositionEntity
.
setBonusPoints
(
MapUtils
.
isNotEmpty
(
por
.
getBonusPoints
())
?
JsonUtils
.
serialize
(
por
.
getBonusPoints
())
:
null
);
bizHumanResourcePositionEntity
.
setExclusion
(
MapUtils
.
isNotEmpty
(
por
.
getExclusion
())
?
JsonUtils
.
serialize
(
por
.
getExclusion
())
:
null
);
bizHumanResourcePositionEntity
.
setEssential
(
MapUtils
.
isNotEmpty
(
por
.
getEssential
())
?
JsonUtils
.
serialize
(
por
.
getEssential
())
:
null
);
bizHumanResourcePositionEntity
.
setBonusPoints
(
MapUtils
.
isNotEmpty
(
por
.
getBonusPoints
())
?
JsonUtils
.
serialize
(
por
.
getBonusPoints
())
:
null
);
bizHumanResourcePositionEntity
.
setExclusion
(
MapUtils
.
isNotEmpty
(
por
.
getExclusion
())
?
JsonUtils
.
serialize
(
por
.
getExclusion
())
:
null
);
bizHumanResourcePositionEntity
.
setMemberId
(
memberId
);
return
id
!=
null
?
bizHumanResourcePositionService
.
update
(
bizHumanResourcePositionEntity
)
:
bizHumanResourcePositionService
.
save
(
bizHumanResourcePositionEntity
);
return
id
!=
null
?
bizHumanResourcePositionService
.
update
(
bizHumanResourcePositionEntity
)
:
bizHumanResourcePositionService
.
save
(
bizHumanResourcePositionEntity
);
}
@Override
public
List
<
HumanResourcePositionBaseInfo
>
listPositions
(
Long
userId
,
PagingInfo
pagingInfo
)
throws
Exception
{
PositionListQueryCondition
condition
=
new
PositionListQueryCondition
();
condition
.
setMemberId
(
userId
);
List
<
PositionListQueryItem
>
positionListQueryItems
=
bizHumanResourcePositionService
.
positionListQuery
(
condition
,
pagingInfo
);
List
<
PositionListQueryItem
>
positionListQueryItems
=
bizHumanResourcePositionService
.
positionListQuery
(
condition
,
pagingInfo
);
List
<
HumanResourcePositionBaseInfo
>
result
=
new
ArrayList
<>();
if
(
CollectionUtils
.
isNotEmpty
(
positionListQueryItems
))
{
result
=
positionListQueryItems
.
stream
().
map
(
item
->
{
HumanResourcePositionBaseInfo
baseInfo
=
new
HumanResourcePositionBaseInfo
();
baseInfo
.
setId
(
item
.
getId
());
baseInfo
.
setPostStatus
(
item
.
getPostStatus
());
baseInfo
.
setJobTitle
(
item
.
getJobTitle
());
baseInfo
.
setWorkLocation
(
item
.
getWorkLocation
());
baseInfo
.
setJobNature
(
item
.
getJobNature
());
...
...
@@ -221,7 +232,8 @@ public class HumanResourceServiceImpl implements HumanResourceService {
bizHumanResourcePositionEntity
.
setId
(
positionId
);
bizHumanResourcePositionEntity
.
setMemberId
(
userId
);
bizHumanResourcePositionEntity
.
setIsDeleted
(
CommonConstant
.
IsDeleted
.
N
);
List
<
BizHumanResourcePositionEntity
>
entities
=
bizHumanResourcePositionService
.
findByExample
(
bizHumanResourcePositionEntity
,
null
);
List
<
BizHumanResourcePositionEntity
>
entities
=
bizHumanResourcePositionService
.
findByExample
(
bizHumanResourcePositionEntity
,
null
);
if
(
CollectionUtils
.
isEmpty
(
entities
))
{
return
null
;
}
...
...
@@ -245,8 +257,34 @@ public class HumanResourceServiceImpl implements HumanResourceService {
}
@Override
public
BizHumanResourceResumeEntity
saveResume
(
Long
userId
,
String
fileURL
,
Long
positionId
,
Resume
resume
)
throws
Exception
{
BizHumanResourceResumeEntity
bizHumanResourceResumeEntity
=
BizHumanResourceResumeConvert
.
resumeToEntity
(
resume
);
public
String
publishPositions
(
Long
id
,
Long
memberId
)
throws
Exception
{
return
updatePostStatus
(
id
,
memberId
,
HumanResourcePositionConstant
.
POST_STATUS
.
PUBLISHED
);
}
@Override
public
String
unPublishPositions
(
Long
id
,
Long
memberId
)
throws
Exception
{
return
updatePostStatus
(
id
,
memberId
,
HumanResourcePositionConstant
.
POST_STATUS
.
DRAFT
);
}
/**
* 更新岗位发布状态
*/
private
String
updatePostStatus
(
Long
id
,
Long
memberId
,
String
postStatus
)
throws
Exception
{
BizHumanResourcePositionEntity
bizHumanResourcePositionEntity
=
bizHumanResourcePositionService
.
get
(
id
);
if
(
bizHumanResourcePositionEntity
==
null
||
!
Objects
.
equals
(
bizHumanResourcePositionEntity
.
getMemberId
(),
memberId
))
{
throw
new
BusinessException
(
"数据异常,无法查到当前岗位信息"
);
}
bizHumanResourcePositionEntity
.
setPostStatus
(
postStatus
);
bizHumanResourcePositionService
.
update
(
bizHumanResourcePositionEntity
);
return
bizHumanResourcePositionEntity
.
getPostStatus
();
}
@Override
public
BizHumanResourceResumeEntity
saveResume
(
Long
userId
,
String
fileURL
,
Long
positionId
,
Resume
resume
)
throws
Exception
{
BizHumanResourceResumeEntity
bizHumanResourceResumeEntity
=
BizHumanResourceResumeConvert
.
resumeToEntity
(
resume
);
bizHumanResourceResumeEntity
.
setMemberId
(
userId
);
bizHumanResourceResumeEntity
.
setPosition
(
positionId
);
bizHumanResourceResumeEntity
.
setFileUrl
(
fileURL
);
...
...
@@ -254,8 +292,10 @@ public class HumanResourceServiceImpl implements HumanResourceService {
}
@Override
public
BizHumanResourceResumeEntity
updateResume
(
Long
id
,
Long
userId
,
String
fileURL
,
Long
positionId
,
Resume
resume
)
throws
Exception
{
BizHumanResourceResumeEntity
bizHumanResourceResumeEntity
=
BizHumanResourceResumeConvert
.
resumeToEntity
(
resume
);
public
BizHumanResourceResumeEntity
updateResume
(
Long
id
,
Long
userId
,
String
fileURL
,
Long
positionId
,
Resume
resume
)
throws
Exception
{
BizHumanResourceResumeEntity
bizHumanResourceResumeEntity
=
BizHumanResourceResumeConvert
.
resumeToEntity
(
resume
);
bizHumanResourceResumeEntity
.
setId
(
id
);
bizHumanResourceResumeEntity
.
setMemberId
(
userId
);
bizHumanResourceResumeEntity
.
setPosition
(
positionId
);
...
...
@@ -264,7 +304,8 @@ public class HumanResourceServiceImpl implements HumanResourceService {
}
@Override
public
List
<
BizHumanResourceResumeEntity
>
listResumes
(
Long
userId
,
Long
positionId
,
PagingInfo
pagingInfo
)
throws
Exception
{
public
List
<
BizHumanResourceResumeEntity
>
listResumes
(
Long
userId
,
Long
positionId
,
PagingInfo
pagingInfo
)
throws
Exception
{
BizHumanResourceResumeEntity
bizHumanResourceResumeEntity
=
new
BizHumanResourceResumeEntity
();
bizHumanResourceResumeEntity
.
setMemberId
(
userId
);
bizHumanResourceResumeEntity
.
setPosition
(
positionId
);
...
...
@@ -280,7 +321,8 @@ public class HumanResourceServiceImpl implements HumanResourceService {
bizHumanResourceResumeEntity
.
setId
(
resumeId
);
bizHumanResourceResumeEntity
.
setMemberId
(
userId
);
bizHumanResourceResumeEntity
.
setIsDeleted
(
CommonConstant
.
IsDeleted
.
N
);
List
<
BizHumanResourceResumeEntity
>
entities
=
bizHumanResourceResumeService
.
findByExample
(
bizHumanResourceResumeEntity
,
null
);
List
<
BizHumanResourceResumeEntity
>
entities
=
bizHumanResourceResumeService
.
findByExample
(
bizHumanResourceResumeEntity
,
null
);
if
(
CollectionUtils
.
isEmpty
(
entities
))
{
return
null
;
}
...
...
src/main/java/cn/com/poc/human_resources/constant/HumanResourcePositionConstant.java
0 → 100644
View file @
e246a2b6
package
cn
.
com
.
poc
.
human_resources
.
constant
;
/**
* @author alex.yao
* @date 2025/12/23
*/
public
interface
HumanResourcePositionConstant
{
interface
POST_STATUS
{
String
DRAFT
=
"DRAFT"
;
String
PUBLISHED
=
"PUBLISHED"
;
}
}
src/main/java/cn/com/poc/human_resources/convert/BizHumanResourcePositionConvert.java
View file @
e246a2b6
...
...
@@ -26,6 +26,7 @@ public class BizHumanResourcePositionConvert {
public
static
BizHumanResourcePositionEntity
modelToEntity
(
BizHumanResourcePositionModel
model
)
{
BizHumanResourcePositionEntity
entity
=
new
BizHumanResourcePositionEntity
();
entity
.
setId
(
model
.
getId
());
entity
.
setPostStatus
(
model
.
getPostStatus
());
entity
.
setJobTitle
(
model
.
getJobTitle
());
entity
.
setDepartment
(
model
.
getDepartment
());
entity
.
setWorkLocation
(
model
.
getWorkLocation
());
...
...
@@ -52,6 +53,7 @@ public class BizHumanResourcePositionConvert {
public
static
BizHumanResourcePositionModel
entityToModel
(
BizHumanResourcePositionEntity
entity
)
{
BizHumanResourcePositionModel
model
=
new
BizHumanResourcePositionModel
();
model
.
setId
(
entity
.
getId
());
model
.
setPostStatus
(
entity
.
getPostStatus
());
model
.
setJobTitle
(
entity
.
getJobTitle
());
model
.
setDepartment
(
entity
.
getDepartment
());
model
.
setWorkLocation
(
entity
.
getWorkLocation
());
...
...
@@ -78,6 +80,7 @@ public class BizHumanResourcePositionConvert {
public
static
BizHumanResourcePositionDto
entityToDto
(
BizHumanResourcePositionEntity
entity
)
{
BizHumanResourcePositionDto
dto
=
new
BizHumanResourcePositionDto
();
dto
.
setId
(
entity
.
getId
());
dto
.
setPostStatus
(
entity
.
getPostStatus
());
dto
.
setJobTitle
(
entity
.
getJobTitle
());
dto
.
setDepartment
(
entity
.
getDepartment
());
dto
.
setWorkLocation
(
entity
.
getWorkLocation
());
...
...
@@ -97,6 +100,7 @@ public class BizHumanResourcePositionConvert {
public
static
BizHumanResourcePositionEntity
dtoToEntity
(
BizHumanResourcePositionDto
dto
)
{
BizHumanResourcePositionEntity
entity
=
new
BizHumanResourcePositionEntity
();
entity
.
setId
(
dto
.
getId
());
entity
.
setPostStatus
(
dto
.
getPostStatus
());
entity
.
setJobTitle
(
dto
.
getJobTitle
());
entity
.
setDepartment
(
dto
.
getDepartment
());
entity
.
setWorkLocation
(
dto
.
getWorkLocation
());
...
...
@@ -116,6 +120,8 @@ public class BizHumanResourcePositionConvert {
public
static
HumanResourcePositionDto
entityToHumanResourcePositionDto
(
BizHumanResourcePositionEntity
positionEntity
)
{
HumanResourcePositionDto
resourcePositionDto
=
new
HumanResourcePositionDto
();
resourcePositionDto
.
setPostStatus
(
positionEntity
.
getPostStatus
());
BaseInfo
baseInfo
=
new
BaseInfo
();
baseInfo
.
setJobTitle
(
positionEntity
.
getJobTitle
());
baseInfo
.
setDepartment
(
positionEntity
.
getDepartment
());
...
...
src/main/java/cn/com/poc/human_resources/dto/BizHumanResourcePositionDto.java
View file @
e246a2b6
...
...
@@ -18,6 +18,22 @@ public class BizHumanResourcePositionDto {
this
.
id
=
id
;
}
/**
* post_status
* 发布状态
* DRAFT-草稿
* PUBLISHED - 已发布
*/
private
java
.
lang
.
String
postStatus
;
public
String
getPostStatus
()
{
return
postStatus
;
}
public
void
setPostStatus
(
String
postStatus
)
{
this
.
postStatus
=
postStatus
;
}
/**
* job_title
* 职位名称
...
...
src/main/java/cn/com/poc/human_resources/dto/HumanResourcePositionDto.java
View file @
e246a2b6
...
...
@@ -12,12 +12,22 @@ public class HumanResourcePositionDto {
private
Long
id
;
private
String
postStatus
;
private
BaseInfo
baseInfo
;
private
Job
job
;
private
Por
por
;
public
String
getPostStatus
()
{
return
postStatus
;
}
public
void
setPostStatus
(
String
postStatus
)
{
this
.
postStatus
=
postStatus
;
}
public
Long
getId
()
{
return
id
;
}
...
...
src/main/java/cn/com/poc/human_resources/entity/BizHumanResourcePositionEntity.java
View file @
e246a2b6
...
...
@@ -18,6 +18,22 @@ public class BizHumanResourcePositionEntity {
public
void
setId
(
java
.
lang
.
Long
id
){
this
.
id
=
id
;
}
/**
* post_status
* 发布状态
* DRAFT-草稿
* PUBLISHED - 已发布
*/
private
java
.
lang
.
String
postStatus
;
public
String
getPostStatus
()
{
return
postStatus
;
}
public
void
setPostStatus
(
String
postStatus
)
{
this
.
postStatus
=
postStatus
;
}
/** job_title
*职位名称
*/
...
...
src/main/java/cn/com/poc/human_resources/entity/HumanResourcePositionBaseInfo.java
View file @
e246a2b6
...
...
@@ -16,6 +16,19 @@ public class HumanResourcePositionBaseInfo {
this
.
id
=
id
;
}
/**
* 发布状态
*/
private
String
postStatus
;
public
String
getPostStatus
()
{
return
postStatus
;
}
public
void
setPostStatus
(
String
postStatus
)
{
this
.
postStatus
=
postStatus
;
}
/**
* job_title
* 职位名称
...
...
src/main/java/cn/com/poc/human_resources/model/BizHumanResourcePositionModel.java
View file @
e246a2b6
package
cn
.
com
.
poc
.
human_resources
.
model
;
package
cn
.
com
.
poc
.
human_resources
.
model
;
import
java.io.Serializable
;
import
cn.com.yict.framemax.data.model.BaseModelClass
;
...
...
@@ -23,344 +23,361 @@ import javax.persistence.GenerationType;
public
class
BizHumanResourcePositionModel
extends
BaseModelClass
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/** id
*主键
*/
*/
private
java
.
lang
.
Long
id
;
@Column
(
name
=
"id"
,
length
=
19
)
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
AUTO
)
public
java
.
lang
.
Long
getId
(){
return
this
.
id
;
}
public
void
setId
(
java
.
lang
.
Long
id
){
this
.
id
=
id
;
super
.
addValidField
(
"id"
);
}
/**
* post_status
* 发布状态
* DRAFT-草稿
* PUBLISHED - 已发布
*/
private
java
.
lang
.
String
postStatus
;
@Column
(
name
=
"post_status"
,
length
=
10
)
public
String
getPostStatus
()
{
return
postStatus
;
}
public
void
setPostStatus
(
String
postStatus
)
{
this
.
postStatus
=
postStatus
;
super
.
addValidField
(
"postStatus"
);
}
/** job_title
*职位名称
*/
*/
private
java
.
lang
.
String
jobTitle
;
@Column
(
name
=
"job_title"
,
length
=
100
)
public
java
.
lang
.
String
getJobTitle
(){
return
this
.
jobTitle
;
}
public
void
setJobTitle
(
java
.
lang
.
String
jobTitle
){
this
.
jobTitle
=
jobTitle
;
super
.
addValidField
(
"jobTitle"
);
}
/** department
*所属部门
*/
*/
private
java
.
lang
.
String
department
;
@Column
(
name
=
"department"
,
length
=
100
)
public
java
.
lang
.
String
getDepartment
(){
return
this
.
department
;
}
public
void
setDepartment
(
java
.
lang
.
String
department
){
this
.
department
=
department
;
super
.
addValidField
(
"department"
);
}
/** work_location
*工作地址
*/
*/
private
java
.
lang
.
String
workLocation
;
@Column
(
name
=
"work_location"
,
length
=
100
)
public
java
.
lang
.
String
getWorkLocation
(){
return
this
.
workLocation
;
}
public
void
setWorkLocation
(
java
.
lang
.
String
workLocation
){
this
.
workLocation
=
workLocation
;
super
.
addValidField
(
"workLocation"
);
}
/** job_nature
*工作性质
*/
*/
private
java
.
lang
.
String
jobNature
;
@Column
(
name
=
"job_nature"
,
length
=
100
)
public
java
.
lang
.
String
getJobNature
(){
return
this
.
jobNature
;
}
public
void
setJobNature
(
java
.
lang
.
String
jobNature
){
this
.
jobNature
=
jobNature
;
super
.
addValidField
(
"jobNature"
);
}
/** number_of_recruits
*招聘人数
*/
*/
private
java
.
lang
.
Integer
numberOfRecruits
;
@Column
(
name
=
"number_of_recruits"
,
length
=
10
)
public
java
.
lang
.
Integer
getNumberOfRecruits
(){
return
this
.
numberOfRecruits
;
}
public
void
setNumberOfRecruits
(
java
.
lang
.
Integer
numberOfRecruits
){
this
.
numberOfRecruits
=
numberOfRecruits
;
super
.
addValidField
(
"numberOfRecruits"
);
}
/** work_experience
*工作经验
*/
*/
private
java
.
lang
.
String
workExperience
;
@Column
(
name
=
"work_experience"
,
length
=
100
)
public
java
.
lang
.
String
getWorkExperience
(){
return
this
.
workExperience
;
}
public
void
setWorkExperience
(
java
.
lang
.
String
workExperience
){
this
.
workExperience
=
workExperience
;
super
.
addValidField
(
"workExperience"
);
}
/** educational_re
*学历要求
*/
*/
private
java
.
lang
.
String
educationalRe
;
@Column
(
name
=
"educational_re"
,
length
=
100
)
public
java
.
lang
.
String
getEducationalRe
(){
return
this
.
educationalRe
;
}
public
void
setEducationalRe
(
java
.
lang
.
String
educationalRe
){
this
.
educationalRe
=
educationalRe
;
super
.
addValidField
(
"educationalRe"
);
}
/** salary_range
*薪资要求
*/
*/
private
java
.
lang
.
String
salaryRange
;
@Column
(
name
=
"salary_range"
,
length
=
100
)
public
java
.
lang
.
String
getSalaryRange
(){
return
this
.
salaryRange
;
}
public
void
setSalaryRange
(
java
.
lang
.
String
salaryRange
){
this
.
salaryRange
=
salaryRange
;
super
.
addValidField
(
"salaryRange"
);
}
/** job_requirements
*任职资格
*/
*/
private
java
.
lang
.
String
jobRequirements
;
@Column
(
name
=
"job_requirements"
,
length
=
2147483647
)
public
java
.
lang
.
String
getJobRequirements
(){
return
this
.
jobRequirements
;
}
public
void
setJobRequirements
(
java
.
lang
.
String
jobRequirements
){
this
.
jobRequirements
=
jobRequirements
;
super
.
addValidField
(
"jobRequirements"
);
}
/** job_duties
*职位描述
*/
*/
private
java
.
lang
.
String
jobDuties
;
@Column
(
name
=
"job_duties"
,
length
=
2147483647
)
public
java
.
lang
.
String
getJobDuties
(){
return
this
.
jobDuties
;
}
public
void
setJobDuties
(
java
.
lang
.
String
jobDuties
){
this
.
jobDuties
=
jobDuties
;
super
.
addValidField
(
"jobDuties"
);
}
/** essential
*职位画像-必备项
*/
*/
private
java
.
lang
.
String
essential
;
@Column
(
name
=
"essential"
,
length
=
1073741824
)
public
java
.
lang
.
String
getEssential
(){
return
this
.
essential
;
}
public
void
setEssential
(
java
.
lang
.
String
essential
){
this
.
essential
=
essential
;
super
.
addValidField
(
"essential"
);
}
/** bonusPoints
*职位画像-加分项
*/
*/
private
java
.
lang
.
String
bonusPoints
;
@Column
(
name
=
"bonusPoints"
,
length
=
1073741824
)
public
java
.
lang
.
String
getBonusPoints
(){
return
this
.
bonusPoints
;
}
public
void
setBonusPoints
(
java
.
lang
.
String
bonusPoints
){
this
.
bonusPoints
=
bonusPoints
;
super
.
addValidField
(
"bonusPoints"
);
}
/** exclusion
*职位画像-排除项
*/
*/
private
java
.
lang
.
String
exclusion
;
@Column
(
name
=
"exclusion"
,
length
=
1073741824
)
public
java
.
lang
.
String
getExclusion
(){
return
this
.
exclusion
;
}
public
void
setExclusion
(
java
.
lang
.
String
exclusion
){
this
.
exclusion
=
exclusion
;
super
.
addValidField
(
"exclusion"
);
}
/** member_id
*创建人ID
*/
*/
private
java
.
lang
.
Long
memberId
;
@Column
(
name
=
"member_id"
,
length
=
19
)
public
java
.
lang
.
Long
getMemberId
(){
return
this
.
memberId
;
}
public
void
setMemberId
(
java
.
lang
.
Long
memberId
){
this
.
memberId
=
memberId
;
super
.
addValidField
(
"memberId"
);
}
/** is_deleted
*是否删除 1、Y 是 2、N 否
*/
*/
private
java
.
lang
.
String
isDeleted
;
@Column
(
name
=
"is_deleted"
,
length
=
1
)
public
java
.
lang
.
String
getIsDeleted
(){
return
this
.
isDeleted
;
}
public
void
setIsDeleted
(
java
.
lang
.
String
isDeleted
){
this
.
isDeleted
=
isDeleted
;
super
.
addValidField
(
"isDeleted"
);
}
/** CREATOR
*创建人
*/
*/
private
java
.
lang
.
String
creator
;
@Column
(
name
=
"CREATOR"
,
length
=
225
)
public
java
.
lang
.
String
getCreator
(){
return
this
.
creator
;
}
public
void
setCreator
(
java
.
lang
.
String
creator
){
this
.
creator
=
creator
;
super
.
addValidField
(
"creator"
);
}
/** CREATED_TIME
*创建时间
*/
*/
private
java
.
util
.
Date
createdTime
;
@Column
(
name
=
"CREATED_TIME"
,
length
=
19
)
public
java
.
util
.
Date
getCreatedTime
(){
return
this
.
createdTime
;
}
public
void
setCreatedTime
(
java
.
util
.
Date
createdTime
){
this
.
createdTime
=
createdTime
;
super
.
addValidField
(
"createdTime"
);
}
/** MODIFIER
*修改人
*/
*/
private
java
.
lang
.
String
modifier
;
@Column
(
name
=
"MODIFIER"
,
length
=
225
)
public
java
.
lang
.
String
getModifier
(){
return
this
.
modifier
;
}
public
void
setModifier
(
java
.
lang
.
String
modifier
){
this
.
modifier
=
modifier
;
super
.
addValidField
(
"modifier"
);
}
/** MODIFIED_TIME
*修改时间
*/
*/
private
java
.
util
.
Date
modifiedTime
;
@Column
(
name
=
"MODIFIED_TIME"
,
length
=
19
)
public
java
.
util
.
Date
getModifiedTime
(){
return
this
.
modifiedTime
;
}
public
void
setModifiedTime
(
java
.
util
.
Date
modifiedTime
){
this
.
modifiedTime
=
modifiedTime
;
super
.
addValidField
(
"modifiedTime"
);
}
/** SYS_VERSION
*乐观锁,版本号
*/
*/
private
java
.
lang
.
Integer
sysVersion
;
@Column
(
name
=
"SYS_VERSION"
,
length
=
10
)
@Version
public
java
.
lang
.
Integer
getSysVersion
(){
return
this
.
sysVersion
;
}
public
void
setSysVersion
(
java
.
lang
.
Integer
sysVersion
){
this
.
sysVersion
=
sysVersion
;
super
.
addValidField
(
"sysVersion"
);
}
}
\ No newline at end of file
src/main/java/cn/com/poc/human_resources/query/PositionListQuery.sql
View file @
e246a2b6
select
bhrp
.
id
,
bhrp
.
post_status
,
bhrp
.
job_title
,
bhrp
.
work_location
,
bhrp
.
job_nature
,
...
...
@@ -12,6 +13,7 @@ left join biz_human_resource_resume bhrr on bhrr.`position` = bhrp.id and bhrr.i
where
bhrp
.
is_deleted
=
'N'
<<
and
bhrp
.
member_id
=
:
memberId
>>
<<
and
bhrp
.
post_status
=
:
postStatus
>>
GROUP
BY
bhrp
.
id
order
by
bhrp
.
CREATED_TIME
desc
\ No newline at end of file
src/main/java/cn/com/poc/human_resources/query/PositionListQueryCondition.java
View file @
e246a2b6
package
cn
.
com
.
poc
.
human_resources
.
query
;
package
cn
.
com
.
poc
.
human_resources
.
query
;
import
java.io.Serializable
;
...
...
@@ -6,18 +6,27 @@ import java.io.Serializable;
* Query Condition class for PositionListQuery
*/
public
class
PositionListQueryCondition
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
java
.
lang
.
Long
memberId
;
public
java
.
lang
.
Long
getMemberId
(){
return
this
.
memberId
;
}
public
void
setMemberId
(
java
.
lang
.
Long
memberId
){
this
.
memberId
=
memberId
;
}
private
java
.
lang
.
String
postStatus
;
public
String
getPostStatus
()
{
return
postStatus
;
}
public
void
setPostStatus
(
String
postStatus
)
{
this
.
postStatus
=
postStatus
;
}
}
\ No newline at end of file
src/main/java/cn/com/poc/human_resources/query/PositionListQueryItem.java
View file @
e246a2b6
package
cn
.
com
.
poc
.
human_resources
.
query
;
package
cn
.
com
.
poc
.
human_resources
.
query
;
import
java.io.Serializable
;
import
javax.persistence.Column
;
...
...
@@ -12,103 +12,120 @@ import cn.com.yict.framemax.data.model.BaseItemClass;
public
class
PositionListQueryItem
extends
BaseItemClass
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
/** id
*id
*/
*/
private
java
.
lang
.
Long
id
;
@Column
(
name
=
"id"
)
public
java
.
lang
.
Long
getId
(){
return
this
.
id
;
}
public
void
setId
(
java
.
lang
.
Long
id
){
this
.
id
=
id
;
}
/**
* post_status
* 发布状态
* DRAFT-草稿
* PUBLISHED - 已发布
*/
private
java
.
lang
.
String
postStatus
;
@Column
(
name
=
"post_status"
)
public
String
getPostStatus
()
{
return
postStatus
;
}
public
void
setPostStatus
(
String
postStatus
)
{
this
.
postStatus
=
postStatus
;
}
/** job_title
*job_title
*/
*/
private
java
.
lang
.
String
jobTitle
;
@Column
(
name
=
"job_title"
)
public
java
.
lang
.
String
getJobTitle
(){
return
this
.
jobTitle
;
}
public
void
setJobTitle
(
java
.
lang
.
String
jobTitle
){
this
.
jobTitle
=
jobTitle
;
}
/** work_location
*work_location
*/
*/
private
java
.
lang
.
String
workLocation
;
@Column
(
name
=
"work_location"
)
public
java
.
lang
.
String
getWorkLocation
(){
return
this
.
workLocation
;
}
public
void
setWorkLocation
(
java
.
lang
.
String
workLocation
){
this
.
workLocation
=
workLocation
;
}
/** job_nature
*job_nature
*/
*/
private
java
.
lang
.
String
jobNature
;
@Column
(
name
=
"job_nature"
)
public
java
.
lang
.
String
getJobNature
(){
return
this
.
jobNature
;
}
public
void
setJobNature
(
java
.
lang
.
String
jobNature
){
this
.
jobNature
=
jobNature
;
}
/** work_experience
*work_experience
*/
*/
private
java
.
lang
.
String
workExperience
;
@Column
(
name
=
"work_experience"
)
public
java
.
lang
.
String
getWorkExperience
(){
return
this
.
workExperience
;
}
public
void
setWorkExperience
(
java
.
lang
.
String
workExperience
){
this
.
workExperience
=
workExperience
;
}
/** member_id
*member_id
*/
*/
private
java
.
lang
.
Long
memberId
;
@Column
(
name
=
"member_id"
)
public
java
.
lang
.
Long
getMemberId
(){
return
this
.
memberId
;
}
public
void
setMemberId
(
java
.
lang
.
Long
memberId
){
this
.
memberId
=
memberId
;
}
/** resume_count
*resume_count
*/
*/
private
java
.
lang
.
Long
resumeCount
;
@Column
(
name
=
"resume_count"
)
public
java
.
lang
.
Long
getResumeCount
(){
return
this
.
resumeCount
;
}
public
void
setResumeCount
(
java
.
lang
.
Long
resumeCount
){
this
.
resumeCount
=
resumeCount
;
}
}
\ No newline at end of file
src/main/java/cn/com/poc/human_resources/rest/HumanResourceRest.java
View file @
e246a2b6
...
...
@@ -63,6 +63,16 @@ public interface HumanResourceRest extends BaseRest {
*/
void
deletePositions
(
@RequestParam
Long
...
positionIds
)
throws
Exception
;
/**
* 发布职位-仅用于上架/发布职位
*/
String
publishPositions
(
@RequestParam
Long
id
)
throws
Exception
;
/**
* 下架职位-仅用于下架职位
*/
String
unPublishPositions
(
@RequestParam
Long
id
)
throws
Exception
;
// ------------------------- 简历 -------------------------- //
/**
...
...
@@ -96,4 +106,5 @@ public interface HumanResourceRest extends BaseRest {
* @throws Exception
*/
void
deleteResumes
(
@RequestParam
Long
...
resumeIds
)
throws
Exception
;
}
\ No newline at end of file
src/main/java/cn/com/poc/human_resources/rest/impl/HumanResourceRestImpl.java
View file @
e246a2b6
...
...
@@ -9,6 +9,7 @@ import cn.com.poc.human_resources.dto.*;
import
cn.com.poc.human_resources.entity.BizHumanResourcePositionEntity
;
import
cn.com.poc.human_resources.entity.HumanResourcePositionBaseInfo
;
import
cn.com.poc.human_resources.rest.HumanResourceRest
;
import
cn.com.poc.support.security.oauth.entity.UserBaseEntity
;
import
cn.com.yict.framemax.core.exception.BusinessException
;
import
cn.com.yict.framemax.data.model.PagingInfo
;
import
org.springframework.stereotype.Component
;
...
...
@@ -82,11 +83,13 @@ public class HumanResourceRestImpl implements HumanResourceRest {
@Override
public
List
<
HumanResourcePositionBaseInfoDto
>
listPositions
(
PagingInfo
pagingInfo
)
throws
Exception
{
List
<
HumanResourcePositionBaseInfo
>
humanResourcePositionBaseInfos
=
humanResourceService
.
listPositions
(
BlContext
.
getCurrentUser
().
getUserId
(),
pagingInfo
);
List
<
HumanResourcePositionBaseInfo
>
humanResourcePositionBaseInfos
=
humanResourceService
.
listPositions
(
BlContext
.
getCurrentUser
().
getUserId
(),
pagingInfo
);
return
humanResourcePositionBaseInfos
.
stream
()
.
map
(
info
->
{
HumanResourcePositionBaseInfoDto
dto
=
new
HumanResourcePositionBaseInfoDto
();
dto
.
setId
(
info
.
getId
());
dto
.
setPostStatus
(
info
.
getPostStatus
());
dto
.
setJobTitle
(
info
.
getJobTitle
());
dto
.
setWorkLocation
(
info
.
getWorkLocation
());
dto
.
setJobNature
(
info
.
getJobNature
());
...
...
@@ -99,11 +102,13 @@ public class HumanResourceRestImpl implements HumanResourceRest {
@Override
public
HumanResourcePositionDto
getPositionDetail
(
Long
positionId
)
throws
Exception
{
BizHumanResourcePositionEntity
positionEntity
=
humanResourceService
.
getPositionDetail
(
BlContext
.
getCurrentUser
().
getUserId
(),
positionId
);
BizHumanResourcePositionEntity
positionEntity
=
humanResourceService
.
getPositionDetail
(
BlContext
.
getCurrentUser
().
getUserId
(),
positionId
);
if
(
positionEntity
==
null
)
{
throw
new
BusinessException
(
"该岗位信息不存在"
);
}
HumanResourcePositionDto
resourcePositionDto
=
BizHumanResourcePositionConvert
.
entityToHumanResourcePositionDto
(
positionEntity
);
HumanResourcePositionDto
resourcePositionDto
=
BizHumanResourcePositionConvert
.
entityToHumanResourcePositionDto
(
positionEntity
);
resourcePositionDto
.
setId
(
positionId
);
return
resourcePositionDto
;
}
...
...
@@ -114,6 +119,16 @@ public class HumanResourceRestImpl implements HumanResourceRest {
humanResourceService
.
deletePositions
(
BlContext
.
getCurrentUser
().
getUserId
(),
positionIds
);
}
@Override
public
String
publishPositions
(
Long
id
)
throws
Exception
{
return
humanResourceService
.
publishPositions
(
id
,
BlContext
.
getCurrentUser
().
getUserId
());
}
@Override
public
String
unPublishPositions
(
Long
id
)
throws
Exception
{
return
humanResourceService
.
unPublishPositions
(
id
,
BlContext
.
getCurrentUser
().
getUserId
());
}
@Override
public
void
saveResume
(
SaveResumeDto
saveResumeDto
)
throws
Exception
{
Assert
.
notBlank
(
saveResumeDto
.
getFileURL
(),
"文件不能为空"
);
...
...
@@ -122,9 +137,11 @@ public class HumanResourceRestImpl implements HumanResourceRest {
Assert
.
notNull
(
saveResumeDto
.
getResume
().
getInfo
(),
"简历基础信息不能为空"
);
Assert
.
notNull
(
saveResumeDto
.
getResume
().
getTag
(),
"简历标签信息不能为空"
);
if
(
saveResumeDto
.
getId
()
!=
null
)
{
humanResourceService
.
updateResume
(
saveResumeDto
.
getId
(),
BlContext
.
getCurrentUser
().
getUserId
(),
saveResumeDto
.
getFileURL
(),
saveResumeDto
.
getPositionId
(),
saveResumeDto
.
getResume
());
humanResourceService
.
updateResume
(
saveResumeDto
.
getId
(),
BlContext
.
getCurrentUser
().
getUserId
(),
saveResumeDto
.
getFileURL
(),
saveResumeDto
.
getPositionId
(),
saveResumeDto
.
getResume
());
}
else
{
humanResourceService
.
saveResume
(
BlContext
.
getCurrentUser
().
getUserId
(),
saveResumeDto
.
getFileURL
(),
saveResumeDto
.
getPositionId
(),
saveResumeDto
.
getResume
());
humanResourceService
.
saveResume
(
BlContext
.
getCurrentUser
().
getUserId
(),
saveResumeDto
.
getFileURL
(),
saveResumeDto
.
getPositionId
(),
saveResumeDto
.
getResume
());
}
}
...
...
@@ -138,7 +155,8 @@ public class HumanResourceRestImpl implements HumanResourceRest {
@Override
public
ResumeDto
getResumeDetail
(
Long
resumeId
)
throws
Exception
{
return
BizHumanResourceResumeConvert
.
entityToResumeDto
(
humanResourceService
.
getResumeDetail
(
BlContext
.
getCurrentUser
().
getUserId
(),
resumeId
));
return
BizHumanResourceResumeConvert
.
entityToResumeDto
(
humanResourceService
.
getResumeDetail
(
BlContext
.
getCurrentUser
().
getUserId
(),
resumeId
));
}
@Override
...
...
src/main/java/cn/com/poc/human_resources/service/BizHumanResourcePositionService.java
View file @
e246a2b6
...
...
@@ -11,7 +11,7 @@ import java.util.List;
public
interface
BizHumanResourcePositionService
extends
BaseService
{
BizHumanResourcePositionEntity
get
(
java
.
lang
.
Long
id
)
throws
Exception
;
BizHumanResourcePositionEntity
get
(
java
.
lang
.
Long
id
)
;
List
<
BizHumanResourcePositionEntity
>
findByExample
(
BizHumanResourcePositionEntity
example
,
PagingInfo
pagingInfo
)
throws
Exception
;
...
...
src/main/java/cn/com/poc/human_resources/service/impl/BizHumanResourcePositionServiceImpl.java
View file @
e246a2b6
...
...
@@ -27,7 +27,7 @@ public class BizHumanResourcePositionServiceImpl extends BaseServiceImpl
@Resource
private
BizHumanResourcePositionRepository
repository
;
public
BizHumanResourcePositionEntity
get
(
java
.
lang
.
Long
id
)
throws
Exception
{
public
BizHumanResourcePositionEntity
get
(
java
.
lang
.
Long
id
)
{
Assert
.
notNull
(
id
);
BizHumanResourcePositionModel
model
=
this
.
repository
.
get
(
id
);
if
(
model
==
null
)
{
...
...
@@ -40,7 +40,8 @@ public class BizHumanResourcePositionServiceImpl extends BaseServiceImpl
}
public
List
<
BizHumanResourcePositionEntity
>
findByExample
(
BizHumanResourcePositionEntity
example
,
PagingInfo
pagingInfo
)
throws
Exception
{
public
List
<
BizHumanResourcePositionEntity
>
findByExample
(
BizHumanResourcePositionEntity
example
,
PagingInfo
pagingInfo
)
throws
Exception
{
List
<
BizHumanResourcePositionEntity
>
result
=
new
ArrayList
<
BizHumanResourcePositionEntity
>();
BizHumanResourcePositionModel
model
=
new
BizHumanResourcePositionModel
();
if
(
example
!=
null
)
{
...
...
@@ -68,6 +69,9 @@ public class BizHumanResourcePositionServiceImpl extends BaseServiceImpl
Assert
.
notNull
(
entity
.
getId
(),
"update pk can not be null"
);
BizHumanResourcePositionModel
model
=
this
.
repository
.
get
(
entity
.
getId
());
if
(
entity
.
getPostStatus
()
!=
null
)
{
model
.
setPostStatus
(
entity
.
getPostStatus
());
}
if
(
entity
.
getJobTitle
()
!=
null
)
{
model
.
setJobTitle
(
entity
.
getJobTitle
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment