...
|
...
|
@@ -161,10 +161,10 @@ |
|
|
<sql id="Assets_Details_View_Query_Condition_Sql">
|
|
|
uid = #{uid,jdbcType=INTEGER} and income_outcome = 1 and deal_status != 1
|
|
|
and ((user_type =1 and trade_type = 3) or (user_type =2 and trade_type = 2) or (user_type =2 and trade_type = 3))
|
|
|
<if test="queryType != null and queryType = 1">
|
|
|
<if test="queryType != null and queryType == 1">
|
|
|
and trade_status = 10
|
|
|
</if>
|
|
|
<if test="queryType != null and queryType = 2">
|
|
|
<if test="queryType != null and queryType == 2">
|
|
|
and trade_status != 10
|
|
|
</if>
|
|
|
</sql>
|
...
|
...
|
|