123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131 |
- <?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.mvc.dao.TaskRemoteCfgMapper">
- <resultMap id="BaseResultMap" type="com.mvc.entity.TaskRemoteCfg">
- <id column="ID" jdbcType="INTEGER" property="id" />
- <result column="TASK_ID" jdbcType="VARCHAR" property="taskId" />
- <result column="DEVICE_SN" jdbcType="VARCHAR" property="deviceSn" />
- <result column="STATION_CODE" jdbcType="VARCHAR" property="stationCode" />
- <result column="LAST_VAL" jdbcType="DOUBLE" property="lastVal" />
- <result column="IP1_PORT1" jdbcType="VARCHAR" property="ip1Port1" />
- <result column="IP2_PORT2" jdbcType="VARCHAR" property="ip2Port2" />
- <result column="IP3_PORT3" jdbcType="VARCHAR" property="ip3Port3" />
- <result column="IP4_PORT4" jdbcType="VARCHAR" property="ip4Port4" />
- <result column="DOMAIN_NAME_PORT" jdbcType="VARCHAR" property="domainNamePort" />
- <result column="DN_TYPE" jdbcType="INTEGER" property="dnType" />
- <result column="DIGIT_NUM" jdbcType="INTEGER" property="digitNum" />
- <result column="UINT_TYPE" jdbcType="INTEGER" property="uintType" />
- <result column="SETUP_DIR" jdbcType="CHAR" property="setupDir" />
- <result column="SAMPLE_INTERVAL" jdbcType="INTEGER" property="sampleInterval" />
- <result column="WHEEL_NUM" jdbcType="INTEGER" property="wheelNum" />
- <result column="UP_INTERVAL" jdbcType="INTEGER" property="upInterval" />
- <result column="LT_SAMPLE_INTERVAL" jdbcType="INTEGER" property="ltSampleInterval" />
- <result column="WORK_LT" jdbcType="INTEGER" property="workLt" />
- <result column="WORK_HT" jdbcType="INTEGER" property="workHt" />
- <result column="BAT_ALARM_VT" jdbcType="DECIMAL" property="batAlarmVt" />
- <result column="BAT_ALARM_SOC" jdbcType="INTEGER" property="batAlarmSoc" />
- <result column="AI_PULL_BACK" jdbcType="INTEGER" property="aiPullBack" />
- <result column="AI_PASS" jdbcType="INTEGER" property="aiPass" />
- <result column="AI_SINGLE_PASS" jdbcType="INTEGER" property="aiSinglePass" />
- <result column="CPU_VERSION" jdbcType="VARCHAR" property="cpuVersion" />
- <result column="TONGXUN_VERSION" jdbcType="VARCHAR" property="tongxunVersion" />
- <result column="TIANXIAN_TYPE" jdbcType="CHAR" property="tianxianType" />
- <result column="TONGXUN_WAY" jdbcType="CHAR" property="tongxunWay" />
- <result column="NETWORK_REG_TIMEOUT" jdbcType="INTEGER" property="networkRegTimeout" />
- <result column="PWM_HZ" jdbcType="INTEGER" property="pwmHz" />
- <result column="PWM_DUTY" jdbcType="INTEGER" property="pwmDuty" />
- <result column="FLASH_BRIGHT_MIN" jdbcType="INTEGER" property="flashBrightMin" />
- <result column="FLASH_BRIGHT_MAX" jdbcType="INTEGER" property="flashBrightMax" />
- <result column="SETUP_YEAR" jdbcType="VARCHAR" property="setupYear" />
- <result column="UP_WHOLE_IMG_WEEK_RULE" jdbcType="VARCHAR" property="upWholeImgWeekRule" />
- <result column="IP1_EXPAND_ON" jdbcType="CHAR" property="ip1ExpandOn" />
- <result column="CREATE_MAN" jdbcType="VARCHAR" property="createMan" />
- <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
- <result column="FINISHED_FLAG" jdbcType="CHAR" property="finishedFlag" />
- <result column="FINISHED_TIME" jdbcType="TIMESTAMP" property="finishedTime" />
- <result column="METER_FONT_STYLE" jdbcType="CHAR" property="meterFontStyle" />
- <result column="SYSTEM_REVIEW_FLAG" jdbcType="CHAR" property="systemReviewFlag" />
- <result column="DEVICE_TYPE" jdbcType="CHAR" property="deviceType" />
- <result column="PG_RANGE_MIN" jdbcType="DECIMAL" property="pgRangeMin" />
- <result column="PG_RANGE_MAX" jdbcType="DECIMAL" property="pgRangeMax" />
- <result column="PG_PRECISION_TYPE" jdbcType="INTEGER" property="pgPrecisionType" />
- <result column="PG_CORRECTVALUE" jdbcType="DECIMAL" property="pgCorrectvalue" />
- <result column="PG_MANUAL_CONFIG" jdbcType="VARCHAR" property="pgManualConfig" />
- <result column="PG_IS_DEBUG" jdbcType="CHAR" property="pgIsDebug" />
- <result column="PG_INIT_TARGET_REGION" jdbcType="CHAR" property="pgInitTargetRegion" />
- <result column="ISPRINTCOMLOG" jdbcType="CHAR" property="isprintcomlog" />
- <result column="ISRESETWDT" jdbcType="CHAR" property="isresetwdt" />
- <result column="ISRESETBAT" jdbcType="CHAR" property="isresetbat" />
- <result column="ISRESTMCU" jdbcType="CHAR" property="isrestmcu" />
- <result column="WI_TASK_MANWAKEUP_FLAG" jdbcType="CHAR" property="wiTaskManwakeupFlag" />
- <result column="WI_TASK_MONTH_FLAG" jdbcType="CHAR" property="wiTaskMonthFlag" />
- <result column="WI_TASK_SPECDATE_FLAG" jdbcType="VARCHAR" property="wiTaskSpecdateFlag" />
- <result column="LOG_UPLOAD_RULES" jdbcType="VARCHAR" property="logUploadRules" />
- <result column="UPLOAD_LAST_FAIL_LOG_FLAG" jdbcType="CHAR" property="uploadLastFailLogFlag" />
- <result column="LOG_TASK_MANWAKEUP_FLAG" jdbcType="CHAR" property="logTaskManwakeupFlag" />
- <result column="BATCH_FLAG" jdbcType="CHAR" property="batchFlag" />
- <result column="PG_MANUAL_CONFIG_LEVEL" jdbcType="CHAR" property="pgManualConfigLevel" />
- </resultMap>
- <sql id="Example_Where_Clause">
- <where>
- <foreach collection="oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Update_By_Example_Where_Clause">
- <where>
- <foreach collection="example.oredCriteria" item="criteria" separator="or">
- <if test="criteria.valid">
- <trim prefix="(" prefixOverrides="and" suffix=")">
- <foreach collection="criteria.criteria" item="criterion">
- <choose>
- <when test="criterion.noValue">
- and ${criterion.condition}
- </when>
- <when test="criterion.singleValue">
- and ${criterion.condition} #{criterion.value}
- </when>
- <when test="criterion.betweenValue">
- and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
- </when>
- <when test="criterion.listValue">
- and ${criterion.condition}
- <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Base_Column_List">
- ID, TASK_ID, DEVICE_SN, STATION_CODE, LAST_VAL, IP1_PORT1, IP2_PORT2, IP3_PORT3,
- IP4_PORT4, DOMAIN_NAME_PORT, DN_TYPE, DIGIT_NUM, UINT_TYPE, SETUP_DIR, SAMPLE_INTERVAL,
- WHEEL_NUM, UP_INTERVAL, LT_SAMPLE_INTERVAL, WORK_LT, WORK_HT, BAT_ALARM_VT, BAT_ALARM_SOC,
- AI_PULL_BACK, AI_PASS, AI_SINGLE_PASS, CPU_VERSION, TONGXUN_VERSION, TIANXIAN_TYPE,
- TONGXUN_WAY, NETWORK_REG_TIMEOUT, PWM_HZ, PWM_DUTY, FLASH_BRIGHT_MIN, FLASH_BRIGHT_MAX,
- SETUP_YEAR, UP_WHOLE_IMG_WEEK_RULE, IP1_EXPAND_ON, CREATE_MAN, CREATE_TIME, FINISHED_FLAG,
- FINISHED_TIME, METER_FONT_STYLE, SYSTEM_REVIEW_FLAG, DEVICE_TYPE, PG_RANGE_MIN, PG_RANGE_MAX,
- PG_PRECISION_TYPE, PG_CORRECTVALUE, PG_MANUAL_CONFIG, PG_IS_DEBUG, PG_INIT_TARGET_REGION,
- ISPRINTCOMLOG, ISRESETWDT, ISRESETBAT, ISRESTMCU, WI_TASK_MANWAKEUP_FLAG, WI_TASK_MONTH_FLAG,
- WI_TASK_SPECDATE_FLAG, LOG_UPLOAD_RULES, UPLOAD_LAST_FAIL_LOG_FLAG, LOG_TASK_MANWAKEUP_FLAG,
- BATCH_FLAG, PG_MANUAL_CONFIG_LEVEL
- </sql>
- <select id="selectByExample" parameterType="com.mvc.entity.TaskRemoteCfgExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from task_remote_cfg
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null">
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
- select
- <include refid="Base_Column_List" />
- from task_remote_cfg
- where ID = #{id,jdbcType=INTEGER}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
- delete from task_remote_cfg
- where ID = #{id,jdbcType=INTEGER}
- </delete>
- <delete id="deleteByExample" parameterType="com.mvc.entity.TaskRemoteCfgExample">
- delete from task_remote_cfg
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.mvc.entity.TaskRemoteCfg">
- insert into task_remote_cfg (ID, TASK_ID, DEVICE_SN,
- STATION_CODE, LAST_VAL, IP1_PORT1,
- IP2_PORT2, IP3_PORT3, IP4_PORT4,
- DOMAIN_NAME_PORT, DN_TYPE, DIGIT_NUM,
- UINT_TYPE, SETUP_DIR, SAMPLE_INTERVAL,
- WHEEL_NUM, UP_INTERVAL, LT_SAMPLE_INTERVAL,
- WORK_LT, WORK_HT, BAT_ALARM_VT,
- BAT_ALARM_SOC, AI_PULL_BACK, AI_PASS,
- AI_SINGLE_PASS, CPU_VERSION, TONGXUN_VERSION,
- TIANXIAN_TYPE, TONGXUN_WAY, NETWORK_REG_TIMEOUT,
- PWM_HZ, PWM_DUTY, FLASH_BRIGHT_MIN,
- FLASH_BRIGHT_MAX, SETUP_YEAR, UP_WHOLE_IMG_WEEK_RULE,
- IP1_EXPAND_ON, CREATE_MAN, CREATE_TIME,
- FINISHED_FLAG, FINISHED_TIME, METER_FONT_STYLE,
- SYSTEM_REVIEW_FLAG, DEVICE_TYPE, PG_RANGE_MIN,
- PG_RANGE_MAX, PG_PRECISION_TYPE, PG_CORRECTVALUE,
- PG_MANUAL_CONFIG, PG_IS_DEBUG, PG_INIT_TARGET_REGION,
- ISPRINTCOMLOG, ISRESETWDT, ISRESETBAT,
- ISRESTMCU, WI_TASK_MANWAKEUP_FLAG, WI_TASK_MONTH_FLAG,
- WI_TASK_SPECDATE_FLAG, LOG_UPLOAD_RULES, UPLOAD_LAST_FAIL_LOG_FLAG,
- LOG_TASK_MANWAKEUP_FLAG, BATCH_FLAG, PG_MANUAL_CONFIG_LEVEL
- )
- values (#{id,jdbcType=INTEGER}, #{taskId,jdbcType=VARCHAR}, #{deviceSn,jdbcType=VARCHAR},
- #{stationCode,jdbcType=VARCHAR}, #{lastVal,jdbcType=DOUBLE}, #{ip1Port1,jdbcType=VARCHAR},
- #{ip2Port2,jdbcType=VARCHAR}, #{ip3Port3,jdbcType=VARCHAR}, #{ip4Port4,jdbcType=VARCHAR},
- #{domainNamePort,jdbcType=VARCHAR}, #{dnType,jdbcType=INTEGER}, #{digitNum,jdbcType=INTEGER},
- #{uintType,jdbcType=INTEGER}, #{setupDir,jdbcType=CHAR}, #{sampleInterval,jdbcType=INTEGER},
- #{wheelNum,jdbcType=INTEGER}, #{upInterval,jdbcType=INTEGER}, #{ltSampleInterval,jdbcType=INTEGER},
- #{workLt,jdbcType=INTEGER}, #{workHt,jdbcType=INTEGER}, #{batAlarmVt,jdbcType=DECIMAL},
- #{batAlarmSoc,jdbcType=INTEGER}, #{aiPullBack,jdbcType=INTEGER}, #{aiPass,jdbcType=INTEGER},
- #{aiSinglePass,jdbcType=INTEGER}, #{cpuVersion,jdbcType=VARCHAR}, #{tongxunVersion,jdbcType=VARCHAR},
- #{tianxianType,jdbcType=CHAR}, #{tongxunWay,jdbcType=CHAR}, #{networkRegTimeout,jdbcType=INTEGER},
- #{pwmHz,jdbcType=INTEGER}, #{pwmDuty,jdbcType=INTEGER}, #{flashBrightMin,jdbcType=INTEGER},
- #{flashBrightMax,jdbcType=INTEGER}, #{setupYear,jdbcType=VARCHAR}, #{upWholeImgWeekRule,jdbcType=VARCHAR},
- #{ip1ExpandOn,jdbcType=CHAR}, #{createMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
- #{finishedFlag,jdbcType=CHAR}, #{finishedTime,jdbcType=TIMESTAMP}, #{meterFontStyle,jdbcType=CHAR},
- #{systemReviewFlag,jdbcType=CHAR}, #{deviceType,jdbcType=CHAR}, #{pgRangeMin,jdbcType=DECIMAL},
- #{pgRangeMax,jdbcType=DECIMAL}, #{pgPrecisionType,jdbcType=INTEGER}, #{pgCorrectvalue,jdbcType=DECIMAL},
- #{pgManualConfig,jdbcType=VARCHAR}, #{pgIsDebug,jdbcType=CHAR}, #{pgInitTargetRegion,jdbcType=CHAR},
- #{isprintcomlog,jdbcType=CHAR}, #{isresetwdt,jdbcType=CHAR}, #{isresetbat,jdbcType=CHAR},
- #{isrestmcu,jdbcType=CHAR}, #{wiTaskManwakeupFlag,jdbcType=CHAR}, #{wiTaskMonthFlag,jdbcType=CHAR},
- #{wiTaskSpecdateFlag,jdbcType=VARCHAR}, #{logUploadRules,jdbcType=VARCHAR}, #{uploadLastFailLogFlag,jdbcType=CHAR},
- #{logTaskManwakeupFlag,jdbcType=CHAR}, #{batchFlag,jdbcType=CHAR}, #{pgManualConfigLevel,jdbcType=CHAR}
- )
- </insert>
- <insert id="insertSelective" parameterType="com.mvc.entity.TaskRemoteCfg">
- insert into task_remote_cfg
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="id != null">
- ID,
- </if>
- <if test="taskId != null">
- TASK_ID,
- </if>
- <if test="deviceSn != null">
- DEVICE_SN,
- </if>
- <if test="stationCode != null">
- STATION_CODE,
- </if>
- <if test="lastVal != null">
- LAST_VAL,
- </if>
- <if test="ip1Port1 != null">
- IP1_PORT1,
- </if>
- <if test="ip2Port2 != null">
- IP2_PORT2,
- </if>
- <if test="ip3Port3 != null">
- IP3_PORT3,
- </if>
- <if test="ip4Port4 != null">
- IP4_PORT4,
- </if>
- <if test="domainNamePort != null">
- DOMAIN_NAME_PORT,
- </if>
- <if test="dnType != null">
- DN_TYPE,
- </if>
- <if test="digitNum != null">
- DIGIT_NUM,
- </if>
- <if test="uintType != null">
- UINT_TYPE,
- </if>
- <if test="setupDir != null">
- SETUP_DIR,
- </if>
- <if test="sampleInterval != null">
- SAMPLE_INTERVAL,
- </if>
- <if test="wheelNum != null">
- WHEEL_NUM,
- </if>
- <if test="upInterval != null">
- UP_INTERVAL,
- </if>
- <if test="ltSampleInterval != null">
- LT_SAMPLE_INTERVAL,
- </if>
- <if test="workLt != null">
- WORK_LT,
- </if>
- <if test="workHt != null">
- WORK_HT,
- </if>
- <if test="batAlarmVt != null">
- BAT_ALARM_VT,
- </if>
- <if test="batAlarmSoc != null">
- BAT_ALARM_SOC,
- </if>
- <if test="aiPullBack != null">
- AI_PULL_BACK,
- </if>
- <if test="aiPass != null">
- AI_PASS,
- </if>
- <if test="aiSinglePass != null">
- AI_SINGLE_PASS,
- </if>
- <if test="cpuVersion != null">
- CPU_VERSION,
- </if>
- <if test="tongxunVersion != null">
- TONGXUN_VERSION,
- </if>
- <if test="tianxianType != null">
- TIANXIAN_TYPE,
- </if>
- <if test="tongxunWay != null">
- TONGXUN_WAY,
- </if>
- <if test="networkRegTimeout != null">
- NETWORK_REG_TIMEOUT,
- </if>
- <if test="pwmHz != null">
- PWM_HZ,
- </if>
- <if test="pwmDuty != null">
- PWM_DUTY,
- </if>
- <if test="flashBrightMin != null">
- FLASH_BRIGHT_MIN,
- </if>
- <if test="flashBrightMax != null">
- FLASH_BRIGHT_MAX,
- </if>
- <if test="setupYear != null">
- SETUP_YEAR,
- </if>
- <if test="upWholeImgWeekRule != null">
- UP_WHOLE_IMG_WEEK_RULE,
- </if>
- <if test="ip1ExpandOn != null">
- IP1_EXPAND_ON,
- </if>
- <if test="createMan != null">
- CREATE_MAN,
- </if>
- <if test="createTime != null">
- CREATE_TIME,
- </if>
- <if test="finishedFlag != null">
- FINISHED_FLAG,
- </if>
- <if test="finishedTime != null">
- FINISHED_TIME,
- </if>
- <if test="meterFontStyle != null">
- METER_FONT_STYLE,
- </if>
- <if test="systemReviewFlag != null">
- SYSTEM_REVIEW_FLAG,
- </if>
- <if test="deviceType != null">
- DEVICE_TYPE,
- </if>
- <if test="pgRangeMin != null">
- PG_RANGE_MIN,
- </if>
- <if test="pgRangeMax != null">
- PG_RANGE_MAX,
- </if>
- <if test="pgPrecisionType != null">
- PG_PRECISION_TYPE,
- </if>
- <if test="pgCorrectvalue != null">
- PG_CORRECTVALUE,
- </if>
- <if test="pgManualConfig != null">
- PG_MANUAL_CONFIG,
- </if>
- <if test="pgIsDebug != null">
- PG_IS_DEBUG,
- </if>
- <if test="pgInitTargetRegion != null">
- PG_INIT_TARGET_REGION,
- </if>
- <if test="isprintcomlog != null">
- ISPRINTCOMLOG,
- </if>
- <if test="isresetwdt != null">
- ISRESETWDT,
- </if>
- <if test="isresetbat != null">
- ISRESETBAT,
- </if>
- <if test="isrestmcu != null">
- ISRESTMCU,
- </if>
- <if test="wiTaskManwakeupFlag != null">
- WI_TASK_MANWAKEUP_FLAG,
- </if>
- <if test="wiTaskMonthFlag != null">
- WI_TASK_MONTH_FLAG,
- </if>
- <if test="wiTaskSpecdateFlag != null">
- WI_TASK_SPECDATE_FLAG,
- </if>
- <if test="logUploadRules != null">
- LOG_UPLOAD_RULES,
- </if>
- <if test="uploadLastFailLogFlag != null">
- UPLOAD_LAST_FAIL_LOG_FLAG,
- </if>
- <if test="logTaskManwakeupFlag != null">
- LOG_TASK_MANWAKEUP_FLAG,
- </if>
- <if test="batchFlag != null">
- BATCH_FLAG,
- </if>
- <if test="pgManualConfigLevel != null">
- PG_MANUAL_CONFIG_LEVEL,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="id != null">
- #{id,jdbcType=INTEGER},
- </if>
- <if test="taskId != null">
- #{taskId,jdbcType=VARCHAR},
- </if>
- <if test="deviceSn != null">
- #{deviceSn,jdbcType=VARCHAR},
- </if>
- <if test="stationCode != null">
- #{stationCode,jdbcType=VARCHAR},
- </if>
- <if test="lastVal != null">
- #{lastVal,jdbcType=DOUBLE},
- </if>
- <if test="ip1Port1 != null">
- #{ip1Port1,jdbcType=VARCHAR},
- </if>
- <if test="ip2Port2 != null">
- #{ip2Port2,jdbcType=VARCHAR},
- </if>
- <if test="ip3Port3 != null">
- #{ip3Port3,jdbcType=VARCHAR},
- </if>
- <if test="ip4Port4 != null">
- #{ip4Port4,jdbcType=VARCHAR},
- </if>
- <if test="domainNamePort != null">
- #{domainNamePort,jdbcType=VARCHAR},
- </if>
- <if test="dnType != null">
- #{dnType,jdbcType=INTEGER},
- </if>
- <if test="digitNum != null">
- #{digitNum,jdbcType=INTEGER},
- </if>
- <if test="uintType != null">
- #{uintType,jdbcType=INTEGER},
- </if>
- <if test="setupDir != null">
- #{setupDir,jdbcType=CHAR},
- </if>
- <if test="sampleInterval != null">
- #{sampleInterval,jdbcType=INTEGER},
- </if>
- <if test="wheelNum != null">
- #{wheelNum,jdbcType=INTEGER},
- </if>
- <if test="upInterval != null">
- #{upInterval,jdbcType=INTEGER},
- </if>
- <if test="ltSampleInterval != null">
- #{ltSampleInterval,jdbcType=INTEGER},
- </if>
- <if test="workLt != null">
- #{workLt,jdbcType=INTEGER},
- </if>
- <if test="workHt != null">
- #{workHt,jdbcType=INTEGER},
- </if>
- <if test="batAlarmVt != null">
- #{batAlarmVt,jdbcType=DECIMAL},
- </if>
- <if test="batAlarmSoc != null">
- #{batAlarmSoc,jdbcType=INTEGER},
- </if>
- <if test="aiPullBack != null">
- #{aiPullBack,jdbcType=INTEGER},
- </if>
- <if test="aiPass != null">
- #{aiPass,jdbcType=INTEGER},
- </if>
- <if test="aiSinglePass != null">
- #{aiSinglePass,jdbcType=INTEGER},
- </if>
- <if test="cpuVersion != null">
- #{cpuVersion,jdbcType=VARCHAR},
- </if>
- <if test="tongxunVersion != null">
- #{tongxunVersion,jdbcType=VARCHAR},
- </if>
- <if test="tianxianType != null">
- #{tianxianType,jdbcType=CHAR},
- </if>
- <if test="tongxunWay != null">
- #{tongxunWay,jdbcType=CHAR},
- </if>
- <if test="networkRegTimeout != null">
- #{networkRegTimeout,jdbcType=INTEGER},
- </if>
- <if test="pwmHz != null">
- #{pwmHz,jdbcType=INTEGER},
- </if>
- <if test="pwmDuty != null">
- #{pwmDuty,jdbcType=INTEGER},
- </if>
- <if test="flashBrightMin != null">
- #{flashBrightMin,jdbcType=INTEGER},
- </if>
- <if test="flashBrightMax != null">
- #{flashBrightMax,jdbcType=INTEGER},
- </if>
- <if test="setupYear != null">
- #{setupYear,jdbcType=VARCHAR},
- </if>
- <if test="upWholeImgWeekRule != null">
- #{upWholeImgWeekRule,jdbcType=VARCHAR},
- </if>
- <if test="ip1ExpandOn != null">
- #{ip1ExpandOn,jdbcType=CHAR},
- </if>
- <if test="createMan != null">
- #{createMan,jdbcType=VARCHAR},
- </if>
- <if test="createTime != null">
- #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="finishedFlag != null">
- #{finishedFlag,jdbcType=CHAR},
- </if>
- <if test="finishedTime != null">
- #{finishedTime,jdbcType=TIMESTAMP},
- </if>
- <if test="meterFontStyle != null">
- #{meterFontStyle,jdbcType=CHAR},
- </if>
- <if test="systemReviewFlag != null">
- #{systemReviewFlag,jdbcType=CHAR},
- </if>
- <if test="deviceType != null">
- #{deviceType,jdbcType=CHAR},
- </if>
- <if test="pgRangeMin != null">
- #{pgRangeMin,jdbcType=DECIMAL},
- </if>
- <if test="pgRangeMax != null">
- #{pgRangeMax,jdbcType=DECIMAL},
- </if>
- <if test="pgPrecisionType != null">
- #{pgPrecisionType,jdbcType=INTEGER},
- </if>
- <if test="pgCorrectvalue != null">
- #{pgCorrectvalue,jdbcType=DECIMAL},
- </if>
- <if test="pgManualConfig != null">
- #{pgManualConfig,jdbcType=VARCHAR},
- </if>
- <if test="pgIsDebug != null">
- #{pgIsDebug,jdbcType=CHAR},
- </if>
- <if test="pgInitTargetRegion != null">
- #{pgInitTargetRegion,jdbcType=CHAR},
- </if>
- <if test="isprintcomlog != null">
- #{isprintcomlog,jdbcType=CHAR},
- </if>
- <if test="isresetwdt != null">
- #{isresetwdt,jdbcType=CHAR},
- </if>
- <if test="isresetbat != null">
- #{isresetbat,jdbcType=CHAR},
- </if>
- <if test="isrestmcu != null">
- #{isrestmcu,jdbcType=CHAR},
- </if>
- <if test="wiTaskManwakeupFlag != null">
- #{wiTaskManwakeupFlag,jdbcType=CHAR},
- </if>
- <if test="wiTaskMonthFlag != null">
- #{wiTaskMonthFlag,jdbcType=CHAR},
- </if>
- <if test="wiTaskSpecdateFlag != null">
- #{wiTaskSpecdateFlag,jdbcType=VARCHAR},
- </if>
- <if test="logUploadRules != null">
- #{logUploadRules,jdbcType=VARCHAR},
- </if>
- <if test="uploadLastFailLogFlag != null">
- #{uploadLastFailLogFlag,jdbcType=CHAR},
- </if>
- <if test="logTaskManwakeupFlag != null">
- #{logTaskManwakeupFlag,jdbcType=CHAR},
- </if>
- <if test="batchFlag != null">
- #{batchFlag,jdbcType=CHAR},
- </if>
- <if test="pgManualConfigLevel != null">
- #{pgManualConfigLevel,jdbcType=CHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.mvc.entity.TaskRemoteCfgExample" resultType="java.lang.Long">
- select count(*) from task_remote_cfg
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update task_remote_cfg
- <set>
- <if test="record.id != null">
- ID = #{record.id,jdbcType=INTEGER},
- </if>
- <if test="record.taskId != null">
- TASK_ID = #{record.taskId,jdbcType=VARCHAR},
- </if>
- <if test="record.deviceSn != null">
- DEVICE_SN = #{record.deviceSn,jdbcType=VARCHAR},
- </if>
- <if test="record.stationCode != null">
- STATION_CODE = #{record.stationCode,jdbcType=VARCHAR},
- </if>
- <if test="record.lastVal != null">
- LAST_VAL = #{record.lastVal,jdbcType=DOUBLE},
- </if>
- <if test="record.ip1Port1 != null">
- IP1_PORT1 = #{record.ip1Port1,jdbcType=VARCHAR},
- </if>
- <if test="record.ip2Port2 != null">
- IP2_PORT2 = #{record.ip2Port2,jdbcType=VARCHAR},
- </if>
- <if test="record.ip3Port3 != null">
- IP3_PORT3 = #{record.ip3Port3,jdbcType=VARCHAR},
- </if>
- <if test="record.ip4Port4 != null">
- IP4_PORT4 = #{record.ip4Port4,jdbcType=VARCHAR},
- </if>
- <if test="record.domainNamePort != null">
- DOMAIN_NAME_PORT = #{record.domainNamePort,jdbcType=VARCHAR},
- </if>
- <if test="record.dnType != null">
- DN_TYPE = #{record.dnType,jdbcType=INTEGER},
- </if>
- <if test="record.digitNum != null">
- DIGIT_NUM = #{record.digitNum,jdbcType=INTEGER},
- </if>
- <if test="record.uintType != null">
- UINT_TYPE = #{record.uintType,jdbcType=INTEGER},
- </if>
- <if test="record.setupDir != null">
- SETUP_DIR = #{record.setupDir,jdbcType=CHAR},
- </if>
- <if test="record.sampleInterval != null">
- SAMPLE_INTERVAL = #{record.sampleInterval,jdbcType=INTEGER},
- </if>
- <if test="record.wheelNum != null">
- WHEEL_NUM = #{record.wheelNum,jdbcType=INTEGER},
- </if>
- <if test="record.upInterval != null">
- UP_INTERVAL = #{record.upInterval,jdbcType=INTEGER},
- </if>
- <if test="record.ltSampleInterval != null">
- LT_SAMPLE_INTERVAL = #{record.ltSampleInterval,jdbcType=INTEGER},
- </if>
- <if test="record.workLt != null">
- WORK_LT = #{record.workLt,jdbcType=INTEGER},
- </if>
- <if test="record.workHt != null">
- WORK_HT = #{record.workHt,jdbcType=INTEGER},
- </if>
- <if test="record.batAlarmVt != null">
- BAT_ALARM_VT = #{record.batAlarmVt,jdbcType=DECIMAL},
- </if>
- <if test="record.batAlarmSoc != null">
- BAT_ALARM_SOC = #{record.batAlarmSoc,jdbcType=INTEGER},
- </if>
- <if test="record.aiPullBack != null">
- AI_PULL_BACK = #{record.aiPullBack,jdbcType=INTEGER},
- </if>
- <if test="record.aiPass != null">
- AI_PASS = #{record.aiPass,jdbcType=INTEGER},
- </if>
- <if test="record.aiSinglePass != null">
- AI_SINGLE_PASS = #{record.aiSinglePass,jdbcType=INTEGER},
- </if>
- <if test="record.cpuVersion != null">
- CPU_VERSION = #{record.cpuVersion,jdbcType=VARCHAR},
- </if>
- <if test="record.tongxunVersion != null">
- TONGXUN_VERSION = #{record.tongxunVersion,jdbcType=VARCHAR},
- </if>
- <if test="record.tianxianType != null">
- TIANXIAN_TYPE = #{record.tianxianType,jdbcType=CHAR},
- </if>
- <if test="record.tongxunWay != null">
- TONGXUN_WAY = #{record.tongxunWay,jdbcType=CHAR},
- </if>
- <if test="record.networkRegTimeout != null">
- NETWORK_REG_TIMEOUT = #{record.networkRegTimeout,jdbcType=INTEGER},
- </if>
- <if test="record.pwmHz != null">
- PWM_HZ = #{record.pwmHz,jdbcType=INTEGER},
- </if>
- <if test="record.pwmDuty != null">
- PWM_DUTY = #{record.pwmDuty,jdbcType=INTEGER},
- </if>
- <if test="record.flashBrightMin != null">
- FLASH_BRIGHT_MIN = #{record.flashBrightMin,jdbcType=INTEGER},
- </if>
- <if test="record.flashBrightMax != null">
- FLASH_BRIGHT_MAX = #{record.flashBrightMax,jdbcType=INTEGER},
- </if>
- <if test="record.setupYear != null">
- SETUP_YEAR = #{record.setupYear,jdbcType=VARCHAR},
- </if>
- <if test="record.upWholeImgWeekRule != null">
- UP_WHOLE_IMG_WEEK_RULE = #{record.upWholeImgWeekRule,jdbcType=VARCHAR},
- </if>
- <if test="record.ip1ExpandOn != null">
- IP1_EXPAND_ON = #{record.ip1ExpandOn,jdbcType=CHAR},
- </if>
- <if test="record.createMan != null">
- CREATE_MAN = #{record.createMan,jdbcType=VARCHAR},
- </if>
- <if test="record.createTime != null">
- CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.finishedFlag != null">
- FINISHED_FLAG = #{record.finishedFlag,jdbcType=CHAR},
- </if>
- <if test="record.finishedTime != null">
- FINISHED_TIME = #{record.finishedTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.meterFontStyle != null">
- METER_FONT_STYLE = #{record.meterFontStyle,jdbcType=CHAR},
- </if>
- <if test="record.systemReviewFlag != null">
- SYSTEM_REVIEW_FLAG = #{record.systemReviewFlag,jdbcType=CHAR},
- </if>
- <if test="record.deviceType != null">
- DEVICE_TYPE = #{record.deviceType,jdbcType=CHAR},
- </if>
- <if test="record.pgRangeMin != null">
- PG_RANGE_MIN = #{record.pgRangeMin,jdbcType=DECIMAL},
- </if>
- <if test="record.pgRangeMax != null">
- PG_RANGE_MAX = #{record.pgRangeMax,jdbcType=DECIMAL},
- </if>
- <if test="record.pgPrecisionType != null">
- PG_PRECISION_TYPE = #{record.pgPrecisionType,jdbcType=INTEGER},
- </if>
- <if test="record.pgCorrectvalue != null">
- PG_CORRECTVALUE = #{record.pgCorrectvalue,jdbcType=DECIMAL},
- </if>
- <if test="record.pgManualConfig != null">
- PG_MANUAL_CONFIG = #{record.pgManualConfig,jdbcType=VARCHAR},
- </if>
- <if test="record.pgIsDebug != null">
- PG_IS_DEBUG = #{record.pgIsDebug,jdbcType=CHAR},
- </if>
- <if test="record.pgInitTargetRegion != null">
- PG_INIT_TARGET_REGION = #{record.pgInitTargetRegion,jdbcType=CHAR},
- </if>
- <if test="record.isprintcomlog != null">
- ISPRINTCOMLOG = #{record.isprintcomlog,jdbcType=CHAR},
- </if>
- <if test="record.isresetwdt != null">
- ISRESETWDT = #{record.isresetwdt,jdbcType=CHAR},
- </if>
- <if test="record.isresetbat != null">
- ISRESETBAT = #{record.isresetbat,jdbcType=CHAR},
- </if>
- <if test="record.isrestmcu != null">
- ISRESTMCU = #{record.isrestmcu,jdbcType=CHAR},
- </if>
- <if test="record.wiTaskManwakeupFlag != null">
- WI_TASK_MANWAKEUP_FLAG = #{record.wiTaskManwakeupFlag,jdbcType=CHAR},
- </if>
- <if test="record.wiTaskMonthFlag != null">
- WI_TASK_MONTH_FLAG = #{record.wiTaskMonthFlag,jdbcType=CHAR},
- </if>
- <if test="record.wiTaskSpecdateFlag != null">
- WI_TASK_SPECDATE_FLAG = #{record.wiTaskSpecdateFlag,jdbcType=VARCHAR},
- </if>
- <if test="record.logUploadRules != null">
- LOG_UPLOAD_RULES = #{record.logUploadRules,jdbcType=VARCHAR},
- </if>
- <if test="record.uploadLastFailLogFlag != null">
- UPLOAD_LAST_FAIL_LOG_FLAG = #{record.uploadLastFailLogFlag,jdbcType=CHAR},
- </if>
- <if test="record.logTaskManwakeupFlag != null">
- LOG_TASK_MANWAKEUP_FLAG = #{record.logTaskManwakeupFlag,jdbcType=CHAR},
- </if>
- <if test="record.batchFlag != null">
- BATCH_FLAG = #{record.batchFlag,jdbcType=CHAR},
- </if>
- <if test="record.pgManualConfigLevel != null">
- PG_MANUAL_CONFIG_LEVEL = #{record.pgManualConfigLevel,jdbcType=CHAR},
- </if>
- </set>
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map">
- update task_remote_cfg
- set ID = #{record.id,jdbcType=INTEGER},
- TASK_ID = #{record.taskId,jdbcType=VARCHAR},
- DEVICE_SN = #{record.deviceSn,jdbcType=VARCHAR},
- STATION_CODE = #{record.stationCode,jdbcType=VARCHAR},
- LAST_VAL = #{record.lastVal,jdbcType=DOUBLE},
- IP1_PORT1 = #{record.ip1Port1,jdbcType=VARCHAR},
- IP2_PORT2 = #{record.ip2Port2,jdbcType=VARCHAR},
- IP3_PORT3 = #{record.ip3Port3,jdbcType=VARCHAR},
- IP4_PORT4 = #{record.ip4Port4,jdbcType=VARCHAR},
- DOMAIN_NAME_PORT = #{record.domainNamePort,jdbcType=VARCHAR},
- DN_TYPE = #{record.dnType,jdbcType=INTEGER},
- DIGIT_NUM = #{record.digitNum,jdbcType=INTEGER},
- UINT_TYPE = #{record.uintType,jdbcType=INTEGER},
- SETUP_DIR = #{record.setupDir,jdbcType=CHAR},
- SAMPLE_INTERVAL = #{record.sampleInterval,jdbcType=INTEGER},
- WHEEL_NUM = #{record.wheelNum,jdbcType=INTEGER},
- UP_INTERVAL = #{record.upInterval,jdbcType=INTEGER},
- LT_SAMPLE_INTERVAL = #{record.ltSampleInterval,jdbcType=INTEGER},
- WORK_LT = #{record.workLt,jdbcType=INTEGER},
- WORK_HT = #{record.workHt,jdbcType=INTEGER},
- BAT_ALARM_VT = #{record.batAlarmVt,jdbcType=DECIMAL},
- BAT_ALARM_SOC = #{record.batAlarmSoc,jdbcType=INTEGER},
- AI_PULL_BACK = #{record.aiPullBack,jdbcType=INTEGER},
- AI_PASS = #{record.aiPass,jdbcType=INTEGER},
- AI_SINGLE_PASS = #{record.aiSinglePass,jdbcType=INTEGER},
- CPU_VERSION = #{record.cpuVersion,jdbcType=VARCHAR},
- TONGXUN_VERSION = #{record.tongxunVersion,jdbcType=VARCHAR},
- TIANXIAN_TYPE = #{record.tianxianType,jdbcType=CHAR},
- TONGXUN_WAY = #{record.tongxunWay,jdbcType=CHAR},
- NETWORK_REG_TIMEOUT = #{record.networkRegTimeout,jdbcType=INTEGER},
- PWM_HZ = #{record.pwmHz,jdbcType=INTEGER},
- PWM_DUTY = #{record.pwmDuty,jdbcType=INTEGER},
- FLASH_BRIGHT_MIN = #{record.flashBrightMin,jdbcType=INTEGER},
- FLASH_BRIGHT_MAX = #{record.flashBrightMax,jdbcType=INTEGER},
- SETUP_YEAR = #{record.setupYear,jdbcType=VARCHAR},
- UP_WHOLE_IMG_WEEK_RULE = #{record.upWholeImgWeekRule,jdbcType=VARCHAR},
- IP1_EXPAND_ON = #{record.ip1ExpandOn,jdbcType=CHAR},
- CREATE_MAN = #{record.createMan,jdbcType=VARCHAR},
- CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
- FINISHED_FLAG = #{record.finishedFlag,jdbcType=CHAR},
- FINISHED_TIME = #{record.finishedTime,jdbcType=TIMESTAMP},
- METER_FONT_STYLE = #{record.meterFontStyle,jdbcType=CHAR},
- SYSTEM_REVIEW_FLAG = #{record.systemReviewFlag,jdbcType=CHAR},
- DEVICE_TYPE = #{record.deviceType,jdbcType=CHAR},
- PG_RANGE_MIN = #{record.pgRangeMin,jdbcType=DECIMAL},
- PG_RANGE_MAX = #{record.pgRangeMax,jdbcType=DECIMAL},
- PG_PRECISION_TYPE = #{record.pgPrecisionType,jdbcType=INTEGER},
- PG_CORRECTVALUE = #{record.pgCorrectvalue,jdbcType=DECIMAL},
- PG_MANUAL_CONFIG = #{record.pgManualConfig,jdbcType=VARCHAR},
- PG_IS_DEBUG = #{record.pgIsDebug,jdbcType=CHAR},
- PG_INIT_TARGET_REGION = #{record.pgInitTargetRegion,jdbcType=CHAR},
- ISPRINTCOMLOG = #{record.isprintcomlog,jdbcType=CHAR},
- ISRESETWDT = #{record.isresetwdt,jdbcType=CHAR},
- ISRESETBAT = #{record.isresetbat,jdbcType=CHAR},
- ISRESTMCU = #{record.isrestmcu,jdbcType=CHAR},
- WI_TASK_MANWAKEUP_FLAG = #{record.wiTaskManwakeupFlag,jdbcType=CHAR},
- WI_TASK_MONTH_FLAG = #{record.wiTaskMonthFlag,jdbcType=CHAR},
- WI_TASK_SPECDATE_FLAG = #{record.wiTaskSpecdateFlag,jdbcType=VARCHAR},
- LOG_UPLOAD_RULES = #{record.logUploadRules,jdbcType=VARCHAR},
- UPLOAD_LAST_FAIL_LOG_FLAG = #{record.uploadLastFailLogFlag,jdbcType=CHAR},
- LOG_TASK_MANWAKEUP_FLAG = #{record.logTaskManwakeupFlag,jdbcType=CHAR},
- BATCH_FLAG = #{record.batchFlag,jdbcType=CHAR},
- PG_MANUAL_CONFIG_LEVEL = #{record.pgManualConfigLevel,jdbcType=CHAR}
- <if test="_parameter != null">
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.mvc.entity.TaskRemoteCfg">
- update task_remote_cfg
- <set>
- <if test="taskId != null">
- TASK_ID = #{taskId,jdbcType=VARCHAR},
- </if>
- <if test="deviceSn != null">
- DEVICE_SN = #{deviceSn,jdbcType=VARCHAR},
- </if>
- <if test="stationCode != null">
- STATION_CODE = #{stationCode,jdbcType=VARCHAR},
- </if>
- <if test="lastVal != null">
- LAST_VAL = #{lastVal,jdbcType=DOUBLE},
- </if>
- <if test="ip1Port1 != null">
- IP1_PORT1 = #{ip1Port1,jdbcType=VARCHAR},
- </if>
- <if test="ip2Port2 != null">
- IP2_PORT2 = #{ip2Port2,jdbcType=VARCHAR},
- </if>
- <if test="ip3Port3 != null">
- IP3_PORT3 = #{ip3Port3,jdbcType=VARCHAR},
- </if>
- <if test="ip4Port4 != null">
- IP4_PORT4 = #{ip4Port4,jdbcType=VARCHAR},
- </if>
- <if test="domainNamePort != null">
- DOMAIN_NAME_PORT = #{domainNamePort,jdbcType=VARCHAR},
- </if>
- <if test="dnType != null">
- DN_TYPE = #{dnType,jdbcType=INTEGER},
- </if>
- <if test="digitNum != null">
- DIGIT_NUM = #{digitNum,jdbcType=INTEGER},
- </if>
- <if test="uintType != null">
- UINT_TYPE = #{uintType,jdbcType=INTEGER},
- </if>
- <if test="setupDir != null">
- SETUP_DIR = #{setupDir,jdbcType=CHAR},
- </if>
- <if test="sampleInterval != null">
- SAMPLE_INTERVAL = #{sampleInterval,jdbcType=INTEGER},
- </if>
- <if test="wheelNum != null">
- WHEEL_NUM = #{wheelNum,jdbcType=INTEGER},
- </if>
- <if test="upInterval != null">
- UP_INTERVAL = #{upInterval,jdbcType=INTEGER},
- </if>
- <if test="ltSampleInterval != null">
- LT_SAMPLE_INTERVAL = #{ltSampleInterval,jdbcType=INTEGER},
- </if>
- <if test="workLt != null">
- WORK_LT = #{workLt,jdbcType=INTEGER},
- </if>
- <if test="workHt != null">
- WORK_HT = #{workHt,jdbcType=INTEGER},
- </if>
- <if test="batAlarmVt != null">
- BAT_ALARM_VT = #{batAlarmVt,jdbcType=DECIMAL},
- </if>
- <if test="batAlarmSoc != null">
- BAT_ALARM_SOC = #{batAlarmSoc,jdbcType=INTEGER},
- </if>
- <if test="aiPullBack != null">
- AI_PULL_BACK = #{aiPullBack,jdbcType=INTEGER},
- </if>
- <if test="aiPass != null">
- AI_PASS = #{aiPass,jdbcType=INTEGER},
- </if>
- <if test="aiSinglePass != null">
- AI_SINGLE_PASS = #{aiSinglePass,jdbcType=INTEGER},
- </if>
- <if test="cpuVersion != null">
- CPU_VERSION = #{cpuVersion,jdbcType=VARCHAR},
- </if>
- <if test="tongxunVersion != null">
- TONGXUN_VERSION = #{tongxunVersion,jdbcType=VARCHAR},
- </if>
- <if test="tianxianType != null">
- TIANXIAN_TYPE = #{tianxianType,jdbcType=CHAR},
- </if>
- <if test="tongxunWay != null">
- TONGXUN_WAY = #{tongxunWay,jdbcType=CHAR},
- </if>
- <if test="networkRegTimeout != null">
- NETWORK_REG_TIMEOUT = #{networkRegTimeout,jdbcType=INTEGER},
- </if>
- <if test="pwmHz != null">
- PWM_HZ = #{pwmHz,jdbcType=INTEGER},
- </if>
- <if test="pwmDuty != null">
- PWM_DUTY = #{pwmDuty,jdbcType=INTEGER},
- </if>
- <if test="flashBrightMin != null">
- FLASH_BRIGHT_MIN = #{flashBrightMin,jdbcType=INTEGER},
- </if>
- <if test="flashBrightMax != null">
- FLASH_BRIGHT_MAX = #{flashBrightMax,jdbcType=INTEGER},
- </if>
- <if test="setupYear != null">
- SETUP_YEAR = #{setupYear,jdbcType=VARCHAR},
- </if>
- <if test="upWholeImgWeekRule != null">
- UP_WHOLE_IMG_WEEK_RULE = #{upWholeImgWeekRule,jdbcType=VARCHAR},
- </if>
- <if test="ip1ExpandOn != null">
- IP1_EXPAND_ON = #{ip1ExpandOn,jdbcType=CHAR},
- </if>
- <if test="createMan != null">
- CREATE_MAN = #{createMan,jdbcType=VARCHAR},
- </if>
- <if test="createTime != null">
- CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="finishedFlag != null">
- FINISHED_FLAG = #{finishedFlag,jdbcType=CHAR},
- </if>
- <if test="finishedTime != null">
- FINISHED_TIME = #{finishedTime,jdbcType=TIMESTAMP},
- </if>
- <if test="meterFontStyle != null">
- METER_FONT_STYLE = #{meterFontStyle,jdbcType=CHAR},
- </if>
- <if test="systemReviewFlag != null">
- SYSTEM_REVIEW_FLAG = #{systemReviewFlag,jdbcType=CHAR},
- </if>
- <if test="deviceType != null">
- DEVICE_TYPE = #{deviceType,jdbcType=CHAR},
- </if>
- <if test="pgRangeMin != null">
- PG_RANGE_MIN = #{pgRangeMin,jdbcType=DECIMAL},
- </if>
- <if test="pgRangeMax != null">
- PG_RANGE_MAX = #{pgRangeMax,jdbcType=DECIMAL},
- </if>
- <if test="pgPrecisionType != null">
- PG_PRECISION_TYPE = #{pgPrecisionType,jdbcType=INTEGER},
- </if>
- <if test="pgCorrectvalue != null">
- PG_CORRECTVALUE = #{pgCorrectvalue,jdbcType=DECIMAL},
- </if>
- <if test="pgManualConfig != null">
- PG_MANUAL_CONFIG = #{pgManualConfig,jdbcType=VARCHAR},
- </if>
- <if test="pgIsDebug != null">
- PG_IS_DEBUG = #{pgIsDebug,jdbcType=CHAR},
- </if>
- <if test="pgInitTargetRegion != null">
- PG_INIT_TARGET_REGION = #{pgInitTargetRegion,jdbcType=CHAR},
- </if>
- <if test="isprintcomlog != null">
- ISPRINTCOMLOG = #{isprintcomlog,jdbcType=CHAR},
- </if>
- <if test="isresetwdt != null">
- ISRESETWDT = #{isresetwdt,jdbcType=CHAR},
- </if>
- <if test="isresetbat != null">
- ISRESETBAT = #{isresetbat,jdbcType=CHAR},
- </if>
- <if test="isrestmcu != null">
- ISRESTMCU = #{isrestmcu,jdbcType=CHAR},
- </if>
- <if test="wiTaskManwakeupFlag != null">
- WI_TASK_MANWAKEUP_FLAG = #{wiTaskManwakeupFlag,jdbcType=CHAR},
- </if>
- <if test="wiTaskMonthFlag != null">
- WI_TASK_MONTH_FLAG = #{wiTaskMonthFlag,jdbcType=CHAR},
- </if>
- <if test="wiTaskSpecdateFlag != null">
- WI_TASK_SPECDATE_FLAG = #{wiTaskSpecdateFlag,jdbcType=VARCHAR},
- </if>
- <if test="logUploadRules != null">
- LOG_UPLOAD_RULES = #{logUploadRules,jdbcType=VARCHAR},
- </if>
- <if test="uploadLastFailLogFlag != null">
- UPLOAD_LAST_FAIL_LOG_FLAG = #{uploadLastFailLogFlag,jdbcType=CHAR},
- </if>
- <if test="logTaskManwakeupFlag != null">
- LOG_TASK_MANWAKEUP_FLAG = #{logTaskManwakeupFlag,jdbcType=CHAR},
- </if>
- <if test="batchFlag != null">
- BATCH_FLAG = #{batchFlag,jdbcType=CHAR},
- </if>
- <if test="pgManualConfigLevel != null">
- PG_MANUAL_CONFIG_LEVEL = #{pgManualConfigLevel,jdbcType=CHAR},
- </if>
- </set>
- where ID = #{id,jdbcType=INTEGER}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.mvc.entity.TaskRemoteCfg">
- update task_remote_cfg
- set TASK_ID = #{taskId,jdbcType=VARCHAR},
- DEVICE_SN = #{deviceSn,jdbcType=VARCHAR},
- STATION_CODE = #{stationCode,jdbcType=VARCHAR},
- LAST_VAL = #{lastVal,jdbcType=DOUBLE},
- IP1_PORT1 = #{ip1Port1,jdbcType=VARCHAR},
- IP2_PORT2 = #{ip2Port2,jdbcType=VARCHAR},
- IP3_PORT3 = #{ip3Port3,jdbcType=VARCHAR},
- IP4_PORT4 = #{ip4Port4,jdbcType=VARCHAR},
- DOMAIN_NAME_PORT = #{domainNamePort,jdbcType=VARCHAR},
- DN_TYPE = #{dnType,jdbcType=INTEGER},
- DIGIT_NUM = #{digitNum,jdbcType=INTEGER},
- UINT_TYPE = #{uintType,jdbcType=INTEGER},
- SETUP_DIR = #{setupDir,jdbcType=CHAR},
- SAMPLE_INTERVAL = #{sampleInterval,jdbcType=INTEGER},
- WHEEL_NUM = #{wheelNum,jdbcType=INTEGER},
- UP_INTERVAL = #{upInterval,jdbcType=INTEGER},
- LT_SAMPLE_INTERVAL = #{ltSampleInterval,jdbcType=INTEGER},
- WORK_LT = #{workLt,jdbcType=INTEGER},
- WORK_HT = #{workHt,jdbcType=INTEGER},
- BAT_ALARM_VT = #{batAlarmVt,jdbcType=DECIMAL},
- BAT_ALARM_SOC = #{batAlarmSoc,jdbcType=INTEGER},
- AI_PULL_BACK = #{aiPullBack,jdbcType=INTEGER},
- AI_PASS = #{aiPass,jdbcType=INTEGER},
- AI_SINGLE_PASS = #{aiSinglePass,jdbcType=INTEGER},
- CPU_VERSION = #{cpuVersion,jdbcType=VARCHAR},
- TONGXUN_VERSION = #{tongxunVersion,jdbcType=VARCHAR},
- TIANXIAN_TYPE = #{tianxianType,jdbcType=CHAR},
- TONGXUN_WAY = #{tongxunWay,jdbcType=CHAR},
- NETWORK_REG_TIMEOUT = #{networkRegTimeout,jdbcType=INTEGER},
- PWM_HZ = #{pwmHz,jdbcType=INTEGER},
- PWM_DUTY = #{pwmDuty,jdbcType=INTEGER},
- FLASH_BRIGHT_MIN = #{flashBrightMin,jdbcType=INTEGER},
- FLASH_BRIGHT_MAX = #{flashBrightMax,jdbcType=INTEGER},
- SETUP_YEAR = #{setupYear,jdbcType=VARCHAR},
- UP_WHOLE_IMG_WEEK_RULE = #{upWholeImgWeekRule,jdbcType=VARCHAR},
- IP1_EXPAND_ON = #{ip1ExpandOn,jdbcType=CHAR},
- CREATE_MAN = #{createMan,jdbcType=VARCHAR},
- CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
- FINISHED_FLAG = #{finishedFlag,jdbcType=CHAR},
- FINISHED_TIME = #{finishedTime,jdbcType=TIMESTAMP},
- METER_FONT_STYLE = #{meterFontStyle,jdbcType=CHAR},
- SYSTEM_REVIEW_FLAG = #{systemReviewFlag,jdbcType=CHAR},
- DEVICE_TYPE = #{deviceType,jdbcType=CHAR},
- PG_RANGE_MIN = #{pgRangeMin,jdbcType=DECIMAL},
- PG_RANGE_MAX = #{pgRangeMax,jdbcType=DECIMAL},
- PG_PRECISION_TYPE = #{pgPrecisionType,jdbcType=INTEGER},
- PG_CORRECTVALUE = #{pgCorrectvalue,jdbcType=DECIMAL},
- PG_MANUAL_CONFIG = #{pgManualConfig,jdbcType=VARCHAR},
- PG_IS_DEBUG = #{pgIsDebug,jdbcType=CHAR},
- PG_INIT_TARGET_REGION = #{pgInitTargetRegion,jdbcType=CHAR},
- ISPRINTCOMLOG = #{isprintcomlog,jdbcType=CHAR},
- ISRESETWDT = #{isresetwdt,jdbcType=CHAR},
- ISRESETBAT = #{isresetbat,jdbcType=CHAR},
- ISRESTMCU = #{isrestmcu,jdbcType=CHAR},
- WI_TASK_MANWAKEUP_FLAG = #{wiTaskManwakeupFlag,jdbcType=CHAR},
- WI_TASK_MONTH_FLAG = #{wiTaskMonthFlag,jdbcType=CHAR},
- WI_TASK_SPECDATE_FLAG = #{wiTaskSpecdateFlag,jdbcType=VARCHAR},
- LOG_UPLOAD_RULES = #{logUploadRules,jdbcType=VARCHAR},
- UPLOAD_LAST_FAIL_LOG_FLAG = #{uploadLastFailLogFlag,jdbcType=CHAR},
- LOG_TASK_MANWAKEUP_FLAG = #{logTaskManwakeupFlag,jdbcType=CHAR},
- BATCH_FLAG = #{batchFlag,jdbcType=CHAR},
- PG_MANUAL_CONFIG_LEVEL = #{pgManualConfigLevel,jdbcType=CHAR}
- where ID = #{id,jdbcType=INTEGER}
- </update>
- </mapper>
|