高边坡

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-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"> <!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> </mapper>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-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"> <!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 id="selectHighSlopeMonitorList" resultType="com.zhgd.jeecg.common.mybatis.EntityMap">
SELECT a.*, IFNULL(b.num, 0) measure_point_num SELECT a.*, IFNULL(b.num, 0) measure_point_num
from deep_excavation_monitor_type a from deep_excavation_monitor_type a

View File

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

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-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"> <!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 id="selectPlaneFigureCoordinateList" resultType="com.zhgd.jeecg.common.mybatis.EntityMap">
SELECT a.*, SELECT a.*,
b.measure_point_name, b.measure_point_name,

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-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"> <!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> </mapper>

View File

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