Browse Source

查询统计》按年归档统计查询逻辑调整修复

hanzhen 3 years ago
parent
commit
5222a00d30
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/main/resources/mapper/selectStatisticsMapper.xml

+ 3 - 0
src/main/resources/mapper/selectStatisticsMapper.xml

@@ -48,6 +48,9 @@
                 #{item}
                 #{item}
             </foreach>
             </foreach>
         </if>
         </if>
+        <if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
+            AND t1.gdnd BETWEEN #{startTime} AND #{endTime}
+        </if>
         <if test="bgqx != null and bgqx != ''">
         <if test="bgqx != null and bgqx != ''">
             <choose>
             <choose>
                 <when test="bgqx == 'D10' or bgqx == '005'">
                 <when test="bgqx == 'D10' or bgqx == '005'">