问题修复

This commit is contained in:
donqi 2023-03-25 22:00:38 +08:00
parent ff4e772e09
commit 202eb5237a
4 changed files with 31 additions and 3 deletions

View File

@ -485,6 +485,10 @@ public class OrderDetailController extends BaseController {
orderListResponse.setUpdateTime(detail.getUpdateTime()); orderListResponse.setUpdateTime(detail.getUpdateTime());
orderListResponse.setShelveStatus(detail.getShelveStatus()); orderListResponse.setShelveStatus(detail.getShelveStatus());
orderListResponse.setLedgerAccountStatus(detail.getLedgerAccountStatus()); orderListResponse.setLedgerAccountStatus(detail.getLedgerAccountStatus());
// orderListResponse.setDrawCashId(detail.getDrawCashId());
orderListResponse.setDrawCashTime(detail.getDrawCashTime());
orderListResponse.setDrawCashStatus(detail.getDrawCashStatus());
orderListResponse.setArrivalTime(detail.getArrivalTime());
orderListResponses.add(orderListResponse); orderListResponses.add(orderListResponse);
}); });
return voDataTable(orderListResponses, list); return voDataTable(orderListResponses, list);

View File

@ -114,4 +114,27 @@ public class OrderListResponse {
private List<FinancialChangeRecord> financialChangeRecords; private List<FinancialChangeRecord> financialChangeRecords;
private List<GoodsArea> goodsAreaList; private List<GoodsArea> goodsAreaList;
/**
* 发起提现后Adapay返回的对象ID draw_cash_id
*/
private String drawCashId;
/**
* draw_cash_status
* 0 未分账
* 1 已分账
* 2 已到账
* -1 提现失败
*/
private Integer drawCashStatus;
/**
* 发起提现时间 draw_cash_time
*/
private Date drawCashTime;
/**
* 提现到账时间 arrival_time
*/
private Date arrivalTime;
} }

View File

@ -84,7 +84,8 @@
od.create_by, od.create_by,
od.create_time, od.create_time,
od.update_time, od.update_time,
od.remark od.remark,
od.draw_cash_status
FROM order_detail od FROM order_detail od
LEFT JOIN order_master om ON om.id = od.order_master_id LEFT JOIN order_master om ON om.id = od.order_master_id
LEFT JOIN customer_address ca ON ca.customer_address_id = om.address_id LEFT JOIN customer_address ca ON ca.customer_address_id = om.address_id

View File

@ -87,10 +87,10 @@
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="billingState == '1'"> <if test="billingState == '1'.toString()">
and od.order_status in ('0','1','2','3','4') and od.order_status in ('0','1','2','3','4')
</if> </if>
<if test="billingState != null and billingState != '' and billingState != '1'"> <if test="billingState != null and billingState != '' and billingState != '1'.toString()">
and od.order_status = #{billingState} and od.order_status = #{billingState}
</if> </if>
</where> </where>