面试
This commit is contained in:
@@ -84,6 +84,7 @@
|
|||||||
<select id="exhibitionLineList" resultType="com.cool.store.dto.exhibition.ExhibitionLineDTO">
|
<select id="exhibitionLineList" resultType="com.cool.store.dto.exhibition.ExhibitionLineDTO">
|
||||||
select
|
select
|
||||||
hpe.exhibition_id as exhibitionId ,
|
hpe.exhibition_id as exhibitionId ,
|
||||||
|
hpe.interview_plan_id as planId,
|
||||||
hpe.partner_id as partnerId,
|
hpe.partner_id as partnerId,
|
||||||
hpe.partner_line_id as lineId,
|
hpe.partner_line_id as lineId,
|
||||||
hpe.participation_status as participationStatus,
|
hpe.participation_status as participationStatus,
|
||||||
|
|||||||
@@ -1035,9 +1035,8 @@
|
|||||||
from hy_partner_interview_plan a
|
from hy_partner_interview_plan a
|
||||||
left join enterprise_user b on a.interviewer = b.user_id
|
left join enterprise_user b on a.interviewer = b.user_id
|
||||||
<where>
|
<where>
|
||||||
and a.deleted = 0
|
|
||||||
<if test="list!=null and list.size>0">
|
<if test="list!=null and list.size>0">
|
||||||
<foreach collection="list" item="lineId" open="and a.partner_line_id in (" close=")" separator=",">
|
<foreach collection="list" item="lineId" open="and a.id in (" close=")" separator=",">
|
||||||
#{lineId}
|
#{lineId}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ public class ExhibitionLineDTO {
|
|||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
|
||||||
|
private Long planId;
|
||||||
|
|
||||||
private Integer expectedVisitorsCount;
|
private Integer expectedVisitorsCount;
|
||||||
|
|
||||||
private String expectedInformation;
|
private String expectedInformation;
|
||||||
|
|||||||
@@ -483,7 +483,7 @@ public class ExhibitionServiceImpl implements ExhibitionService {
|
|||||||
if (CollectionUtils.isEmpty(exhibitionLineDTOS)){
|
if (CollectionUtils.isEmpty(exhibitionLineDTOS)){
|
||||||
return pageInfo;
|
return pageInfo;
|
||||||
}
|
}
|
||||||
List<Long> lineIds = exhibitionLineDTOS.stream().map(ExhibitionLineDTO::getLineId).collect(Collectors.toList());
|
List<Long> lineIds = exhibitionLineDTOS.stream().map(ExhibitionLineDTO::getPlanId).collect(Collectors.toList());
|
||||||
//面试官info
|
//面试官info
|
||||||
List<LineInterviewDTO> lineInterviewList = hyPartnerLineInfoDAO.lineInterviewList(lineIds);
|
List<LineInterviewDTO> lineInterviewList = hyPartnerLineInfoDAO.lineInterviewList(lineIds);
|
||||||
Map<Long, LineInterviewDTO> lineInterviewMap = lineInterviewList.stream().collect(Collectors.toMap(LineInterviewDTO::getLineId, date -> date));
|
Map<Long, LineInterviewDTO> lineInterviewMap = lineInterviewList.stream().collect(Collectors.toMap(LineInterviewDTO::getLineId, date -> date));
|
||||||
|
|||||||
Reference in New Issue
Block a user