liyg před 2 roky
rodič
revize
d643c10d9c

+ 4 - 1
src/main/resources/application-prod.yml

@@ -50,4 +50,7 @@ openfeign:
   OTMSFeign:
     url: ${OTMSFEIGN_URL:172.16.33.166:8038}
 server:
-  port: 8088
+  port: 8088
+  tomcat:
+    max-threads: 1000
+    accept-count: 800

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

@@ -2324,7 +2324,7 @@
         WHERE ASO.SALE_TYPE = 1
         AND ASO.DELETED = 0
         and ASM.SALE_MATERIAL_ID IS NOT NULL
-        and BDO.WETHER_TO_STATEMENT != 1
+        and (BDO.WETHER_TO_STATEMENT IS NULL or BDO.WETHER_TO_STATEMENT != 1)
         <if test="oneDate != null">
             and to_date(#{oneDate}, 'yyyy-mm-dd') &lt; = to_date(to_char(ASOM.SALE_DATE_OF_RECEIPT-1,'yyyy-mm-dd'),'yyyy-mm-dd')
         </if>