소스 검색

是否合作

小么熊🐻 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
         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 != ''">