小么熊🐻 2 år sedan
förälder
incheckning
195efcea39
1 ändrade filer med 2 tillägg och 2 borttagningar
  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 != ''">