admin
2025-08-20 f318c9c7c127b00f353bf45f273096d1dc4b424f
src/main/java/com/taoke/autopay/factory/js2/OrderTaskExecutionDetailFactory.java
@@ -40,7 +40,9 @@
                .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) {
@@ -54,10 +56,13 @@
        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());
            }
        }
        
@@ -65,13 +70,6 @@
        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();
    }
}