Commit 87e5ca31 by 王军业

[整体日期格式]

1 parent 8efcff8b
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
<if test="guarantee_period != null and guarantee_period != ''"> <if test="guarantee_period != null and guarantee_period != ''">
guarantee_period=#{guarantee_period}, guarantee_period=#{guarantee_period},
</if> </if>
<if test="sign_date != null and sign_date != ''"> <if test="sign_date != null ">
sign_date=#{sign_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler}, sign_date=#{sign_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler},
</if> </if>
<if test="product_line_type != null and product_line_type != ''"> <if test="product_line_type != null and product_line_type != ''">
...@@ -384,7 +384,7 @@ ...@@ -384,7 +384,7 @@
</if> </if>
<if test="start_date != null and end_date !=null"> <if test="start_date != null and end_date !=null">
and and
#{start_date} <![CDATA[<=]]> sign_date and sign_date <![CDATA[<=]]> #{end_date} #{start_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler} <![CDATA[<=]]> sign_date and sign_date <![CDATA[<=]]> #{end_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler}
</if> </if>
<if test="amount_start_point !=null and amount_start_point !=0.00"> <if test="amount_start_point !=null and amount_start_point !=0.00">
and and
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
<mapper namespace="com.vion.financial.mapper.DeliverGoodsMapper"> <mapper namespace="com.vion.financial.mapper.DeliverGoodsMapper">
<insert id="addDeliverGoods" parameterType="com.vion.financial.entity.DeliverGoods"> <insert id="addDeliverGoods" parameterType="com.vion.financial.entity.DeliverGoods">
insert into tb_deliver_goods (contract_unid,deliver_goods_date,goods_acceptanc_date) insert into tb_deliver_goods (contract_unid,deliver_goods_date,goods_acceptanc_date)
values(#{contract_unid},#{deliver_goods_date},#{goods_acceptanc_date}) values(#{contract_unid},#{deliver_goods_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler},#{goods_acceptanc_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler})
</insert> </insert>
<update id="updateDeliverGoods" parameterType="com.vion.financial.entity.DeliverGoods"> <update id="updateDeliverGoods" parameterType="com.vion.financial.entity.DeliverGoods">
update tb_deliver_goods set update tb_deliver_goods set
<if test="deliver_goods_date !=null"> <if test="deliver_goods_date !=null">
deliver_goods_date = #{deliver_goods_date}, deliver_goods_date = #{deliver_goods_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler},
goods_acceptanc_date = #{goods_acceptanc_date} goods_acceptanc_date = #{goods_acceptanc_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler}
</if> </if>
where deliver_unid = #{deliver_unid} where deliver_unid = #{deliver_unid}
</update> </update>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
values(#{contract_unid},#{acceptanc_type},#{acceptanc_date},#{acceptanc_note}) values(#{contract_unid},#{acceptanc_type},#{acceptanc_date},#{acceptanc_note})
</insert> </insert>
<update id="updateProjectAcceptanc" parameterType="com.vion.financial.entity.ProjectAcceptanc"> <update id="updateProjectAcceptanc" parameterType="com.vion.financial.entity.ProjectAcceptanc">
update tb_project_acceptanc set contract_unid = #{contract_unid},acceptanc_type = #{acceptanc_type},acceptanc_date = #{acceptanc_date},acceptanc_note = #{acceptanc_note} update tb_project_acceptanc set contract_unid = #{contract_unid},acceptanc_type = #{acceptanc_type},acceptanc_date = #{acceptanc_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler},acceptanc_note = #{acceptanc_note}
where acceptanc_unid = #{acceptanc_unid} where acceptanc_unid = #{acceptanc_unid}
</update> </update>
<select id="queryProjectAcceptanc" parameterType="String" resultType="com.vion.financial.entity.ProjectAcceptanc"> <select id="queryProjectAcceptanc" parameterType="String" resultType="com.vion.financial.entity.ProjectAcceptanc">
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#{reback_progress}, #{reback_progress},
</if> </if>
<if test="reback_date !=null"> <if test="reback_date !=null">
#{reback_date,jdbcType=DATE}, #{reback_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler},
</if> </if>
<if test="actual_reback_amount !=null and actual_reback_amount !=''"> <if test="actual_reback_amount !=null and actual_reback_amount !=''">
#{actual_reback_amount}, #{actual_reback_amount},
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
reback_progress = #{reback_progress}, reback_progress = #{reback_progress},
</if> </if>
<if test="reback_date !=null"> <if test="reback_date !=null">
reback_date = #{reback_date}, reback_date = #{reback_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler},
</if> </if>
<if test="actual_reback_amount !=null and actual_reback_amount !=''"> <if test="actual_reback_amount !=null and actual_reback_amount !=''">
actual_reback_amount = #{actual_reback_amount}, actual_reback_amount = #{actual_reback_amount},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!