Commit 5b095e16 by 王军业

【帐款状态多选】

1 parent 783b5e5c
...@@ -331,6 +331,13 @@ ...@@ -331,6 +331,13 @@
#{salesperson_unid} #{salesperson_unid}
</foreach> </foreach>
</if> </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"> <if test="contract_states !=null and contract_states.length > 0">
and and
contract_state in contract_state in
...@@ -484,6 +491,13 @@ ...@@ -484,6 +491,13 @@
#{salesperson_unid} #{salesperson_unid}
</foreach> </foreach>
</if> </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"> <if test="contract_states !=null and contract_states.length > 0">
and and
contract_state in contract_state in
...@@ -667,6 +681,13 @@ ...@@ -667,6 +681,13 @@
#{salesperson_unid} #{salesperson_unid}
</foreach> </foreach>
</if> </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"> <if test="contract_states !=null and contract_states.length > 0">
and and
contract_state in contract_state in
......
...@@ -47,6 +47,8 @@ public class SelectVo { ...@@ -47,6 +47,8 @@ public class SelectVo {
private String[] contract_states; private String[] contract_states;
private String[] salesperson_unid_columns; private String[] salesperson_unid_columns;
private String[] amount_state_unids;
/* /*
* 查询条件 * 查询条件
*/ */
...@@ -245,5 +247,11 @@ public class SelectVo { ...@@ -245,5 +247,11 @@ public class SelectVo {
this.contract_states = 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;
}
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!