设备信息

This commit is contained in:
zhumeixiao
2024-11-27 19:37:37 +08:00
parent 370e1db986
commit bf3c82f21b
35 changed files with 63 additions and 629 deletions

View File

@ -45,9 +45,9 @@
</where>
</select>
<select id="selectDeviceInformationMeteorologyById" parameterType="Long" resultMap="DeviceInformationMeteorologyResult">
<select id="selectDeviceInformationMeteorologyById" parameterType="String" resultMap="DeviceInformationMeteorologyResult">
<include refid="selectDeviceInformationMeteorologyVo"/>
where id = #{id}
where device_encoding = #{deviceEncoding}
</select>
<insert id="insertDeviceInformationMeteorology" parameterType="DeviceInformationMeteorology" useGeneratedKeys="true" keyProperty="id">

View File

@ -45,9 +45,9 @@
</where>
</select>
<select id="selectDeviceInformationMiaoqingById" parameterType="Long" resultMap="DeviceInformationMiaoqingResult">
<select id="selectDeviceInformationMiaoqingById" parameterType="String" resultMap="DeviceInformationMiaoqingResult">
<include refid="selectDeviceInformationMiaoqingVo"/>
where id = #{id}
where device_encoding = #{device_encoding}
</select>
<insert id="insertDeviceInformationMiaoqing" parameterType="DeviceInformationMiaoqing" useGeneratedKeys="true" keyProperty="id">

View File

@ -47,9 +47,9 @@
</where>
</select>
<select id="selectDeviceInformationMoistureById" parameterType="Long" resultMap="DeviceInformationMoistureResult">
<select id="selectDeviceInformationMoistureById" parameterType="String" resultMap="DeviceInformationMoistureResult">
<include refid="selectDeviceInformationMoistureVo"/>
where id = #{id}
where device_encoding = #{deviceEncoding}
</select>
<insert id="insertDeviceInformationMoisture" parameterType="DeviceInformationMoisture" useGeneratedKeys="true" keyProperty="id">

View File

@ -55,9 +55,9 @@
</where>
</select>
<select id="selectDeviceInformationMonitorById" parameterType="Long" resultMap="DeviceInformationMonitorResult">
<select id="selectDeviceInformationMonitorById" parameterType="String" resultMap="DeviceInformationMonitorResult">
<include refid="selectDeviceInformationMonitorVo"/>
where id = #{id}
where device_encoding = #{deviceEncoding}
</select>
<insert id="insertDeviceInformationMonitor" parameterType="DeviceInformationMonitor" useGeneratedKeys="true" keyProperty="id">

View File

@ -45,9 +45,9 @@
</where>
</select>
<select id="selectDeviceInformationTargetpestsById" parameterType="Long" resultMap="DeviceInformationTargetpestsResult">
<select id="selectDeviceInformationTargetpestsById" parameterType="String" resultMap="DeviceInformationTargetpestsResult">
<include refid="selectDeviceInformationTargetpestsVo"/>
where id = #{id}
where device_encoding = #{deviceEncoding}
</select>
<insert id="insertDeviceInformationTargetpests" parameterType="DeviceInformationTargetpests" useGeneratedKeys="true" keyProperty="id">

View File

@ -43,9 +43,9 @@
</where>
</select>
<select id="selectDeviceInformationWormsById" parameterType="Long" resultMap="DeviceInformationWormsResult">
<select id="selectDeviceInformationWormsById" parameterType="String" resultMap="DeviceInformationWormsResult">
<include refid="selectDeviceInformationWormsVo"/>
where id = #{id}
where device_encoding = #{deviceEncoding}
</select>
<insert id="insertDeviceInformationWorms" parameterType="DeviceInformationWorms" useGeneratedKeys="true" keyProperty="id">