mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-07 03:20:06 +08:00
余额支付订单分账工具
This commit is contained in:
@@ -367,4 +367,25 @@ public class TempController extends BaseController {
|
||||
logger.info("查询未分账订单result:{}", JSON.toJSONString(response));
|
||||
return response;
|
||||
}
|
||||
|
||||
/**
|
||||
* 余额支付订单分账工具
|
||||
* 8月17号之后使用汇付余额支付的订单
|
||||
* 需要重新走一遍分账
|
||||
*/
|
||||
@PostMapping("/splitTheBillForOrderTemp")
|
||||
public RestApiResponse<?> splitTheBillForOrderTemp(QueryOrderDTO dto) {
|
||||
RestApiResponse<?> response;
|
||||
try {
|
||||
orderBasicInfoService.splitTheBillForOrderTemp(dto.getMerchantId(), dto.getOrderCodeList());
|
||||
response = new RestApiResponse<>();
|
||||
} catch (BusinessException e) {
|
||||
logger.error("余额支付订单分账工具 error,", e);
|
||||
response = new RestApiResponse<>(e.getCode(), e.getMessage());
|
||||
} catch (Exception e) {
|
||||
logger.error("余额支付订单分账工具 error,", e);
|
||||
response = new RestApiResponse<>("00300003", "余额支付订单分账工具异常");
|
||||
}
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,6 @@ import com.jsowell.pile.domain.ykcCommond.ProofreadTimeCommand;
|
||||
import com.jsowell.pile.dto.*;
|
||||
import com.jsowell.pile.dto.amap.GetStationInfoDTO;
|
||||
import com.jsowell.pile.dto.lutongyunting.BindCouponDTO;
|
||||
import com.jsowell.pile.dto.lutongyunting.GetTokenDTO;
|
||||
import com.jsowell.pile.mapper.MemberBasicInfoMapper;
|
||||
import com.jsowell.pile.mapper.PileBillingTemplateMapper;
|
||||
import com.jsowell.pile.service.*;
|
||||
@@ -244,7 +243,7 @@ public class SpringBootTestController {
|
||||
public void queryPaymentConfirmListTest() {
|
||||
QueryPaymentConfirmDTO dto = new QueryPaymentConfirmDTO();
|
||||
dto.setWechatAppId("wxbb3e0d474569481d");
|
||||
dto.setPaymentId("002212023080223561910532842298673803264");
|
||||
dto.setPaymentId("002212023081712452810538109291674042368");
|
||||
QueryPaymentConfirmDetailResponse queryPaymentConfirmDetailResponse = adapayService.queryPaymentConfirmList(dto);
|
||||
System.out.println(queryPaymentConfirmDetailResponse);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user