场景模型测试工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
scmy/psdc-business/src/main/resources/mapper/business/PsdcDevicePowerHdata96Mappe...

123 lines
8.1 KiB

<?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.psdc.mapper.PsdcDevicePowerHdata96Mapper">
<resultMap type="com.psdc.entity.PsdcDevicePowerHdata96" id="PsdcDevicePowerHdata96Map">
<result property="userId" column="user_id" />
<result property="deviceId" column="device_id" />
<result property="samDate" column="sam_date" />
<result property="val1" column="val1" jdbcType="DECIMAL"/>
<result property="val2" column="val2" jdbcType="DECIMAL"/>
<result property="val3" column="val3" jdbcType="DECIMAL"/>
<result property="val4" column="val4" jdbcType="DECIMAL"/>
<result property="val5" column="val5" jdbcType="DECIMAL"/>
<result property="val6" column="val6" jdbcType="DECIMAL"/>
<result property="val7" column="val7" jdbcType="DECIMAL"/>
<result property="val8" column="val8" jdbcType="DECIMAL"/>
<result property="val9" column="val9" jdbcType="DECIMAL"/>
<result property="val10" column="val10" jdbcType="DECIMAL"/>
<result property="val11" column="val11" jdbcType="DECIMAL"/>
<result property="val12" column="val12" jdbcType="DECIMAL"/>
<result property="val13" column="val13" jdbcType="DECIMAL"/>
<result property="val14" column="val14" jdbcType="DECIMAL"/>
<result property="val15" column="val15" jdbcType="DECIMAL"/>
<result property="val16" column="val16" jdbcType="DECIMAL"/>
<result property="val17" column="val17" jdbcType="DECIMAL"/>
<result property="val18" column="val18" jdbcType="DECIMAL"/>
<result property="val19" column="val19" jdbcType="DECIMAL"/>
<result property="val20" column="val20" jdbcType="DECIMAL"/>
<result property="val21" column="val21" jdbcType="DECIMAL"/>
<result property="val22" column="val22" jdbcType="DECIMAL"/>
<result property="val23" column="val23" jdbcType="DECIMAL"/>
<result property="val24" column="val24" jdbcType="DECIMAL"/>
<result property="val25" column="val25" jdbcType="DECIMAL"/>
<result property="val26" column="val26" jdbcType="DECIMAL"/>
<result property="val27" column="val27" jdbcType="DECIMAL"/>
<result property="val28" column="val28" jdbcType="DECIMAL"/>
<result property="val29" column="val29" jdbcType="DECIMAL"/>
<result property="val30" column="val30" jdbcType="DECIMAL"/>
<result property="val31" column="val31" jdbcType="DECIMAL"/>
<result property="val32" column="val32" jdbcType="DECIMAL"/>
<result property="val33" column="val33" jdbcType="DECIMAL"/>
<result property="val34" column="val34" jdbcType="DECIMAL"/>
<result property="val35" column="val35" jdbcType="DECIMAL"/>
<result property="val36" column="val36" jdbcType="DECIMAL"/>
<result property="val37" column="val37" jdbcType="DECIMAL"/>
<result property="val38" column="val38" jdbcType="DECIMAL"/>
<result property="val39" column="val39" jdbcType="DECIMAL"/>
<result property="val40" column="val40" jdbcType="DECIMAL"/>
<result property="val41" column="val41" jdbcType="DECIMAL"/>
<result property="val42" column="val42" jdbcType="DECIMAL"/>
<result property="val43" column="val43" jdbcType="DECIMAL"/>
<result property="val44" column="val44" jdbcType="DECIMAL"/>
<result property="val45" column="val45" jdbcType="DECIMAL"/>
<result property="val46" column="val46" jdbcType="DECIMAL"/>
<result property="val47" column="val47" jdbcType="DECIMAL"/>
<result property="val48" column="val48" jdbcType="DECIMAL"/>
<result property="val49" column="val49" jdbcType="DECIMAL"/>
<result property="val50" column="val50" jdbcType="DECIMAL"/>
<result property="val51" column="val51" jdbcType="DECIMAL"/>
<result property="val52" column="val52" jdbcType="DECIMAL"/>
<result property="val53" column="val53" jdbcType="DECIMAL"/>
<result property="val54" column="val54" jdbcType="DECIMAL"/>
<result property="val55" column="val55" jdbcType="DECIMAL"/>
<result property="val56" column="val56" jdbcType="DECIMAL"/>
<result property="val57" column="val57" jdbcType="DECIMAL"/>
<result property="val58" column="val58" jdbcType="DECIMAL"/>
<result property="val59" column="val59" jdbcType="DECIMAL"/>
<result property="val60" column="val60" jdbcType="DECIMAL"/>
<result property="val61" column="val61" jdbcType="DECIMAL"/>
<result property="val62" column="val62" jdbcType="DECIMAL"/>
<result property="val63" column="val63" jdbcType="DECIMAL"/>
<result property="val64" column="val64" jdbcType="DECIMAL"/>
<result property="val65" column="val65" jdbcType="DECIMAL"/>
<result property="val66" column="val66" jdbcType="DECIMAL"/>
<result property="val67" column="val67" jdbcType="DECIMAL"/>
<result property="val68" column="val68" jdbcType="DECIMAL"/>
<result property="val69" column="val69" jdbcType="DECIMAL"/>
<result property="val70" column="val70" jdbcType="DECIMAL"/>
<result property="val71" column="val71" jdbcType="DECIMAL"/>
<result property="val72" column="val72" jdbcType="DECIMAL"/>
<result property="val73" column="val73" jdbcType="DECIMAL"/>
<result property="val74" column="val74" jdbcType="DECIMAL"/>
<result property="val75" column="val75" jdbcType="DECIMAL"/>
<result property="val76" column="val76" jdbcType="DECIMAL"/>
<result property="val77" column="val77" jdbcType="DECIMAL"/>
<result property="val78" column="val78" jdbcType="DECIMAL"/>
<result property="val79" column="val79" jdbcType="DECIMAL"/>
<result property="val80" column="val80" jdbcType="DECIMAL"/>
<result property="val81" column="val81" jdbcType="DECIMAL"/>
<result property="val82" column="val82" jdbcType="DECIMAL"/>
<result property="val83" column="val83" jdbcType="DECIMAL"/>
<result property="val84" column="val84" jdbcType="DECIMAL"/>
<result property="val85" column="val85" jdbcType="DECIMAL"/>
<result property="val86" column="val86" jdbcType="DECIMAL"/>
<result property="val87" column="val87" jdbcType="DECIMAL"/>
<result property="val88" column="val88" jdbcType="DECIMAL"/>
<result property="val89" column="val89" jdbcType="DECIMAL"/>
<result property="val90" column="val90" jdbcType="DECIMAL"/>
<result property="val91" column="val91" jdbcType="DECIMAL"/>
<result property="val92" column="val92" jdbcType="DECIMAL"/>
<result property="val93" column="val93" jdbcType="DECIMAL"/>
<result property="val94" column="val94" jdbcType="DECIMAL"/>
<result property="val95" column="val95" jdbcType="DECIMAL"/>
<result property="val96" column="val96" jdbcType="DECIMAL"/>
</resultMap>
<!-- 通过ID查询总电表单条数据 -->
<select id="queryById" resultMap="PsdcDevicePowerHdata96Map">
Select
user_id,device_id,sam_date,val1,val2,val3,val4,val5,val6,val7,val8,val9,val10,val11,val12,val13,val14,val15,val16,val17,val18,val19,val20,val21,val22,val23,val24,val25,val26,val27,val28,val29,val30,val31,val32,val33,val34,val35,val36,val37,val38,val39,val40,val41,val42,val43,val44,val45,val46,val47,val48,val49,val50,val51,val52,val53,val54,val55,val56,val57,val58,val59,val60,val61,val62,val63,val64,val65,val66,val67,val68,val69,val70,val71,val72,val73,val74,val75,val76,val77,val78,val79,val80,val81,val82,val83,val84,val85,val86,val87,val88,val89,val90,val91,val92,val93,val94,val95,val96
From psdc_device_power_hdata96 pdph96
<where>
<if test="userId != null and userId != ''">
and user_id = #{userId}
</if>
<if test="deviceId != null and deviceId != ''">
and device_id = #{deviceId}
</if>
<if test="samDate != null and samDate != ''">
and sam_date = #{samDate}
</if>
</where>
</select>
</mapper>