java110 лет назад: 3
Родитель
Сommit
6320b804bc

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

@@ -397,7 +397,10 @@
         <if test="endTime !=null and endTime != ''">
         <if test="endTime !=null and endTime != ''">
             and t.create_time &lt;= #{endTime}
             and t.create_time &lt;= #{endTime}
         </if>
         </if>
-        group by t.fee_year,t.fee_month
+        group by t.fee_year,t.fee_month,t.create_time createTime
+        <if test="configIds !=null">
+         ,t.config_id configId
+        </if>
         <if test="configIds !=null">
         <if test="configIds !=null">
             ,t.config_id
             ,t.config_id
         </if>
         </if>