Ver Fonte

fix:“修复订单导出报错”

soobin há 2 anos atrás
pai
commit
31163dc85c
1 ficheiros alterados com 0 adições e 8 exclusões
  1. 0 8
      src/main/java/com/szwl/mapper/xml/TOrderMapper.xml

+ 0 - 8
src/main/java/com/szwl/mapper/xml/TOrderMapper.xml

@@ -359,14 +359,6 @@
                 AND company_type = '1'
             </when>
         </choose>
-        <choose>
-            <when test="machineType != null and machineType !='' and machineType.equals(&quot;0&quot;)">
-                AND (machine_type IS NULL OR machine_type = '0')
-            </when>
-            <when test="machineType != null and machineType !='' and machineType.equals(&quot;1&quot;)">
-                AND machine_type = '1'
-            </when>
-        </choose>
         and status = 1
         and create_date >= STR_TO_DATE(CONCAT(#{begin},' 00:00:00'),'%Y-%m-%d %H:%i:%s')
          <![CDATA[ and create_date <= STR_TO_DATE(CONCAT(#{end},' 23:59:59'),'%Y-%m-%d %H:%i:%s') ]]>