|
@@ -66,10 +66,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="wntjzsAll" column="WNTJZS_ALL" />
|
|
|
<result property="hfxwnndAll" column="HFXWNND_ALL" />
|
|
|
<result property="createdTime" column="CREATED_TIME" />
|
|
|
+ <result property="CHUNILIANG" column="CHUNILIANG" />
|
|
|
+ <result property="CNHSL" column="CNHSL" />
|
|
|
+ <result property="GWNL" column="GWNL" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTXinyiDailyVo">
|
|
|
- select ID, TEST_DATE, TEST_HOUR, TEST_TIME, SORT, JS_COD, JS_PH, JS_BOD5, JS_SS, JS_NH3, JS_TN, JS_TP, JS_DCGJ, CS_COD, CS_PH, CS_BOD5, CS_SS, CS_NH3, CS_TN, CS_TP, CS_DCGJ, JS_SW, CS_SW, SHC_ONE_PH, SHC_TWO_PH, SHC_HY_ONE_SV, SHC_HY_TWO_SV, SHC_HY_ONE_SVI, SHC_HY_TWO_SVI, SHC_HY_ONE_MLSS, SHC_HY_TWO_MLSS, SHC_HY_ONE_MLVSS, SHC_HY_TWO_MLVSS, SHC_YY_ONE_DO, SHC_YY_TWO_DO, SHC_QY_ONE_DO, SHC_QY_TWO_DO, SHC_HY_ONE_DO, SHC_HY_TWO_DO, JSL, CSL, SDCLCXSL, QSB, F_M, YY_HRT, HY_HRT, QY_HRT, NHL_R, WHL_R, SRT, CNL, TYQ_BOD5_TN, TYH_BOD5_TN, HYC_RJY_ALL, HYC_WNND_ALL, YYC_RJY_ALL, QYC_RJY_ALL, WNCJB_ALL, WNTJZS_ALL, HFXWNND_ALL, CREATED_TIME from t_xinyi_daily
|
|
|
+ select ID, TEST_DATE, TEST_HOUR, TEST_TIME, SORT, JS_COD, JS_PH, JS_BOD5, JS_SS, JS_NH3, JS_TN, JS_TP, JS_DCGJ, CS_COD, CS_PH, CS_BOD5, CS_SS, CS_NH3, CS_TN, CS_TP, CS_DCGJ, JS_SW, CS_SW, SHC_ONE_PH, SHC_TWO_PH, SHC_HY_ONE_SV, SHC_HY_TWO_SV, SHC_HY_ONE_SVI, SHC_HY_TWO_SVI, SHC_HY_ONE_MLSS, SHC_HY_TWO_MLSS, SHC_HY_ONE_MLVSS, SHC_HY_TWO_MLVSS, SHC_YY_ONE_DO, SHC_YY_TWO_DO, SHC_QY_ONE_DO, SHC_QY_TWO_DO, SHC_HY_ONE_DO, SHC_HY_TWO_DO, JSL, CSL, SDCLCXSL, QSB, F_M, YY_HRT, HY_HRT, QY_HRT, NHL_R, WHL_R, SRT, CNL, TYQ_BOD5_TN, TYH_BOD5_TN, HYC_RJY_ALL, HYC_WNND_ALL, YYC_RJY_ALL, QYC_RJY_ALL, WNCJB_ALL, WNTJZS_ALL, HFXWNND_ALL, CREATED_TIME, CHUNILIANG, CNHSL, GWNL from t_xinyi_daily
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTXinyiDailyList" parameterType="TXinyiDaily" resultMap="TXinyiDailyResult">
|
|
@@ -135,6 +138,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="wntjzsAll != null and wntjzsAll != ''"> and WNTJZS_ALL = #{wntjzsAll}</if>
|
|
|
<if test="hfxwnndAll != null and hfxwnndAll != ''"> and HFXWNND_ALL = #{hfxwnndAll}</if>
|
|
|
<if test="createdTime != null "> and CREATED_TIME = #{createdTime}</if>
|
|
|
+ <if test="CHUNILIANG != null "> and CHUNILIANG = #{CHUNILIANG}</if>
|
|
|
+ <if test="CNHSL != null "> and CNHSL = #{CNHSL}</if>
|
|
|
+ <if test="GWNL != null "> and GWNL = #{GWNL}</if>
|
|
|
</where>
|
|
|
order by id desc
|
|
|
</select>
|
|
@@ -207,7 +213,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="wntjzsAll != null">WNTJZS_ALL,</if>
|
|
|
<if test="hfxwnndAll != null">HFXWNND_ALL,</if>
|
|
|
<if test="createdTime != null">CREATED_TIME,</if>
|
|
|
- </trim>
|
|
|
+ <if test="CHUNILIANG != null">CHUNILIANG,</if>
|
|
|
+ <if test="CNHSL != null">CNHSL,</if>
|
|
|
+ <if test="GWNL != null">GWNL,</if>
|
|
|
+ </trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="testDate != null">#{testDate},</if>
|
|
|
<if test="testHour != null">#{testHour},</if>
|
|
@@ -269,7 +278,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="wntjzsAll != null">#{wntjzsAll},</if>
|
|
|
<if test="hfxwnndAll != null">#{hfxwnndAll},</if>
|
|
|
<if test="createdTime != null">#{createdTime},</if>
|
|
|
- </trim>
|
|
|
+ <if test="CHUNILIANG != null">#{CHUNILIANG},</if>
|
|
|
+ <if test="CNHSL != null">#{CNHSL},</if>
|
|
|
+ <if test="GWNL != null">#{GWNL},</if>
|
|
|
+ </trim>
|
|
|
</insert>
|
|
|
|
|
|
<update id="updateTXinyiDaily" parameterType="TXinyiDaily">
|
|
@@ -335,6 +347,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="wntjzsAll != null">WNTJZS_ALL = #{wntjzsAll},</if>
|
|
|
<if test="hfxwnndAll != null">HFXWNND_ALL = #{hfxwnndAll},</if>
|
|
|
<if test="createdTime != null">CREATED_TIME = #{createdTime},</if>
|
|
|
+ <if test="CHUNILIANG != null">CHUNILIANG = #{CHUNILIANG},</if>
|
|
|
+ <if test="CNHSL != null">CNHSL = #{CNHSL},</if>
|
|
|
+ <if test="GWNL != null">GWNL = #{GWNL},</if>
|
|
|
</trim>
|
|
|
where ID = #{ID}
|
|
|
</update>
|
|
@@ -344,7 +359,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</delete>
|
|
|
|
|
|
<delete id="deleteTXinyiDailyByIDs" parameterType="String">
|
|
|
- delete from t_xinyi_daily where ID in
|
|
|
+ delete from t_xinyi_daily where ID in
|
|
|
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
|
|
#{ID}
|
|
|
</foreach>
|