feat 自动分账/状态同步/自动完结

This commit is contained in:
DaxPay
2024-05-06 21:13:39 +08:00
parent dfbdc83b62
commit d133957e63
11 changed files with 265 additions and 115 deletions

View File

@@ -19,6 +19,7 @@ import cn.bootx.platform.daxpay.service.dto.order.pay.PayOrderDetailDto;
import cn.bootx.platform.daxpay.service.dto.order.pay.PayOrderDto;
import cn.bootx.platform.daxpay.service.dto.order.pay.PayOrderExtraDto;
import cn.bootx.platform.daxpay.service.param.order.PayOrderQuery;
import cn.bootx.platform.daxpay.util.OrderNoGenerateUtil;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
@@ -100,6 +101,7 @@ public class PayOrderController {
public ResResult<Void> allocation(String orderNo){
AllocationStartParam param = new AllocationStartParam();
param.setOrderNo(orderNo);
param.setBizAllocationNo(OrderNoGenerateUtil.allocation());
allocationService.allocation(param);
return Res.ok();
}