update 方法注释

This commit is contained in:
Lemon
2025-09-18 14:32:14 +08:00
parent ffbb95ae12
commit 4088313277
3 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -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();

View File

@@ -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) {