|
|
@@ -20,6 +20,7 @@ import com.github.microservice.types.payment.PaymentDeviceType;
|
|
|
import com.github.microservice.types.payment.PaymentType;
|
|
|
import com.zhongshu.card.client.model.base.SuperSearch;
|
|
|
import com.zhongshu.card.client.model.org.UserJoinBusOrgModel;
|
|
|
+import com.zhongshu.card.client.model.pay.RechargeOrderModel;
|
|
|
import com.zhongshu.card.client.model.payment.*;
|
|
|
import com.zhongshu.card.client.model.payment.statistic.BusinessMainStatisticModel;
|
|
|
import com.zhongshu.card.client.model.payment.statistic.StatisticItem;
|
|
|
@@ -890,6 +891,15 @@ public class ExpenseFlowServiceImpl extends SuperService implements ExpenseFlowS
|
|
|
return ResultContent.buildSuccess(model);
|
|
|
}
|
|
|
|
|
|
+ public ResultContent getOrderPayDetail1(String id) {
|
|
|
+ RechargeOrderModel model1 = new RechargeOrderModel();
|
|
|
+
|
|
|
+
|
|
|
+ ExpenseFlow entity = expenseFlowDao.findTopById(id);
|
|
|
+ ExpenseFlowPayShowModel model = toPayShowModel(entity);
|
|
|
+ return ResultContent.buildSuccess(model);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 支付订单的详情(简要)转换
|
|
|
*
|
|
|
@@ -949,7 +959,7 @@ public class ExpenseFlowServiceImpl extends SuperService implements ExpenseFlowS
|
|
|
public void markOrderTimeOut(ExpenseFlow entity) {
|
|
|
if (entity != null) {
|
|
|
Map<String, Object> standardData = new HashMap<>();
|
|
|
- standardData.put("orderState", OrderState.CLOSED);
|
|
|
+ standardData.put("orderState", OrderState.Expired);
|
|
|
standardData.put("payRemark", "超时关闭");
|
|
|
commonService.updateData(entity.getId(), standardData, ExpenseFlow.class.getSimpleName());
|
|
|
}
|