소스 검색

销售订单单证 时间范围查询

liuchaohui 2 년 전
부모
커밋
8ef83b929e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/orderData/mapper/xml/SyOrderDataMapper.xml

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/orderData/mapper/xml/SyOrderDataMapper.xml

@@ -46,8 +46,8 @@
              <if test="sy.customerAbbreviation != null and sy.customerAbbreviation !=''">
                  AND customer_abbreviation = #{sy.customerAbbreviation}
              </if>
-             <if test="sy.date !=null and sy.date !=''">
-                 AND order_date = #{sy.date}
+             <if test="sy.dateStar !=null and sy.dateStar !='' and sy.dateEnd !=null and sy.dateEnd !='' ">
+                 AND order_date BETWEEN #{sy.dateStar} AND #{sy.dateEnd}
              </if>
              <if test="sy.account != null and sy.account !=''">
                  AND account = #{sy.account}