From 23f6c9865917c7b1d19457e17b8f4a0f83a1bc34 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 02 七月 2025 16:44:39 +0800 Subject: [PATCH] 0 --- se-system/src/main/resources/mapper/sys/ReportMapper.xml | 64 ++++++++++++++++---------------- 1 files changed, 32 insertions(+), 32 deletions(-) diff --git a/se-system/src/main/resources/mapper/sys/ReportMapper.xml b/se-system/src/main/resources/mapper/sys/ReportMapper.xml index 5b6dfaa..5cf7d67 100644 --- a/se-system/src/main/resources/mapper/sys/ReportMapper.xml +++ b/se-system/src/main/resources/mapper/sys/ReportMapper.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> -<mapper namespace="com.lf.server.mapper.sys.ReportMapper"> +<mapper namespace="com.terra.system.mapper.sys.ReportMapper"> <select id="selectCount" resultType="java.lang.Integer"> select count(*) from lf.sys_report <where> @@ -13,7 +13,7 @@ </where> </select> - <select id="selectByPage" resultType="com.lf.server.entity.sys.ReportEntity"> + <select id="selectByPage" resultType="com.terra.system.entity.sys.ReportEntity"> select a.*,fn_uname(a.create_user) createName,fn_uname(a.update_user) updateName from lf.sys_report a <where> <if test="name != null"> @@ -27,15 +27,15 @@ limit #{limit} offset #{offset} </select> - <select id="selectAll" resultType="com.lf.server.entity.sys.ReportEntity"> + <select id="selectAll" resultType="com.terra.system.entity.sys.ReportEntity"> select * from lf.sys_report order by id desc; </select> - <select id="selectById" resultType="com.lf.server.entity.sys.ReportEntity"> + <select id="selectById" resultType="com.terra.system.entity.sys.ReportEntity"> select * from lf.sys_report where id = #{id} </select> - <insert id="insert" parameterType="com.lf.server.entity.sys.ReportEntity"> + <insert id="insert" parameterType="com.terra.system.entity.sys.ReportEntity"> insert into lf.sys_report (name,type,fname,guid,code,create_user,create_time,bak) values @@ -79,7 +79,7 @@ </update> <!-- 鏁版嵁閲忕粺璁� --> - <select id="countSizes" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countSizes" resultType="com.terra.system.entity.ctrl.CountEntity"> select fn_get_fullname(depcode, 1) "m1", cast(sum(sizes) as decimal(18, 3)) "sizes", count(*) "count" from lf.sys_meta group by depcode @@ -87,7 +87,7 @@ </select> <!-- 鎸夋枃浠剁被鍨嬬粺璁� --> - <select id="countSizesByType" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countSizesByType" resultType="com.terra.system.entity.ctrl.CountEntity"> select type "m1", cast(sum(sizes) as decimal(18, 3)) "sizes", count(*) "count" from lf.sys_meta group by type @@ -95,7 +95,7 @@ </select> <!-- 鏈嶅姟璋冪敤閲忕粺璁� --> - <select id="countServices" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countServices" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", count(*) "count" from lf.sys_serve_log group by name @@ -103,7 +103,7 @@ </select> <!-- 鐢ㄦ埛娴侀噺缁熻 --> - <select id="countOperates" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countOperates" resultType="com.terra.system.entity.ctrl.CountEntity"> select modular1 "m1", modular2 "m2", count(*) "count" from lf.sys_operate group by modular1,modular2 @@ -111,7 +111,7 @@ </select> <!-- 鎸夐」鐩粺璁℃暟鎹� --> - <select id="countSizesByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countSizesByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select cast( coalesce(sum(sizes), 0) as decimal(18, 3) ) from lf.sys_meta b where b.dircode like a.code || '%') as "sizes", (select count(*) from lf.sys_meta b where b.dircode like a.code || '%') "count" @@ -121,7 +121,7 @@ </select> <!-- 鎸夐」鐩粺璁¢捇瀛旀暟鎹� --> - <select id="countExplorationPoints" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countExplorationPoints" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", a.code "m3", 0.0 "area", (select count(*) from bs.s_explorationpoint b where dirid like a.code || '%') "count", @@ -136,7 +136,7 @@ </select> <!-- 鏍规嵁椤圭洰缂栫爜鏌ヨ閽诲瓟鏁版嵁鍧愭爣鐐� --> - <select id="selectExplorationPoints" resultType="com.lf.server.entity.ctrl.CoordinateEntity"> + <select id="selectExplorationPoints" resultType="com.terra.system.entity.ctrl.CoordinateEntity"> select ST_X(geom) "x", ST_Y(geom) "y" from bs.s_explorationpoint b <where> @@ -145,7 +145,7 @@ </select> <!-- 鎸夐」鐩粺璁℃暟瀛楅珮绋嬫ā鍨嬮潰绉� --> - <select id="countDemAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countDemAreaByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> 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 @@ -156,7 +156,7 @@ </select> <!-- 鎸夐」鐩粺璁′笁缁村湴褰㈡ā鍨嬮潰绉�:mpt --> - <select id="countMptAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countMptAreaByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", 0.0 "area" from lf.sys_dir a where pid = 0 @@ -164,7 +164,7 @@ </select> <!-- 鎸夐」鐩粺璁″�炬枩鎽勫奖妯″瀷闈㈢Н:osgb --> - <select id="countOsgbAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countOsgbAreaByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (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" @@ -174,7 +174,7 @@ </select> <!-- 鎸夐」鐩粺璁℃縺鍏夌偣浜戞ā鍨嬮潰绉�:las,laz --> - <select id="countLasAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countLasAreaByPrj" resultType="com.terra.system.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.dircode like a.code || '%') "area" @@ -184,7 +184,7 @@ </select> <!-- 鎸夐」鐩粺璁″嫎瀵熷伐鐐逛釜鏁� --> - <select id="countSurveyWorksiteByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countSurveyWorksiteByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.s_surveyworksite b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -193,7 +193,7 @@ </select> <!-- 鎸夐」鐩粺璁″嫎瀵熸姤鍛婁釜鏁� --> - <select id="countExplorationReportByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countExplorationReportByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.s_explorationpoint b inner join lf.sys_attach c on b.eventid = c.tab_guid @@ -204,7 +204,7 @@ </select> <!-- 鎸夐」鐩粺璁″穿濉屼釜鏁� --> - <select id="countCollapseByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countCollapseByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.g_collapse b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -213,7 +213,7 @@ </select> <!-- 鎸夐」鐩粺璁℃偿鐭虫祦涓暟 --> - <select id="countDebrisFlowByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countDebrisFlowByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.g_debrisflow b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -222,7 +222,7 @@ </select> <!-- 鎸夐」鐩粺璁″湴闈㈠闄蜂釜鏁� --> - <select id="countGroundCollapseByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countGroundCollapseByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.g_ground_collapse b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -231,7 +231,7 @@ </select> <!-- 鎸夐」鐩粺璁¢珮闄¤竟鍧′釜鏁� --> - <select id="countHighSteepSlopeByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countHighSteepSlopeByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.g_highandsteep_slope b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -240,7 +240,7 @@ </select> <!-- 鎸夐」鐩粺璁℃粦鍧′釜鏁� --> - <select id="countLandSlideByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countLandSlideByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.g_landslide b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -249,7 +249,7 @@ </select> <!-- 鎸夐」鐩粺璁′笉绋冲畾鏂滃潯涓暟 --> - <select id="countUnstableSlopeByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countUnstableSlopeByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.g_unstable_slope b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -258,7 +258,7 @@ </select> <!-- 鎸夐」鐩粺璁℃按姣佷釜鏁� --> - <select id="countWaterDamageByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countWaterDamageByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.g_water_damage b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -267,7 +267,7 @@ </select> <!-- 缁熻鏁板瓧绾垮垝鍥鹃潰绉� --> - <select id="countDlgAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countDlgAreaByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select dir "m1", cast( coalesce(sum(area), 0) as decimal(20, 2) ) "area" from lf.sys_line_buffer group by code, dir @@ -275,7 +275,7 @@ </select> <!-- 鎸夐」鐩粺璁℃暟瀛楁灏勫奖鍍忓浘闈㈢Н --> - <select id="countDomAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countDomAreaByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> 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 @@ -286,7 +286,7 @@ </select> <!-- 鎸夐」鐩粺璁$绾块暱搴� --> - <select id="countLineLength" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countLineLength" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select cast( coalesce(sum( ST_Length( ST_GeographyFromText( ST_AsText(geom) ) ) ) / 1000, 0) as decimal(20, 2) ) from bs.m_pipeline b where b.dirid like a.code || '%') as "len" @@ -296,7 +296,7 @@ </select> <!-- 鎸夐」鐩粺璁″嫎鎺㈢偣涓暟 --> - <select id="countExplorationPointByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countExplorationPointByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bs.s_explorationpoint b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -305,7 +305,7 @@ </select> <!-- 鎸夐」鐩粺璁′笁缁村湴璐ㄦā鍨嬮潰绉� --> - <select id="countGeoModelAreaByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countGeoModelAreaByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select cast( coalesce(sum(b.area), 0) as decimal(20, 2) ) from lf.sys_meta b where b.type in ('fbx', 'ifc') and b.dircode like a.code || '%') "area" @@ -315,7 +315,7 @@ </select> <!-- 鎸夐」鐩粺璁″湴鐏剧偣涓暟 --> - <select id="countGeologicHazardByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countGeologicHazardByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> select name "m1", (select count(*) from bd.b_geologic_hazard b where b.dirid like a.code || '%') "count" from lf.sys_dir a @@ -324,7 +324,7 @@ </select> <!-- 椤圭洰鏁版嵁鍒嗙被缁熻 --> - <select id="countVariousDataByPrj" resultType="com.lf.server.entity.ctrl.CountEntity"> + <select id="countVariousDataByPrj" resultType="com.terra.system.entity.ctrl.CountEntity"> (select '鏁板瓧绾垮垝鍥�' "m1", 'area' "m2", 0 "count", cast( coalesce(sum(area), 0) as decimal(20, 2) ) "area", 0 "len" from lf.sys_line_buffer <where> -- Gitblit v1.9.3