Redeem 1 년 전
부모
커밋
34cc1139bd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/com/steerinfo/dil/mapper/StatisticalReportMapper.xml

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

@@ -5847,7 +5847,7 @@
             and to_date(#{endDate}, 'yyyy-mm-dd hh24:mi:ss') >= ASOM.SALE_DATE_OF_RECEIPT
         </if>
         <if test="oneDate != null and isEnFactoryFlag == 4">
-            and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') &lt;= ASOM.SALE_DATE_OF_RECEIPT
+            and to_date(#{oneDate}, 'yyyy-mm-dd hh24:mi:ss') &lt;= TWR.RESULT_GROSS_WEIGHT_TIME
         </if>
         <if test="startDate != null and isEnFactoryFlag == 4">
             and to_date(#{startDate}, 'yyyy-mm-dd hh24:mi:ss') &lt;= TWR.RESULT_GROSS_WEIGHT_TIME