浏览代码

Merge branch 'v3.5.1' of http://git.ycjcjy.com/zhiyuxing/estateagents into v3.5.1

魏超 5 年前
父节点
当前提交
6668eeeca0

+ 1
- 0
src/main/resources/mapper/statistic/TsCustomerStatisticDailyMapper.xml 查看文件

@@ -58,5 +58,6 @@
58 58
         AND customer_type = #{customerType}
59 59
         AND date_format( create_date, '%Y-%m-%d' ) >= date_format( #{beforeDate}, '%Y-%m-%d' )
60 60
         AND date_format( create_date, '%Y-%m-%d' ) <= date_format( #{nowDate}, '%Y-%m-%d' )
61
+        order by `day`
61 62
     </select>
62 63
 </mapper>

+ 1
- 0
src/main/resources/mapper/statistic/TsCustomerStatisticMonthlyMapper.xml 查看文件

@@ -54,5 +54,6 @@
54 54
         AND customer_type = #{customerType}
55 55
         AND date_format( create_date, '%Y-%m-%d' ) >= date_format( #{beforeDate}, '%Y-%m-%d' )
56 56
         AND date_format( create_date, '%Y-%m-%d' ) &lt;= date_format( #{nowDate}, '%Y-%m-%d' )
57
+         order by `month`
57 58
     </select>
58 59
 </mapper>