12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427 |
- <?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="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNewMapper" >
- <resultMap id="BaseResultMap" type="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNew" >
- <id column="id" property="id" jdbcType="INTEGER" />
- <result column="house_id" property="houseId" jdbcType="INTEGER" />
- <result column="grain_id" property="grainId" jdbcType="INTEGER" />
- <result column="safe_date" property="safeDate" jdbcType="VARCHAR" />
- <result column="house_type" property="houseType" jdbcType="VARCHAR" />
- <result column="house_water" property="houseWater" jdbcType="VARCHAR" />
- <result column="house_temperature" property="houseTemperature" jdbcType="VARCHAR" />
- <result column="house_volume" property="houseVolume" jdbcType="REAL" />
- <result column="house_space" property="houseSpace" jdbcType="REAL" />
- <result column="type" property="type" jdbcType="VARCHAR" />
- <result column="number" property="number" jdbcType="INTEGER" />
- <result column="water" property="water" jdbcType="VARCHAR" />
- <result column="work_date" property="workDate" jdbcType="VARCHAR" />
- <result column="temperature" property="temperature" jdbcType="VARCHAR" />
- <result column="worm_type" property="wormType" jdbcType="VARCHAR" />
- <result column="sanqi_apply" property="sanqiApply" jdbcType="VARCHAR" />
- <result column="tonic_apply" property="tonicApply" jdbcType="VARCHAR" />
- <result column="work_apply" property="workApply" jdbcType="VARCHAR" />
- <result column="airtemperature" property="airtemperature" jdbcType="VARCHAR" />
- <result column="weather" property="weather" jdbcType="VARCHAR" />
- <result column="density_after" property="densityAfter" jdbcType="VARCHAR" />
- <result column="density" property="density" jdbcType="VARCHAR" />
- <result column="medicament" property="medicament" jdbcType="VARCHAR" />
- <result column="safe_method" property="safeMethod" jdbcType="VARCHAR" />
- <result column="safe_effect" property="safeEffect" jdbcType="VARCHAR" />
- <result column="section" property="section" jdbcType="VARCHAR" />
- <result column="safe_people" property="safePeople" jdbcType="VARCHAR" />
- <result column="safe_man" property="safeMan" jdbcType="VARCHAR" />
- <result column="work_people" property="workPeople" jdbcType="VARCHAR" />
- <result column="charge" property="charge" jdbcType="VARCHAR" />
- <result column="is_draft" property="isDraft" jdbcType="VARCHAR" />
- <result column="work_type" property="workType" jdbcType="VARCHAR" />
- <result column="aluminum_num" property="aluminumNum" jdbcType="VARCHAR" />
- <result column="aluminum_type" property="aluminumType" jdbcType="VARCHAR" />
- <result column="volume_num" property="volumeNum" jdbcType="INTEGER" />
- <result column="space_num" property="spaceNum" jdbcType="INTEGER" />
- <result column="total_num" property="totalNum" jdbcType="INTEGER" />
- <result column="is_air" property="isAir" jdbcType="VARCHAR" />
- <result column="is_close" property="isClose" jdbcType="VARCHAR" />
- <result column="is_air_safe" property="isAirSafe" jdbcType="VARCHAR" />
- <result column="is_detector" property="isDetector" jdbcType="VARCHAR" />
- <result column="is_alarm" property="isAlarm" jdbcType="VARCHAR" />
- <result column="is_oxygen" property="isOxygen" jdbcType="VARCHAR" />
- <result column="is_respirator" property="isRespirator" jdbcType="VARCHAR" />
- <result column="is_warning" property="isWarning" jdbcType="VARCHAR" />
- <result column="is_fire" property="isFire" jdbcType="VARCHAR" />
- <result column="is_kit" property="isKit" jdbcType="VARCHAR" />
- <result column="check_people" property="checkPeople" jdbcType="VARCHAR" />
- <result column="check_close" property="checkClose" jdbcType="VARCHAR" />
- <result column="check_warning" property="checkWarning" jdbcType="VARCHAR" />
- <result column="check_work" property="checkWork" jdbcType="VARCHAR" />
- <result column="tonic_date" property="tonicDate" jdbcType="VARCHAR" />
- <result column="tonic_approve" property="tonicApprove" jdbcType="VARCHAR" />
- <result column="tonic_app_user" property="tonicAppUser" jdbcType="VARCHAR" />
- <result column="is_close_confirm" property="isCloseConfirm" jdbcType="VARCHAR" />
- <result column="is_alarm_confirm" property="isAlarmConfirm" jdbcType="VARCHAR" />
- <result column="is_detector_confirm" property="isDetectorConfirm" jdbcType="VARCHAR" />
- <result column="is_kit_confirm" property="isKitConfirm" jdbcType="VARCHAR" />
- <result column="is_respirator_confirm" property="isRespiratorConfirm" jdbcType="VARCHAR" />
- <result column="is_fire_confirm" property="isFireConfirm" jdbcType="VARCHAR" />
- <result column="check_people_confirm" property="checkPeopleConfirm" jdbcType="VARCHAR" />
- <result column="sanqi_date" property="sanqiDate" jdbcType="VARCHAR" />
- <result column="sanqi_type" property="sanqiType" jdbcType="VARCHAR" />
- <result column="sanqi_approve_user" property="sanqiApproveUser" jdbcType="VARCHAR" />
- <result column="sanqi_bz" property="sanqiBz" jdbcType="VARCHAR" />
- <result column="phosphine_check" property="phosphineCheck" jdbcType="VARCHAR" />
- <result column="house_open" property="houseOpen" jdbcType="VARCHAR" />
- <result column="check_people_three" property="checkPeopleThree" jdbcType="VARCHAR" />
- <result column="sanqi_user" property="sanqiUser" jdbcType="VARCHAR" />
- <result column="medic_set" property="medicSet" jdbcType="VARCHAR" />
- <result column="density_rate" property="densityRate" jdbcType="VARCHAR" />
- <result column="close_day" property="closeDay" jdbcType="VARCHAR" />
- <result column="temperature_after" property="temperatureAfter" jdbcType="VARCHAR" />
- <result column="phosphine_remain" property="phosphineRemain" jdbcType="VARCHAR" />
- <result column="remark" property="remark" jdbcType="VARCHAR" />
- <result column="uuid" property="uuid" jdbcType="VARCHAR" />
- <result column="c_id" property="cId" jdbcType="INTEGER" />
- <result column="c_time" property="cTime" jdbcType="TIMESTAMP" />
- <result column="u_id" property="uId" jdbcType="INTEGER" />
- <result column="u_time" property="uTime" jdbcType="TIMESTAMP" />
- </resultMap>
- <sql id="Example_Where_Clause" >
- <where >
- <foreach collection="oredCriteria" item="criteria" separator="or" >
- <if test="criteria.valid" >
- <trim prefix="(" suffix=")" prefixOverrides="and" >
- <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 collection="criterion.value" item="listItem" open="(" close=")" 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="(" suffix=")" prefixOverrides="and" >
- <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 collection="criterion.value" item="listItem" open="(" close=")" separator="," >
- #{listItem}
- </foreach>
- </when>
- </choose>
- </foreach>
- </trim>
- </if>
- </foreach>
- </where>
- </sql>
- <sql id="Base_Column_List" >
- id, house_id, grain_id, safe_date, house_type, house_water, house_temperature, house_volume,
- house_space, type, number, water, work_time, work_date, temperature, worm_type, sanqi_apply,
- tonic_apply, work_apply, airtemperature, weather, density_after, density, medicament,
- safe_method, safe_effect, section, safe_people, safe_man, work_people, charge, is_draft,
- work_type, aluminum_num, aluminum_type, volume_num, space_num, total_num, is_air,
- is_close, is_air_safe, is_ detector, is_alarm, is_oxygen, is_respirator, is_warning,
- is_fire, is_kit, check_people, check_close, check_warning, check_work, tonic_date,
- tonic_time, tonic_approve, tonic_app_user, is_close_confirm, is_alarm_confirm, is_ detector_confirm,
- is_kit_confirm, is_respirator_confirm, is_fire_confirm, check_people_confirm, sanqi_date,
- sanqi_time, sanqi_type, sanqi_approve_user, sanqi_bz, phosphine_check, house_open,
- check_people_three, sanqi_user, medic_set, density_rate, close_day, temperature_after,
- phosphine_remain, remark, c_id, c_time, u_id, u_time
- </sql>
- <select id="selectByExample" resultMap="BaseResultMap" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNewExample" >
- select
- <if test="distinct" >
- distinct
- </if>
- <include refid="Base_Column_List" />
- from daily_record_fumigation_new
- <if test="_parameter != null" >
- <include refid="Example_Where_Clause" />
- </if>
- <if test="orderByClause != null" >
- order by ${orderByClause}
- </if>
- </select>
- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
- select
- <include refid="Base_Column_List" />
- from daily_record_fumigation_new
- where id = #{id,jdbcType=INTEGER}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
- delete from daily_record_fumigation_new
- where id = #{id,jdbcType=INTEGER}
- </delete>
- <delete id="deleteByExample" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNewExample" >
- delete from daily_record_fumigation_new
- <if test="_parameter != null" >
- <include refid="Example_Where_Clause" />
- </if>
- </delete>
- <insert id="insert" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNew" >
- insert into daily_record_fumigation_new (id, house_id, grain_id,
- safe_date, house_type, house_water,
- house_temperature, house_volume, house_space,
- type, number, water,
- work_time, work_date, temperature,
- worm_type, sanqi_apply, tonic_apply,
- work_apply, airtemperature, weather,
- density_after, density, medicament,
- safe_method, safe_effect, section,
- safe_people, safe_man, work_people,
- charge, is_draft, work_type,
- aluminum_num, aluminum_type, volume_num,
- space_num, total_num, is_air,
- is_close, is_air_safe, is_ detector,
- is_alarm, is_oxygen, is_respirator,
- is_warning, is_fire, is_kit,
- check_people, check_close, check_warning,
- check_work, tonic_date, tonic_time,
- tonic_approve, tonic_app_user, is_close_confirm,
- is_alarm_confirm, is_ detector_confirm, is_kit_confirm,
- is_respirator_confirm, is_fire_confirm, check_people_confirm,
- sanqi_date, sanqi_time, sanqi_type,
- sanqi_approve_user, sanqi_bz, phosphine_check,
- house_open, check_people_three, sanqi_user,
- medic_set, density_rate, close_day,
- temperature_after, phosphine_remain, remark,
- c_id, c_time, u_id,
- u_time)
- values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
- #{safeDate,jdbcType=VARCHAR}, #{houseType,jdbcType=VARCHAR}, #{houseWater,jdbcType=VARCHAR},
- #{houseTemperature,jdbcType=VARCHAR}, #{houseVolume,jdbcType=REAL}, #{houseSpace,jdbcType=REAL},
- #{type,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER}, #{water,jdbcType=VARCHAR},
- #{workTime,jdbcType=VARCHAR}, #{workDate,jdbcType=VARCHAR}, #{temperature,jdbcType=VARCHAR},
- #{wormType,jdbcType=VARCHAR}, #{sanqiApply,jdbcType=VARCHAR}, #{tonicApply,jdbcType=VARCHAR},
- #{workApply,jdbcType=VARCHAR}, #{airtemperature,jdbcType=VARCHAR}, #{weather,jdbcType=VARCHAR},
- #{densityAfter,jdbcType=VARCHAR}, #{density,jdbcType=VARCHAR}, #{medicament,jdbcType=VARCHAR},
- #{safeMethod,jdbcType=VARCHAR}, #{safeEffect,jdbcType=VARCHAR}, #{section,jdbcType=VARCHAR},
- #{safePeople,jdbcType=VARCHAR}, #{safeMan,jdbcType=VARCHAR}, #{workPeople,jdbcType=VARCHAR},
- #{charge,jdbcType=VARCHAR}, #{isDraft,jdbcType=VARCHAR}, #{workType,jdbcType=VARCHAR},
- #{aluminumNum,jdbcType=VARCHAR}, #{aluminumType,jdbcType=VARCHAR}, #{volumeNum,jdbcType=INTEGER},
- #{spaceNum,jdbcType=INTEGER}, #{totalNum,jdbcType=INTEGER}, #{isAir,jdbcType=VARCHAR},
- #{isClose,jdbcType=VARCHAR}, #{isAirSafe,jdbcType=VARCHAR}, #{isDetector,jdbcType=VARCHAR},
- #{isAlarm,jdbcType=VARCHAR}, #{isOxygen,jdbcType=VARCHAR}, #{isRespirator,jdbcType=VARCHAR},
- #{isWarning,jdbcType=VARCHAR}, #{isFire,jdbcType=VARCHAR}, #{isKit,jdbcType=VARCHAR},
- #{checkPeople,jdbcType=VARCHAR}, #{checkClose,jdbcType=VARCHAR}, #{checkWarning,jdbcType=VARCHAR},
- #{checkWork,jdbcType=VARCHAR}, #{tonicDate,jdbcType=VARCHAR}, #{tonicTime,jdbcType=VARCHAR},
- #{tonicApprove,jdbcType=VARCHAR}, #{tonicAppUser,jdbcType=VARCHAR}, #{isCloseConfirm,jdbcType=VARCHAR},
- #{isAlarmConfirm,jdbcType=VARCHAR}, #{isDetectorConfirm,jdbcType=VARCHAR}, #{isKitConfirm,jdbcType=VARCHAR},
- #{isRespiratorConfirm,jdbcType=VARCHAR}, #{isFireConfirm,jdbcType=VARCHAR}, #{checkPeopleConfirm,jdbcType=VARCHAR},
- #{sanqiDate,jdbcType=VARCHAR}, #{sanqiTime,jdbcType=VARCHAR}, #{sanqiType,jdbcType=VARCHAR},
- #{sanqiApproveUser,jdbcType=VARCHAR}, #{sanqiBz,jdbcType=VARCHAR}, #{phosphineCheck,jdbcType=VARCHAR},
- #{houseOpen,jdbcType=VARCHAR}, #{checkPeopleThree,jdbcType=VARCHAR}, #{sanqiUser,jdbcType=VARCHAR},
- #{medicSet,jdbcType=VARCHAR}, #{densityRate,jdbcType=VARCHAR}, #{closeDay,jdbcType=VARCHAR},
- #{temperatureAfter,jdbcType=VARCHAR}, #{phosphineRemain,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
- #{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP}, #{uId,jdbcType=INTEGER},
- #{uTime,jdbcType=TIMESTAMP})
- </insert>
- <insert id="insertSelective" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNew" >
- insert into daily_record_fumigation_new
- <trim prefix="(" suffix=")" suffixOverrides="," >
- <if test="id != null" >
- id,
- </if>
- <if test="houseId != null" >
- house_id,
- </if>
- <if test="grainId != null" >
- grain_id,
- </if>
- <if test="safeDate != null" >
- safe_date,
- </if>
- <if test="houseType != null" >
- house_type,
- </if>
- <if test="houseWater != null" >
- house_water,
- </if>
- <if test="houseTemperature != null" >
- house_temperature,
- </if>
- <if test="houseVolume != null" >
- house_volume,
- </if>
- <if test="houseSpace != null" >
- house_space,
- </if>
- <if test="type != null" >
- type,
- </if>
- <if test="number != null" >
- number,
- </if>
- <if test="water != null" >
- water,
- </if>
- <if test="workTime != null" >
- work_time,
- </if>
- <if test="workDate != null" >
- work_date,
- </if>
- <if test="temperature != null" >
- temperature,
- </if>
- <if test="wormType != null" >
- worm_type,
- </if>
- <if test="sanqiApply != null" >
- sanqi_apply,
- </if>
- <if test="tonicApply != null" >
- tonic_apply,
- </if>
- <if test="workApply != null" >
- work_apply,
- </if>
- <if test="airtemperature != null" >
- airtemperature,
- </if>
- <if test="weather != null" >
- weather,
- </if>
- <if test="densityAfter != null" >
- density_after,
- </if>
- <if test="density != null" >
- density,
- </if>
- <if test="medicament != null" >
- medicament,
- </if>
- <if test="safeMethod != null" >
- safe_method,
- </if>
- <if test="safeEffect != null" >
- safe_effect,
- </if>
- <if test="section != null" >
- section,
- </if>
- <if test="safePeople != null" >
- safe_people,
- </if>
- <if test="safeMan != null" >
- safe_man,
- </if>
- <if test="workPeople != null" >
- work_people,
- </if>
- <if test="charge != null" >
- charge,
- </if>
- <if test="isDraft != null" >
- is_draft,
- </if>
- <if test="workType != null" >
- work_type,
- </if>
- <if test="aluminumNum != null" >
- aluminum_num,
- </if>
- <if test="aluminumType != null" >
- aluminum_type,
- </if>
- <if test="volumeNum != null" >
- volume_num,
- </if>
- <if test="spaceNum != null" >
- space_num,
- </if>
- <if test="totalNum != null" >
- total_num,
- </if>
- <if test="isAir != null" >
- is_air,
- </if>
- <if test="isClose != null" >
- is_close,
- </if>
- <if test="isAirSafe != null" >
- is_air_safe,
- </if>
- <if test="isDetector != null" >
- is_ detector,
- </if>
- <if test="isAlarm != null" >
- is_alarm,
- </if>
- <if test="isOxygen != null" >
- is_oxygen,
- </if>
- <if test="isRespirator != null" >
- is_respirator,
- </if>
- <if test="isWarning != null" >
- is_warning,
- </if>
- <if test="isFire != null" >
- is_fire,
- </if>
- <if test="isKit != null" >
- is_kit,
- </if>
- <if test="checkPeople != null" >
- check_people,
- </if>
- <if test="checkClose != null" >
- check_close,
- </if>
- <if test="checkWarning != null" >
- check_warning,
- </if>
- <if test="checkWork != null" >
- check_work,
- </if>
- <if test="tonicDate != null" >
- tonic_date,
- </if>
- <if test="tonicTime != null" >
- tonic_time,
- </if>
- <if test="tonicApprove != null" >
- tonic_approve,
- </if>
- <if test="tonicAppUser != null" >
- tonic_app_user,
- </if>
- <if test="isCloseConfirm != null" >
- is_close_confirm,
- </if>
- <if test="isAlarmConfirm != null" >
- is_alarm_confirm,
- </if>
- <if test="isDetectorConfirm != null" >
- is_ detector_confirm,
- </if>
- <if test="isKitConfirm != null" >
- is_kit_confirm,
- </if>
- <if test="isRespiratorConfirm != null" >
- is_respirator_confirm,
- </if>
- <if test="isFireConfirm != null" >
- is_fire_confirm,
- </if>
- <if test="checkPeopleConfirm != null" >
- check_people_confirm,
- </if>
- <if test="sanqiDate != null" >
- sanqi_date,
- </if>
- <if test="sanqiTime != null" >
- sanqi_time,
- </if>
- <if test="sanqiType != null" >
- sanqi_type,
- </if>
- <if test="sanqiApproveUser != null" >
- sanqi_approve_user,
- </if>
- <if test="sanqiBz != null" >
- sanqi_bz,
- </if>
- <if test="phosphineCheck != null" >
- phosphine_check,
- </if>
- <if test="houseOpen != null" >
- house_open,
- </if>
- <if test="checkPeopleThree != null" >
- check_people_three,
- </if>
- <if test="sanqiUser != null" >
- sanqi_user,
- </if>
- <if test="medicSet != null" >
- medic_set,
- </if>
- <if test="densityRate != null" >
- density_rate,
- </if>
- <if test="closeDay != null" >
- close_day,
- </if>
- <if test="temperatureAfter != null" >
- temperature_after,
- </if>
- <if test="phosphineRemain != null" >
- phosphine_remain,
- </if>
- <if test="remark != null" >
- remark,
- </if>
- <if test="cId != null" >
- c_id,
- </if>
- <if test="cTime != null" >
- c_time,
- </if>
- <if test="uId != null" >
- u_id,
- </if>
- <if test="uTime != null" >
- u_time,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides="," >
- <if test="id != null" >
- #{id,jdbcType=INTEGER},
- </if>
- <if test="houseId != null" >
- #{houseId,jdbcType=INTEGER},
- </if>
- <if test="grainId != null" >
- #{grainId,jdbcType=INTEGER},
- </if>
- <if test="safeDate != null" >
- #{safeDate,jdbcType=VARCHAR},
- </if>
- <if test="houseType != null" >
- #{houseType,jdbcType=VARCHAR},
- </if>
- <if test="houseWater != null" >
- #{houseWater,jdbcType=VARCHAR},
- </if>
- <if test="houseTemperature != null" >
- #{houseTemperature,jdbcType=VARCHAR},
- </if>
- <if test="houseVolume != null" >
- #{houseVolume,jdbcType=REAL},
- </if>
- <if test="houseSpace != null" >
- #{houseSpace,jdbcType=REAL},
- </if>
- <if test="type != null" >
- #{type,jdbcType=VARCHAR},
- </if>
- <if test="number != null" >
- #{number,jdbcType=INTEGER},
- </if>
- <if test="water != null" >
- #{water,jdbcType=VARCHAR},
- </if>
- <if test="workTime != null" >
- #{workTime,jdbcType=VARCHAR},
- </if>
- <if test="workDate != null" >
- #{workDate,jdbcType=VARCHAR},
- </if>
- <if test="temperature != null" >
- #{temperature,jdbcType=VARCHAR},
- </if>
- <if test="wormType != null" >
- #{wormType,jdbcType=VARCHAR},
- </if>
- <if test="sanqiApply != null" >
- #{sanqiApply,jdbcType=VARCHAR},
- </if>
- <if test="tonicApply != null" >
- #{tonicApply,jdbcType=VARCHAR},
- </if>
- <if test="workApply != null" >
- #{workApply,jdbcType=VARCHAR},
- </if>
- <if test="airtemperature != null" >
- #{airtemperature,jdbcType=VARCHAR},
- </if>
- <if test="weather != null" >
- #{weather,jdbcType=VARCHAR},
- </if>
- <if test="densityAfter != null" >
- #{densityAfter,jdbcType=VARCHAR},
- </if>
- <if test="density != null" >
- #{density,jdbcType=VARCHAR},
- </if>
- <if test="medicament != null" >
- #{medicament,jdbcType=VARCHAR},
- </if>
- <if test="safeMethod != null" >
- #{safeMethod,jdbcType=VARCHAR},
- </if>
- <if test="safeEffect != null" >
- #{safeEffect,jdbcType=VARCHAR},
- </if>
- <if test="section != null" >
- #{section,jdbcType=VARCHAR},
- </if>
- <if test="safePeople != null" >
- #{safePeople,jdbcType=VARCHAR},
- </if>
- <if test="safeMan != null" >
- #{safeMan,jdbcType=VARCHAR},
- </if>
- <if test="workPeople != null" >
- #{workPeople,jdbcType=VARCHAR},
- </if>
- <if test="charge != null" >
- #{charge,jdbcType=VARCHAR},
- </if>
- <if test="isDraft != null" >
- #{isDraft,jdbcType=VARCHAR},
- </if>
- <if test="workType != null" >
- #{workType,jdbcType=VARCHAR},
- </if>
- <if test="aluminumNum != null" >
- #{aluminumNum,jdbcType=VARCHAR},
- </if>
- <if test="aluminumType != null" >
- #{aluminumType,jdbcType=VARCHAR},
- </if>
- <if test="volumeNum != null" >
- #{volumeNum,jdbcType=INTEGER},
- </if>
- <if test="spaceNum != null" >
- #{spaceNum,jdbcType=INTEGER},
- </if>
- <if test="totalNum != null" >
- #{totalNum,jdbcType=INTEGER},
- </if>
- <if test="isAir != null" >
- #{isAir,jdbcType=VARCHAR},
- </if>
- <if test="isClose != null" >
- #{isClose,jdbcType=VARCHAR},
- </if>
- <if test="isAirSafe != null" >
- #{isAirSafe,jdbcType=VARCHAR},
- </if>
- <if test="isDetector != null" >
- #{isDetector,jdbcType=VARCHAR},
- </if>
- <if test="isAlarm != null" >
- #{isAlarm,jdbcType=VARCHAR},
- </if>
- <if test="isOxygen != null" >
- #{isOxygen,jdbcType=VARCHAR},
- </if>
- <if test="isRespirator != null" >
- #{isRespirator,jdbcType=VARCHAR},
- </if>
- <if test="isWarning != null" >
- #{isWarning,jdbcType=VARCHAR},
- </if>
- <if test="isFire != null" >
- #{isFire,jdbcType=VARCHAR},
- </if>
- <if test="isKit != null" >
- #{isKit,jdbcType=VARCHAR},
- </if>
- <if test="checkPeople != null" >
- #{checkPeople,jdbcType=VARCHAR},
- </if>
- <if test="checkClose != null" >
- #{checkClose,jdbcType=VARCHAR},
- </if>
- <if test="checkWarning != null" >
- #{checkWarning,jdbcType=VARCHAR},
- </if>
- <if test="checkWork != null" >
- #{checkWork,jdbcType=VARCHAR},
- </if>
- <if test="tonicDate != null" >
- #{tonicDate,jdbcType=VARCHAR},
- </if>
- <if test="tonicTime != null" >
- #{tonicTime,jdbcType=VARCHAR},
- </if>
- <if test="tonicApprove != null" >
- #{tonicApprove,jdbcType=VARCHAR},
- </if>
- <if test="tonicAppUser != null" >
- #{tonicAppUser,jdbcType=VARCHAR},
- </if>
- <if test="isCloseConfirm != null" >
- #{isCloseConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isAlarmConfirm != null" >
- #{isAlarmConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isDetectorConfirm != null" >
- #{isDetectorConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isKitConfirm != null" >
- #{isKitConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isRespiratorConfirm != null" >
- #{isRespiratorConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isFireConfirm != null" >
- #{isFireConfirm,jdbcType=VARCHAR},
- </if>
- <if test="checkPeopleConfirm != null" >
- #{checkPeopleConfirm,jdbcType=VARCHAR},
- </if>
- <if test="sanqiDate != null" >
- #{sanqiDate,jdbcType=VARCHAR},
- </if>
- <if test="sanqiTime != null" >
- #{sanqiTime,jdbcType=VARCHAR},
- </if>
- <if test="sanqiType != null" >
- #{sanqiType,jdbcType=VARCHAR},
- </if>
- <if test="sanqiApproveUser != null" >
- #{sanqiApproveUser,jdbcType=VARCHAR},
- </if>
- <if test="sanqiBz != null" >
- #{sanqiBz,jdbcType=VARCHAR},
- </if>
- <if test="phosphineCheck != null" >
- #{phosphineCheck,jdbcType=VARCHAR},
- </if>
- <if test="houseOpen != null" >
- #{houseOpen,jdbcType=VARCHAR},
- </if>
- <if test="checkPeopleThree != null" >
- #{checkPeopleThree,jdbcType=VARCHAR},
- </if>
- <if test="sanqiUser != null" >
- #{sanqiUser,jdbcType=VARCHAR},
- </if>
- <if test="medicSet != null" >
- #{medicSet,jdbcType=VARCHAR},
- </if>
- <if test="densityRate != null" >
- #{densityRate,jdbcType=VARCHAR},
- </if>
- <if test="closeDay != null" >
- #{closeDay,jdbcType=VARCHAR},
- </if>
- <if test="temperatureAfter != null" >
- #{temperatureAfter,jdbcType=VARCHAR},
- </if>
- <if test="phosphineRemain != null" >
- #{phosphineRemain,jdbcType=VARCHAR},
- </if>
- <if test="remark != null" >
- #{remark,jdbcType=VARCHAR},
- </if>
- <if test="cId != null" >
- #{cId,jdbcType=INTEGER},
- </if>
- <if test="cTime != null" >
- #{cTime,jdbcType=TIMESTAMP},
- </if>
- <if test="uId != null" >
- #{uId,jdbcType=INTEGER},
- </if>
- <if test="uTime != null" >
- #{uTime,jdbcType=TIMESTAMP},
- </if>
- </trim>
- </insert>
- <select id="countByExample" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNewExample" resultType="java.lang.Integer" >
- select count(*) from daily_record_fumigation_new
- <if test="_parameter != null" >
- <include refid="Example_Where_Clause" />
- </if>
- </select>
- <update id="updateByExampleSelective" parameterType="map" >
- update daily_record_fumigation_new
- <set >
- <if test="record.id != null" >
- id = #{record.id,jdbcType=INTEGER},
- </if>
- <if test="record.houseId != null" >
- house_id = #{record.houseId,jdbcType=INTEGER},
- </if>
- <if test="record.grainId != null" >
- grain_id = #{record.grainId,jdbcType=INTEGER},
- </if>
- <if test="record.safeDate != null" >
- safe_date = #{record.safeDate,jdbcType=VARCHAR},
- </if>
- <if test="record.houseType != null" >
- house_type = #{record.houseType,jdbcType=VARCHAR},
- </if>
- <if test="record.houseWater != null" >
- house_water = #{record.houseWater,jdbcType=VARCHAR},
- </if>
- <if test="record.houseTemperature != null" >
- house_temperature = #{record.houseTemperature,jdbcType=VARCHAR},
- </if>
- <if test="record.houseVolume != null" >
- house_volume = #{record.houseVolume,jdbcType=REAL},
- </if>
- <if test="record.houseSpace != null" >
- house_space = #{record.houseSpace,jdbcType=REAL},
- </if>
- <if test="record.type != null" >
- type = #{record.type,jdbcType=VARCHAR},
- </if>
- <if test="record.number != null" >
- number = #{record.number,jdbcType=INTEGER},
- </if>
- <if test="record.water != null" >
- water = #{record.water,jdbcType=VARCHAR},
- </if>
- <if test="record.workTime != null" >
- work_time = #{record.workTime,jdbcType=VARCHAR},
- </if>
- <if test="record.workDate != null" >
- work_date = #{record.workDate,jdbcType=VARCHAR},
- </if>
- <if test="record.temperature != null" >
- temperature = #{record.temperature,jdbcType=VARCHAR},
- </if>
- <if test="record.wormType != null" >
- worm_type = #{record.wormType,jdbcType=VARCHAR},
- </if>
- <if test="record.sanqiApply != null" >
- sanqi_apply = #{record.sanqiApply,jdbcType=VARCHAR},
- </if>
- <if test="record.tonicApply != null" >
- tonic_apply = #{record.tonicApply,jdbcType=VARCHAR},
- </if>
- <if test="record.workApply != null" >
- work_apply = #{record.workApply,jdbcType=VARCHAR},
- </if>
- <if test="record.airtemperature != null" >
- airtemperature = #{record.airtemperature,jdbcType=VARCHAR},
- </if>
- <if test="record.weather != null" >
- weather = #{record.weather,jdbcType=VARCHAR},
- </if>
- <if test="record.densityAfter != null" >
- density_after = #{record.densityAfter,jdbcType=VARCHAR},
- </if>
- <if test="record.density != null" >
- density = #{record.density,jdbcType=VARCHAR},
- </if>
- <if test="record.medicament != null" >
- medicament = #{record.medicament,jdbcType=VARCHAR},
- </if>
- <if test="record.safeMethod != null" >
- safe_method = #{record.safeMethod,jdbcType=VARCHAR},
- </if>
- <if test="record.safeEffect != null" >
- safe_effect = #{record.safeEffect,jdbcType=VARCHAR},
- </if>
- <if test="record.section != null" >
- section = #{record.section,jdbcType=VARCHAR},
- </if>
- <if test="record.safePeople != null" >
- safe_people = #{record.safePeople,jdbcType=VARCHAR},
- </if>
- <if test="record.safeMan != null" >
- safe_man = #{record.safeMan,jdbcType=VARCHAR},
- </if>
- <if test="record.workPeople != null" >
- work_people = #{record.workPeople,jdbcType=VARCHAR},
- </if>
- <if test="record.charge != null" >
- charge = #{record.charge,jdbcType=VARCHAR},
- </if>
- <if test="record.isDraft != null" >
- is_draft = #{record.isDraft,jdbcType=VARCHAR},
- </if>
- <if test="record.workType != null" >
- work_type = #{record.workType,jdbcType=VARCHAR},
- </if>
- <if test="record.aluminumNum != null" >
- aluminum_num = #{record.aluminumNum,jdbcType=VARCHAR},
- </if>
- <if test="record.aluminumType != null" >
- aluminum_type = #{record.aluminumType,jdbcType=VARCHAR},
- </if>
- <if test="record.volumeNum != null" >
- volume_num = #{record.volumeNum,jdbcType=INTEGER},
- </if>
- <if test="record.spaceNum != null" >
- space_num = #{record.spaceNum,jdbcType=INTEGER},
- </if>
- <if test="record.totalNum != null" >
- total_num = #{record.totalNum,jdbcType=INTEGER},
- </if>
- <if test="record.isAir != null" >
- is_air = #{record.isAir,jdbcType=VARCHAR},
- </if>
- <if test="record.isClose != null" >
- is_close = #{record.isClose,jdbcType=VARCHAR},
- </if>
- <if test="record.isAirSafe != null" >
- is_air_safe = #{record.isAirSafe,jdbcType=VARCHAR},
- </if>
- <if test="record.isDetector != null" >
- is_ detector = #{record.isDetector,jdbcType=VARCHAR},
- </if>
- <if test="record.isAlarm != null" >
- is_alarm = #{record.isAlarm,jdbcType=VARCHAR},
- </if>
- <if test="record.isOxygen != null" >
- is_oxygen = #{record.isOxygen,jdbcType=VARCHAR},
- </if>
- <if test="record.isRespirator != null" >
- is_respirator = #{record.isRespirator,jdbcType=VARCHAR},
- </if>
- <if test="record.isWarning != null" >
- is_warning = #{record.isWarning,jdbcType=VARCHAR},
- </if>
- <if test="record.isFire != null" >
- is_fire = #{record.isFire,jdbcType=VARCHAR},
- </if>
- <if test="record.isKit != null" >
- is_kit = #{record.isKit,jdbcType=VARCHAR},
- </if>
- <if test="record.checkPeople != null" >
- check_people = #{record.checkPeople,jdbcType=VARCHAR},
- </if>
- <if test="record.checkClose != null" >
- check_close = #{record.checkClose,jdbcType=VARCHAR},
- </if>
- <if test="record.checkWarning != null" >
- check_warning = #{record.checkWarning,jdbcType=VARCHAR},
- </if>
- <if test="record.checkWork != null" >
- check_work = #{record.checkWork,jdbcType=VARCHAR},
- </if>
- <if test="record.tonicDate != null" >
- tonic_date = #{record.tonicDate,jdbcType=VARCHAR},
- </if>
- <if test="record.tonicTime != null" >
- tonic_time = #{record.tonicTime,jdbcType=VARCHAR},
- </if>
- <if test="record.tonicApprove != null" >
- tonic_approve = #{record.tonicApprove,jdbcType=VARCHAR},
- </if>
- <if test="record.tonicAppUser != null" >
- tonic_app_user = #{record.tonicAppUser,jdbcType=VARCHAR},
- </if>
- <if test="record.isCloseConfirm != null" >
- is_close_confirm = #{record.isCloseConfirm,jdbcType=VARCHAR},
- </if>
- <if test="record.isAlarmConfirm != null" >
- is_alarm_confirm = #{record.isAlarmConfirm,jdbcType=VARCHAR},
- </if>
- <if test="record.isDetectorConfirm != null" >
- is_ detector_confirm = #{record.isDetectorConfirm,jdbcType=VARCHAR},
- </if>
- <if test="record.isKitConfirm != null" >
- is_kit_confirm = #{record.isKitConfirm,jdbcType=VARCHAR},
- </if>
- <if test="record.isRespiratorConfirm != null" >
- is_respirator_confirm = #{record.isRespiratorConfirm,jdbcType=VARCHAR},
- </if>
- <if test="record.isFireConfirm != null" >
- is_fire_confirm = #{record.isFireConfirm,jdbcType=VARCHAR},
- </if>
- <if test="record.checkPeopleConfirm != null" >
- check_people_confirm = #{record.checkPeopleConfirm,jdbcType=VARCHAR},
- </if>
- <if test="record.sanqiDate != null" >
- sanqi_date = #{record.sanqiDate,jdbcType=VARCHAR},
- </if>
- <if test="record.sanqiTime != null" >
- sanqi_time = #{record.sanqiTime,jdbcType=VARCHAR},
- </if>
- <if test="record.sanqiType != null" >
- sanqi_type = #{record.sanqiType,jdbcType=VARCHAR},
- </if>
- <if test="record.sanqiApproveUser != null" >
- sanqi_approve_user = #{record.sanqiApproveUser,jdbcType=VARCHAR},
- </if>
- <if test="record.sanqiBz != null" >
- sanqi_bz = #{record.sanqiBz,jdbcType=VARCHAR},
- </if>
- <if test="record.phosphineCheck != null" >
- phosphine_check = #{record.phosphineCheck,jdbcType=VARCHAR},
- </if>
- <if test="record.houseOpen != null" >
- house_open = #{record.houseOpen,jdbcType=VARCHAR},
- </if>
- <if test="record.checkPeopleThree != null" >
- check_people_three = #{record.checkPeopleThree,jdbcType=VARCHAR},
- </if>
- <if test="record.sanqiUser != null" >
- sanqi_user = #{record.sanqiUser,jdbcType=VARCHAR},
- </if>
- <if test="record.medicSet != null" >
- medic_set = #{record.medicSet,jdbcType=VARCHAR},
- </if>
- <if test="record.densityRate != null" >
- density_rate = #{record.densityRate,jdbcType=VARCHAR},
- </if>
- <if test="record.closeDay != null" >
- close_day = #{record.closeDay,jdbcType=VARCHAR},
- </if>
- <if test="record.temperatureAfter != null" >
- temperature_after = #{record.temperatureAfter,jdbcType=VARCHAR},
- </if>
- <if test="record.phosphineRemain != null" >
- phosphine_remain = #{record.phosphineRemain,jdbcType=VARCHAR},
- </if>
- <if test="record.remark != null" >
- remark = #{record.remark,jdbcType=VARCHAR},
- </if>
- <if test="record.cId != null" >
- c_id = #{record.cId,jdbcType=INTEGER},
- </if>
- <if test="record.cTime != null" >
- c_time = #{record.cTime,jdbcType=TIMESTAMP},
- </if>
- <if test="record.uId != null" >
- u_id = #{record.uId,jdbcType=INTEGER},
- </if>
- <if test="record.uTime != null" >
- u_time = #{record.uTime,jdbcType=TIMESTAMP},
- </if>
- </set>
- <if test="_parameter != null" >
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByExample" parameterType="map" >
- update daily_record_fumigation_new
- set id = #{record.id,jdbcType=INTEGER},
- house_id = #{record.houseId,jdbcType=INTEGER},
- grain_id = #{record.grainId,jdbcType=INTEGER},
- safe_date = #{record.safeDate,jdbcType=VARCHAR},
- house_type = #{record.houseType,jdbcType=VARCHAR},
- house_water = #{record.houseWater,jdbcType=VARCHAR},
- house_temperature = #{record.houseTemperature,jdbcType=VARCHAR},
- house_volume = #{record.houseVolume,jdbcType=REAL},
- house_space = #{record.houseSpace,jdbcType=REAL},
- type = #{record.type,jdbcType=VARCHAR},
- number = #{record.number,jdbcType=INTEGER},
- water = #{record.water,jdbcType=VARCHAR},
- work_time = #{record.workTime,jdbcType=VARCHAR},
- work_date = #{record.workDate,jdbcType=VARCHAR},
- temperature = #{record.temperature,jdbcType=VARCHAR},
- worm_type = #{record.wormType,jdbcType=VARCHAR},
- sanqi_apply = #{record.sanqiApply,jdbcType=VARCHAR},
- tonic_apply = #{record.tonicApply,jdbcType=VARCHAR},
- work_apply = #{record.workApply,jdbcType=VARCHAR},
- airtemperature = #{record.airtemperature,jdbcType=VARCHAR},
- weather = #{record.weather,jdbcType=VARCHAR},
- density_after = #{record.densityAfter,jdbcType=VARCHAR},
- density = #{record.density,jdbcType=VARCHAR},
- medicament = #{record.medicament,jdbcType=VARCHAR},
- safe_method = #{record.safeMethod,jdbcType=VARCHAR},
- safe_effect = #{record.safeEffect,jdbcType=VARCHAR},
- section = #{record.section,jdbcType=VARCHAR},
- safe_people = #{record.safePeople,jdbcType=VARCHAR},
- safe_man = #{record.safeMan,jdbcType=VARCHAR},
- work_people = #{record.workPeople,jdbcType=VARCHAR},
- charge = #{record.charge,jdbcType=VARCHAR},
- is_draft = #{record.isDraft,jdbcType=VARCHAR},
- work_type = #{record.workType,jdbcType=VARCHAR},
- aluminum_num = #{record.aluminumNum,jdbcType=VARCHAR},
- aluminum_type = #{record.aluminumType,jdbcType=VARCHAR},
- volume_num = #{record.volumeNum,jdbcType=INTEGER},
- space_num = #{record.spaceNum,jdbcType=INTEGER},
- total_num = #{record.totalNum,jdbcType=INTEGER},
- is_air = #{record.isAir,jdbcType=VARCHAR},
- is_close = #{record.isClose,jdbcType=VARCHAR},
- is_air_safe = #{record.isAirSafe,jdbcType=VARCHAR},
- is_ detector = #{record.isDetector,jdbcType=VARCHAR},
- is_alarm = #{record.isAlarm,jdbcType=VARCHAR},
- is_oxygen = #{record.isOxygen,jdbcType=VARCHAR},
- is_respirator = #{record.isRespirator,jdbcType=VARCHAR},
- is_warning = #{record.isWarning,jdbcType=VARCHAR},
- is_fire = #{record.isFire,jdbcType=VARCHAR},
- is_kit = #{record.isKit,jdbcType=VARCHAR},
- check_people = #{record.checkPeople,jdbcType=VARCHAR},
- check_close = #{record.checkClose,jdbcType=VARCHAR},
- check_warning = #{record.checkWarning,jdbcType=VARCHAR},
- check_work = #{record.checkWork,jdbcType=VARCHAR},
- tonic_date = #{record.tonicDate,jdbcType=VARCHAR},
- tonic_time = #{record.tonicTime,jdbcType=VARCHAR},
- tonic_approve = #{record.tonicApprove,jdbcType=VARCHAR},
- tonic_app_user = #{record.tonicAppUser,jdbcType=VARCHAR},
- is_close_confirm = #{record.isCloseConfirm,jdbcType=VARCHAR},
- is_alarm_confirm = #{record.isAlarmConfirm,jdbcType=VARCHAR},
- is_ detector_confirm = #{record.isDetectorConfirm,jdbcType=VARCHAR},
- is_kit_confirm = #{record.isKitConfirm,jdbcType=VARCHAR},
- is_respirator_confirm = #{record.isRespiratorConfirm,jdbcType=VARCHAR},
- is_fire_confirm = #{record.isFireConfirm,jdbcType=VARCHAR},
- check_people_confirm = #{record.checkPeopleConfirm,jdbcType=VARCHAR},
- sanqi_date = #{record.sanqiDate,jdbcType=VARCHAR},
- sanqi_time = #{record.sanqiTime,jdbcType=VARCHAR},
- sanqi_type = #{record.sanqiType,jdbcType=VARCHAR},
- sanqi_approve_user = #{record.sanqiApproveUser,jdbcType=VARCHAR},
- sanqi_bz = #{record.sanqiBz,jdbcType=VARCHAR},
- phosphine_check = #{record.phosphineCheck,jdbcType=VARCHAR},
- house_open = #{record.houseOpen,jdbcType=VARCHAR},
- check_people_three = #{record.checkPeopleThree,jdbcType=VARCHAR},
- sanqi_user = #{record.sanqiUser,jdbcType=VARCHAR},
- medic_set = #{record.medicSet,jdbcType=VARCHAR},
- density_rate = #{record.densityRate,jdbcType=VARCHAR},
- close_day = #{record.closeDay,jdbcType=VARCHAR},
- temperature_after = #{record.temperatureAfter,jdbcType=VARCHAR},
- phosphine_remain = #{record.phosphineRemain,jdbcType=VARCHAR},
- remark = #{record.remark,jdbcType=VARCHAR},
- c_id = #{record.cId,jdbcType=INTEGER},
- c_time = #{record.cTime,jdbcType=TIMESTAMP},
- u_id = #{record.uId,jdbcType=INTEGER},
- u_time = #{record.uTime,jdbcType=TIMESTAMP}
- <if test="_parameter != null" >
- <include refid="Update_By_Example_Where_Clause" />
- </if>
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNew" >
- update daily_record_fumigation_new
- <set >
- <if test="houseId != null" >
- house_id = #{houseId,jdbcType=INTEGER},
- </if>
- <if test="grainId != null" >
- grain_id = #{grainId,jdbcType=INTEGER},
- </if>
- <if test="safeDate != null" >
- safe_date = #{safeDate,jdbcType=VARCHAR},
- </if>
- <if test="houseType != null" >
- house_type = #{houseType,jdbcType=VARCHAR},
- </if>
- <if test="houseWater != null" >
- house_water = #{houseWater,jdbcType=VARCHAR},
- </if>
- <if test="houseTemperature != null" >
- house_temperature = #{houseTemperature,jdbcType=VARCHAR},
- </if>
- <if test="houseVolume != null" >
- house_volume = #{houseVolume,jdbcType=REAL},
- </if>
- <if test="houseSpace != null" >
- house_space = #{houseSpace,jdbcType=REAL},
- </if>
- <if test="type != null" >
- type = #{type,jdbcType=VARCHAR},
- </if>
- <if test="number != null" >
- number = #{number,jdbcType=INTEGER},
- </if>
- <if test="water != null" >
- water = #{water,jdbcType=VARCHAR},
- </if>
- <if test="workTime != null" >
- work_time = #{workTime,jdbcType=VARCHAR},
- </if>
- <if test="workDate != null" >
- work_date = #{workDate,jdbcType=VARCHAR},
- </if>
- <if test="temperature != null" >
- temperature = #{temperature,jdbcType=VARCHAR},
- </if>
- <if test="wormType != null" >
- worm_type = #{wormType,jdbcType=VARCHAR},
- </if>
- <if test="sanqiApply != null" >
- sanqi_apply = #{sanqiApply,jdbcType=VARCHAR},
- </if>
- <if test="tonicApply != null" >
- tonic_apply = #{tonicApply,jdbcType=VARCHAR},
- </if>
- <if test="workApply != null" >
- work_apply = #{workApply,jdbcType=VARCHAR},
- </if>
- <if test="airtemperature != null" >
- airtemperature = #{airtemperature,jdbcType=VARCHAR},
- </if>
- <if test="weather != null" >
- weather = #{weather,jdbcType=VARCHAR},
- </if>
- <if test="densityAfter != null" >
- density_after = #{densityAfter,jdbcType=VARCHAR},
- </if>
- <if test="density != null" >
- density = #{density,jdbcType=VARCHAR},
- </if>
- <if test="medicament != null" >
- medicament = #{medicament,jdbcType=VARCHAR},
- </if>
- <if test="safeMethod != null" >
- safe_method = #{safeMethod,jdbcType=VARCHAR},
- </if>
- <if test="safeEffect != null" >
- safe_effect = #{safeEffect,jdbcType=VARCHAR},
- </if>
- <if test="section != null" >
- section = #{section,jdbcType=VARCHAR},
- </if>
- <if test="safePeople != null" >
- safe_people = #{safePeople,jdbcType=VARCHAR},
- </if>
- <if test="safeMan != null" >
- safe_man = #{safeMan,jdbcType=VARCHAR},
- </if>
- <if test="workPeople != null" >
- work_people = #{workPeople,jdbcType=VARCHAR},
- </if>
- <if test="charge != null" >
- charge = #{charge,jdbcType=VARCHAR},
- </if>
- <if test="isDraft != null" >
- is_draft = #{isDraft,jdbcType=VARCHAR},
- </if>
- <if test="workType != null" >
- work_type = #{workType,jdbcType=VARCHAR},
- </if>
- <if test="aluminumNum != null" >
- aluminum_num = #{aluminumNum,jdbcType=VARCHAR},
- </if>
- <if test="aluminumType != null" >
- aluminum_type = #{aluminumType,jdbcType=VARCHAR},
- </if>
- <if test="volumeNum != null" >
- volume_num = #{volumeNum,jdbcType=INTEGER},
- </if>
- <if test="spaceNum != null" >
- space_num = #{spaceNum,jdbcType=INTEGER},
- </if>
- <if test="totalNum != null" >
- total_num = #{totalNum,jdbcType=INTEGER},
- </if>
- <if test="isAir != null" >
- is_air = #{isAir,jdbcType=VARCHAR},
- </if>
- <if test="isClose != null" >
- is_close = #{isClose,jdbcType=VARCHAR},
- </if>
- <if test="isAirSafe != null" >
- is_air_safe = #{isAirSafe,jdbcType=VARCHAR},
- </if>
- <if test="isDetector != null" >
- is_ detector = #{isDetector,jdbcType=VARCHAR},
- </if>
- <if test="isAlarm != null" >
- is_alarm = #{isAlarm,jdbcType=VARCHAR},
- </if>
- <if test="isOxygen != null" >
- is_oxygen = #{isOxygen,jdbcType=VARCHAR},
- </if>
- <if test="isRespirator != null" >
- is_respirator = #{isRespirator,jdbcType=VARCHAR},
- </if>
- <if test="isWarning != null" >
- is_warning = #{isWarning,jdbcType=VARCHAR},
- </if>
- <if test="isFire != null" >
- is_fire = #{isFire,jdbcType=VARCHAR},
- </if>
- <if test="isKit != null" >
- is_kit = #{isKit,jdbcType=VARCHAR},
- </if>
- <if test="checkPeople != null" >
- check_people = #{checkPeople,jdbcType=VARCHAR},
- </if>
- <if test="checkClose != null" >
- check_close = #{checkClose,jdbcType=VARCHAR},
- </if>
- <if test="checkWarning != null" >
- check_warning = #{checkWarning,jdbcType=VARCHAR},
- </if>
- <if test="checkWork != null" >
- check_work = #{checkWork,jdbcType=VARCHAR},
- </if>
- <if test="tonicDate != null" >
- tonic_date = #{tonicDate,jdbcType=VARCHAR},
- </if>
- <if test="tonicTime != null" >
- tonic_time = #{tonicTime,jdbcType=VARCHAR},
- </if>
- <if test="tonicApprove != null" >
- tonic_approve = #{tonicApprove,jdbcType=VARCHAR},
- </if>
- <if test="tonicAppUser != null" >
- tonic_app_user = #{tonicAppUser,jdbcType=VARCHAR},
- </if>
- <if test="isCloseConfirm != null" >
- is_close_confirm = #{isCloseConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isAlarmConfirm != null" >
- is_alarm_confirm = #{isAlarmConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isDetectorConfirm != null" >
- is_ detector_confirm = #{isDetectorConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isKitConfirm != null" >
- is_kit_confirm = #{isKitConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isRespiratorConfirm != null" >
- is_respirator_confirm = #{isRespiratorConfirm,jdbcType=VARCHAR},
- </if>
- <if test="isFireConfirm != null" >
- is_fire_confirm = #{isFireConfirm,jdbcType=VARCHAR},
- </if>
- <if test="checkPeopleConfirm != null" >
- check_people_confirm = #{checkPeopleConfirm,jdbcType=VARCHAR},
- </if>
- <if test="sanqiDate != null" >
- sanqi_date = #{sanqiDate,jdbcType=VARCHAR},
- </if>
- <if test="sanqiTime != null" >
- sanqi_time = #{sanqiTime,jdbcType=VARCHAR},
- </if>
- <if test="sanqiType != null" >
- sanqi_type = #{sanqiType,jdbcType=VARCHAR},
- </if>
- <if test="sanqiApproveUser != null" >
- sanqi_approve_user = #{sanqiApproveUser,jdbcType=VARCHAR},
- </if>
- <if test="sanqiBz != null" >
- sanqi_bz = #{sanqiBz,jdbcType=VARCHAR},
- </if>
- <if test="phosphineCheck != null" >
- phosphine_check = #{phosphineCheck,jdbcType=VARCHAR},
- </if>
- <if test="houseOpen != null" >
- house_open = #{houseOpen,jdbcType=VARCHAR},
- </if>
- <if test="checkPeopleThree != null" >
- check_people_three = #{checkPeopleThree,jdbcType=VARCHAR},
- </if>
- <if test="sanqiUser != null" >
- sanqi_user = #{sanqiUser,jdbcType=VARCHAR},
- </if>
- <if test="medicSet != null" >
- medic_set = #{medicSet,jdbcType=VARCHAR},
- </if>
- <if test="densityRate != null" >
- density_rate = #{densityRate,jdbcType=VARCHAR},
- </if>
- <if test="closeDay != null" >
- close_day = #{closeDay,jdbcType=VARCHAR},
- </if>
- <if test="temperatureAfter != null" >
- temperature_after = #{temperatureAfter,jdbcType=VARCHAR},
- </if>
- <if test="phosphineRemain != null" >
- phosphine_remain = #{phosphineRemain,jdbcType=VARCHAR},
- </if>
- <if test="remark != null" >
- remark = #{remark,jdbcType=VARCHAR},
- </if>
- <if test="cId != null" >
- c_id = #{cId,jdbcType=INTEGER},
- </if>
- <if test="cTime != null" >
- c_time = #{cTime,jdbcType=TIMESTAMP},
- </if>
- <if test="uId != null" >
- u_id = #{uId,jdbcType=INTEGER},
- </if>
- <if test="uTime != null" >
- u_time = #{uTime,jdbcType=TIMESTAMP},
- </if>
- </set>
- where id = #{id,jdbcType=INTEGER}
- </update>
- <update id="updateByPrimaryKey" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNew" >
- update daily_record_fumigation_new
- set house_id = #{houseId,jdbcType=INTEGER},
- grain_id = #{grainId,jdbcType=INTEGER},
- safe_date = #{safeDate,jdbcType=VARCHAR},
- house_type = #{houseType,jdbcType=VARCHAR},
- house_water = #{houseWater,jdbcType=VARCHAR},
- house_temperature = #{houseTemperature,jdbcType=VARCHAR},
- house_volume = #{houseVolume,jdbcType=REAL},
- house_space = #{houseSpace,jdbcType=REAL},
- type = #{type,jdbcType=VARCHAR},
- number = #{number,jdbcType=INTEGER},
- water = #{water,jdbcType=VARCHAR},
- work_time = #{workTime,jdbcType=VARCHAR},
- work_date = #{workDate,jdbcType=VARCHAR},
- temperature = #{temperature,jdbcType=VARCHAR},
- worm_type = #{wormType,jdbcType=VARCHAR},
- sanqi_apply = #{sanqiApply,jdbcType=VARCHAR},
- tonic_apply = #{tonicApply,jdbcType=VARCHAR},
- work_apply = #{workApply,jdbcType=VARCHAR},
- airtemperature = #{airtemperature,jdbcType=VARCHAR},
- weather = #{weather,jdbcType=VARCHAR},
- density_after = #{densityAfter,jdbcType=VARCHAR},
- density = #{density,jdbcType=VARCHAR},
- medicament = #{medicament,jdbcType=VARCHAR},
- safe_method = #{safeMethod,jdbcType=VARCHAR},
- safe_effect = #{safeEffect,jdbcType=VARCHAR},
- section = #{section,jdbcType=VARCHAR},
- safe_people = #{safePeople,jdbcType=VARCHAR},
- safe_man = #{safeMan,jdbcType=VARCHAR},
- work_people = #{workPeople,jdbcType=VARCHAR},
- charge = #{charge,jdbcType=VARCHAR},
- is_draft = #{isDraft,jdbcType=VARCHAR},
- work_type = #{workType,jdbcType=VARCHAR},
- aluminum_num = #{aluminumNum,jdbcType=VARCHAR},
- aluminum_type = #{aluminumType,jdbcType=VARCHAR},
- volume_num = #{volumeNum,jdbcType=INTEGER},
- space_num = #{spaceNum,jdbcType=INTEGER},
- total_num = #{totalNum,jdbcType=INTEGER},
- is_air = #{isAir,jdbcType=VARCHAR},
- is_close = #{isClose,jdbcType=VARCHAR},
- is_air_safe = #{isAirSafe,jdbcType=VARCHAR},
- is_ detector = #{isDetector,jdbcType=VARCHAR},
- is_alarm = #{isAlarm,jdbcType=VARCHAR},
- is_oxygen = #{isOxygen,jdbcType=VARCHAR},
- is_respirator = #{isRespirator,jdbcType=VARCHAR},
- is_warning = #{isWarning,jdbcType=VARCHAR},
- is_fire = #{isFire,jdbcType=VARCHAR},
- is_kit = #{isKit,jdbcType=VARCHAR},
- check_people = #{checkPeople,jdbcType=VARCHAR},
- check_close = #{checkClose,jdbcType=VARCHAR},
- check_warning = #{checkWarning,jdbcType=VARCHAR},
- check_work = #{checkWork,jdbcType=VARCHAR},
- tonic_date = #{tonicDate,jdbcType=VARCHAR},
- tonic_time = #{tonicTime,jdbcType=VARCHAR},
- tonic_approve = #{tonicApprove,jdbcType=VARCHAR},
- tonic_app_user = #{tonicAppUser,jdbcType=VARCHAR},
- is_close_confirm = #{isCloseConfirm,jdbcType=VARCHAR},
- is_alarm_confirm = #{isAlarmConfirm,jdbcType=VARCHAR},
- is_ detector_confirm = #{isDetectorConfirm,jdbcType=VARCHAR},
- is_kit_confirm = #{isKitConfirm,jdbcType=VARCHAR},
- is_respirator_confirm = #{isRespiratorConfirm,jdbcType=VARCHAR},
- is_fire_confirm = #{isFireConfirm,jdbcType=VARCHAR},
- check_people_confirm = #{checkPeopleConfirm,jdbcType=VARCHAR},
- sanqi_date = #{sanqiDate,jdbcType=VARCHAR},
- sanqi_time = #{sanqiTime,jdbcType=VARCHAR},
- sanqi_type = #{sanqiType,jdbcType=VARCHAR},
- sanqi_approve_user = #{sanqiApproveUser,jdbcType=VARCHAR},
- sanqi_bz = #{sanqiBz,jdbcType=VARCHAR},
- phosphine_check = #{phosphineCheck,jdbcType=VARCHAR},
- house_open = #{houseOpen,jdbcType=VARCHAR},
- check_people_three = #{checkPeopleThree,jdbcType=VARCHAR},
- sanqi_user = #{sanqiUser,jdbcType=VARCHAR},
- medic_set = #{medicSet,jdbcType=VARCHAR},
- density_rate = #{densityRate,jdbcType=VARCHAR},
- close_day = #{closeDay,jdbcType=VARCHAR},
- temperature_after = #{temperatureAfter,jdbcType=VARCHAR},
- phosphine_remain = #{phosphineRemain,jdbcType=VARCHAR},
- remark = #{remark,jdbcType=VARCHAR},
- c_id = #{cId,jdbcType=INTEGER},
- c_time = #{cTime,jdbcType=TIMESTAMP},
- u_id = #{uId,jdbcType=INTEGER},
- u_time = #{uTime,jdbcType=TIMESTAMP}
- where id = #{id,jdbcType=INTEGER}
- </update>
- </mapper>
|