管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-03-20 0e14fdd5a66cca6f23cc92b864a405ccec582db5
src/main/resources/mapper/sys/ReportMapper.xml
@@ -149,7 +149,7 @@
        select name "m1",
          (select cast( coalesce(sum(b.area), 0) as decimal(20, 2) ) from lf.sys_meta b
         inner join lf.sys_dir c on b.dircode = c.code
         where c.name = '数字高程模型' and b.type in ('dem', 'tif', 'tiff') and b.depcode like a.code || '%') "area"
         where c.name = '数字高程模型' and b.type in ('dem', 'tif', 'tiff') and b.dircode like a.code || '%') "area"
        from lf.sys_dir a
        where pid = 0
        order by code;
@@ -166,8 +166,8 @@
    <!-- 按项目统计倾斜摄影模型面积:osgb -->
    <select id="countOsgbAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity">
        select name "m1",
          (select coalesce(sum(b.area), 0) from lf.sys_meta b
           where b.type = 'osgb' and b.depcode like a.code || '%') "area"
          (select cast( coalesce(sum(area), 0) as decimal(20, 2) ) from lf.sys_meta b
           where b.type = 'osgb' and b.dircode like a.code || '%') "area"
        from lf.sys_dir a
        where pid = 0
        order by code;
@@ -177,7 +177,7 @@
    <select id="countLasAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity">
        select name "m1",
          (select cast( coalesce(sum(area), 0) as decimal(20, 2) ) from lf.sys_meta b
           where b.type in ('las', 'laz') and b.depcode like a.code || '%') "area"
           where b.type in ('las', 'laz') and b.dircode like a.code || '%') "area"
        from lf.sys_dir a
        where pid = 0
        order by code;
@@ -279,7 +279,7 @@
        select name "m1",
          (select cast( coalesce(sum(b.area), 0) as decimal(20, 2) ) from lf.sys_meta b
         inner join lf.sys_dir c on b.dircode = c.code
         where c.name = '数字正射影像图' and b.type in ('img', 'tif', 'tiff') and b.depcode like a.code || '%') "area"
         where c.name = '数字正射影像图' and b.type in ('img', 'tif', 'tiff') and b.dircode like a.code || '%') "area"
        from lf.sys_dir a
        where pid = 0
        order by code;