Showing
1 changed file
with
2 additions
and
2 deletions
@@ -161,10 +161,10 @@ | @@ -161,10 +161,10 @@ | ||
161 | <sql id="Assets_Details_View_Query_Condition_Sql"> | 161 | <sql id="Assets_Details_View_Query_Condition_Sql"> |
162 | uid = #{uid,jdbcType=INTEGER} and income_outcome = 1 and deal_status != 1 | 162 | uid = #{uid,jdbcType=INTEGER} and income_outcome = 1 and deal_status != 1 |
163 | and ((user_type =1 and trade_type = 3) or (user_type =2 and trade_type = 2) or (user_type =2 and trade_type = 3)) | 163 | and ((user_type =1 and trade_type = 3) or (user_type =2 and trade_type = 2) or (user_type =2 and trade_type = 3)) |
164 | - <if test="queryType != null and queryType = 1"> | 164 | + <if test="queryType != null and queryType == 1"> |
165 | and trade_status = 10 | 165 | and trade_status = 10 |
166 | </if> | 166 | </if> |
167 | - <if test="queryType != null and queryType = 2"> | 167 | + <if test="queryType != null and queryType == 2"> |
168 | and trade_status != 10 | 168 | and trade_status != 10 |
169 | </if> | 169 | </if> |
170 | </sql> | 170 | </sql> |
-
mentioned in commit fe08b190
-
Please register or login to post a comment