Commit da056c19 authored by liao_ds's avatar liao_ds

结算-开票

parent dad5ce1c
......@@ -421,7 +421,7 @@ public class ProcurementOrderDAO {
.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(" 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(" coalesce(pro.tax,false) isHasTax,coalesce(pro.tax_rate,0) taxRate,(pro.amount*pay.pay_rate) pay_amount")
.append(" from ord_order ord")
.append(" inner join ord_payment pay")
.append(" on ord.id=pay.order_id")
......
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