123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?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.robot.remote.smartrobotremote.mapper.TXinyiRobotMapper">
- <resultMap type="TXinyiRobot" id="TXinyiRobotResult">
- <result property="ID" column="ID" />
- <result property="vDate" column="V_DATE" />
- <result property="vTime" column="V_TIME" />
- <result property="vDateTime" column="V_DATE_TIME" />
- <result property="testDate" column="TEST_DATE" />
- <result property="testHour" column="TEST_HOUR" />
- <result property="testTime" column="TEST_TIME" />
- <result property="codYb" column="COD_YB" />
- <result property="codJqr" column="COD_JQR" />
- <result property="codYz" column="COD_YZ" />
- <result property="tpHl1Jqr" column="TP_HL1_JQR" />
- <result property="tpHl2Jqr" column="TP_HL2_JQR" />
- <result property="tpRccJqr" column="TP_RCC_JQR" />
- <result property="tp1Yz" column="TP_1_YZ" />
- <result property="tp2Yz" column="TP_2_YZ" />
- <result property="tpRccYz" column="TP_RCC_YZ" />
- <result property="nh31Jqr" column="NH3_1_JQR" />
- <result property="nh32Jqr" column="NH3_2_JQR" />
- <result property="nh31Yz" column="NH3_1_YZ" />
- <result property="no3Hlc1Yz" column="NO3_HLC1_YZ" />
- <result property="nh32Yz" column="NH3_2_YZ" />
- <result property="no3Hlc2Yz" column="NO3_HLC2_YZ" />
- <result property="no3Hlj1Jqr" column="NO3_HLJ1_JQR" />
- <result property="no3Hlj2Jqr" column="NO3_HLJ2_JQR" />
- <result property="TYLL" column="TYLL" />
- <result property="no3Qyc1Jqr" column="NO3_QYC_1_JQR" />
- <result property="no3Qyc2Jqr" column="NO3_QYC_2_JQR" />
- <result property="no3Qyc1Yz" column="NO3_QYC_1_YZ" />
- <result property="no3Qyc2Yz" column="NO3_QYC_2_YZ" />
- <result property="JSLL" column="JSLL" />
- <result property="createdTime" column="CREATED_TIME" />
- <result property="hycxsyAll" column="HYCXSY_ALL" />
- <result property="qyanAll" column="QYAN_ALL" />
- <result property="qyckxsyAll" column="QYCKXSY_ALL" />
- <result property="hyzlsyAll" column="HYZLSY_ALL" />
- </resultMap>
- <sql id="selectTXinyiSqlServer">
- select V_DATE, V_TIME, COD_YB, COD_JQR, COD_YZ, TP_HL1_JQR, TP_HL2_JQR, TP_RCC_JQR, TP_1_YZ, TP_2_YZ, TP_RCC_YZ, NH3_1_JQR, NH3_2_JQR, NH3_1_YZ, NO3_HLC1_YZ, NH3_2_YZ, NO3_HLC2_YZ, NO3_HLJ1_JQR, NO3_HLJ2_JQR, TYLL, NO3_QYC_1_JQR, NO3_QYC_2_JQR, NO3_QYC_1_YZ, NO3_QYC_2_YZ, JSLL from V_SHUJU
- </sql>
- <select id="selectTXinyiRobotListByTime" parameterType="string" resultMap="TXinyiRobotResult">
- <include refid="selectTXinyiSqlServer"/> where 1 = 1
- <if test="lastTime != null and lastTime != ''"> and CONVERT ( datetime, LTRIM( RTRIM( V_DATE ) ) + ' ' + LTRIM( RTRIM( V_TIME ) ) ) > = #{lastTime}</if>
- </select>
- </mapper>
|