12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289 |
- <?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.TAicbqCfgMapper">
- <resultMap id="BaseResultMap" type="com.mvc.entity.TAicbqCfg">
- <id column="ID" jdbcType="INTEGER" property="id" />
- <result column="CFG_ID" jdbcType="VARCHAR" property="cfgId" />
- <result column="DEVICE_SN" jdbcType="VARCHAR" property="deviceSn" />
- <result column="STATION_CODE" jdbcType="VARCHAR" property="stationCode" />
- <result column="LAST_VAL" jdbcType="INTEGER" property="lastVal" />
- <result column="SERVER_IP1" jdbcType="VARCHAR" property="serverIp1" />
- <result column="SERVER_PORT1" jdbcType="INTEGER" property="serverPort1" />
- <result column="SERVER_IP2" jdbcType="VARCHAR" property="serverIp2" />
- <result column="SERVER_PORT2" jdbcType="INTEGER" property="serverPort2" />
- <result column="SERVER_IP3" jdbcType="VARCHAR" property="serverIp3" />
- <result column="SERVER_PORT3" jdbcType="INTEGER" property="serverPort3" />
- <result column="SERVER_IP4" jdbcType="VARCHAR" property="serverIp4" />
- <result column="SERVER_PORT4" jdbcType="INTEGER" property="serverPort4" />
- <result column="DOMAIN_NAME" jdbcType="VARCHAR" property="domainName" />
- <result column="DOMAIN_PORT" jdbcType="INTEGER" property="domainPort" />
- <result column="DN_TYPE" jdbcType="INTEGER" property="dnType" />
- <result column="DIGIT_NUM" jdbcType="INTEGER" property="digitNum" />
- <result column="WHEEL_NUM" jdbcType="INTEGER" property="wheelNum" />
- <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="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_WEEK1" jdbcType="CHAR" property="upWholeImgWeek1" />
- <result column="UP_WHOLE_IMG_WEEK2" jdbcType="CHAR" property="upWholeImgWeek2" />
- <result column="UP_WHOLE_IMG_WEEK3" jdbcType="CHAR" property="upWholeImgWeek3" />
- <result column="UP_WHOLE_IMG_WEEK4" jdbcType="CHAR" property="upWholeImgWeek4" />
- <result column="UP_WHOLE_IMG_WEEK5" jdbcType="CHAR" property="upWholeImgWeek5" />
- <result column="UP_WHOLE_IMG_WEEK6" jdbcType="CHAR" property="upWholeImgWeek6" />
- <result column="UP_WHOLE_IMG_WEEK7" jdbcType="CHAR" property="upWholeImgWeek7" />
- <result column="IP1_EXPAND_ON" jdbcType="CHAR" property="ip1ExpandOn" />
- <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
- <result column="DATA_FROM" jdbcType="VARCHAR" property="dataFrom" />
- <result column="TASK_DOWN_ID" jdbcType="VARCHAR" property="taskDownId" />
- <result column="INVALID_TIME" jdbcType="TIMESTAMP" property="invalidTime" />
- <result column="USE_FLAG" jdbcType="CHAR" property="useFlag" />
- <result column="METER_FONT_STYLE" jdbcType="CHAR" property="meterFontStyle" />
- <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="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, CFG_ID, DEVICE_SN, STATION_CODE, LAST_VAL, SERVER_IP1, SERVER_PORT1, SERVER_IP2,
- SERVER_PORT2, SERVER_IP3, SERVER_PORT3, SERVER_IP4, SERVER_PORT4, DOMAIN_NAME, DOMAIN_PORT,
- DN_TYPE, DIGIT_NUM, WHEEL_NUM, UINT_TYPE, SETUP_DIR, SAMPLE_INTERVAL, 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_WEEK1, UP_WHOLE_IMG_WEEK2, UP_WHOLE_IMG_WEEK3, UP_WHOLE_IMG_WEEK4, UP_WHOLE_IMG_WEEK5,
- UP_WHOLE_IMG_WEEK6, UP_WHOLE_IMG_WEEK7, IP1_EXPAND_ON, CREATE_TIME, DATA_FROM, TASK_DOWN_ID,
- INVALID_TIME, USE_FLAG, METER_FONT_STYLE, 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,
- PG_MANUAL_CONFIG_LEVEL
- </sql>
- <select id="selectByExample" parameterType="com.mvc.entity.TAicbqCfgExample" resultMap="BaseResultMap">
- select
- <if test="distinct">
- distinct
- </if>
- <include refid="Base_Column_List" />
- from t_aicbq_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 t_aicbq_cfg
- where ID = #{id,jdbcType=INTEGER}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
- delete from t_aicbq_cfg
- where ID = #{id,jdbcType=INTEGER}
- </delete>
- <delete id="deleteByExample" parameterType="com.mvc.entity.TAicbqCfgExample">
- delete from t_aicbq_cfg
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="com.mvc.entity.TAicbqCfg">
- insert into t_aicbq_cfg (ID, CFG_ID, DEVICE_SN,
- STATION_CODE, LAST_VAL, SERVER_IP1,
- SERVER_PORT1, SERVER_IP2, SERVER_PORT2,
- SERVER_IP3, SERVER_PORT3, SERVER_IP4,
- SERVER_PORT4, DOMAIN_NAME, DOMAIN_PORT,
- DN_TYPE, DIGIT_NUM, WHEEL_NUM,
- UINT_TYPE, SETUP_DIR, SAMPLE_INTERVAL,
- 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_WEEK1, UP_WHOLE_IMG_WEEK2,
- UP_WHOLE_IMG_WEEK3, UP_WHOLE_IMG_WEEK4, UP_WHOLE_IMG_WEEK5,
- UP_WHOLE_IMG_WEEK6, UP_WHOLE_IMG_WEEK7, IP1_EXPAND_ON,
- CREATE_TIME, DATA_FROM, TASK_DOWN_ID,
- INVALID_TIME, USE_FLAG, METER_FONT_STYLE,
- 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,
- PG_MANUAL_CONFIG_LEVEL)
- values (#{id,jdbcType=INTEGER}, #{cfgId,jdbcType=VARCHAR}, #{deviceSn,jdbcType=VARCHAR},
- #{stationCode,jdbcType=VARCHAR}, #{lastVal,jdbcType=INTEGER}, #{serverIp1,jdbcType=VARCHAR},
- #{serverPort1,jdbcType=INTEGER}, #{serverIp2,jdbcType=VARCHAR}, #{serverPort2,jdbcType=INTEGER},
- #{serverIp3,jdbcType=VARCHAR}, #{serverPort3,jdbcType=INTEGER}, #{serverIp4,jdbcType=VARCHAR},
- #{serverPort4,jdbcType=INTEGER}, #{domainName,jdbcType=VARCHAR}, #{domainPort,jdbcType=INTEGER},
- #{dnType,jdbcType=INTEGER}, #{digitNum,jdbcType=INTEGER}, #{wheelNum,jdbcType=INTEGER},
- #{uintType,jdbcType=INTEGER}, #{setupDir,jdbcType=CHAR}, #{sampleInterval,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}, #{upWholeImgWeek1,jdbcType=CHAR}, #{upWholeImgWeek2,jdbcType=CHAR},
- #{upWholeImgWeek3,jdbcType=CHAR}, #{upWholeImgWeek4,jdbcType=CHAR}, #{upWholeImgWeek5,jdbcType=CHAR},
- #{upWholeImgWeek6,jdbcType=CHAR}, #{upWholeImgWeek7,jdbcType=CHAR}, #{ip1ExpandOn,jdbcType=CHAR},
- #{createTime,jdbcType=TIMESTAMP}, #{dataFrom,jdbcType=VARCHAR}, #{taskDownId,jdbcType=VARCHAR},
- #{invalidTime,jdbcType=TIMESTAMP}, #{useFlag,jdbcType=CHAR}, #{meterFontStyle,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},
- #{pgManualConfigLevel,jdbcType=CHAR})
- </insert>
- <insert id="insertSelective" parameterType="com.mvc.entity.TAicbqCfg">
- insert into t_aicbq_cfg
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="id != null">
- ID,
- </if>
- <if test="cfgId != null">
- CFG_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="serverIp1 != null">
- SERVER_IP1,
- </if>
- <if test="serverPort1 != null">
- SERVER_PORT1,
- </if>
- <if test="serverIp2 != null">
- SERVER_IP2,
- </if>
- <if test="serverPort2 != null">
- SERVER_PORT2,
- </if>
- <if test="serverIp3 != null">
- SERVER_IP3,
- </if>
- <if test="serverPort3 != null">
- SERVER_PORT3,
- </if>
- <if test="serverIp4 != null">
- SERVER_IP4,
- </if>
- <if test="serverPort4 != null">
- SERVER_PORT4,
- </if>
- <if test="domainName != null">
- DOMAIN_NAME,
- </if>
- <if test="domainPort != null">
- DOMAIN_PORT,
- </if>
- <if test="dnType != null">
- DN_TYPE,
- </if>
- <if test="digitNum != null">
- DIGIT_NUM,
- </if>
- <if test="wheelNum != null">
- WHEEL_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="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="upWholeImgWeek1 != null">
- UP_WHOLE_IMG_WEEK1,
- </if>
- <if test="upWholeImgWeek2 != null">
- UP_WHOLE_IMG_WEEK2,
- </if>
- <if test="upWholeImgWeek3 != null">
- UP_WHOLE_IMG_WEEK3,
- </if>
- <if test="upWholeImgWeek4 != null">
- UP_WHOLE_IMG_WEEK4,
- </if>
- <if test="upWholeImgWeek5 != null">
- UP_WHOLE_IMG_WEEK5,
- </if>
- <if test="upWholeImgWeek6 != null">
- UP_WHOLE_IMG_WEEK6,
- </if>
- <if test="upWholeImgWeek7 != null">
- UP_WHOLE_IMG_WEEK7,
- </if>
- <if test="ip1ExpandOn != null">
- IP1_EXPAND_ON,
- </if>
- <if test="createTime != null">
- CREATE_TIME,
- </if>
- <if test="dataFrom != null">
- DATA_FROM,
- </if>
- <if test="taskDownId != null">
- TASK_DOWN_ID,
- </if>
- <if test="invalidTime != null">
- INVALID_TIME,
- </if>
- <if test="useFlag != null">
- USE_FLAG,
- </if>
- <if test="meterFontStyle != null">
- METER_FONT_STYLE,
- </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="pgManualConfigLevel != null">
- PG_MANUAL_CONFIG_LEVEL,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="id != null">
- #{id,jdbcType=INTEGER},
- </if>
- <if test="cfgId != null">
- #{cfgId,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=INTEGER},
- </if>
- <if test="serverIp1 != null">
- #{serverIp1,jdbcType=VARCHAR},
- </if>
- <if test="serverPort1 != null">
- #{serverPort1,jdbcType=INTEGER},
- </if>
- <if test="serverIp2 != null">
- #{serverIp2,jdbcType=VARCHAR},
- </if>
- <if test="serverPort2 != null">
- #{serverPort2,jdbcType=INTEGER},
- </if>
- <if test="serverIp3 != null">
- #{serverIp3,jdbcType=VARCHAR},
- </if>
- <if test="serverPort3 != null">
- #{serverPort3,jdbcType=INTEGER},
- </if>
- <if test="serverIp4 != null">
- #{serverIp4,jdbcType=VARCHAR},
- </if>
- <if test="serverPort4 != null">
- #{serverPort4,jdbcType=INTEGER},
- </if>
- <if test="domainName != null">
- #{domainName,jdbcType=VARCHAR},
- </if>
- <if test="domainPort != null">
- #{domainPort,jdbcType=INTEGER},
- </if>
- <if test="dnType != null">
- #{dnType,jdbcType=INTEGER},
- </if>
- <if test="digitNum != null">
- #{digitNum,jdbcType=INTEGER},
- </if>
- <if test="wheelNum != null">
- #{wheelNum,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="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="upWholeImgWeek1 != null">
- #{upWholeImgWeek1,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek2 != null">
- #{upWholeImgWeek2,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek3 != null">
- #{upWholeImgWeek3,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek4 != null">
- #{upWholeImgWeek4,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek5 != null">
- #{upWholeImgWeek5,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek6 != null">
- #{upWholeImgWeek6,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek7 != null">
- #{upWholeImgWeek7,jdbcType=CHAR},
- </if>
- <if test="ip1ExpandOn != null">
- #{ip1ExpandOn,jdbcType=CHAR},
- </if>
- <if test="createTime != null">
- #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="dataFrom != null">
- #{dataFrom,jdbcType=VARCHAR},
- </if>
- <if test="taskDownId != null">
- #{taskDownId,jdbcType=VARCHAR},
- </if>
- <if test="invalidTime != null">
- #{invalidTime,jdbcType=TIMESTAMP},
- </if>
- <if test="useFlag != null">
- #{useFlag,jdbcType=CHAR},
- </if>
- <if test="meterFontStyle != null">
- #{meterFontStyle,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="pgManualConfigLevel != null">
- #{pgManualConfigLevel,jdbcType=CHAR},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="com.mvc.entity.TAicbqCfgExample" resultType="java.lang.Long">
- select count(*) from t_aicbq_cfg
- <if test="_parameter != null">
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map">
- update t_aicbq_cfg
- <set>
- <if test="record.id != null">
- ID = #{record.id,jdbcType=INTEGER},
- </if>
- <if test="record.cfgId != null">
- CFG_ID = #{record.cfgId,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=INTEGER},
- </if>
- <if test="record.serverIp1 != null">
- SERVER_IP1 = #{record.serverIp1,jdbcType=VARCHAR},
- </if>
- <if test="record.serverPort1 != null">
- SERVER_PORT1 = #{record.serverPort1,jdbcType=INTEGER},
- </if>
- <if test="record.serverIp2 != null">
- SERVER_IP2 = #{record.serverIp2,jdbcType=VARCHAR},
- </if>
- <if test="record.serverPort2 != null">
- SERVER_PORT2 = #{record.serverPort2,jdbcType=INTEGER},
- </if>
- <if test="record.serverIp3 != null">
- SERVER_IP3 = #{record.serverIp3,jdbcType=VARCHAR},
- </if>
- <if test="record.serverPort3 != null">
- SERVER_PORT3 = #{record.serverPort3,jdbcType=INTEGER},
- </if>
- <if test="record.serverIp4 != null">
- SERVER_IP4 = #{record.serverIp4,jdbcType=VARCHAR},
- </if>
- <if test="record.serverPort4 != null">
- SERVER_PORT4 = #{record.serverPort4,jdbcType=INTEGER},
- </if>
- <if test="record.domainName != null">
- DOMAIN_NAME = #{record.domainName,jdbcType=VARCHAR},
- </if>
- <if test="record.domainPort != null">
- DOMAIN_PORT = #{record.domainPort,jdbcType=INTEGER},
- </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.wheelNum != null">
- WHEEL_NUM = #{record.wheelNum,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.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.upWholeImgWeek1 != null">
- UP_WHOLE_IMG_WEEK1 = #{record.upWholeImgWeek1,jdbcType=CHAR},
- </if>
- <if test="record.upWholeImgWeek2 != null">
- UP_WHOLE_IMG_WEEK2 = #{record.upWholeImgWeek2,jdbcType=CHAR},
- </if>
- <if test="record.upWholeImgWeek3 != null">
- UP_WHOLE_IMG_WEEK3 = #{record.upWholeImgWeek3,jdbcType=CHAR},
- </if>
- <if test="record.upWholeImgWeek4 != null">
- UP_WHOLE_IMG_WEEK4 = #{record.upWholeImgWeek4,jdbcType=CHAR},
- </if>
- <if test="record.upWholeImgWeek5 != null">
- UP_WHOLE_IMG_WEEK5 = #{record.upWholeImgWeek5,jdbcType=CHAR},
- </if>
- <if test="record.upWholeImgWeek6 != null">
- UP_WHOLE_IMG_WEEK6 = #{record.upWholeImgWeek6,jdbcType=CHAR},
- </if>
- <if test="record.upWholeImgWeek7 != null">
- UP_WHOLE_IMG_WEEK7 = #{record.upWholeImgWeek7,jdbcType=CHAR},
- </if>
- <if test="record.ip1ExpandOn != null">
- IP1_EXPAND_ON = #{record.ip1ExpandOn,jdbcType=CHAR},
- </if>
- <if test="record.createTime != null">
- CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.dataFrom != null">
- DATA_FROM = #{record.dataFrom,jdbcType=VARCHAR},
- </if>
- <if test="record.taskDownId != null">
- TASK_DOWN_ID = #{record.taskDownId,jdbcType=VARCHAR},
- </if>
- <if test="record.invalidTime != null">
- INVALID_TIME = #{record.invalidTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.useFlag != null">
- USE_FLAG = #{record.useFlag,jdbcType=CHAR},
- </if>
- <if test="record.meterFontStyle != null">
- METER_FONT_STYLE = #{record.meterFontStyle,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.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 t_aicbq_cfg
- set ID = #{record.id,jdbcType=INTEGER},
- CFG_ID = #{record.cfgId,jdbcType=VARCHAR},
- DEVICE_SN = #{record.deviceSn,jdbcType=VARCHAR},
- STATION_CODE = #{record.stationCode,jdbcType=VARCHAR},
- LAST_VAL = #{record.lastVal,jdbcType=INTEGER},
- SERVER_IP1 = #{record.serverIp1,jdbcType=VARCHAR},
- SERVER_PORT1 = #{record.serverPort1,jdbcType=INTEGER},
- SERVER_IP2 = #{record.serverIp2,jdbcType=VARCHAR},
- SERVER_PORT2 = #{record.serverPort2,jdbcType=INTEGER},
- SERVER_IP3 = #{record.serverIp3,jdbcType=VARCHAR},
- SERVER_PORT3 = #{record.serverPort3,jdbcType=INTEGER},
- SERVER_IP4 = #{record.serverIp4,jdbcType=VARCHAR},
- SERVER_PORT4 = #{record.serverPort4,jdbcType=INTEGER},
- DOMAIN_NAME = #{record.domainName,jdbcType=VARCHAR},
- DOMAIN_PORT = #{record.domainPort,jdbcType=INTEGER},
- DN_TYPE = #{record.dnType,jdbcType=INTEGER},
- DIGIT_NUM = #{record.digitNum,jdbcType=INTEGER},
- WHEEL_NUM = #{record.wheelNum,jdbcType=INTEGER},
- UINT_TYPE = #{record.uintType,jdbcType=INTEGER},
- SETUP_DIR = #{record.setupDir,jdbcType=CHAR},
- SAMPLE_INTERVAL = #{record.sampleInterval,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_WEEK1 = #{record.upWholeImgWeek1,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK2 = #{record.upWholeImgWeek2,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK3 = #{record.upWholeImgWeek3,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK4 = #{record.upWholeImgWeek4,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK5 = #{record.upWholeImgWeek5,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK6 = #{record.upWholeImgWeek6,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK7 = #{record.upWholeImgWeek7,jdbcType=CHAR},
- IP1_EXPAND_ON = #{record.ip1ExpandOn,jdbcType=CHAR},
- CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
- DATA_FROM = #{record.dataFrom,jdbcType=VARCHAR},
- TASK_DOWN_ID = #{record.taskDownId,jdbcType=VARCHAR},
- INVALID_TIME = #{record.invalidTime,jdbcType=TIMESTAMP},
- USE_FLAG = #{record.useFlag,jdbcType=CHAR},
- METER_FONT_STYLE = #{record.meterFontStyle,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},
- 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.TAicbqCfg">
- update t_aicbq_cfg
- <set>
- <if test="cfgId != null">
- CFG_ID = #{cfgId,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=INTEGER},
- </if>
- <if test="serverIp1 != null">
- SERVER_IP1 = #{serverIp1,jdbcType=VARCHAR},
- </if>
- <if test="serverPort1 != null">
- SERVER_PORT1 = #{serverPort1,jdbcType=INTEGER},
- </if>
- <if test="serverIp2 != null">
- SERVER_IP2 = #{serverIp2,jdbcType=VARCHAR},
- </if>
- <if test="serverPort2 != null">
- SERVER_PORT2 = #{serverPort2,jdbcType=INTEGER},
- </if>
- <if test="serverIp3 != null">
- SERVER_IP3 = #{serverIp3,jdbcType=VARCHAR},
- </if>
- <if test="serverPort3 != null">
- SERVER_PORT3 = #{serverPort3,jdbcType=INTEGER},
- </if>
- <if test="serverIp4 != null">
- SERVER_IP4 = #{serverIp4,jdbcType=VARCHAR},
- </if>
- <if test="serverPort4 != null">
- SERVER_PORT4 = #{serverPort4,jdbcType=INTEGER},
- </if>
- <if test="domainName != null">
- DOMAIN_NAME = #{domainName,jdbcType=VARCHAR},
- </if>
- <if test="domainPort != null">
- DOMAIN_PORT = #{domainPort,jdbcType=INTEGER},
- </if>
- <if test="dnType != null">
- DN_TYPE = #{dnType,jdbcType=INTEGER},
- </if>
- <if test="digitNum != null">
- DIGIT_NUM = #{digitNum,jdbcType=INTEGER},
- </if>
- <if test="wheelNum != null">
- WHEEL_NUM = #{wheelNum,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="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="upWholeImgWeek1 != null">
- UP_WHOLE_IMG_WEEK1 = #{upWholeImgWeek1,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek2 != null">
- UP_WHOLE_IMG_WEEK2 = #{upWholeImgWeek2,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek3 != null">
- UP_WHOLE_IMG_WEEK3 = #{upWholeImgWeek3,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek4 != null">
- UP_WHOLE_IMG_WEEK4 = #{upWholeImgWeek4,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek5 != null">
- UP_WHOLE_IMG_WEEK5 = #{upWholeImgWeek5,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek6 != null">
- UP_WHOLE_IMG_WEEK6 = #{upWholeImgWeek6,jdbcType=CHAR},
- </if>
- <if test="upWholeImgWeek7 != null">
- UP_WHOLE_IMG_WEEK7 = #{upWholeImgWeek7,jdbcType=CHAR},
- </if>
- <if test="ip1ExpandOn != null">
- IP1_EXPAND_ON = #{ip1ExpandOn,jdbcType=CHAR},
- </if>
- <if test="createTime != null">
- CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
- </if>
- <if test="dataFrom != null">
- DATA_FROM = #{dataFrom,jdbcType=VARCHAR},
- </if>
- <if test="taskDownId != null">
- TASK_DOWN_ID = #{taskDownId,jdbcType=VARCHAR},
- </if>
- <if test="invalidTime != null">
- INVALID_TIME = #{invalidTime,jdbcType=TIMESTAMP},
- </if>
- <if test="useFlag != null">
- USE_FLAG = #{useFlag,jdbcType=CHAR},
- </if>
- <if test="meterFontStyle != null">
- METER_FONT_STYLE = #{meterFontStyle,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="pgManualConfigLevel != null">
- PG_MANUAL_CONFIG_LEVEL = #{pgManualConfigLevel,jdbcType=CHAR},
- </if>
- </set>
- where ID = #{id,jdbcType=INTEGER}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.mvc.entity.TAicbqCfg">
- update t_aicbq_cfg
- set CFG_ID = #{cfgId,jdbcType=VARCHAR},
- DEVICE_SN = #{deviceSn,jdbcType=VARCHAR},
- STATION_CODE = #{stationCode,jdbcType=VARCHAR},
- LAST_VAL = #{lastVal,jdbcType=INTEGER},
- SERVER_IP1 = #{serverIp1,jdbcType=VARCHAR},
- SERVER_PORT1 = #{serverPort1,jdbcType=INTEGER},
- SERVER_IP2 = #{serverIp2,jdbcType=VARCHAR},
- SERVER_PORT2 = #{serverPort2,jdbcType=INTEGER},
- SERVER_IP3 = #{serverIp3,jdbcType=VARCHAR},
- SERVER_PORT3 = #{serverPort3,jdbcType=INTEGER},
- SERVER_IP4 = #{serverIp4,jdbcType=VARCHAR},
- SERVER_PORT4 = #{serverPort4,jdbcType=INTEGER},
- DOMAIN_NAME = #{domainName,jdbcType=VARCHAR},
- DOMAIN_PORT = #{domainPort,jdbcType=INTEGER},
- DN_TYPE = #{dnType,jdbcType=INTEGER},
- DIGIT_NUM = #{digitNum,jdbcType=INTEGER},
- WHEEL_NUM = #{wheelNum,jdbcType=INTEGER},
- UINT_TYPE = #{uintType,jdbcType=INTEGER},
- SETUP_DIR = #{setupDir,jdbcType=CHAR},
- SAMPLE_INTERVAL = #{sampleInterval,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_WEEK1 = #{upWholeImgWeek1,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK2 = #{upWholeImgWeek2,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK3 = #{upWholeImgWeek3,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK4 = #{upWholeImgWeek4,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK5 = #{upWholeImgWeek5,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK6 = #{upWholeImgWeek6,jdbcType=CHAR},
- UP_WHOLE_IMG_WEEK7 = #{upWholeImgWeek7,jdbcType=CHAR},
- IP1_EXPAND_ON = #{ip1ExpandOn,jdbcType=CHAR},
- CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
- DATA_FROM = #{dataFrom,jdbcType=VARCHAR},
- TASK_DOWN_ID = #{taskDownId,jdbcType=VARCHAR},
- INVALID_TIME = #{invalidTime,jdbcType=TIMESTAMP},
- USE_FLAG = #{useFlag,jdbcType=CHAR},
- METER_FONT_STYLE = #{meterFontStyle,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},
- PG_MANUAL_CONFIG_LEVEL = #{pgManualConfigLevel,jdbcType=CHAR}
- where ID = #{id,jdbcType=INTEGER}
- </update>
- </mapper>
|