会销面试线索的意向申请通过信息
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.cool.store.dao;
|
||||
|
||||
import com.cool.store.dto.exhibition.ExhibitionInterviewInfoDTO;
|
||||
import com.cool.store.dto.exhibition.ExhibitionLineBaseDTO;
|
||||
import com.cool.store.dto.exhibition.ExhibitionLineDTO;
|
||||
import com.cool.store.dto.exhibition.PartnerSignUpDTO;
|
||||
@@ -177,4 +178,11 @@ public class HyPartnerExhibitionDAO {
|
||||
}
|
||||
hyPartnerExhibitionMapper.updateStatusAfterSubmitQualification(Long.parseLong(interviewPlanId));
|
||||
}
|
||||
|
||||
public ExhibitionInterviewInfoDTO getStartInterviewInfo(Long lineId) {
|
||||
if (lineId == null) {
|
||||
return null;
|
||||
}
|
||||
return hyPartnerExhibitionMapper.getStartInterviewInfo(lineId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.dto.exhibition.ExhibitionInterviewInfoDTO;
|
||||
import com.cool.store.dto.exhibition.ExhibitionLineBaseDTO;
|
||||
import com.cool.store.dto.exhibition.ExhibitionLineDTO;
|
||||
import com.cool.store.dto.exhibition.PartnerSignUpDTO;
|
||||
@@ -136,4 +137,9 @@ public interface HyPartnerExhibitionMapper {
|
||||
* @return
|
||||
*/
|
||||
int updateStatusAfterSubmitQualification(@Param("interviewPlanId") Long interviewPlanId);
|
||||
|
||||
/**
|
||||
* 获取部分会销面试发起人信息
|
||||
*/
|
||||
ExhibitionInterviewInfoDTO getStartInterviewInfo(@Param("lineId") Long lineId);
|
||||
}
|
||||
@@ -530,4 +530,18 @@
|
||||
AND interview_plan_id = #{interviewPlanId}
|
||||
</update>
|
||||
|
||||
<select id="getStartInterviewInfo" resultType="com.cool.store.dto.exhibition.ExhibitionInterviewInfoDTO">
|
||||
SELECT t3.user_id, t3.`name` AS exhibitionInterviewerName, t3.mobile AS exhibitionInterviewerMobile, t1.interview_plan_id AS exhibitionInterviewPlanId, t2.create_time AS exhibitionInterviewTime
|
||||
FROM
|
||||
(
|
||||
SELECT exhibition_id, partner_line_id, interview_plan_id
|
||||
FROM hy_partner_exhibition
|
||||
WHERE partner_line_id = #{lineId}
|
||||
AND participation_status >= 3
|
||||
AND participation_status != 7
|
||||
) t1
|
||||
INNER JOIN hy_partner_interview_plan t2 ON t1.interview_plan_id = t2.id
|
||||
INNER JOIN enterprise_user t3 ON t2.interviewer = t3.user_id
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user