| | |
| | | .clientId(orderTaskExecutionDetail.getClientId()) |
| | | .orderNo(orderTaskExecutionDetail.getOrderNo()) |
| | | .productName(orderTaskExecutionDetail.getProductName()) |
| | | .shopName(orderTaskExecutionDetail.getShopName()); |
| | | .shopName(orderTaskExecutionDetail.getShopName()) |
| | | .expectedReviewTime(orderTaskExecutionDetail.getExpectedReviewTime()==null?"":TimeUtil.getGernalTime(orderTaskExecutionDetail.getExpectedReviewTime().getTime(),"yyyy-MM-dd HH:mm:ss")) |
| | | ; |
| | | |
| | | // 设置客户端附加信息 |
| | | if (clientAdditionalInfo != null) { |
| | |
| | | if (executionStatus != null) { |
| | | if (executionStatus == OrderTaskExecutionDetail.STATUS_NOT_ORDERED) { |
| | | builder.executionType(OrderTaskExecutionDetailVO.EXECUTION_TYPE_ORDER); |
| | | builder.createTime(orderTaskExecutionDetail.getCreateTime()); |
| | | } else if (executionStatus == OrderTaskExecutionDetail.STATUS_ORDERED) { |
| | | builder.executionType(OrderTaskExecutionDetailVO.EXECUTION_TYPE_RECEIVE); |
| | | builder.createTime(orderTaskExecutionDetail.getOrderTime()); |
| | | } else if (executionStatus == OrderTaskExecutionDetail.STATUS_RECEIVE_SUCCESS) { |
| | | builder.executionType(OrderTaskExecutionDetailVO.EXECUTION_TYPE_REVIEW); |
| | | builder.createTime(orderTaskExecutionDetail.getExpectedReviewTime()); |
| | | } |
| | | } |
| | | |
| | |
| | | if (!StringUtil.isNullOrEmpty(orderTask.getKeywordContent())) { |
| | | builder.key(orderTask.getKeywordContent()); |
| | | } |
| | | |
| | | // 处理时间字段 |
| | | if (orderTaskExecutionDetail.getCreateTime() != null) { |
| | | builder.createTime(TimeUtil.getGernalTime(orderTaskExecutionDetail.getCreateTime().getTime(), "yyyy-MM-dd HH:mm:ss")); |
| | | } |
| | | |
| | | |
| | | return builder.build(); |
| | | } |
| | | } |