java110 hace 4 años
padre
commit
29791ab3c0

+ 11 - 11
java110-db/src/main/resources/mapper/report/ReportFeeMonthStatisticsServiceDaoImplMapper.xml

@@ -616,10 +616,10 @@
             and t.community_id= #{communityId}
         </if>
         <if test="startTime !=null and startTime != ''">
-            and t.create_time &gt;= #{startTime}
+            and pfc.start_time &gt;= #{startTime}
         </if>
         <if test="endTime !=null and endTime != ''">
-            and t.create_time &lt;= #{endTime}
+            and pfc.start_time &lt;= #{endTime}
         </if>
         group by t.config_id,t.fee_name,pfc.start_time
         ) t
@@ -676,10 +676,10 @@
             and t.community_id= #{communityId}
         </if>
         <if test="startTime !=null and startTime != ''">
-            and t.create_time &gt;= #{startTime}
+            and pfc.start_time &gt;= #{startTime}
         </if>
         <if test="endTime !=null and endTime != ''">
-            and t.create_time &lt;= #{endTime}
+            and pfc.start_time &lt;= #{endTime}
         </if>
         group by t.config_id,t.fee_name,pfc.start_time
         order by t.create_time desc
@@ -738,10 +738,10 @@
             and t.community_id= #{communityId}
         </if>
         <if test="startTime !=null and startTime != ''">
-            and t.create_time &gt;= #{startTime}
+            and pfc.start_time &gt;= #{startTime}
         </if>
         <if test="endTime !=null and endTime != ''">
-            and t.create_time &lt;= #{endTime}
+            and pfc.start_time &lt;= #{endTime}
         </if>
         order by t.create_time desc
     </select>
@@ -1385,10 +1385,10 @@
             and t.community_id= #{communityId}
         </if>
         <if test="startTime !=null and startTime != ''">
-            and t.create_time &gt;= #{startTime}
+            and t.deadline_time &gt;= #{startTime}
         </if>
         <if test="endTime !=null and endTime != ''">
-            and t.create_time &lt;= #{endTime}
+            and t.deadline_time &lt;= #{endTime}
         </if>
         ) t
     </select>
@@ -1471,10 +1471,10 @@
             and t.community_id= #{communityId}
         </if>
         <if test="startTime !=null and startTime != ''">
-            and t.create_time &gt;= #{startTime}
+            and t.end_time &gt;= #{startTime}
         </if>
         <if test="endTime !=null and endTime != ''">
-            and t.create_time &lt;= #{endTime}
+            and t.end_time &lt;= #{endTime}
         </if>
         ) t
     </select>
@@ -2198,7 +2198,7 @@
         select t.floor_num
         from f_floor t
         where 1=1
-            and t.community_id= #{communityId}
+        and t.community_id= #{communityId}
         GROUP BY t.floor_num
         ) tt
     </select>