Commit e42c237c authored by shiyu's avatar shiyu

修改退货单号

parent 8e82bec6
......@@ -43,6 +43,8 @@ public class DistributionOrderServiceImpl implements DistributionOrderService {
private final static String DISTRIBUTION_ORDER_PREFIX = "DA";
private final static String REFUND_ORDER_PREFIX = "RF";
private final static String SECRET = "117eb48AX0864490fbe4d1ef081B9cc25";
@Autowired
......@@ -494,7 +496,7 @@ public class DistributionOrderServiceImpl implements DistributionOrderService {
@Override
public Result refund(DistributionOrderRequestDto dto) {
try {
String refundId = UUID.randomUUID().toString(true);
String refundId = IdUtils.getOrderNumber(REFUND_ORDER_PREFIX);
//判断订单状态
String distributionOrderId = dto.getDistributionOrderId();
DistributionOrder distributionOrder = distributionOrderDao.findById(distributionOrderId);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment