Commit 54091b81 by 王军业

[日期转换问题]

1 parent 4d7402a3
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
where receipt_unid = #{receipt_unid} where receipt_unid = #{receipt_unid}
</update> </update>
<select id="queryReceipt" parameterType="String" resultType="com.vion.financial.entity.Receipt"> <select id="queryReceipt" parameterType="String" resultType="com.vion.financial.entity.Receipt">
select *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}
</select> </select>
<delete id="deleteReceipt" parameterType="int"> <delete id="deleteReceipt" parameterType="int">
delete from tb_receipt where receipt_unid = #{receipt_unid} delete from tb_receipt where receipt_unid = #{receipt_unid}
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<if test="reback_progress !=null and reback_progress !=''"> <if test="reback_progress !=null and reback_progress !=''">
reback_progress = #{reback_progress}, reback_progress = #{reback_progress},
</if> </if>
<if test="reback_date !=null and reback_date !=''"> <if test="reback_date !=null">
reback_date = #{reback_date}, reback_date = #{reback_date},
</if> </if>
<if test="actual_reback_amount !=null and actual_reback_amount !=''"> <if test="actual_reback_amount !=null and actual_reback_amount !=''">
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
where reback_unid = #{reback_unid} where reback_unid = #{reback_unid}
</update> </update>
<select id="queryReturnInfo" parameterType="String" resultType="com.vion.financial.entity.ReturnInfo"> <select id="queryReturnInfo" parameterType="String" resultType="com.vion.financial.entity.ReturnInfo">
select *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}
</select> </select>
<delete id="deleteReturnInfo" parameterType="int"> <delete id="deleteReturnInfo" parameterType="int">
delete from tb_return_info where reback_unid = #{reback_unid} 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!