瀏覽代碼

是否合作

小么熊🐻 2 年之前
父節點
當前提交
195efcea39
共有 1 個文件被更改,包括 2 次插入2 次删除
  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
         sum(total) as orderTotal
         from order_info
         from order_info
         <where>
         <where>
-            <if test="isShare != null  and isShare != ''">
+            <if test="isShare != null">
                 and is_share = #{isShare }
                 and is_share = #{isShare }
             </if>
             </if>
-            <if test="tradeType != null  and tradeType != ''">
+            <if test="tradeType != null">
                 and trade_type = #{tradeType }
                 and trade_type = #{tradeType }
             </if>
             </if>
             <if test="schoolName != null  and schoolName != ''">
             <if test="schoolName != null  and schoolName != ''">