企业端-岗位履职代码
This commit is contained in:
parent
5e5e4bf87a
commit
bfa90d9d8b
|
|
@ -105,7 +105,23 @@ public class AssignmentTaskThread implements Runnable{
|
||||||
addOrUpdateEntUserPostTaskDto.setStandard(ie.getStandard());
|
addOrUpdateEntUserPostTaskDto.setStandard(ie.getStandard());
|
||||||
insertListAndTask(addOrUpdateEntUserPostTaskDto,createByUserId);
|
insertListAndTask(addOrUpdateEntUserPostTaskDto,createByUserId);
|
||||||
}
|
}
|
||||||
//企业对应岗位的清单(这里是法人,不需要岗位履职)
|
//企业对应岗位的清单
|
||||||
|
EntPost entPost = entPostMapper.selectById(postId);
|
||||||
|
InPostItem inPostItem = inPostItemMapper.selectByPostId(entPost.getPublicPostId());
|
||||||
|
List<InPostList>inPostLists = inPostListMapper.selectByListId(null,inPostItem.getInPostItemId());
|
||||||
|
for (InPostList ipl:inPostLists) {
|
||||||
|
AddOrUpdateEntUserPostListDto addOrUpdateEntUserPostTaskDto = new AddOrUpdateEntUserPostListDto();
|
||||||
|
addOrUpdateEntUserPostTaskDto.setEntUserId(userId);
|
||||||
|
addOrUpdateEntUserPostTaskDto.setEnterpriseId(enterpriseId);
|
||||||
|
addOrUpdateEntUserPostTaskDto.setPostId(postId);
|
||||||
|
addOrUpdateEntUserPostTaskDto.setEntListId(ipl.getPublicPostListId());
|
||||||
|
addOrUpdateEntUserPostTaskDto.setFrequency(ipl.getFrequency());
|
||||||
|
addOrUpdateEntUserPostTaskDto.setItemContent(ipl.getPublicItemContent());
|
||||||
|
addOrUpdateEntUserPostTaskDto.setItemTitle(ipl.getPublicItemTitle());
|
||||||
|
addOrUpdateEntUserPostTaskDto.setListId(ipl.getListId());
|
||||||
|
addOrUpdateEntUserPostTaskDto.setStandard(ipl.getStandard());
|
||||||
|
insertListAndTask(addOrUpdateEntUserPostTaskDto,createByUserId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private SingleResult insertListAndTask(AddOrUpdateEntUserPostListDto addOrUpdateEntUserPostTaskDto,String createByUserId) throws Exception {
|
private SingleResult insertListAndTask(AddOrUpdateEntUserPostListDto addOrUpdateEntUserPostTaskDto,String createByUserId) throws Exception {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user