高边坡

This commit is contained in:
guo 2023-12-15 10:10:40 +08:00
parent f05ce70656
commit 54b66901e4
10 changed files with 27 additions and 27 deletions

View File

@ -1,8 +1,8 @@
<?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.zhgd.xmgl.modules.foundation.mapper.HighSlopeCurrentDataMapper">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopeCurrentDataMapper">
<select id="selectPageByProjectSn"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeCurrentData">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeCurrentData">
SELECT dee.engineering_name engineeringName,
demp.measure_point_name measurePointName,
dest.sensor_type_name sensorTypeName,
@ -65,7 +65,7 @@
</select>
<select id="selectHighSlopeCurrentDataPage"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeCurrentData">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeCurrentData">
SELECT a.*
from deep_excavation_current_data a
LEFT JOIN deep_excavation_measure_point b ON
@ -89,7 +89,7 @@
order by a.receive_time desc
</select>
<select id="selectNewestHighSlopeCurrentData"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeCurrentData">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeCurrentData">
SELECT decd.*
from deep_excavation_current_data decd
inner join deep_excavation_sensor des on des.sensor_sn = decd.sensor_sn
@ -102,7 +102,7 @@
</select>
<select id="selectHighSlopeCurrentDataList"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeCurrentData">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeCurrentData">
select dee.engineering_name engineeringName,
demp.measure_point_name measurePointName,
demp.measure_point_number measurePointNumber,
@ -152,7 +152,7 @@
order by decd.receive_time desc
</select>
<select id="selectArticleOneDataList"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeCurrentData">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeCurrentData">
SELECT decd.*
from deep_excavation_current_data decd
inner join
@ -164,7 +164,7 @@
</foreach>
group by sensor_sn) temp on decd.id = temp.id
</select>
<select id="getAllEndData" resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeCurrentData">
<select id="getAllEndData" resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeCurrentData">
select sensor_sn, MAX(receive_time) receive_time
from deep_excavation_current_data
group by sensor_sn
@ -214,7 +214,7 @@
order by num desc
</select>
<!-- <select id="selectHighSlopeCurrentDataList"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeCurrentData">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeCurrentData">
SELECT a.*
from deep_excavation_current_data a LEFT JOIN deep_excavation_measure_point b ON
a.measuring_point_sn=b.measure_point_number

View File

@ -1,15 +1,15 @@
<?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.zhgd.xmgl.modules.foundation.mapper.HighSlopeEngineeringMapper">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopeEngineeringMapper">
<select id="selectHighSlopeEngineeringPage"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeEngineering">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeEngineering">
SELECT *
from deep_excavation_engineering
WHERE project_sn=#{param.projectSn}
order by start_time
</select>
<select id="selectHighSlopeList"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeEngineering">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeEngineering">
SELECT *
from deep_excavation_engineering
WHERE project_sn=#{projectSn}

View File

@ -1,8 +1,8 @@
<?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.zhgd.xmgl.modules.foundation.mapper.HighSlopeMeasurePointMapper">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopeMeasurePointMapper">
<select id="selectHighSlopeAllMeasurePointList"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeMeasurePoint">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeMeasurePoint">
select a.*
from deep_excavation_measure_point a
INNER JOIN deep_excavation_monitor_type_rela b ON a.rela_id = b.id
@ -13,10 +13,10 @@
</select>
<resultMap autoMapping="true" id="measurePointAndSensor"
type="com.zhgd.xmgl.modules.foundation.entity.HighSlopeMeasurePoint">
type="com.zhgd.xmgl.modules.highslope.entity.HighSlopeMeasurePoint">
<id property="id" column="id"/>
<collection autoMapping="true" property="sensorList"
ofType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeSensor">
ofType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeSensor">
<id property="id" column="sId"/>
</collection>
</resultMap>

View File

@ -1,4 +1,4 @@
<?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.zhgd.xmgl.modules.foundation.mapper.HighSlopeMeasurePointThresholdMapper">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopeMeasurePointThresholdMapper">
</mapper>

View File

@ -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.zhgd.xmgl.modules.foundation.mapper.HighSlopeMonitorTypeMapper">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopeMonitorTypeMapper">
<select id="selectHighSlopeMonitorList" resultType="com.zhgd.jeecg.common.mybatis.EntityMap">
SELECT a.*, IFNULL(b.num, 0) measure_point_num
from deep_excavation_monitor_type a

View File

@ -1,7 +1,7 @@
<?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.zhgd.xmgl.modules.foundation.mapper.HighSlopeMonitorTypeRelaMapper">
<resultMap id="BaseResultMap" type="com.zhgd.xmgl.modules.foundation.entity.HighSlopeMonitorTypeRela">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopeMonitorTypeRelaMapper">
<resultMap id="BaseResultMap" type="com.zhgd.xmgl.modules.highslope.entity.HighSlopeMonitorTypeRela">
<!--@mbg.generated-->
<!--@Table deep_excavation_monitor_type_rela-->
<id column="id" jdbcType="BIGINT" property="id"/>

View File

@ -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.zhgd.xmgl.modules.foundation.mapper.HighSlopePlaneFigureCoordinateMapper">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopePlaneFigureCoordinateMapper">
<select id="selectPlaneFigureCoordinateList" resultType="com.zhgd.jeecg.common.mybatis.EntityMap">
SELECT a.*,
b.measure_point_name,

View File

@ -1,4 +1,4 @@
<?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.zhgd.xmgl.modules.foundation.mapper.HighSlopePlaneFigureMapper">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopePlaneFigureMapper">
</mapper>

View File

@ -1,7 +1,7 @@
<?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.zhgd.xmgl.modules.foundation.mapper.HighSlopeSensorMapper">
<select id="getListBySensorSnSet" resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeSensor">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopeSensorMapper">
<select id="getListBySensorSnSet" resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeSensor">
select des.*, dee.project_sn,dest.sensor_type_code
from deep_excavation_sensor des
left join deep_excavation_measure_point demp on des.measure_point_number = demp.measure_point_number
@ -17,7 +17,7 @@
</select>
<select id="getListByMeasurePointNumberList"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeSensor">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeSensor">
SELECT des.id,
des.sensor_sn,
des.measure_point_number,
@ -40,7 +40,7 @@
</foreach>
</select>
<select id="getListBySensorSnList"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeSensor">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeSensor">
select des.*, dee.project_sn
from deep_excavation_sensor des
left join deep_excavation_measure_point demp
@ -56,7 +56,7 @@
</select>
<select id="getUnitAndAlarmValueBySnAndPointNumber"
resultType="com.zhgd.xmgl.modules.foundation.entity.HighSlopeSensor">
resultType="com.zhgd.xmgl.modules.highslope.entity.HighSlopeSensor">
select dest.unit, des.alarm_value, des.fiducial_value
from deep_excavation_sensor_type dest
inner join deep_excavation_sensor des on dest.id = des.sensor_type_id

View File

@ -1,4 +1,4 @@
<?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.zhgd.xmgl.modules.foundation.mapper.HighSlopeSensorTypeMapper">
<mapper namespace="com.zhgd.xmgl.modules.highslope.mapper.HighSlopeSensorTypeMapper">
</mapper>