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 5b095e16
authored
Oct 08, 2018
by
王军业
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【帐款状态多选】
1 parent
783b5e5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 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/vo/SelectVo.java
code/finance_serv/src/main/java/com/vion/financial/mapping/ContractMapper.xml
View file @
5b095e1
...
...
@@ -331,6 +331,13 @@
#{salesperson_unid}
</foreach>
</if>
<if
test=
"amount_state_unids !=null"
>
and
amount_state_unid in
<foreach
collection=
"amount_state_unids"
index=
"index"
item=
"amount_state_unid_item"
open=
"("
close=
")"
separator=
","
>
#{amount_state_unid_item}
</foreach>
</if>
<if
test=
"contract_states !=null and contract_states.length > 0"
>
and
contract_state in
...
...
@@ -484,6 +491,13 @@
#{salesperson_unid}
</foreach>
</if>
<if
test=
"amount_state_unids !=null"
>
and
amount_state_unid in
<foreach
collection=
"amount_state_unids"
index=
"index"
item=
"amount_state_unid_item"
open=
"("
close=
")"
separator=
","
>
#{amount_state_unid_item}
</foreach>
</if>
<if
test=
"contract_states !=null and contract_states.length > 0"
>
and
contract_state in
...
...
@@ -667,6 +681,13 @@
#{salesperson_unid}
</foreach>
</if>
<if
test=
"amount_state_unids !=null"
>
and
amount_state_unid in
<foreach
collection=
"amount_state_unids"
index=
"index"
item=
"amount_state_unid_item"
open=
"("
close=
")"
separator=
","
>
#{amount_state_unid_item}
</foreach>
</if>
<if
test=
"contract_states !=null and contract_states.length > 0"
>
and
contract_state in
...
...
code/finance_serv/src/main/java/com/vion/financial/vo/SelectVo.java
View file @
5b095e1
...
...
@@ -47,6 +47,8 @@ public class SelectVo {
private
String
[]
contract_states
;
private
String
[]
salesperson_unid_columns
;
private
String
[]
amount_state_unids
;
/*
* 查询条件
*/
...
...
@@ -244,6 +246,12 @@ public class SelectVo {
public
void
setContract_states
(
String
[]
contract_states
)
{
this
.
contract_states
=
contract_states
;
}
public
String
[]
getAmount_state_unids
()
{
return
amount_state_unids
;
}
public
void
setAmount_state_unids
(
String
[]
amount_state_unids
)
{
this
.
amount_state_unids
=
amount_state_unids
;
}
}
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