浏览代码

大屏统计

qin 1 年之前
父节点
当前提交
cdc0564a72
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/statistics/OrderMapper.xml

+ 1 - 1
src/main/resources/mapper/statistics/OrderMapper.xml

@@ -65,7 +65,7 @@
         from ${dbName}_common.f_area
         where yn = 0
         and parent is not null
-        and length(tree_path)-length(replace(tree_path,',',''))
+        and length(tree_path)-length(replace(tree_path,',','')) <=4
         and (region_area_code like '37%' or
         region_area_code like '32%' or
         region_area_code like '11%' or