工作台待处理预约面试人数不再-1
This commit is contained in:
@@ -174,10 +174,8 @@ public class HyPartnerInterviewPlanServiceImpl implements HyPartnerInterviewPlan
|
||||
if (CommonConstants.PENDING.equals(type)) {
|
||||
//设置对应时间段的被预约情况
|
||||
HyPartnerInterviewBookSituation bookSituation = orderSituationMap.getOrDefault(partnerInterviewInfoVO.getStartTime().replace("/", "-"), new HyPartnerInterviewBookSituation(0, Boolean.FALSE));
|
||||
Integer appointmentCount = bookSituation.getBookingCount();
|
||||
//预约人数需要减去自己
|
||||
appointmentCount = appointmentCount == 0 ? appointmentCount : appointmentCount - 1;
|
||||
partnerInterviewInfoVO.setAppointmentCount(appointmentCount);
|
||||
//预约人数
|
||||
partnerInterviewInfoVO.setAppointmentCount(bookSituation.getBookingCount());
|
||||
//是否被预约
|
||||
partnerInterviewInfoVO.setBooked(bookSituation.getBooked());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user