|
@@ -0,0 +1,312 @@
|
|
|
+<?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.slibra.business.mapper.TXinyiIndustryMapper">
|
|
|
+
|
|
|
+ <resultMap type="TXinyiIndustry" id="TXinyiIndustryResult">
|
|
|
+ <result property="ID" column="ID" />
|
|
|
+ <result property="testTime" column="TEST_TIME" />
|
|
|
+ <result property="jsCod" column="JS_COD" />
|
|
|
+ <result property="jsPh" column="JS_PH" />
|
|
|
+ <result property="jsSs" column="JS_SS" />
|
|
|
+ <result property="jsTp" column="JS_TP" />
|
|
|
+ <result property="jsTn" column="JS_TN" />
|
|
|
+ <result property="jsNh3" column="JS_NH3" />
|
|
|
+ <result property="jsSwPh" column="JS_SW_PH" />
|
|
|
+ <result property="jsBfyw" column="JS_BFYW" />
|
|
|
+ <result property="csSlqc" column="CS_SLQC" />
|
|
|
+ <result property="csCod" column="CS_COD" />
|
|
|
+ <result property="csPh" column="CS_PH" />
|
|
|
+ <result property="csSs" column="CS_SS" />
|
|
|
+ <result property="csTn" column="CS_TN" />
|
|
|
+ <result property="csTp" column="CS_TP" />
|
|
|
+ <result property="csNh3" column="CS_NH3" />
|
|
|
+ <result property="oneHyzdDo" column="ONE_HYZD_DO" />
|
|
|
+ <result property="oneHymdDo" column="ONE_HYMD_DO" />
|
|
|
+ <result property="twoHyzdDo" column="TWO_HYZD_DO" />
|
|
|
+ <result property="twoHymdDo" column="TWO_HYMD_DO" />
|
|
|
+ <result property="oneMlss" column="ONE_MLSS" />
|
|
|
+ <result property="twoMlss" column="TWO_MLSS" />
|
|
|
+ <result property="jsTds" column="JS_TDS" />
|
|
|
+ <result property="jsSlq" column="JS_SLQ" />
|
|
|
+ <result property="nHlbOneGp" column="N_HLB_ONE_GP" />
|
|
|
+ <result property="nHlbTwoGp" column="N_HLB_TWO_GP" />
|
|
|
+ <result property="nHlbThreeGp" column="N_HLB_THREE_GP" />
|
|
|
+ <result property="nHlbFourGp" column="N_HLB_FOUR_GP" />
|
|
|
+ <result property="nhlBFiveGp" column="NHL_B_FIVE_GP" />
|
|
|
+ <result property="nHlbSixGp" column="N_HLB_SIX_GP" />
|
|
|
+ <result property="wHlbOneGp" column="W_HLB_ONE_GP" />
|
|
|
+ <result property="wHlbTwoGp" column="W_HLB_TWO_GP" />
|
|
|
+ <result property="wHlbThreeGp" column="W_HLB_THREE_GP" />
|
|
|
+ <result property="wHlbFourGp" column="W_HLB_FOUR_GP" />
|
|
|
+ <result property="wHlbFiveGp" column="W_HLB_FIVE_GP" />
|
|
|
+ <result property="fjOne" column="FJ_ONE" />
|
|
|
+ <result property="fjTwo" column="FJ_TWO" />
|
|
|
+ <result property="fjThree" column="FJ_THREE" />
|
|
|
+ <result property="fjFour" column="FJ_FOUR" />
|
|
|
+ <result property="fjFive" column="FJ_FIVE" />
|
|
|
+ <result property="fjSix" column="FJ_SIX" />
|
|
|
+ <result property="kqllOne" column="KQLL_ONE" />
|
|
|
+ <result property="kqllTwo" column="KQLL_TWO" />
|
|
|
+ <result property="kqllThree" column="KQLL_THREE" />
|
|
|
+ <result property="kqllFour" column="KQLL_FOUR" />
|
|
|
+ <result property="kqllFive" column="KQLL_FIVE" />
|
|
|
+ <result property="kqllSix" column="KQLL_SIX" />
|
|
|
+ <result property="SJTYJLY" column="SJTYJLY" />
|
|
|
+ <result property="CLJYSSLL" column="CLJYSSLL" />
|
|
|
+ <result property="createdTime" column="CREATED_TIME" />
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <sql id="selectTXinyiIndustryVo">
|
|
|
+ select ID, TEST_TIME, JS_COD, JS_PH, JS_SS, JS_TP, JS_TN, JS_NH3, JS_SW_PH, JS_BFYW, CS_SLQC, CS_COD, CS_PH, CS_SS, CS_TN, CS_TP, CS_NH3, ONE_HYZD_DO, ONE_HYMD_DO, TWO_HYZD_DO, TWO_HYMD_DO, ONE_MLSS, TWO_MLSS, JS_TDS, JS_SLQ, N_HLB_ONE_GP, N_HLB_TWO_GP, N_HLB_THREE_GP, N_HLB_FOUR_GP, NHL_B_FIVE_GP, N_HLB_SIX_GP, W_HLB_ONE_GP, W_HLB_TWO_GP, W_HLB_THREE_GP, W_HLB_FOUR_GP, W_HLB_FIVE_GP, FJ_ONE, FJ_TWO, FJ_THREE, FJ_FOUR, FJ_FIVE, FJ_SIX, KQLL_ONE, KQLL_TWO, KQLL_THREE, KQLL_FOUR, KQLL_FIVE, KQLL_SIX, SJTYJLY, CLJYSSLL, CREATED_TIME from t_xinyi_industry
|
|
|
+ </sql>
|
|
|
+
|
|
|
+ <select id="selectTXinyiIndustryList" parameterType="TXinyiIndustry" resultMap="TXinyiIndustryResult">
|
|
|
+ <include refid="selectTXinyiIndustryVo"/>
|
|
|
+ <where>
|
|
|
+ 1 = 1
|
|
|
+ <if test="testTime != null and testTime != ''"> and TEST_TIME = #{testTime}</if>
|
|
|
+ <if test="jsCod != null "> and JS_COD = #{jsCod}</if>
|
|
|
+ <if test="jsPh != null "> and JS_PH = #{jsPh}</if>
|
|
|
+ <if test="jsSs != null "> and JS_SS = #{jsSs}</if>
|
|
|
+ <if test="jsTp != null "> and JS_TP = #{jsTp}</if>
|
|
|
+ <if test="jsTn != null "> and JS_TN = #{jsTn}</if>
|
|
|
+ <if test="jsNh3 != null "> and JS_NH3 = #{jsNh3}</if>
|
|
|
+ <if test="jsSwPh != null "> and JS_SW_PH = #{jsSwPh}</if>
|
|
|
+ <if test="jsBfyw != null "> and JS_BFYW = #{jsBfyw}</if>
|
|
|
+ <if test="csSlqc != null "> and CS_SLQC = #{csSlqc}</if>
|
|
|
+ <if test="csCod != null "> and CS_COD = #{csCod}</if>
|
|
|
+ <if test="csPh != null "> and CS_PH = #{csPh}</if>
|
|
|
+ <if test="csSs != null "> and CS_SS = #{csSs}</if>
|
|
|
+ <if test="csTn != null "> and CS_TN = #{csTn}</if>
|
|
|
+ <if test="csTp != null "> and CS_TP = #{csTp}</if>
|
|
|
+ <if test="csNh3 != null "> and CS_NH3 = #{csNh3}</if>
|
|
|
+ <if test="oneHyzdDo != null "> and ONE_HYZD_DO = #{oneHyzdDo}</if>
|
|
|
+ <if test="oneHymdDo != null "> and ONE_HYMD_DO = #{oneHymdDo}</if>
|
|
|
+ <if test="twoHyzdDo != null "> and TWO_HYZD_DO = #{twoHyzdDo}</if>
|
|
|
+ <if test="twoHymdDo != null "> and TWO_HYMD_DO = #{twoHymdDo}</if>
|
|
|
+ <if test="oneMlss != null "> and ONE_MLSS = #{oneMlss}</if>
|
|
|
+ <if test="twoMlss != null "> and TWO_MLSS = #{twoMlss}</if>
|
|
|
+ <if test="jsTds != null "> and JS_TDS = #{jsTds}</if>
|
|
|
+ <if test="jsSlq != null "> and JS_SLQ = #{jsSlq}</if>
|
|
|
+ <if test="nHlbOneGp != null "> and N_HLB_ONE_GP = #{nHlbOneGp}</if>
|
|
|
+ <if test="nHlbTwoGp != null "> and N_HLB_TWO_GP = #{nHlbTwoGp}</if>
|
|
|
+ <if test="nHlbThreeGp != null "> and N_HLB_THREE_GP = #{nHlbThreeGp}</if>
|
|
|
+ <if test="nHlbFourGp != null "> and N_HLB_FOUR_GP = #{nHlbFourGp}</if>
|
|
|
+ <if test="nhlBFiveGp != null "> and NHL_B_FIVE_GP = #{nhlBFiveGp}</if>
|
|
|
+ <if test="nHlbSixGp != null "> and N_HLB_SIX_GP = #{nHlbSixGp}</if>
|
|
|
+ <if test="wHlbOneGp != null "> and W_HLB_ONE_GP = #{wHlbOneGp}</if>
|
|
|
+ <if test="wHlbTwoGp != null "> and W_HLB_TWO_GP = #{wHlbTwoGp}</if>
|
|
|
+ <if test="wHlbThreeGp != null "> and W_HLB_THREE_GP = #{wHlbThreeGp}</if>
|
|
|
+ <if test="wHlbFourGp != null "> and W_HLB_FOUR_GP = #{wHlbFourGp}</if>
|
|
|
+ <if test="wHlbFiveGp != null "> and W_HLB_FIVE_GP = #{wHlbFiveGp}</if>
|
|
|
+ <if test="fjOne != null "> and FJ_ONE = #{fjOne}</if>
|
|
|
+ <if test="fjTwo != null "> and FJ_TWO = #{fjTwo}</if>
|
|
|
+ <if test="fjThree != null "> and FJ_THREE = #{fjThree}</if>
|
|
|
+ <if test="fjFour != null "> and FJ_FOUR = #{fjFour}</if>
|
|
|
+ <if test="fjFive != null "> and FJ_FIVE = #{fjFive}</if>
|
|
|
+ <if test="fjSix != null "> and FJ_SIX = #{fjSix}</if>
|
|
|
+ <if test="kqllOne != null "> and KQLL_ONE = #{kqllOne}</if>
|
|
|
+ <if test="kqllTwo != null "> and KQLL_TWO = #{kqllTwo}</if>
|
|
|
+ <if test="kqllThree != null "> and KQLL_THREE = #{kqllThree}</if>
|
|
|
+ <if test="kqllFour != null "> and KQLL_FOUR = #{kqllFour}</if>
|
|
|
+ <if test="kqllFive != null "> and KQLL_FIVE = #{kqllFive}</if>
|
|
|
+ <if test="kqllSix != null "> and KQLL_SIX = #{kqllSix}</if>
|
|
|
+ <if test="SJTYJLY != null "> and SJTYJLY = #{SJTYJLY}</if>
|
|
|
+ <if test="CLJYSSLL != null "> and CLJYSSLL = #{CLJYSSLL}</if>
|
|
|
+ <if test="createdTime != null "> and CREATED_TIME = #{createdTime}</if>
|
|
|
+ </where>
|
|
|
+ and del_flag = 0
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <select id="selectTXinyiIndustryByID" parameterType="Long" resultMap="TXinyiIndustryResult">
|
|
|
+ <include refid="selectTXinyiIndustryVo"/>
|
|
|
+ where ID = #{ID} and del_flag = 0
|
|
|
+ </select>
|
|
|
+
|
|
|
+ <insert id="insertTXinyiIndustry" parameterType="TXinyiIndustry" useGeneratedKeys="true" keyProperty="ID">
|
|
|
+ insert into t_xinyi_industry
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="testTime != null">TEST_TIME,</if>
|
|
|
+ <if test="jsCod != null">JS_COD,</if>
|
|
|
+ <if test="jsPh != null">JS_PH,</if>
|
|
|
+ <if test="jsSs != null">JS_SS,</if>
|
|
|
+ <if test="jsTp != null">JS_TP,</if>
|
|
|
+ <if test="jsTn != null">JS_TN,</if>
|
|
|
+ <if test="jsNh3 != null">JS_NH3,</if>
|
|
|
+ <if test="jsSwPh != null">JS_SW_PH,</if>
|
|
|
+ <if test="jsBfyw != null">JS_BFYW,</if>
|
|
|
+ <if test="csSlqc != null">CS_SLQC,</if>
|
|
|
+ <if test="csCod != null">CS_COD,</if>
|
|
|
+ <if test="csPh != null">CS_PH,</if>
|
|
|
+ <if test="csSs != null">CS_SS,</if>
|
|
|
+ <if test="csTn != null">CS_TN,</if>
|
|
|
+ <if test="csTp != null">CS_TP,</if>
|
|
|
+ <if test="csNh3 != null">CS_NH3,</if>
|
|
|
+ <if test="oneHyzdDo != null">ONE_HYZD_DO,</if>
|
|
|
+ <if test="oneHymdDo != null">ONE_HYMD_DO,</if>
|
|
|
+ <if test="twoHyzdDo != null">TWO_HYZD_DO,</if>
|
|
|
+ <if test="twoHymdDo != null">TWO_HYMD_DO,</if>
|
|
|
+ <if test="oneMlss != null">ONE_MLSS,</if>
|
|
|
+ <if test="twoMlss != null">TWO_MLSS,</if>
|
|
|
+ <if test="jsTds != null">JS_TDS,</if>
|
|
|
+ <if test="jsSlq != null">JS_SLQ,</if>
|
|
|
+ <if test="nHlbOneGp != null">N_HLB_ONE_GP,</if>
|
|
|
+ <if test="nHlbTwoGp != null">N_HLB_TWO_GP,</if>
|
|
|
+ <if test="nHlbThreeGp != null">N_HLB_THREE_GP,</if>
|
|
|
+ <if test="nHlbFourGp != null">N_HLB_FOUR_GP,</if>
|
|
|
+ <if test="nhlBFiveGp != null">NHL_B_FIVE_GP,</if>
|
|
|
+ <if test="nHlbSixGp != null">N_HLB_SIX_GP,</if>
|
|
|
+ <if test="wHlbOneGp != null">W_HLB_ONE_GP,</if>
|
|
|
+ <if test="wHlbTwoGp != null">W_HLB_TWO_GP,</if>
|
|
|
+ <if test="wHlbThreeGp != null">W_HLB_THREE_GP,</if>
|
|
|
+ <if test="wHlbFourGp != null">W_HLB_FOUR_GP,</if>
|
|
|
+ <if test="wHlbFiveGp != null">W_HLB_FIVE_GP,</if>
|
|
|
+ <if test="fjOne != null">FJ_ONE,</if>
|
|
|
+ <if test="fjTwo != null">FJ_TWO,</if>
|
|
|
+ <if test="fjThree != null">FJ_THREE,</if>
|
|
|
+ <if test="fjFour != null">FJ_FOUR,</if>
|
|
|
+ <if test="fjFive != null">FJ_FIVE,</if>
|
|
|
+ <if test="fjSix != null">FJ_SIX,</if>
|
|
|
+ <if test="kqllOne != null">KQLL_ONE,</if>
|
|
|
+ <if test="kqllTwo != null">KQLL_TWO,</if>
|
|
|
+ <if test="kqllThree != null">KQLL_THREE,</if>
|
|
|
+ <if test="kqllFour != null">KQLL_FOUR,</if>
|
|
|
+ <if test="kqllFive != null">KQLL_FIVE,</if>
|
|
|
+ <if test="kqllSix != null">KQLL_SIX,</if>
|
|
|
+ <if test="SJTYJLY != null">SJTYJLY,</if>
|
|
|
+ <if test="CLJYSSLL != null">CLJYSSLL,</if>
|
|
|
+ <if test="createdTime != null">CREATED_TIME,</if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="testTime != null">#{testTime},</if>
|
|
|
+ <if test="jsCod != null">#{jsCod},</if>
|
|
|
+ <if test="jsPh != null">#{jsPh},</if>
|
|
|
+ <if test="jsSs != null">#{jsSs},</if>
|
|
|
+ <if test="jsTp != null">#{jsTp},</if>
|
|
|
+ <if test="jsTn != null">#{jsTn},</if>
|
|
|
+ <if test="jsNh3 != null">#{jsNh3},</if>
|
|
|
+ <if test="jsSwPh != null">#{jsSwPh},</if>
|
|
|
+ <if test="jsBfyw != null">#{jsBfyw},</if>
|
|
|
+ <if test="csSlqc != null">#{csSlqc},</if>
|
|
|
+ <if test="csCod != null">#{csCod},</if>
|
|
|
+ <if test="csPh != null">#{csPh},</if>
|
|
|
+ <if test="csSs != null">#{csSs},</if>
|
|
|
+ <if test="csTn != null">#{csTn},</if>
|
|
|
+ <if test="csTp != null">#{csTp},</if>
|
|
|
+ <if test="csNh3 != null">#{csNh3},</if>
|
|
|
+ <if test="oneHyzdDo != null">#{oneHyzdDo},</if>
|
|
|
+ <if test="oneHymdDo != null">#{oneHymdDo},</if>
|
|
|
+ <if test="twoHyzdDo != null">#{twoHyzdDo},</if>
|
|
|
+ <if test="twoHymdDo != null">#{twoHymdDo},</if>
|
|
|
+ <if test="oneMlss != null">#{oneMlss},</if>
|
|
|
+ <if test="twoMlss != null">#{twoMlss},</if>
|
|
|
+ <if test="jsTds != null">#{jsTds},</if>
|
|
|
+ <if test="jsSlq != null">#{jsSlq},</if>
|
|
|
+ <if test="nHlbOneGp != null">#{nHlbOneGp},</if>
|
|
|
+ <if test="nHlbTwoGp != null">#{nHlbTwoGp},</if>
|
|
|
+ <if test="nHlbThreeGp != null">#{nHlbThreeGp},</if>
|
|
|
+ <if test="nHlbFourGp != null">#{nHlbFourGp},</if>
|
|
|
+ <if test="nhlBFiveGp != null">#{nhlBFiveGp},</if>
|
|
|
+ <if test="nHlbSixGp != null">#{nHlbSixGp},</if>
|
|
|
+ <if test="wHlbOneGp != null">#{wHlbOneGp},</if>
|
|
|
+ <if test="wHlbTwoGp != null">#{wHlbTwoGp},</if>
|
|
|
+ <if test="wHlbThreeGp != null">#{wHlbThreeGp},</if>
|
|
|
+ <if test="wHlbFourGp != null">#{wHlbFourGp},</if>
|
|
|
+ <if test="wHlbFiveGp != null">#{wHlbFiveGp},</if>
|
|
|
+ <if test="fjOne != null">#{fjOne},</if>
|
|
|
+ <if test="fjTwo != null">#{fjTwo},</if>
|
|
|
+ <if test="fjThree != null">#{fjThree},</if>
|
|
|
+ <if test="fjFour != null">#{fjFour},</if>
|
|
|
+ <if test="fjFive != null">#{fjFive},</if>
|
|
|
+ <if test="fjSix != null">#{fjSix},</if>
|
|
|
+ <if test="kqllOne != null">#{kqllOne},</if>
|
|
|
+ <if test="kqllTwo != null">#{kqllTwo},</if>
|
|
|
+ <if test="kqllThree != null">#{kqllThree},</if>
|
|
|
+ <if test="kqllFour != null">#{kqllFour},</if>
|
|
|
+ <if test="kqllFive != null">#{kqllFive},</if>
|
|
|
+ <if test="kqllSix != null">#{kqllSix},</if>
|
|
|
+ <if test="SJTYJLY != null">#{SJTYJLY},</if>
|
|
|
+ <if test="CLJYSSLL != null">#{CLJYSSLL},</if>
|
|
|
+ <if test="createdTime != null">#{createdTime},</if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+
|
|
|
+ <update id="updateTXinyiIndustry" parameterType="TXinyiIndustry">
|
|
|
+ update t_xinyi_industry
|
|
|
+ <trim prefix="SET" suffixOverrides=",">
|
|
|
+ <if test="testTime != null">TEST_TIME = #{testTime},</if>
|
|
|
+ <if test="jsCod != null">JS_COD = #{jsCod},</if>
|
|
|
+ <if test="jsPh != null">JS_PH = #{jsPh},</if>
|
|
|
+ <if test="jsSs != null">JS_SS = #{jsSs},</if>
|
|
|
+ <if test="jsTp != null">JS_TP = #{jsTp},</if>
|
|
|
+ <if test="jsTn != null">JS_TN = #{jsTn},</if>
|
|
|
+ <if test="jsNh3 != null">JS_NH3 = #{jsNh3},</if>
|
|
|
+ <if test="jsSwPh != null">JS_SW_PH = #{jsSwPh},</if>
|
|
|
+ <if test="jsBfyw != null">JS_BFYW = #{jsBfyw},</if>
|
|
|
+ <if test="csSlqc != null">CS_SLQC = #{csSlqc},</if>
|
|
|
+ <if test="csCod != null">CS_COD = #{csCod},</if>
|
|
|
+ <if test="csPh != null">CS_PH = #{csPh},</if>
|
|
|
+ <if test="csSs != null">CS_SS = #{csSs},</if>
|
|
|
+ <if test="csTn != null">CS_TN = #{csTn},</if>
|
|
|
+ <if test="csTp != null">CS_TP = #{csTp},</if>
|
|
|
+ <if test="csNh3 != null">CS_NH3 = #{csNh3},</if>
|
|
|
+ <if test="oneHyzdDo != null">ONE_HYZD_DO = #{oneHyzdDo},</if>
|
|
|
+ <if test="oneHymdDo != null">ONE_HYMD_DO = #{oneHymdDo},</if>
|
|
|
+ <if test="twoHyzdDo != null">TWO_HYZD_DO = #{twoHyzdDo},</if>
|
|
|
+ <if test="twoHymdDo != null">TWO_HYMD_DO = #{twoHymdDo},</if>
|
|
|
+ <if test="oneMlss != null">ONE_MLSS = #{oneMlss},</if>
|
|
|
+ <if test="twoMlss != null">TWO_MLSS = #{twoMlss},</if>
|
|
|
+ <if test="jsTds != null">JS_TDS = #{jsTds},</if>
|
|
|
+ <if test="jsSlq != null">JS_SLQ = #{jsSlq},</if>
|
|
|
+ <if test="nHlbOneGp != null">N_HLB_ONE_GP = #{nHlbOneGp},</if>
|
|
|
+ <if test="nHlbTwoGp != null">N_HLB_TWO_GP = #{nHlbTwoGp},</if>
|
|
|
+ <if test="nHlbThreeGp != null">N_HLB_THREE_GP = #{nHlbThreeGp},</if>
|
|
|
+ <if test="nHlbFourGp != null">N_HLB_FOUR_GP = #{nHlbFourGp},</if>
|
|
|
+ <if test="nhlBFiveGp != null">NHL_B_FIVE_GP = #{nhlBFiveGp},</if>
|
|
|
+ <if test="nHlbSixGp != null">N_HLB_SIX_GP = #{nHlbSixGp},</if>
|
|
|
+ <if test="wHlbOneGp != null">W_HLB_ONE_GP = #{wHlbOneGp},</if>
|
|
|
+ <if test="wHlbTwoGp != null">W_HLB_TWO_GP = #{wHlbTwoGp},</if>
|
|
|
+ <if test="wHlbThreeGp != null">W_HLB_THREE_GP = #{wHlbThreeGp},</if>
|
|
|
+ <if test="wHlbFourGp != null">W_HLB_FOUR_GP = #{wHlbFourGp},</if>
|
|
|
+ <if test="wHlbFiveGp != null">W_HLB_FIVE_GP = #{wHlbFiveGp},</if>
|
|
|
+ <if test="fjOne != null">FJ_ONE = #{fjOne},</if>
|
|
|
+ <if test="fjTwo != null">FJ_TWO = #{fjTwo},</if>
|
|
|
+ <if test="fjThree != null">FJ_THREE = #{fjThree},</if>
|
|
|
+ <if test="fjFour != null">FJ_FOUR = #{fjFour},</if>
|
|
|
+ <if test="fjFive != null">FJ_FIVE = #{fjFive},</if>
|
|
|
+ <if test="fjSix != null">FJ_SIX = #{fjSix},</if>
|
|
|
+ <if test="kqllOne != null">KQLL_ONE = #{kqllOne},</if>
|
|
|
+ <if test="kqllTwo != null">KQLL_TWO = #{kqllTwo},</if>
|
|
|
+ <if test="kqllThree != null">KQLL_THREE = #{kqllThree},</if>
|
|
|
+ <if test="kqllFour != null">KQLL_FOUR = #{kqllFour},</if>
|
|
|
+ <if test="kqllFive != null">KQLL_FIVE = #{kqllFive},</if>
|
|
|
+ <if test="kqllSix != null">KQLL_SIX = #{kqllSix},</if>
|
|
|
+ <if test="SJTYJLY != null">SJTYJLY = #{SJTYJLY},</if>
|
|
|
+ <if test="CLJYSSLL != null">CLJYSSLL = #{CLJYSSLL},</if>
|
|
|
+ <if test="createdTime != null">CREATED_TIME = #{createdTime},</if>
|
|
|
+ </trim>
|
|
|
+ ,revision = revision + 1
|
|
|
+ where ID = #{ID}
|
|
|
+ </update>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <delete id="deleteTXinyiIndustryByID" parameterType="Long">
|
|
|
+ update t_xinyi_industry set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID = #{ID}
|
|
|
+ </delete>
|
|
|
+
|
|
|
+ <delete id="deleteTXinyiIndustryByIDs" parameterType="String">
|
|
|
+ update t_xinyi_industry set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID in
|
|
|
+ <foreach item="ID" collection="array" open="(" separator="," close=")">
|
|
|
+ #{ID}
|
|
|
+ </foreach>
|
|
|
+ </delete>
|
|
|
+
|
|
|
+
|
|
|
+ <select id="getUniqueTXinyiIndustry" resultMap="TXinyiIndustryResult">
|
|
|
+ <include refid="selectTXinyiIndustryVo"/>
|
|
|
+ where TEST_TIME = #{testTime}
|
|
|
+ </select>
|
|
|
+</mapper>
|