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 813092f8
authored
Sep 07, 2018
by
王军业
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[物理删除]
1 parent
95f50612
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
code/finance_serv/src/main/java/com/vion/financial/mapping/ContractMapper.xml
code/finance_serv/src/main/java/com/vion/financial/mapping/ContractMapper.xml
View file @
813092f
...
...
@@ -302,8 +302,8 @@
where contract_unid=#{contract_unid}
</update>
<delete
id=
"deleteOne"
parameterType=
"java.lang.String"
>
update tb_contract set is_delete = true where contract_unid = #{contract_unid}
<!-- delete from tb_contract where contract_unid = #{contract_unid} -->
<!-- update tb_contract set is_delete = true where contract_unid = #{contract_unid} -->
delete from tb_contract where contract_unid = #{contract_unid}
</delete>
<select
id=
"count"
parameterType=
"com.vion.financial.vo.SelectVo"
resultType=
"int"
>
...
...
@@ -565,7 +565,14 @@
<select
id=
"exportContracts"
parameterType=
"com.vion.financial.vo.SelectVo"
resultType=
"com.vion.financial.excel.ExportModel"
>
select
select (
<if
test=
"columns == null"
>
*
</if>
<foreach
collection=
"columns"
index=
"index"
item=
"column"
open=
" "
separator=
","
close=
" "
>
#{column}
</foreach>
) from (select
contract_unid, salesperson_unid, province, city, county, province_name,city_name,county_name,
guarantee_period, sign_date, product_line_type, contract_state,
contract_type, cast(contract_amount as decimal(18,2)), cast(deduct_amount as decimal(18,2)), contract_amount_note,
...
...
@@ -710,6 +717,7 @@
and is_delete=false
and project_unid is not null
and customer_unid is not null
)
</select>
...
...
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