修改主页面版第二个echarts数据

This commit is contained in:
lw 2024-07-05 10:47:29 +08:00
parent 67fb03e958
commit 52c6024192
1 changed files with 14 additions and 1 deletions

View File

@ -80,6 +80,12 @@ public class HomePageController extends BaseController {
//寻找该月份初试通过人数
List<ResumeFollowRecord> resumeFollowRecordFirstPassList = resumeFollowRecordService.getBySelectMonth(req.getHrName(), firstDay, lastDay, 3);
//寻找该月份的终试数
List<ResumeFollowRecord> resumeFollowRecordFinalArrivedList = resumeFollowRecordService.getBySelectMonth(req.getHrName(), firstDay, lastDay, 5);
//寻找该月份接受的offer数
List<ResumeFollowRecord> resumeFollowRecordOfferList = resumeFollowRecordService.getBySelectMonth(req.getHrName(), firstDay, lastDay, 6);
ResumeStatVO resumeStatVO = new ResumeStatVO();
//1.合格简历数量
resumeStatVO.setQualifiedCount(resumeFollowRecordList.size());
@ -221,8 +227,14 @@ public class HomePageController extends BaseController {
List<Long> postDownLoadCounts = new ArrayList<>();
//某月份某岗位约面人数
List<Integer> postInviteCounts = new ArrayList<>();
//某月份某岗位到面人数
//某月份某岗位到面初试人数
List<Long> postArriveCounts = new ArrayList<>();
//某月份某岗位的终试人数
List<Long> postFinalCounts = new ArrayList<>();
//某月份某岗位接受offer数
List<Long> postOfferCounts = new ArrayList<>();
//某月份某岗位的入职数
List<Long> postEntryCounts = new ArrayList<>();
//某月份岗位名字
List<String> postNameList = new ArrayList<>();
//某月份岗位ids
@ -236,6 +248,7 @@ public class HomePageController extends BaseController {
List<ResumeHandleRecord> resumeHandleRecordListByPostId = groupedResumeHandleRecords.get(uniquePostId);
PostDetailDTO postDetailDTO = new PostDetailDTO();
postDetailDTO.setPostId(uniquePostId);
//封装岗位名字
if (!CollectionUtils.isEmpty(resumeFollowRecordListByPostId)) {
postDetailDTO.setPostName(resumeFollowRecordListByPostId.get(0).getPostName());
} else if (!CollectionUtils.isEmpty(resumeHandleRecordListByPostId)) {