Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
finance_serv
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 87e5ca31
authored
Aug 06, 2018
by
王军业
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[整体日期格式]
1 parent
8efcff8b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
code/finance_serv/src/main/java/com/vion/financial/mapping/ContractMapper.xml
code/finance_serv/src/main/java/com/vion/financial/mapping/DeliverGoodsMapper.xml
code/finance_serv/src/main/java/com/vion/financial/mapping/ProjectAcceptancMapper.xml
code/finance_serv/src/main/java/com/vion/financial/mapping/ReturnInfoMapper.xml
code/finance_serv/src/main/java/com/vion/financial/mapping/ContractMapper.xml
View file @
87e5ca3
...
...
@@ -207,7 +207,7 @@
<if
test=
"guarantee_period != null and guarantee_period != ''"
>
guarantee_period=#{guarantee_period},
</if>
<if
test=
"sign_date != null
and sign_date != ''
"
>
<if
test=
"sign_date != null "
>
sign_date=#{sign_date,typeHandler=com.vion.financial.handler.MilliDateTypeHandler},
</if>
<if
test=
"product_line_type != null and product_line_type != ''"
>
...
...
@@ -384,7 +384,7 @@
</if>
<if
test=
"start_date != null and end_date !=null"
>
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
test=
"amount_start_point !=null and amount_start_point !=0.00"
>
and
...
...
code/finance_serv/src/main/java/com/vion/financial/mapping/DeliverGoodsMapper.xml
View file @
87e5ca3
...
...
@@ -3,13 +3,13 @@
<mapper
namespace=
"com.vion.financial.mapper.DeliverGoodsMapper"
>
<insert
id=
"addDeliverGoods"
parameterType=
"com.vion.financial.entity.DeliverGoods"
>
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>
<update
id=
"updateDeliverGoods"
parameterType=
"com.vion.financial.entity.DeliverGoods"
>
update tb_deliver_goods set
<if
test=
"deliver_goods_date !=null"
>
deliver_goods_date = #{deliver_goods_date},
goods_acceptanc_date = #{goods_acceptanc_date}
deliver_goods_date = #{deliver_goods_date
,typeHandler=com.vion.financial.handler.MilliDateTypeHandler
},
goods_acceptanc_date = #{goods_acceptanc_date
,typeHandler=com.vion.financial.handler.MilliDateTypeHandler
}
</if>
where deliver_unid = #{deliver_unid}
</update>
...
...
code/finance_serv/src/main/java/com/vion/financial/mapping/ProjectAcceptancMapper.xml
View file @
87e5ca3
...
...
@@ -6,7 +6,7 @@
values(#{contract_unid},#{acceptanc_type},#{acceptanc_date},#{acceptanc_note})
</insert>
<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}
</update>
<select
id=
"queryProjectAcceptanc"
parameterType=
"String"
resultType=
"com.vion.financial.entity.ProjectAcceptanc"
>
...
...
code/finance_serv/src/main/java/com/vion/financial/mapping/ReturnInfoMapper.xml
View file @
87e5ca3
...
...
@@ -23,7 +23,7 @@
#{reback_progress},
</if>
<if
test=
"reback_date !=null"
>
#{reback_date,
jdbcType=DATE
},
#{reback_date,
typeHandler=com.vion.financial.handler.MilliDateTypeHandler
},
</if>
<if
test=
"actual_reback_amount !=null and actual_reback_amount !=''"
>
#{actual_reback_amount},
...
...
@@ -39,7 +39,7 @@
reback_progress = #{reback_progress},
</if>
<if
test=
"reback_date !=null"
>
reback_date = #{reback_date},
reback_date = #{reback_date
,typeHandler=com.vion.financial.handler.MilliDateTypeHandler
},
</if>
<if
test=
"actual_reback_amount !=null and actual_reback_amount !=''"
>
actual_reback_amount = #{actual_reback_amount},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment