Browse Source

是否合作

小么熊🐻 2 years ago
parent
commit
195efcea39
1 changed files with 2 additions and 2 deletions
  1. 2 2
      jsjp-service/src/main/resources/mapper/order/OrderInfoMapper.xml

+ 2 - 2
jsjp-service/src/main/resources/mapper/order/OrderInfoMapper.xml

@@ -58,10 +58,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         sum(total) as orderTotal
         from order_info
         <where>
-            <if test="isShare != null  and isShare != ''">
+            <if test="isShare != null">
                 and is_share = #{isShare }
             </if>
-            <if test="tradeType != null  and tradeType != ''">
+            <if test="tradeType != null">
                 and trade_type = #{tradeType }
             </if>
             <if test="schoolName != null  and schoolName != ''">