diff --git a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationCancelOrderTask.java b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationCancelOrderTask.java index a38683ca..59fcf38a 100644 --- a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationCancelOrderTask.java +++ b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationCancelOrderTask.java @@ -2,7 +2,10 @@ package com.xhpc.evcs.notification; import com.fasterxml.jackson.core.JsonProcessingException; import com.xhpc.evcs.domain.AuthSecretToken; -import com.xhpc.evcs.dto.*; +import com.xhpc.evcs.dto.CancelOrderRequest; +import com.xhpc.evcs.dto.CancelOrderResponse; +import com.xhpc.evcs.dto.CommonRequest; +import com.xhpc.evcs.dto.DTOJsonHelper; import com.xhpc.evcs.jpa.AuthSecretTokenRepository; import com.xhpc.evcs.utils.JSONUtil; import org.slf4j.Logger; @@ -77,7 +80,7 @@ public class NotificationCancelOrderTask extends CoreDispatcher { String operatorIdEvcs = "MA6DFCTD5"; String data = JSONUtil.toJSONString(cancelOrderRequest); logger.debug(data); - CommonRequest commonRequest = new CommonRequest<>(); + CommonRequest commonRequest = new CommonRequest<>(); commonRequest.setOperatorId(operatorIdEvcs); commonRequest.setData(data); String responseBody = ok(commonRequest, "/notification_cancel_order", authSecretTokenOut, operatorIdEvcs);