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 6ed107d9
authored
Aug 13, 2018
by
王军业
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
4542154242545
1 parent
0a02536b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 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 @
6ed107d
...
...
@@ -298,7 +298,7 @@
where contract_unid=#{contract_unid}
</update>
<delete
id=
"deleteOne"
parameterType=
"java.lang.String"
>
update tb_contract set is_delete =
fals
e where contract_unid = #{contract_unid}
update tb_contract set is_delete =
tru
e where contract_unid = #{contract_unid}
<!-- delete from tb_contract where contract_unid = #{contract_unid} -->
</delete>
...
...
@@ -688,7 +688,10 @@
select is_delete from tb_contract where contract_unid = #{contract_unid}
</select>
<select
id=
"queryList"
resultType=
"String"
>
select contract_unid from tb_contract
select contract_unid from tb_contract where
is_delete=false
and project_unid is not null
and customer_unid is not null
</select>
<select
id=
"countNumber"
resultType=
"int"
>
select count(contract_unid) from tb_contract where is_delete=false
...
...
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