魏超 5 years ago
parent
commit
873bee03ed
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      src/main/resources/mapper/redpack/TaOrgOrderMapper.xml

+ 1
- 4
src/main/resources/mapper/redpack/TaOrgOrderMapper.xml View File

85
         <if test="orgId != null and orgId != ''">
85
         <if test="orgId != null and orgId != ''">
86
             and t.org_id = #{orgId}
86
             and t.org_id = #{orgId}
87
         </if>
87
         </if>
88
-        <if test="orgId != null and orgId != ''">
89
-            and t.org_id = #{orgId}
90
-        </if>
91
         <if test="tradeNo != null and tradeNo != ''">
88
         <if test="tradeNo != null and tradeNo != ''">
92
             and t.trade_no like concat('%', #{tradeNo}, '%')
89
             and t.trade_no like concat('%', #{tradeNo}, '%')
93
         </if>
90
         </if>
129
         <if test="tradeNo != null and tradeNo != ''">
126
         <if test="tradeNo != null and tradeNo != ''">
130
             and t.trade_no like concat('%', #{tradeNo}, '%')
127
             and t.trade_no like concat('%', #{tradeNo}, '%')
131
         </if>
128
         </if>
132
-        <if test="isOffline != null and isOffline != ''">
129
+        <if test="isOffline != null">
133
             and t.is_offline = #{isOffline}
130
             and t.is_offline = #{isOffline}
134
         </if>
131
         </if>
135
         <if test="tradingStatus != null ">
132
         <if test="tradingStatus != null ">