|  |  | 
 |  |  | package com.doumee.service.business.impl; | 
 |  |  |  | 
 |  |  | import com.doumee.core.constants.ResponseStatus; | 
 |  |  | import com.doumee.core.exception.BusinessException; | 
 |  |  | import com.doumee.core.model.PageData; | 
 |  |  | import com.doumee.core.model.PageWrap; | 
 |  |  | import com.doumee.service.business.third.model.PageData; | 
 |  |  | import com.doumee.service.business.third.model.PageWrap; | 
 |  |  | import com.doumee.core.utils.Constants; | 
 |  |  | import com.doumee.core.utils.Utils; | 
 |  |  | import com.doumee.dao.business.PlatformWarnEventMapper; | 
 |  |  | 
 |  |  |                         .selectAs(Platform::getName,PlatformWarnEvent::getPlatformName) | 
 |  |  |                         .selectAs(Platform::getHkId,PlatformWarnEvent::getPlatfromHkId) | 
 |  |  |                         .leftJoin(Platform.class,Platform::getId,PlatformWarnEvent::getPlatformId) | 
 |  |  |                         .orderByDesc(PlatformWarnEvent::getCreateDate) | 
 |  |  |                         .last(" limit 20 ") | 
 |  |  |         ); | 
 |  |  |         List<PlatformWarnEventListResponse> list = new ArrayList<PlatformWarnEventListResponse>(); |