| | |
| | | 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; |
| | |
| | | platformWarnEventListResponse.setContent(event.getEventContent()); |
| | | platformWarnEventListResponse.setTitle(event.getTitle()); |
| | | platformWarnEventListResponse.setPlatfromHkId(event.getPlatfromHkId()); |
| | | platformWarnEventListResponse.setCarCode(event.getCarCode()); |
| | | list.add(platformWarnEventListResponse); |
| | | } |
| | | } |
| | |
| | | platformWarnEvent.setCreateDate(new Date()); |
| | | platformWarnEvent.setIsdeleted(Constants.ZERO); |
| | | platformWarnEvent.setPlatformId(savePlatformWarnEventDTO.getPlatformId()); |
| | | platformWarnEvent.setCarCode(savePlatformWarnEventDTO.getCarCode()); |
| | | Constants.PlatformWarnEvent cPl = Constants.PlatformWarnEvent.STOP_TIMEOUT; |
| | | if(Constants.equalsInteger(savePlatformWarnEventDTO.getEventType(),Constants.ZERO)){ |
| | | if(Objects.isNull(savePlatformWarnEventDTO.getPlatformJobId())){ |