mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-08 16:08:23 +08:00
update 方法注释
This commit is contained in:
@@ -31,7 +31,7 @@ public class ChargeAlgorithmController extends BaseController {
|
|||||||
RestApiResponse<?> response = null;
|
RestApiResponse<?> response = null;
|
||||||
try {
|
try {
|
||||||
// String result = chargeAlgorithmService.pushOrderInfo(orderCode);
|
// String result = chargeAlgorithmService.pushOrderInfo(orderCode);
|
||||||
String result = batteryChargeReportService.pushChargeData(dto.getOrderCode(), dto.getReportType());
|
String result = batteryChargeReportService.getTaskIdByOrderCode(dto.getOrderCode(), dto.getReportType());
|
||||||
response = new RestApiResponse<>(result);
|
response = new RestApiResponse<>(result);
|
||||||
}catch (Exception e) {
|
}catch (Exception e) {
|
||||||
logger.error("算法应用推送订单信息 error, ", e);
|
logger.error("算法应用推送订单信息 error, ", e);
|
||||||
|
|||||||
@@ -539,10 +539,10 @@ public class PaymentTestController {
|
|||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void createPaymentReverseRequestTest() {
|
public void createPaymentReverseRequestTest() {
|
||||||
String paymentId = "002212025091615421510813930946193444864";
|
String paymentId = "002212025091616304410813943148522684416";
|
||||||
BigDecimal refundAmount = new BigDecimal("0.5");
|
BigDecimal refundAmount = new BigDecimal("0.5");
|
||||||
String memberId = "65622699";
|
String memberId = "65622699";
|
||||||
String orderCode = "C67588633864";
|
String orderCode = "C65858163754";
|
||||||
|
|
||||||
// 延迟分账未确认调撤销调撤销接口退款
|
// 延迟分账未确认调撤销调撤销接口退款
|
||||||
PaymentReverseOperation operation = new PaymentReverseOperation();
|
PaymentReverseOperation operation = new PaymentReverseOperation();
|
||||||
|
|||||||
@@ -70,11 +70,11 @@ public class BatteryChargeReportService {
|
|||||||
private PileStationInfoService pileStationInfoService;
|
private PileStationInfoService pileStationInfoService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 统一发送充电电池数据
|
* 通过订单号统一发送充电电池数据获取 taskId
|
||||||
*
|
*
|
||||||
* @param orderCode
|
* @param orderCode
|
||||||
*/
|
*/
|
||||||
public String pushChargeData(String orderCode, String reportType) {
|
public String getTaskIdByOrderCode(String orderCode, String reportType) {
|
||||||
// 根据订单号查询订单信息
|
// 根据订单号查询订单信息
|
||||||
OrderVO orderVO = orderBasicInfoService.getChargeOrderInfoByOrderCode(orderCode);
|
OrderVO orderVO = orderBasicInfoService.getChargeOrderInfoByOrderCode(orderCode);
|
||||||
if (orderVO == null) {
|
if (orderVO == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user