Commit 0d25cd19 authored by liao_ds's avatar liao_ds

结算-开票 支付状态

parent d1740787
......@@ -419,7 +419,7 @@ public class ProcurementOrderDAO {
.append(" select")
.append(" ord.vendor_member_id member_id,ord.vendor_role_id role_id ,ord.order_no order_no,ord.digest order_abstract,'3' settlement_order_type,")
.append(" ord.order_type order_type,ord.create_time order_time,ord.total_amount order_amount,pay.batch_no batch,pay.pay_node,")
.append(" pay.pay_time pay_time,'0' invoice_status, CASE WHEN pay.outer_status>1 THEN 1 ELSE 0 end pay_status,pay.id data_id,")
.append(" pay.pay_time pay_time,'0' invoice_status, CASE WHEN pay.outer_status in (7,100) THEN 1 ELSE 0 end pay_status,pay.id data_id,")
.append(" ord.buyer_member_id payMemberId,ord.buyer_role_id payRoleId,")
.append(" coalesce(pro.tax,false) isHasTax,coalesce(pro.tax_rate,0) taxRate,(pro.amount*pay.pay_rate) pay_amount")
.append(" from ord_order ord")
......
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