Commit 3ad0abc3 by 王军业

[数据排序]

1 parent 1573931a
......@@ -69,7 +69,7 @@
cast(payment_propority as decimal(18,2)),
payment_requirement
from tb_payment_agree
where contract_unid = #{contract_unid}
where contract_unid = #{contract_unid} order by payment_progress asc
</select>
<delete id="deletePaymentAgree" parameterType="int">
delete from tb_payment_agree where payment_unid = #{payment_unid}
......
......@@ -33,7 +33,11 @@
where receipt_unid = #{receipt_unid}
</update>
<select id="queryReceipt" parameterType="String" resultType="com.vion.financial.entity.Receipt">
select receipt_unid, contract_unid,receipt_progress,cast(receipt_amount as decimal(18,2)),oa_flow_id,receipt_note,create_date from tb_receipt where contract_unid = #{contract_unid}
select receipt_unid, contract_unid,
receipt_progress,cast(receipt_amount as decimal(18,2)),
oa_flow_id,receipt_note,create_date from tb_receipt
where contract_unid = #{contract_unid}
order by receipt_progress asc
</select>
<delete id="deleteReceipt" parameterType="int">
delete from tb_receipt where receipt_unid = #{receipt_unid}
......
......@@ -51,7 +51,11 @@
where reback_unid = #{reback_unid}
</update>
<select id="queryReturnInfo" parameterType="String" resultType="com.vion.financial.entity.ReturnInfo">
select reback_unid, contract_unid ,reback_progress ,reback_date, cast(actual_reback_amount as decimal(18,2)),reback_note from tb_return_info where contract_unid = #{contract_unid}
select reback_unid, contract_unid ,
reback_progress ,reback_date,
cast(actual_reback_amount as decimal(18,2)),
reback_note from tb_return_info where contract_unid = #{contract_unid}
order by reback_progress asc
</select>
<delete id="deleteReturnInfo" parameterType="int">
delete from tb_return_info where reback_unid = #{reback_unid}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!