Commit 91df4af7 by 程裕兵

feat:statistic

parent dcb71385
...@@ -110,9 +110,11 @@ ...@@ -110,9 +110,11 @@
<if test="query.transState != null and query.transState != ''"> <if test="query.transState != null and query.transState != ''">
and trans_state = #{query.transState} and trans_state = #{query.transState}
</if> </if>
<if test="query.transStateList == null">
<if test="query.transState == null or query.transState == ''"> <if test="query.transState == null or query.transState == ''">
and trans_state in ('PAY_SUCCESS', 'PAY_IN') and trans_state in ('PAY_SUCCESS', 'PAY_IN')
</if> </if>
</if>
<if test="query.transStateList != null"> <if test="query.transStateList != null">
and trans_state in and trans_state in
<foreach collection="query.transStateList" separator="," item="item" open="(" close=")"> <foreach collection="query.transStateList" separator="," item="item" open="(" close=")">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment