joinStatus
This commit is contained in:
@@ -37,4 +37,8 @@ public class LineAuditInfoDAO {
|
||||
return lineAuditInfoMapper.getLineAuditInfoList(auditIds);
|
||||
}
|
||||
|
||||
|
||||
public LineAuditInfoDO getAuditInfoByLineId(Long lineId){
|
||||
return lineAuditInfoMapper.getLineAuditInfo(lineId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,5 +16,12 @@ public interface LineAuditInfoMapper extends Mapper<LineAuditInfoDO> {
|
||||
*/
|
||||
List<LineAuditInfoDO> getLineAuditInfoList(@Param("ids") List<Long> ids);
|
||||
|
||||
/**
|
||||
* 结束跟进记录
|
||||
* @param lineId
|
||||
* @return
|
||||
*/
|
||||
LineAuditInfoDO getLineAuditInfo(@Param("lineId") Long lineId);
|
||||
|
||||
|
||||
}
|
||||
@@ -28,4 +28,10 @@
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="getLineAuditInfo" resultMap="BaseResultMap">
|
||||
select * from
|
||||
xfsg_line_audit_info
|
||||
where line_id = #{lineId} and result_type = 2 order by id desc limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -99,6 +99,10 @@ public class LineServiceImpl implements LineService {
|
||||
result.setLargeRegionId(bigRegionIdByAreaId);
|
||||
result.setLargeRegionName(regionNameMap.get(bigRegionIdByAreaId));
|
||||
}
|
||||
LineAuditInfoDO lineAuditInfoDO = lineAuditInfoDAO.getAuditInfoByLineId(lineInfo.getId());
|
||||
if (lineAuditInfoDO!=null){
|
||||
result.setRejectPublicReason(lineAuditInfoDO.getRejectPublicReason());
|
||||
}
|
||||
|
||||
MemberQuestionDO memberQuestionDO = joinIntentionMapper.getByLineId(lineInfo.getId());
|
||||
Map<Long, HyPartnerLabelDO> userPortraitMap = deskService.getUserPortraitMap(Arrays.asList(lineInfo));
|
||||
|
||||
Reference in New Issue
Block a user