1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527 |
- <?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.dao.daily.DailyRecordTaskDao">
- <resultMap type="cn.ourwill.module.house.entity.daily.DailyRecordTask" id="baseMap">
- <result column="id" property="id"/>
- <result column="type" property="type"/>
- <result column="sub_type" property="subType"/>
- <result column="uuid" property="uuid"/>
- <result column="house_id" property="houseId"/>
- <result column="volume" property="volume"/>
- <result column="wind_reason" property="windReason"/>
- <result column="height" property="height"/>
- <result column="task_start_time" property="taskStartTime"/>
- <result column="task_end_time" property="taskEndTime"/>
- <result column="keeper" property="keeper"/>
- <result column="wind_total" property="windTotal"/>
- <result column="unite_wind" property="uniteWind"/>
- <result column="blower_model" property="blowerModel"/>
- <result column="blower_power" property="blowerPower"/>
- <result column="blower_type" property="blowerType"/>
- <result column="blower_type_unit" property="blowerTypeUnit"/>
- <result column="blower_total_forces" property="blowerTotalForces"/>
- <result column="wind_type" property="windType"/>
- <result column="blower_number" property="blowerNumber"/>
- <result column="task_time" property="taskTime"/>
- <result column="temp_high" property="tempHigh"/>
- <result column="temp_low" property="tempLow"/>
- <result column="temp_average" property="tempAverage"/>
- <result column="humidity_high" property="humidityHigh"/>
- <result column="humidity_low" property="humidityLow"/>
- <result column="humidity_average" property="humidityAverage"/>
- <result column="temp_before_high" property="tempBeforeHigh"/>
- <result column="temp_after_high" property="tempAfterHigh"/>
- <result column="temp_before_low" property="tempBeforeLow"/>
- <result column="temp_after_low" property="tempAfterLow"/>
- <result column="temp_before_average" property="tempBeforeAverage"/>
- <result column="temp_end_average" property="tempEndAverage"/>
- <result column="water_before_high" property="waterBeforeHigh"/>
- <result column="water_before_low" property="waterBeforeLow"/>
- <result column="water_before_average" property="waterBeforeAverage"/>
- <result column="water_after_high" property="waterAfterHigh"/>
- <result column="water_after_low" property="waterAfterLow"/>
- <result column="water_after_average" property="waterAfterAverage"/>
- <result column="temp_grads" property="tempGrads"/>
- <result column="water_grads" property="waterGrads"/>
- <result column="total_power" property="totalPower"/>
- <result column="weather" property="weather"/>
- <result column="air_temp" property="airTemp"/>
- <result column="drug_time" property="drugTime"/>
- <result column="house_temp" property="houseTemp"/>
- <result column="averate_temp" property="averateTemp"/>
- <result column="number" property="number"/>
- <result column="house_food_capacity" property="houseFoodCapacity"/>
- <result column="drug_purity" property="drugPurity"/>
- <result column="house_space_capacity" property="houseSpaceCapacity"/>
- <result column="house_sum_capacity" property="houseSumCapacity"/>
- <result column="sequence" property="sequence"/>
- <result column="material_capacity" property="materialCapacity"/>
- <result column="drug_name" property="drugName"/>
- <result column="drug_way" property="drugWay"/>
- <result column="drug_people_count" property="drugPeopleCount"/>
- <result column="unite_power" property="unitePower"/>
- <result column="is_fumigation" property="isFumigation"/>
- <result column="close_way" property="closeWay"/>
- <result column="director" property="director"/>
- <result column="drug_capacity_count" property="drugCapacityCount"/>
- <result column="durg_count" property="durgCount"/>
- <result column="temp_before_fumigation" property="tempBeforeFumigation"/>
- <result column="temp_after_fumigation" property="tempAfterFumigation"/>
- <result column="pest_before_fumigation" property="pestBeforeFumigation"/>
- <result column="pest_after_fumigation" property="pestAfterFumigation"/>
- <result column="fumigation_kind" property="fumigationKind"/>
- <result column="water" property="water"/>
- <result column="close_time" property="closeTime"/>
- <result column="kill_ratio" property="killRatio"/>
- <result column="remain_ratio" property="remainRatio"/>
- <result column="is_bad_things" property="isBadThings"/>
- <result column="manager_user" property="managerUser"/>
- <result column="device_no" property="deviceNo"/>
- <result column="power" property="power"/>
- <result column="loop_time" property="loopTime"/>
- <result column="air_condition_state" property="airConditionState"/>
- <result column="problems" property="problems"/>
- <result column="improvement" property="improvement"/>
- <result column="temp_before_loop" property="tempBeforeLoop"/>
- <result column="temp_after_loop" property="tempAfterLoop"/>
- <result column="operator" property="operator"/>
- <result column="remark" property="remark"/>
- <result column="c_id" property="cId"/>
- <result column="u_id" property="uId"/>
- <result column="c_time" property="cTime"/>
- <result column="u_time" property="uTime"/>
- <result column="version" property="version"/>
- <result column="outside_temp" property="outsideTemp"/>
- <result column="circulation_power" property="circulationPower"/>
- <result column="circulation_time" property="circulationTime"/>
- <result column="circulation_number" property="circulationNumber"/>
- <result column="loop_time_start" property="loopTimeStart"/>
- <result column="loop_time_end" property="loopTimeEnd"/>
- <result column="avg_grain_temp" property="avgGrainTemp"/>
- <result column="grainstack_avg_temp" property="grainstackAvgTemp"/>
- <result column="air_tightness" property="airTightness"/>
- <result column="security_officer" property="securityOfficer"/>
- <result column="close_time_end" property="closeTimeEnd"/>
- <result column="aeration_start_time" property="aerationStartTime"/>
- <result column="aeration_end_time" property="aerationEndTime"/>
- <result column="aeration_mode" property="aerationMode"/>
- <result column="drug_food_count" property="drugFoodCount"/>
- </resultMap>
- <sql id="columns">
- id ,
- `type` ,
- sub_type ,
- uuid ,
- house_id ,
- volume ,
- wind_reason ,
- height ,
- task_start_time ,
- task_end_time ,
- keeper ,
- wind_total ,
- unite_wind ,
- blower_model ,
- blower_power ,
- blower_type ,
- blower_type_unit ,
- blower_total_forces ,
- wind_type ,
- blower_number ,
- task_time ,
- temp_high ,
- temp_low ,
- temp_average ,
- humidity_high ,
- humidity_low ,
- humidity_average ,
- temp_before_high ,
- temp_after_high ,
- temp_before_low ,
- temp_after_low ,
- temp_before_average ,
- temp_end_average ,
- water_before_high ,
- water_before_low ,
- water_before_average ,
- water_after_high ,
- water_after_low ,
- water_after_average ,
- temp_grads ,
- water_grads ,
- total_power ,
- weather ,
- air_temp ,
- drug_time ,
- house_temp ,
- averate_temp ,
- `number` ,
- house_food_capacity ,
- drug_purity ,
- house_space_capacity ,
- house_sum_capacity ,
- sequence ,
- material_capacity ,
- drug_name ,
- drug_way ,
- drug_people_count ,
- unite_power ,
- is_fumigation ,
- close_way ,
- director ,
- drug_capacity_count ,
- durg_count ,
- temp_before_fumigation ,
- temp_after_fumigation ,
- pest_before_fumigation ,
- pest_after_fumigation ,
- fumigation_kind ,
- water ,
- close_time ,
- kill_ratio ,
- remain_ratio ,
- is_bad_things ,
- manager_user ,
- device_no ,
- power ,
- loop_time ,
- air_condition_state ,
- problems ,
- improvement ,
- temp_before_loop ,
- temp_after_loop ,
- operator ,
- remark ,
- c_id ,
- u_id ,
- c_time ,
- u_time ,
- version ,
- outside_temp ,
- circulation_power ,
- circulation_time ,
- circulation_number ,
- loop_time_start ,
- loop_time_end ,
- avg_grain_temp ,
- grainstack_avg_temp ,
- air_tightness ,
- security_officer ,
- close_time_end ,
- aeration_start_time ,
- aeration_end_time ,
- aeration_mode,
- drug_food_count
- </sql>
- <sql id="joinCols">
- </sql>
- <select id="get" resultMap="baseMap">
- SELECT
- <include refid="columns"/>
- FROM daily_record_task a
- <include refid="joinCols"/>
- WHERE a.id = #{id}
- </select>
- <select id="getByUuid" resultMap="baseMap">
- SELECT
- <include refid="columns"/>
- FROM daily_record_task a
- <include refid="joinCols"/>
- WHERE a.uuid = #{uuid}
- </select>
- <select id="findList" resultMap="baseMap">
- SELECT
- <include refid="columns"/>
- FROM daily_record_task a
- <include refid="joinCols"/>
- <where>
- <if test="id !=null">
- and id = #{id}
- </if>
- <if test="searchStartDate !=null">
- and task_start_time <![CDATA[ >= ]]> #{searchStartDate}
- </if>
- <if test="searchEndDate !=null">
- and task_start_time <= #{searchEndDate}
- </if>
- <if test="type !=null">
- and `type` = #{type}
- </if>
- <if test="subType !=null">
- and sub_type = #{subType}
- </if>
- <if test="uuid !=null">
- and uuid = #{uuid}
- </if>
- <if test="houseId !=null">
- and house_id = #{houseId}
- </if>
- <if test="volume !=null">
- and volume = #{volume}
- </if>
- <if test="windReason !=null">
- and wind_reason = #{windReason}
- </if>
- <if test="height !=null">
- and height = #{height}
- </if>
- <if test="taskStartTime !=null">
- and task_start_time = #{taskStartTime}
- </if>
- <if test="taskEndTime !=null">
- and task_end_time = #{taskEndTime}
- </if>
- <if test="keeper !=null">
- and keeper = #{keeper}
- </if>
- <if test="windTotal !=null">
- and wind_total = #{windTotal}
- </if>
- <if test="uniteWind !=null">
- and unite_wind = #{uniteWind}
- </if>
- <if test="blowerModel !=null">
- and blower_model = #{blowerModel}
- </if>
- <if test="blowerPower !=null">
- and blower_power = #{blowerPower}
- </if>
- <if test="blowerType !=null">
- and blower_type = #{blowerType}
- </if>
- <if test="blowerTypeUnit !=null">
- and blower_type_unit = #{blowerTypeUnit}
- </if>
- <if test="blowerTotalForces !=null">
- and blower_total_forces = #{blowerTotalForces}
- </if>
- <if test="windType !=null">
- and wind_type = #{windType}
- </if>
- <if test="blowerNumber !=null">
- and blower_number = #{blowerNumber}
- </if>
- <if test="taskTime !=null">
- and task_time = #{taskTime}
- </if>
- <if test="tempHigh !=null">
- and temp_high = #{tempHigh}
- </if>
- <if test="tempLow !=null">
- and temp_low = #{tempLow}
- </if>
- <if test="tempAverage !=null">
- and temp_average = #{tempAverage}
- </if>
- <if test="humidityHigh !=null">
- and humidity_high = #{humidityHigh}
- </if>
- <if test="humidityLow !=null">
- and humidity_low = #{humidityLow}
- </if>
- <if test="humidityAverage !=null">
- and humidity_average = #{humidityAverage}
- </if>
- <if test="tempBeforeHigh !=null">
- and temp_before_high = #{tempBeforeHigh}
- </if>
- <if test="tempAfterHigh !=null">
- and temp_after_high = #{tempAfterHigh}
- </if>
- <if test="tempBeforeLow !=null">
- and temp_before_low = #{tempBeforeLow}
- </if>
- <if test="tempAfterLow !=null">
- and temp_after_low = #{tempAfterLow}
- </if>
- <if test="tempBeforeAverage !=null">
- and temp_before_average = #{tempBeforeAverage}
- </if>
- <if test="tempEndAverage !=null">
- and temp_end_average = #{tempEndAverage}
- </if>
- <if test="waterBeforeHigh !=null">
- and water_before_high = #{waterBeforeHigh}
- </if>
- <if test="waterBeforeLow !=null">
- and water_before_low = #{waterBeforeLow}
- </if>
- <if test="waterBeforeAverage !=null">
- and water_before_average = #{waterBeforeAverage}
- </if>
- <if test="waterAfterHigh !=null">
- and water_after_high = #{waterAfterHigh}
- </if>
- <if test="waterAfterLow !=null">
- and water_after_low = #{waterAfterLow}
- </if>
- <if test="waterAfterAverage !=null">
- and water_after_average = #{waterAfterAverage}
- </if>
- <if test="tempGrads !=null">
- and temp_grads = #{tempGrads}
- </if>
- <if test="waterGrads !=null">
- and water_grads = #{waterGrads}
- </if>
- <if test="totalPower !=null">
- and total_power = #{totalPower}
- </if>
- <if test="weather !=null">
- and weather = #{weather}
- </if>
- <if test="airTemp !=null">
- and air_temp = #{airTemp}
- </if>
- <if test="drugTime !=null">
- and drug_time = #{drugTime}
- </if>
- <if test="houseTemp !=null">
- and house_temp = #{houseTemp}
- </if>
- <if test="averateTemp !=null">
- and averate_temp = #{averateTemp}
- </if>
- <if test="number !=null">
- and `number` = #{number}
- </if>
- <if test="houseFoodCapacity !=null">
- and house_food_capacity = #{houseFoodCapacity}
- </if>
- <if test="drugPurity !=null">
- and drug_purity = #{drugPurity}
- </if>
- <if test="houseSpaceCapacity !=null">
- and house_space_capacity = #{houseSpaceCapacity}
- </if>
- <if test="houseSumCapacity !=null">
- and house_sum_capacity = #{houseSumCapacity}
- </if>
- <if test="sequence !=null">
- and sequence = #{sequence}
- </if>
- <if test="materialCapacity !=null">
- and material_capacity = #{materialCapacity}
- </if>
- <if test="drugName !=null">
- and drug_name = #{drugName}
- </if>
- <if test="drugWay !=null">
- and drug_way = #{drugWay}
- </if>
- <if test="drugPeopleCount !=null">
- and drug_people_count = #{drugPeopleCount}
- </if>
- <if test="unitePower !=null">
- and unite_power = #{unitePower}
- </if>
- <if test="isFumigation !=null">
- and is_fumigation = #{isFumigation}
- </if>
- <if test="closeWay !=null">
- and close_way = #{closeWay}
- </if>
- <if test="director !=null">
- and director = #{director}
- </if>
- <if test="drugCapacityCount !=null">
- and drug_capacity_count = #{drugCapacityCount}
- </if>
- <if test="durgCount !=null">
- and durg_count = #{durgCount}
- </if>
- <if test="tempBeforeFumigation !=null">
- and temp_before_fumigation = #{tempBeforeFumigation}
- </if>
- <if test="tempAfterFumigation !=null">
- and temp_after_fumigation = #{tempAfterFumigation}
- </if>
- <if test="pestBeforeFumigation !=null">
- and pest_before_fumigation = #{pestBeforeFumigation}
- </if>
- <if test="pestAfterFumigation !=null">
- and pest_after_fumigation = #{pestAfterFumigation}
- </if>
- <if test="fumigationKind !=null">
- and fumigation_kind = #{fumigationKind}
- </if>
- <if test="water !=null">
- and water = #{water}
- </if>
- <if test="closeTime !=null">
- and close_time = #{closeTime}
- </if>
- <if test="killRatio !=null">
- and kill_ratio = #{killRatio}
- </if>
- <if test="remainRatio !=null">
- and remain_ratio = #{remainRatio}
- </if>
- <if test="isBadThings !=null">
- and is_bad_things = #{isBadThings}
- </if>
- <if test="managerUser !=null">
- and manager_user = #{managerUser}
- </if>
- <if test="deviceNo !=null">
- and device_no = #{deviceNo}
- </if>
- <if test="power !=null">
- and power = #{power}
- </if>
- <if test="loopTime !=null">
- and loop_time = #{loopTime}
- </if>
- <if test="airConditionState !=null">
- and air_condition_state = #{airConditionState}
- </if>
- <if test="problems !=null">
- and problems = #{problems}
- </if>
- <if test="improvement !=null">
- and improvement = #{improvement}
- </if>
- <if test="tempBeforeLoop !=null">
- and temp_before_loop = #{tempBeforeLoop}
- </if>
- <if test="tempAfterLoop !=null">
- and temp_after_loop = #{tempAfterLoop}
- </if>
- <if test="operator !=null">
- and operator = #{operator}
- </if>
- <if test="remark !=null">
- and remark = #{remark}
- </if>
- <if test="cId !=null">
- and c_id = #{cId}
- </if>
- <if test="uId !=null">
- and u_id = #{uId}
- </if>
- <if test="cTime !=null">
- and c_time = #{cTime}
- </if>
- <if test="uTime !=null">
- and u_time = #{uTime}
- </if>
- <if test="version !=null">
- and version = #{version}
- </if>
- <if test="outsideTemp !=null">
- and outside_temp = #{outsideTemp}
- </if>
- <if test="circulationPower !=null">
- and circulation_power = #{circulationPower}
- </if>
- <if test="circulationTime !=null">
- and circulation_time = #{circulationTime}
- </if>
- <if test="circulationNumber !=null">
- and circulation_number = #{circulationNumber}
- </if>
- <if test="loopTimeStart !=null">
- and loop_time_start = #{loopTimeStart}
- </if>
- <if test="loopTimeEnd !=null">
- and loop_time_end = #{loopTimeEnd}
- </if>
- <if test="avgGrainTemp !=null">
- and avg_grain_temp = #{avgGrainTemp}
- </if>
- <if test="grainstackAvgTemp !=null">
- and grainstack_avg_temp = #{grainstackAvgTemp}
- </if>
- <if test="airTightness !=null">
- and air_tightness = #{airTightness}
- </if>
- <if test="securityOfficer !=null">
- and security_officer = #{securityOfficer}
- </if>
- <if test="closeTimeEnd !=null">
- and close_time_end = #{closeTimeEnd}
- </if>
- <if test="aerationStartTime !=null">
- and aeration_start_time = #{aerationStartTime}
- </if>
- <if test="aerationEndTime !=null">
- and aeration_end_time = #{aerationEndTime}
- </if>
- <if test="aerationMode !=null">
- and aeration_mode = #{aerationMode}
- </if>
- </where>
- <choose>
- <when test="page !=null and page.orderBy != null and page.orderBy != ''">
- ORDER BY ${page.orderBy}
- </when>
- <otherwise>
- order by id desc
- </otherwise>
- </choose>
- </select>
- <select id="findAllList" resultMap="baseMap">
- SELECT
- <include refid="columns"/>
- FROM daily_record_task a
- <include refid="joinCols"/>
- <where>
- <if test="id !=null">
- and id = #{id}
- </if>
- <if test="searchStartDate !=null">
- and sol.task_start_time <![CDATA[ >= ]]> #{searchStartDate}
- </if>
- <if test="searchEndDate !=null">
- and sol.task_start_time <= #{searchEndDate}
- </if>
- <if test="type !=null">
- and `type` = #{type}
- </if>
- <if test="subType !=null">
- and sub_type = #{subType}
- </if>
- <if test="uuid !=null">
- and uuid = #{uuid}
- </if>
- <if test="houseId !=null">
- and house_id = #{houseId}
- </if>
- <if test="volume !=null">
- and volume = #{volume}
- </if>
- <if test="windReason !=null">
- and wind_reason = #{windReason}
- </if>
- <if test="height !=null">
- and height = #{height}
- </if>
- <if test="taskStartTime !=null">
- and task_start_time = #{taskStartTime}
- </if>
- <if test="taskEndTime !=null">
- and task_end_time = #{taskEndTime}
- </if>
- <if test="keeper !=null">
- and keeper = #{keeper}
- </if>
- <if test="windTotal !=null">
- and wind_total = #{windTotal}
- </if>
- <if test="uniteWind !=null">
- and unite_wind = #{uniteWind}
- </if>
- <if test="blowerModel !=null">
- and blower_model = #{blowerModel}
- </if>
- <if test="blowerPower !=null">
- and blower_power = #{blowerPower}
- </if>
- <if test="blowerType !=null">
- and blower_type = #{blowerType}
- </if>
- <if test="blowerTypeUnite !=null">
- and blower_type_unit = #{blowerTypeUnit}
- </if>
- <if test="blowerTotalForces !=null">
- and blower_total_forces = #{blowerTotalForces}
- </if>
- <if test="windType !=null">
- and wind_type = #{windType}
- </if>
- <if test="blowerNumber !=null">
- and blower_number = #{blowerNumber}
- </if>
- <if test="taskTime !=null">
- and task_time = #{taskTime}
- </if>
- <if test="tempHigh !=null">
- and temp_high = #{tempHigh}
- </if>
- <if test="tempLow !=null">
- and temp_low = #{tempLow}
- </if>
- <if test="tempAverage !=null">
- and temp_average = #{tempAverage}
- </if>
- <if test="humidityHigh !=null">
- and humidity_high = #{humidityHigh}
- </if>
- <if test="humidityLow !=null">
- and humidity_low = #{humidityLow}
- </if>
- <if test="humidityAverage !=null">
- and humidity_average = #{humidityAverage}
- </if>
- <if test="tempBeforeHigh !=null">
- and temp_before_high = #{tempBeforeHigh}
- </if>
- <if test="tempAfterHigh !=null">
- and temp_after_high = #{tempAfterHigh}
- </if>
- <if test="tempBeforeLow !=null">
- and temp_before_low = #{tempBeforeLow}
- </if>
- <if test="tempAfterLow !=null">
- and temp_after_low = #{tempAfterLow}
- </if>
- <if test="tempBeforeAverage !=null">
- and temp_before_average = #{tempBeforeAverage}
- </if>
- <if test="tempEndAverage !=null">
- and temp_end_average = #{tempEndAverage}
- </if>
- <if test="waterBeforeHigh !=null">
- and water_before_high = #{waterBeforeHigh}
- </if>
- <if test="waterBeforeLow !=null">
- and water_before_low = #{waterBeforeLow}
- </if>
- <if test="waterBeforeAverage !=null">
- and water_before_average = #{waterBeforeAverage}
- </if>
- <if test="waterAfterHigh !=null">
- and water_after_high = #{waterAfterHigh}
- </if>
- <if test="waterAfterLow !=null">
- and water_after_low = #{waterAfterLow}
- </if>
- <if test="waterAfterAverage !=null">
- and water_after_average = #{waterAfterAverage}
- </if>
- <if test="tempGrads !=null">
- and temp_grads = #{tempGrads}
- </if>
- <if test="waterGrads !=null">
- and water_grads = #{waterGrads}
- </if>
- <if test="totalPower !=null">
- and total_power = #{totalPower}
- </if>
- <if test="weather !=null">
- and weather = #{weather}
- </if>
- <if test="airTemp !=null">
- and air_temp = #{airTemp}
- </if>
- <if test="drugTime !=null">
- and drug_time = #{drugTime}
- </if>
- <if test="houseTemp !=null">
- and house_temp = #{houseTemp}
- </if>
- <if test="averateTemp !=null">
- and averate_temp = #{averateTemp}
- </if>
- <if test="number !=null">
- and `number` = #{number}
- </if>
- <if test="houseFoodCapacity !=null">
- and house_food_capacity = #{houseFoodCapacity}
- </if>
- <if test="drugPurity !=null">
- and drug_purity = #{drugPurity}
- </if>
- <if test="houseSpaceCapacity !=null">
- and house_space_capacity = #{houseSpaceCapacity}
- </if>
- <if test="houseSumCapacity !=null">
- and house_sum_capacity = #{houseSumCapacity}
- </if>
- <if test="sequence !=null">
- and sequence = #{sequence}
- </if>
- <if test="materialCapacity !=null">
- and material_capacity = #{materialCapacity}
- </if>
- <if test="drugName !=null">
- and drug_name = #{drugName}
- </if>
- <if test="drugWay !=null">
- and drug_way = #{drugWay}
- </if>
- <if test="drugPeopleCount !=null">
- and drug_people_count = #{drugPeopleCount}
- </if>
- <if test="unitePower !=null">
- and unite_power = #{unitePower}
- </if>
- <if test="isFumigation !=null">
- and is_fumigation = #{isFumigation}
- </if>
- <if test="closeWay !=null">
- and close_way = #{closeWay}
- </if>
- <if test="director !=null">
- and director = #{director}
- </if>
- <if test="drugCapacityCount !=null">
- and drug_capacity_count = #{drugCapacityCount}
- </if>
- <if test="durgCount !=null">
- and durg_count = #{durgCount}
- </if>
- <if test="tempBeforeFumigation !=null">
- and temp_before_fumigation = #{tempBeforeFumigation}
- </if>
- <if test="tempAfterFumigation !=null">
- and temp_after_fumigation = #{tempAfterFumigation}
- </if>
- <if test="pestBeforeFumigation !=null">
- and pest_before_fumigation = #{pestBeforeFumigation}
- </if>
- <if test="pestAfterFumigation !=null">
- and pest_after_fumigation = #{pestAfterFumigation}
- </if>
- <if test="fumigationKind !=null">
- and fumigation_kind = #{fumigationKind}
- </if>
- <if test="water !=null">
- and water = #{water}
- </if>
- <if test="closeTime !=null">
- and close_time = #{closeTime}
- </if>
- <if test="killRatio !=null">
- and kill_ratio = #{killRatio}
- </if>
- <if test="remainRatio !=null">
- and remain_ratio = #{remainRatio}
- </if>
- <if test="isBadThings !=null">
- and is_bad_things = #{isBadThings}
- </if>
- <if test="managerUser !=null">
- and manager_user = #{managerUser}
- </if>
- <if test="deviceNo !=null">
- and device_no = #{deviceNo}
- </if>
- <if test="power !=null">
- and power = #{power}
- </if>
- <if test="loopTime !=null">
- and loop_time = #{loopTime}
- </if>
- <if test="airConditionState !=null">
- and air_condition_state = #{airConditionState}
- </if>
- <if test="problems !=null">
- and problems = #{problems}
- </if>
- <if test="improvement !=null">
- and improvement = #{improvement}
- </if>
- <if test="tempBeforeLoop !=null">
- and temp_before_loop = #{tempBeforeLoop}
- </if>
- <if test="tempAfterLoop !=null">
- and temp_after_loop = #{tempAfterLoop}
- </if>
- <if test="operator !=null">
- and operator = #{operator}
- </if>
- <if test="remark !=null">
- and remark = #{remark}
- </if>
- <if test="cId !=null">
- and c_id = #{cId}
- </if>
- <if test="uId !=null">
- and u_id = #{uId}
- </if>
- <if test="cTime !=null">
- and c_time = #{cTime}
- </if>
- <if test="uTime !=null">
- and u_time = #{uTime}
- </if>
- <if test="version !=null">
- and version = #{version}
- </if>
- <if test="outsideTemp !=null">
- and outside_temp = #{outsideTemp}
- </if>
- <if test="circulationPower !=null">
- and circulation_power = #{circulationPower}
- </if>
- <if test="circulationTime !=null">
- and circulation_time = #{circulationTime}
- </if>
- <if test="circulationNumber !=null">
- and circulation_number = #{circulationNumber}
- </if>
- <if test="loopTimeStart !=null">
- and loop_time_start = #{loopTimeStart}
- </if>
- <if test="loopTimeEnd !=null">
- and loop_time_end = #{loopTimeEnd}
- </if>
- <if test="avgGrainTemp !=null">
- and avg_grain_temp = #{avgGrainTemp}
- </if>
- <if test="grainstackAvgTemp !=null">
- and grainstack_avg_temp = #{grainstackAvgTemp}
- </if>
- <if test="airTightness !=null">
- and air_tightness = #{airTightness}
- </if>
- <if test="securityOfficer !=null">
- and security_officer = #{securityOfficer}
- </if>
- <if test="closeTimeEnd !=null">
- and close_time_end = #{closeTimeEnd}
- </if>
- <if test="aerationStartTime !=null">
- and aeration_start_time = #{aerationStartTime}
- </if>
- <if test="aerationEndTime !=null">
- and aeration_end_time = #{aerationEndTime}
- </if>
- <if test="aerationMode !=null">
- and aeration_mode = #{aerationMode}
- </if>
- </where>
- <choose>
- <when test="page !=null and page.orderBy != null and page.orderBy != ''">
- ORDER BY ${page.orderBy}
- </when>
- <otherwise>
- order by id desc
- </otherwise>
- </choose>
- </select>
- <insert id="insert" keyColumn="id" keyProperty="id" useGeneratedKeys="true"
- parameterType="cn.ourwill.module.house.entity.daily.DailyRecordTask">
- INSERT INTO daily_record_task
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test=" id != null">
- id,
- </if>
- <if test=" type != null">
- `type`,
- </if>
- <if test=" subType != null">
- sub_type,
- </if>
- <if test=" uuid != null">
- uuid,
- </if>
- <if test=" houseId != null">
- house_id,
- </if>
- <if test=" volume != null">
- volume,
- </if>
- <if test=" windReason != null">
- wind_reason,
- </if>
- <if test=" height != null">
- height,
- </if>
- <if test=" taskStartTime != null">
- task_start_time,
- </if>
- <if test=" taskEndTime != null">
- task_end_time,
- </if>
- <if test=" keeper != null">
- keeper,
- </if>
- <if test=" windTotal != null">
- wind_total,
- </if>
- <if test=" uniteWind != null">
- unite_wind,
- </if>
- <if test=" blowerModel != null">
- blower_model,
- </if>
- <if test=" blowerPower != null">
- blower_power,
- </if>
- <if test=" blowerType != null">
- blower_type,
- </if>
- <if test=" blowerTypeUnit != null">
- blower_type_unit,
- </if>
- <if test=" blowerTotalForces != null">
- blower_total_forces,
- </if>
- <if test=" windType != null">
- wind_type,
- </if>
- <if test=" blowerNumber != null">
- blower_number,
- </if>
- <if test=" taskTime != null">
- task_time,
- </if>
- <if test=" tempHigh != null">
- temp_high,
- </if>
- <if test=" tempLow != null">
- temp_low,
- </if>
- <if test=" tempAverage != null">
- temp_average,
- </if>
- <if test=" humidityHigh != null">
- humidity_high,
- </if>
- <if test=" humidityLow != null">
- humidity_low,
- </if>
- <if test=" humidityAverage != null">
- humidity_average,
- </if>
- <if test=" tempBeforeHigh != null">
- temp_before_high,
- </if>
- <if test=" tempAfterHigh != null">
- temp_after_high,
- </if>
- <if test=" tempBeforeLow != null">
- temp_before_low,
- </if>
- <if test=" tempAfterLow != null">
- temp_after_low,
- </if>
- <if test=" tempBeforeAverage != null">
- temp_before_average,
- </if>
- <if test=" tempEndAverage != null">
- temp_end_average,
- </if>
- <if test=" waterBeforeHigh != null">
- water_before_high,
- </if>
- <if test=" waterBeforeLow != null">
- water_before_low,
- </if>
- <if test=" waterBeforeAverage != null">
- water_before_average,
- </if>
- <if test=" waterAfterHigh != null">
- water_after_high,
- </if>
- <if test=" waterAfterLow != null">
- water_after_low,
- </if>
- <if test=" waterAfterAverage != null">
- water_after_average,
- </if>
- <if test=" tempGrads != null">
- temp_grads,
- </if>
- <if test=" waterGrads != null">
- water_grads,
- </if>
- <if test=" totalPower != null">
- total_power,
- </if>
- <if test=" weather != null">
- weather,
- </if>
- <if test=" airTemp != null">
- air_temp,
- </if>
- <if test=" drugTime != null">
- drug_time,
- </if>
- <if test=" houseTemp != null">
- house_temp,
- </if>
- <if test=" averateTemp != null">
- averate_temp,
- </if>
- <if test=" number != null">
- `number`,
- </if>
- <if test=" houseFoodCapacity != null">
- house_food_capacity,
- </if>
- <if test=" drugPurity != null">
- drug_purity,
- </if>
- <if test=" houseSpaceCapacity != null">
- house_space_capacity,
- </if>
- <if test=" houseSumCapacity != null">
- house_sum_capacity,
- </if>
- <if test=" sequence != null">
- sequence,
- </if>
- <if test=" materialCapacity != null">
- material_capacity,
- </if>
- <if test=" drugName != null">
- drug_name,
- </if>
- <if test=" drugWay != null">
- drug_way,
- </if>
- <if test=" drugPeopleCount != null">
- drug_people_count,
- </if>
- <if test=" unitePower != null">
- unite_power,
- </if>
- <if test=" isFumigation != null">
- is_fumigation,
- </if>
- <if test=" closeWay != null">
- close_way,
- </if>
- <if test=" director != null">
- director,
- </if>
- <if test=" drugCapacityCount != null">
- drug_capacity_count,
- </if>
- <if test=" durgCount != null">
- durg_count,
- </if>
- <if test=" tempBeforeFumigation != null">
- temp_before_fumigation,
- </if>
- <if test=" tempAfterFumigation != null">
- temp_after_fumigation,
- </if>
- <if test=" pestBeforeFumigation != null">
- pest_before_fumigation,
- </if>
- <if test=" pestAfterFumigation != null">
- pest_after_fumigation,
- </if>
- <if test=" fumigationKind != null">
- fumigation_kind,
- </if>
- <if test=" water != null">
- water,
- </if>
- <if test=" closeTime != null">
- close_time,
- </if>
- <if test=" killRatio != null">
- kill_ratio,
- </if>
- <if test=" remainRatio != null">
- remain_ratio,
- </if>
- <if test=" isBadThings != null">
- is_bad_things,
- </if>
- <if test=" managerUser != null">
- manager_user,
- </if>
- <if test=" drugFoodCount != null">
- drug_food_count,
- </if>
- <if test=" deviceNo != null">
- device_no,
- </if>
- <if test=" power != null">
- power,
- </if>
- <if test=" loopTime != null">
- loop_time,
- </if>
- <if test=" airConditionState != null">
- air_condition_state,
- </if>
- <if test=" problems != null">
- problems,
- </if>
- <if test=" improvement != null">
- improvement,
- </if>
- <if test=" tempBeforeLoop != null">
- temp_before_loop,
- </if>
- <if test=" tempAfterLoop != null">
- temp_after_loop,
- </if>
- <if test=" operator != null">
- operator,
- </if>
- <if test=" remark != null">
- remark,
- </if>
- <if test=" cId != null">
- c_id,
- </if>
- <if test=" uId != null">
- u_id,
- </if>
- <if test=" cTime != null">
- c_time,
- </if>
- <if test=" uTime != null">
- u_time,
- </if>
- <if test=" version != null">
- version,
- </if>
- <if test=" outsideTemp != null">
- outside_temp,
- </if>
- <if test=" circulationPower != null">
- circulation_power,
- </if>
- <if test=" circulationTime != null">
- circulation_time,
- </if>
- <if test=" circulationNumber != null">
- circulation_number,
- </if>
- <if test=" loopTimeStart != null">
- loop_time_start,
- </if>
- <if test=" loopTimeEnd != null">
- loop_time_end,
- </if>
- <if test=" avgGrainTemp != null">
- avg_grain_temp,
- </if>
- <if test=" grainstackAvgTemp != null">
- grainstack_avg_temp,
- </if>
- <if test=" airTightness != null">
- air_tightness,
- </if>
- <if test=" securityOfficer != null">
- security_officer,
- </if>
- <if test=" closeTimeEnd != null">
- close_time_end,
- </if>
- <if test=" aerationStartTime != null">
- aeration_start_time,
- </if>
- <if test=" aerationEndTime != null">
- aeration_end_time,
- </if>
- <if test=" aerationMode != null">
- aeration_mode
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test=" id != null">
- #{id},
- </if>
- <if test=" type != null">
- #{type},
- </if>
- <if test=" subType != null">
- #{subType},
- </if>
- <if test=" uuid != null">
- #{uuid},
- </if>
- <if test=" houseId != null">
- #{houseId},
- </if>
- <if test=" volume != null">
- #{volume},
- </if>
- <if test=" windReason != null">
- #{windReason},
- </if>
- <if test=" height != null">
- #{height},
- </if>
- <if test=" taskStartTime != null">
- #{taskStartTime},
- </if>
- <if test=" taskEndTime != null">
- #{taskEndTime},
- </if>
- <if test=" keeper != null">
- #{keeper},
- </if>
- <if test=" windTotal != null">
- #{windTotal},
- </if>
- <if test=" uniteWind != null">
- #{uniteWind},
- </if>
- <if test=" blowerModel != null">
- #{blowerModel},
- </if>
- <if test=" blowerPower != null">
- #{blowerPower},
- </if>
- <if test=" blowerType != null">
- #{blowerType},
- </if>
- <if test=" blowerTypeUnit != null">
- #{blowerTypeUnit},
- </if>
- <if test=" blowerTotalForces != null">
- #{blowerTotalForces},
- </if>
- <if test=" windType != null">
- #{windType},
- </if>
- <if test=" blowerNumber != null">
- #{blowerNumber},
- </if>
- <if test=" taskTime != null">
- #{taskTime},
- </if>
- <if test=" tempHigh != null">
- #{tempHigh},
- </if>
- <if test=" tempLow != null">
- #{tempLow},
- </if>
- <if test=" tempAverage != null">
- #{tempAverage},
- </if>
- <if test=" humidityHigh != null">
- #{humidityHigh},
- </if>
- <if test=" humidityLow != null">
- #{humidityLow},
- </if>
- <if test=" humidityAverage != null">
- #{humidityAverage},
- </if>
- <if test=" tempBeforeHigh != null">
- #{tempBeforeHigh},
- </if>
- <if test=" tempAfterHigh != null">
- #{tempAfterHigh},
- </if>
- <if test=" tempBeforeLow != null">
- #{tempBeforeLow},
- </if>
- <if test=" tempAfterLow != null">
- #{tempAfterLow},
- </if>
- <if test=" tempBeforeAverage != null">
- #{tempBeforeAverage},
- </if>
- <if test=" tempEndAverage != null">
- #{tempEndAverage},
- </if>
- <if test=" waterBeforeHigh != null">
- #{waterBeforeHigh},
- </if>
- <if test=" waterBeforeLow != null">
- #{waterBeforeLow},
- </if>
- <if test=" waterBeforeAverage != null">
- #{waterBeforeAverage},
- </if>
- <if test=" waterAfterHigh != null">
- #{waterAfterHigh},
- </if>
- <if test=" waterAfterLow != null">
- #{waterAfterLow},
- </if>
- <if test=" waterAfterAverage != null">
- #{waterAfterAverage},
- </if>
- <if test=" tempGrads != null">
- #{tempGrads},
- </if>
- <if test=" waterGrads != null">
- #{waterGrads},
- </if>
- <if test=" totalPower != null">
- #{totalPower},
- </if>
- <if test=" weather != null">
- #{weather},
- </if>
- <if test=" airTemp != null">
- #{airTemp},
- </if>
- <if test=" drugTime != null">
- #{drugTime},
- </if>
- <if test=" houseTemp != null">
- #{houseTemp},
- </if>
- <if test=" averateTemp != null">
- #{averateTemp},
- </if>
- <if test=" number != null">
- #{number},
- </if>
- <if test=" houseFoodCapacity != null">
- #{houseFoodCapacity},
- </if>
- <if test=" drugPurity != null">
- #{drugPurity},
- </if>
- <if test=" houseSpaceCapacity != null">
- #{houseSpaceCapacity},
- </if>
- <if test=" houseSumCapacity != null">
- #{houseSumCapacity},
- </if>
- <if test=" sequence != null">
- #{sequence},
- </if>
- <if test=" materialCapacity != null">
- #{materialCapacity},
- </if>
- <if test=" drugName != null">
- #{drugName},
- </if>
- <if test=" drugWay != null">
- #{drugWay},
- </if>
- <if test=" drugPeopleCount != null">
- #{drugPeopleCount},
- </if>
- <if test=" unitePower != null">
- #{unitePower},
- </if>
- <if test=" isFumigation != null">
- #{isFumigation},
- </if>
- <if test=" closeWay != null">
- #{closeWay},
- </if>
- <if test=" director != null">
- #{director},
- </if>
- <if test=" drugCapacityCount != null">
- #{drugCapacityCount},
- </if>
- <if test=" durgCount != null">
- #{durgCount},
- </if>
- <if test=" tempBeforeFumigation != null">
- #{tempBeforeFumigation},
- </if>
- <if test=" tempAfterFumigation != null">
- #{tempAfterFumigation},
- </if>
- <if test=" pestBeforeFumigation != null">
- #{pestBeforeFumigation},
- </if>
- <if test=" pestAfterFumigation != null">
- #{pestAfterFumigation},
- </if>
- <if test=" fumigationKind != null">
- #{fumigationKind},
- </if>
- <if test=" water != null">
- #{water},
- </if>
- <if test=" closeTime != null">
- #{closeTime},
- </if>
- <if test=" killRatio != null">
- #{killRatio},
- </if>
- <if test=" remainRatio != null">
- #{remainRatio},
- </if>
- <if test=" isBadThings != null">
- #{isBadThings},
- </if>
- <if test=" managerUser != null">
- #{managerUser},
- </if>
- <if test=" drugFoodCount != null">
- #{drugFoodCount},
- </if>
- <if test=" deviceNo != null">
- #{deviceNo},
- </if>
- <if test=" power != null">
- #{power},
- </if>
- <if test=" loopTime != null">
- #{loopTime},
- </if>
- <if test=" airConditionState != null">
- #{airConditionState},
- </if>
- <if test=" problems != null">
- #{problems},
- </if>
- <if test=" improvement != null">
- #{improvement},
- </if>
- <if test=" tempBeforeLoop != null">
- #{tempBeforeLoop},
- </if>
- <if test=" tempAfterLoop != null">
- #{tempAfterLoop},
- </if>
- <if test=" operator != null">
- #{operator},
- </if>
- <if test=" remark != null">
- #{remark},
- </if>
- <if test=" cId != null">
- #{cId},
- </if>
- <if test=" uId != null">
- #{uId},
- </if>
- <if test=" cTime != null">
- #{cTime},
- </if>
- <if test=" uTime != null">
- #{uTime},
- </if>
- <if test=" version != null">
- #{version},
- </if>
- <if test=" outsideTemp != null">
- #{outsideTemp},
- </if>
- <if test=" circulationPower != null">
- #{circulationPower},
- </if>
- <if test=" circulationTime != null">
- #{circulationTime},
- </if>
- <if test=" circulationNumber != null">
- #{circulationNumber},
- </if>
- <if test=" loopTimeStart != null">
- #{loopTimeStart},
- </if>
- <if test=" loopTimeEnd != null">
- #{loopTimeEnd},
- </if>
- <if test=" avgGrainTemp != null">
- #{avgGrainTemp},
- </if>
- <if test=" grainstackAvgTemp != null">
- #{grainstackAvgTemp},
- </if>
- <if test=" airTightness != null">
- #{airTightness},
- </if>
- <if test=" securityOfficer != null">
- #{securityOfficer},
- </if>
- <if test=" closeTimeEnd != null">
- #{closeTimeEnd},
- </if>
- <if test=" aerationStartTime != null">
- #{aerationStartTime},
- </if>
- <if test=" aerationEndTime != null">
- #{aerationEndTime},
- </if>
- <if test=" aerationMode != null">
- #{aerationMode}
- </if>
- </trim>
- </insert>
- <update id="updateByUuid" parameterType="cn.ourwill.module.house.entity.daily.DailyRecordTask">
- UPDATE daily_record_task
- <set>
- <if test="type != null">
- `type`= #{type} ,
- </if>
- <if test="subType != null">
- sub_type= #{subType} ,
- </if>
- <if test="uuid != null">
- uuid= #{uuid} ,
- </if>
- <if test="houseId != null">
- house_id= #{houseId} ,
- </if>
- <if test="volume != null">
- volume= #{volume} ,
- </if>
- <if test="windReason != null">
- wind_reason= #{windReason} ,
- </if>
- <if test="height != null">
- height= #{height} ,
- </if>
- <if test="taskStartTime != null">
- task_start_time= #{taskStartTime} ,
- </if>
- <if test="taskEndTime != null">
- task_end_time= #{taskEndTime} ,
- </if>
- <if test="keeper != null">
- keeper= #{keeper} ,
- </if>
- <if test="windTotal != null">
- wind_total= #{windTotal} ,
- </if>
- <if test="uniteWind != null">
- unite_wind= #{uniteWind} ,
- </if>
- <if test="blowerModel != null">
- blower_model= #{blowerModel} ,
- </if>
- <if test="blowerPower != null">
- blower_power= #{blowerPower} ,
- </if>
- <if test="blowerType != null">
- blower_type= #{blowerType} ,
- </if>
- <if test="blowerTypeUnit != null">
- blower_type_unit= #{blowerTypeUnit} ,
- </if>
- <if test="blowerTotalForces != null">
- blower_total_forces= #{blowerTotalForces} ,
- </if>
- <if test="windType != null">
- wind_type= #{windType} ,
- </if>
- <if test="blowerNumber != null">
- blower_number= #{blowerNumber} ,
- </if>
- <if test="taskTime != null">
- task_time= #{taskTime} ,
- </if>
- <if test="tempHigh != null">
- temp_high= #{tempHigh} ,
- </if>
- <if test="tempLow != null">
- temp_low= #{tempLow} ,
- </if>
- <if test="tempAverage != null">
- temp_average= #{tempAverage} ,
- </if>
- <if test="humidityHigh != null">
- humidity_high= #{humidityHigh} ,
- </if>
- <if test="humidityLow != null">
- humidity_low= #{humidityLow} ,
- </if>
- <if test="humidityAverage != null">
- humidity_average= #{humidityAverage} ,
- </if>
- <if test="tempBeforeHigh != null">
- temp_before_high= #{tempBeforeHigh} ,
- </if>
- <if test="tempAfterHigh != null">
- temp_after_high= #{tempAfterHigh} ,
- </if>
- <if test="tempBeforeLow != null">
- temp_before_low= #{tempBeforeLow} ,
- </if>
- <if test="tempAfterLow != null">
- temp_after_low= #{tempAfterLow} ,
- </if>
- <if test="tempBeforeAverage != null">
- temp_before_average= #{tempBeforeAverage} ,
- </if>
- <if test="tempEndAverage != null">
- temp_end_average= #{tempEndAverage} ,
- </if>
- <if test="waterBeforeHigh != null">
- water_before_high= #{waterBeforeHigh} ,
- </if>
- <if test="waterBeforeLow != null">
- water_before_low= #{waterBeforeLow} ,
- </if>
- <if test="waterBeforeAverage != null">
- water_before_average= #{waterBeforeAverage} ,
- </if>
- <if test="waterAfterHigh != null">
- water_after_high= #{waterAfterHigh} ,
- </if>
- <if test="waterAfterLow != null">
- water_after_low= #{waterAfterLow} ,
- </if>
- <if test="waterAfterAverage != null">
- water_after_average= #{waterAfterAverage} ,
- </if>
- <if test="tempGrads != null">
- temp_grads= #{tempGrads} ,
- </if>
- <if test="waterGrads != null">
- water_grads= #{waterGrads} ,
- </if>
- <if test="totalPower != null">
- total_power= #{totalPower} ,
- </if>
- <if test="weather != null">
- weather= #{weather} ,
- </if>
- <if test="airTemp != null">
- air_temp= #{airTemp} ,
- </if>
- <if test="drugTime != null">
- drug_time= #{drugTime} ,
- </if>
- <if test="houseTemp != null">
- house_temp= #{houseTemp} ,
- </if>
- <if test="averateTemp != null">
- averate_temp= #{averateTemp} ,
- </if>
- <if test="number != null">
- `number`= #{number} ,
- </if>
- <if test="houseFoodCapacity != null">
- house_food_capacity= #{houseFoodCapacity} ,
- </if>
- <if test="drugPurity != null">
- drug_purity= #{drugPurity} ,
- </if>
- <if test="houseSpaceCapacity != null">
- house_space_capacity= #{houseSpaceCapacity} ,
- </if>
- <if test="houseSumCapacity != null">
- house_sum_capacity= #{houseSumCapacity} ,
- </if>
- <if test="sequence != null">
- sequence= #{sequence} ,
- </if>
- <if test="materialCapacity != null">
- material_capacity= #{materialCapacity} ,
- </if>
- <if test="drugName != null">
- drug_name= #{drugName} ,
- </if>
- <if test="drugWay != null">
- drug_way= #{drugWay} ,
- </if>
- <if test="drugPeopleCount != null">
- drug_people_count= #{drugPeopleCount} ,
- </if>
- <if test="unitePower != null">
- unite_power= #{unitePower} ,
- </if>
- <if test="isFumigation != null">
- is_fumigation= #{isFumigation} ,
- </if>
- <if test="closeWay != null">
- close_way= #{closeWay} ,
- </if>
- <if test="director != null">
- director= #{director} ,
- </if>
- <if test="drugCapacityCount != null">
- drug_capacity_count= #{drugCapacityCount} ,
- </if>
- <if test="durgCount != null">
- durg_count= #{durgCount} ,
- </if>
- <if test="tempBeforeFumigation != null">
- temp_before_fumigation= #{tempBeforeFumigation} ,
- </if>
- <if test="tempAfterFumigation != null">
- temp_after_fumigation= #{tempAfterFumigation} ,
- </if>
- <if test="pestBeforeFumigation != null">
- pest_before_fumigation= #{pestBeforeFumigation} ,
- </if>
- <if test="pestAfterFumigation != null">
- pest_after_fumigation= #{pestAfterFumigation} ,
- </if>
- <if test="fumigationKind != null">
- fumigation_kind= #{fumigationKind} ,
- </if>
- <if test="water != null">
- water= #{water} ,
- </if>
- <if test="closeTime != null">
- close_time= #{closeTime} ,
- </if>
- <if test="killRatio != null">
- kill_ratio= #{killRatio} ,
- </if>
- <if test="remainRatio != null">
- remain_ratio= #{remainRatio} ,
- </if>
- <if test="isBadThings != null">
- is_bad_things= #{isBadThings} ,
- </if>
- <if test="managerUser != null">
- manager_user= #{managerUser} ,
- </if>
- <if test="deviceNo != null">
- device_no= #{deviceNo} ,
- </if>
- <if test="power != null">
- power= #{power} ,
- </if>
- <if test="loopTime != null">
- loop_time= #{loopTime} ,
- </if>
- <if test="airConditionState != null">
- air_condition_state= #{airConditionState} ,
- </if>
- <if test="problems != null">
- problems= #{problems} ,
- </if>
- <if test="improvement != null">
- improvement= #{improvement} ,
- </if>
- <if test="tempBeforeLoop != null">
- temp_before_loop= #{tempBeforeLoop} ,
- </if>
- <if test="tempAfterLoop != null">
- temp_after_loop= #{tempAfterLoop} ,
- </if>
- <if test="operator != null">
- operator= #{operator} ,
- </if>
- <if test="remark != null">
- remark= #{remark} ,
- </if>
- <if test="cId != null">
- c_id= #{cId} ,
- </if>
- <if test="uId != null">
- u_id= #{uId} ,
- </if>
- <if test="cTime != null">
- c_time= #{cTime} ,
- </if>
- <if test="uTime != null">
- u_time= #{uTime} ,
- </if>
- <if test="version != null">
- version= #{version} ,
- </if>
- <if test="outsideTemp != null">
- outside_temp= #{outsideTemp} ,
- </if>
- <if test="circulationPower != null">
- circulation_power= #{circulationPower} ,
- </if>
- <if test="circulationTime != null">
- circulation_time= #{circulationTime} ,
- </if>
- <if test="circulationNumber != null">
- circulation_number= #{circulationNumber} ,
- </if>
- <if test="loopTimeStart != null">
- loop_time_start= #{loopTimeStart} ,
- </if>
- <if test="loopTimeEnd != null">
- loop_time_end= #{loopTimeEnd} ,
- </if>
- <if test="avgGrainTemp != null">
- avg_grain_temp= #{avgGrainTemp} ,
- </if>
- <if test="grainstackAvgTemp != null">
- grainstack_avg_temp= #{grainstackAvgTemp} ,
- </if>
- <if test="airTightness != null">
- air_tightness= #{airTightness} ,
- </if>
- <if test="securityOfficer != null">
- security_officer= #{securityOfficer} ,
- </if>
- <if test="closeTimeEnd != null">
- close_time_end= #{closeTimeEnd} ,
- </if>
- <if test="aerationStartTime != null">
- aeration_start_time= #{aerationStartTime} ,
- </if>
- <if test="aerationEndTime != null">
- aeration_end_time= #{aerationEndTime} ,
- </if>
- <if test="aerationMode != null">
- aeration_mode= #{aerationMode} ,
- </if>
- <if test="syncFlag !=null">
- sync_flag=#{syncFlag}
- </if>
- </set>
- WHERE uuid = #{uuid}
- </update>
- <update id="update" parameterType="cn.ourwill.module.house.entity.daily.DailyRecordTask">
- UPDATE daily_record_task
- <set>
- <if test="id != null">
- id= #{id} ,
- </if>
- <if test="type != null">
- `type`= #{type} ,
- </if>
- <if test="subType != null">
- sub_type= #{subType} ,
- </if>
- <if test="uuid != null">
- uuid= #{uuid} ,
- </if>
- <if test="houseId != null">
- house_id= #{houseId} ,
- </if>
- <if test="volume != null">
- volume= #{volume} ,
- </if>
- <if test="windReason != null">
- wind_reason= #{windReason} ,
- </if>
- <if test="height != null">
- height= #{height} ,
- </if>
- <if test="taskStartTime != null">
- task_start_time= #{taskStartTime} ,
- </if>
- <if test="taskEndTime != null">
- task_end_time= #{taskEndTime} ,
- </if>
- <if test="keeper != null">
- keeper= #{keeper} ,
- </if>
- <if test="windTotal != null">
- wind_total= #{windTotal} ,
- </if>
- <if test="uniteWind != null">
- unite_wind= #{uniteWind} ,
- </if>
- <if test="blowerModel != null">
- blower_model= #{blowerModel} ,
- </if>
- <if test="blowerPower != null">
- blower_power= #{blowerPower} ,
- </if>
- <if test="blowerType != null">
- blower_type= #{blowerType} ,
- </if>
- <if test="blowerTypeUnit != null">
- blower_type_unit= #{blowerTypeUnit} ,
- </if>
- <if test="blowerTotalForces != null">
- blower_total_forces= #{blowerTotalForces} ,
- </if>
- <if test="windType != null">
- wind_type= #{windType} ,
- </if>
- <if test="blowerNumber != null">
- blower_number= #{blowerNumber} ,
- </if>
- <if test="taskTime != null">
- task_time= #{taskTime} ,
- </if>
- <if test="tempHigh != null">
- temp_high= #{tempHigh} ,
- </if>
- <if test="tempLow != null">
- temp_low= #{tempLow} ,
- </if>
- <if test="tempAverage != null">
- temp_average= #{tempAverage} ,
- </if>
- <if test="humidityHigh != null">
- humidity_high= #{humidityHigh} ,
- </if>
- <if test="humidityLow != null">
- humidity_low= #{humidityLow} ,
- </if>
- <if test="humidityAverage != null">
- humidity_average= #{humidityAverage} ,
- </if>
- <if test="tempBeforeHigh != null">
- temp_before_high= #{tempBeforeHigh} ,
- </if>
- <if test="tempAfterHigh != null">
- temp_after_high= #{tempAfterHigh} ,
- </if>
- <if test="tempBeforeLow != null">
- temp_before_low= #{tempBeforeLow} ,
- </if>
- <if test="tempAfterLow != null">
- temp_after_low= #{tempAfterLow} ,
- </if>
- <if test="tempBeforeAverage != null">
- temp_before_average= #{tempBeforeAverage} ,
- </if>
- <if test="tempEndAverage != null">
- temp_end_average= #{tempEndAverage} ,
- </if>
- <if test="waterBeforeHigh != null">
- water_before_high= #{waterBeforeHigh} ,
- </if>
- <if test="waterBeforeLow != null">
- water_before_low= #{waterBeforeLow} ,
- </if>
- <if test="waterBeforeAverage != null">
- water_before_average= #{waterBeforeAverage} ,
- </if>
- <if test="waterAfterHigh != null">
- water_after_high= #{waterAfterHigh} ,
- </if>
- <if test="waterAfterLow != null">
- water_after_low= #{waterAfterLow} ,
- </if>
- <if test="waterAfterAverage != null">
- water_after_average= #{waterAfterAverage} ,
- </if>
- <if test="tempGrads != null">
- temp_grads= #{tempGrads} ,
- </if>
- <if test="waterGrads != null">
- water_grads= #{waterGrads} ,
- </if>
- <if test="totalPower != null">
- total_power= #{totalPower} ,
- </if>
- <if test="weather != null">
- weather= #{weather} ,
- </if>
- <if test="airTemp != null">
- air_temp= #{airTemp} ,
- </if>
- <if test="drugTime != null">
- drug_time= #{drugTime} ,
- </if>
- <if test="houseTemp != null">
- house_temp= #{houseTemp} ,
- </if>
- <if test="averateTemp != null">
- averate_temp= #{averateTemp} ,
- </if>
- <if test="number != null">
- `number`= #{number} ,
- </if>
- <if test="houseFoodCapacity != null">
- house_food_capacity= #{houseFoodCapacity} ,
- </if>
- <if test="drugPurity != null">
- drug_purity= #{drugPurity} ,
- </if>
- <if test="houseSpaceCapacity != null">
- house_space_capacity= #{houseSpaceCapacity} ,
- </if>
- <if test="houseSumCapacity != null">
- house_sum_capacity= #{houseSumCapacity} ,
- </if>
- <if test="sequence != null">
- sequence= #{sequence} ,
- </if>
- <if test="materialCapacity != null">
- material_capacity= #{materialCapacity} ,
- </if>
- <if test="drugName != null">
- drug_name= #{drugName} ,
- </if>
- <if test="drugWay != null">
- drug_way= #{drugWay} ,
- </if>
- <if test="drugPeopleCount != null">
- drug_people_count= #{drugPeopleCount} ,
- </if>
- <if test="unitePower != null">
- unite_power= #{unitePower} ,
- </if>
- <if test="isFumigation != null">
- is_fumigation= #{isFumigation} ,
- </if>
- <if test="closeWay != null">
- close_way= #{closeWay} ,
- </if>
- <if test="director != null">
- director= #{director} ,
- </if>
- <if test="drugCapacityCount != null">
- drug_capacity_count= #{drugCapacityCount} ,
- </if>
- <if test="durgCount != null">
- durg_count= #{durgCount} ,
- </if>
- <if test="tempBeforeFumigation != null">
- temp_before_fumigation= #{tempBeforeFumigation} ,
- </if>
- <if test="tempAfterFumigation != null">
- temp_after_fumigation= #{tempAfterFumigation} ,
- </if>
- <if test="pestBeforeFumigation != null">
- pest_before_fumigation= #{pestBeforeFumigation} ,
- </if>
- <if test="pestAfterFumigation != null">
- pest_after_fumigation= #{pestAfterFumigation} ,
- </if>
- <if test="fumigationKind != null">
- fumigation_kind= #{fumigationKind} ,
- </if>
- <if test="water != null">
- water= #{water} ,
- </if>
- <if test="closeTime != null">
- close_time= #{closeTime} ,
- </if>
- <if test="killRatio != null">
- kill_ratio= #{killRatio} ,
- </if>
- <if test="remainRatio != null">
- remain_ratio= #{remainRatio} ,
- </if>
- <if test="isBadThings != null">
- is_bad_things= #{isBadThings} ,
- </if>
- <if test="managerUser != null">
- manager_user= #{managerUser} ,
- </if>
- <if test="deviceNo != null">
- device_no= #{deviceNo} ,
- </if>
- <if test="power != null">
- power= #{power} ,
- </if>
- <if test="loopTime != null">
- loop_time= #{loopTime} ,
- </if>
- <if test="airConditionState != null">
- air_condition_state= #{airConditionState} ,
- </if>
- <if test="problems != null">
- problems= #{problems} ,
- </if>
- <if test="improvement != null">
- improvement= #{improvement} ,
- </if>
- <if test="tempBeforeLoop != null">
- temp_before_loop= #{tempBeforeLoop} ,
- </if>
- <if test="tempAfterLoop != null">
- temp_after_loop= #{tempAfterLoop} ,
- </if>
- <if test="operator != null">
- operator= #{operator} ,
- </if>
- <if test="remark != null">
- remark= #{remark} ,
- </if>
- <if test="cId != null">
- c_id= #{cId} ,
- </if>
- <if test="uId != null">
- u_id= #{uId} ,
- </if>
- <if test="cTime != null">
- c_time= #{cTime} ,
- </if>
- <if test="uTime != null">
- u_time= #{uTime} ,
- </if>
- <if test="version != null">
- version= #{version} ,
- </if>
- <if test="outsideTemp != null">
- outside_temp= #{outsideTemp} ,
- </if>
- <if test="circulationPower != null">
- circulation_power= #{circulationPower} ,
- </if>
- <if test="circulationTime != null">
- circulation_time= #{circulationTime} ,
- </if>
- <if test="circulationNumber != null">
- circulation_number= #{circulationNumber} ,
- </if>
- <if test="loopTimeStart != null">
- loop_time_start= #{loopTimeStart} ,
- </if>
- <if test="loopTimeEnd != null">
- loop_time_end= #{loopTimeEnd} ,
- </if>
- <if test="avgGrainTemp != null">
- avg_grain_temp= #{avgGrainTemp} ,
- </if>
- <if test="grainstackAvgTemp != null">
- grainstack_avg_temp= #{grainstackAvgTemp} ,
- </if>
- <if test="airTightness != null">
- air_tightness= #{airTightness} ,
- </if>
- <if test="securityOfficer != null">
- security_officer= #{securityOfficer} ,
- </if>
- <if test="closeTimeEnd != null">
- close_time_end= #{closeTimeEnd} ,
- </if>
- <if test="aerationStartTime != null">
- aeration_start_time= #{aerationStartTime} ,
- </if>
- <if test="aerationEndTime != null">
- aeration_end_time= #{aerationEndTime} ,
- </if>
- <if test="aerationMode != null">
- aeration_mode= #{aerationMode}
- </if>
- </set>
- WHERE id = #{id}
- </update>
- <update id="updateButton" parameterType="cn.ourwill.module.house.entity.daily.DailyRecordTask">
- UPDATE daily_record_task
- <set>
- <if test="id != null">
- id= #{id} ,
- </if>
- <if test="type != null">
- `type`= #{type} ,
- </if>
- <if test="subType != null">
- sub_type= #{subType} ,
- </if>
- <if test="uuid != null">
- uuid= #{uuid} ,
- </if>
- <if test="houseId != null">
- house_id= #{houseId} ,
- </if>
- <if test="volume != null">
- volume= #{volume} ,
- </if>
- <if test="windReason != null">
- wind_reason= #{windReason} ,
- </if>
- <if test="height != null">
- height= #{height} ,
- </if>
- <if test="taskStartTime != null">
- task_start_time= #{taskStartTime} ,
- </if>
- <if test="taskEndTime != null">
- task_end_time= #{taskEndTime} ,
- </if>
- <if test="keeper != null">
- keeper= #{keeper} ,
- </if>
- <if test="windTotal != null">
- wind_total= #{windTotal} ,
- </if>
- <if test="uniteWind != null">
- unite_wind= #{uniteWind} ,
- </if>
- <if test="blowerModel != null">
- blower_model= #{blowerModel} ,
- </if>
- <if test="blowerPower != null">
- blower_power= #{blowerPower} ,
- </if>
- <if test="blowerType != null">
- blower_type= #{blowerType} ,
- </if>
- <if test="blowerTypeUnit != null">
- blower_type_unit= #{blowerTypeUnit} ,
- </if>
- <if test="blowerTotalForces != null">
- blower_total_forces= #{blowerTotalForces} ,
- </if>
- <if test="windType != null">
- wind_type= #{windType} ,
- </if>
- <if test="blowerNumber != null">
- blower_number= #{blowerNumber} ,
- </if>
- <if test="taskTime != null">
- task_time= #{taskTime} ,
- </if>
- <if test="tempHigh != null">
- temp_high= #{tempHigh} ,
- </if>
- <if test="tempLow != null">
- temp_low= #{tempLow} ,
- </if>
- <if test="tempAverage != null">
- temp_average= #{tempAverage} ,
- </if>
- <if test="humidityHigh != null">
- humidity_high= #{humidityHigh} ,
- </if>
- <if test="humidityLow != null">
- humidity_low= #{humidityLow} ,
- </if>
- <if test="humidityAverage != null">
- humidity_average= #{humidityAverage} ,
- </if>
- <if test="tempBeforeHigh != null">
- temp_before_high= #{tempBeforeHigh} ,
- </if>
- <if test="tempAfterHigh != null">
- temp_after_high= #{tempAfterHigh} ,
- </if>
- <if test="tempBeforeLow != null">
- temp_before_low= #{tempBeforeLow} ,
- </if>
- <if test="tempAfterLow != null">
- temp_after_low= #{tempAfterLow} ,
- </if>
- <if test="tempBeforeAverage != null">
- temp_before_average= #{tempBeforeAverage} ,
- </if>
- <if test="tempEndAverage != null">
- temp_end_average= #{tempEndAverage} ,
- </if>
- <if test="waterBeforeHigh != null">
- water_before_high= #{waterBeforeHigh} ,
- </if>
- <if test="waterBeforeLow != null">
- water_before_low= #{waterBeforeLow} ,
- </if>
- <if test="waterBeforeAverage != null">
- water_before_average= #{waterBeforeAverage} ,
- </if>
- <if test="waterAfterHigh != null">
- water_after_high= #{waterAfterHigh} ,
- </if>
- <if test="waterAfterLow != null">
- water_after_low= #{waterAfterLow} ,
- </if>
- <if test="waterAfterAverage != null">
- water_after_average= #{waterAfterAverage} ,
- </if>
- <if test="tempGrads != null">
- temp_grads= #{tempGrads} ,
- </if>
- <if test="waterGrads != null">
- water_grads= #{waterGrads} ,
- </if>
- <if test="totalPower != null">
- total_power= #{totalPower} ,
- </if>
- <if test="weather != null">
- weather= #{weather} ,
- </if>
- <if test="airTemp != null">
- air_temp= #{airTemp} ,
- </if>
- <if test="drugTime != null">
- drug_time= #{drugTime} ,
- </if>
- <if test="houseTemp != null">
- house_temp= #{houseTemp} ,
- </if>
- <if test="averateTemp != null">
- averate_temp= #{averateTemp} ,
- </if>
- <if test="number != null">
- `number`= #{number} ,
- </if>
- <if test="houseFoodCapacity != null">
- house_food_capacity= #{houseFoodCapacity} ,
- </if>
- <if test="drugPurity != null">
- drug_purity= #{drugPurity} ,
- </if>
- <if test="houseSpaceCapacity != null">
- house_space_capacity= #{houseSpaceCapacity} ,
- </if>
- <if test="houseSumCapacity != null">
- house_sum_capacity= #{houseSumCapacity} ,
- </if>
- <if test="sequence != null">
- sequence= #{sequence} ,
- </if>
- <if test="materialCapacity != null">
- material_capacity= #{materialCapacity} ,
- </if>
- <if test="drugName != null">
- drug_name= #{drugName} ,
- </if>
- <if test="drugWay != null">
- drug_way= #{drugWay} ,
- </if>
- <if test="drugPeopleCount != null">
- drug_people_count= #{drugPeopleCount} ,
- </if>
- <if test="unitePower != null">
- unite_power= #{unitePower} ,
- </if>
- <if test="isFumigation != null">
- is_fumigation= #{isFumigation} ,
- </if>
- <if test="closeWay != null">
- close_way= #{closeWay} ,
- </if>
- <if test="director != null">
- director= #{director} ,
- </if>
- <if test="drugCapacityCount != null">
- drug_capacity_count= #{drugCapacityCount} ,
- </if>
- <if test="durgCount != null">
- durg_count= #{durgCount} ,
- </if>
- <if test="tempBeforeFumigation != null">
- temp_before_fumigation= #{tempBeforeFumigation} ,
- </if>
- <if test="tempAfterFumigation != null">
- temp_after_fumigation= #{tempAfterFumigation} ,
- </if>
- <if test="pestBeforeFumigation != null">
- pest_before_fumigation= #{pestBeforeFumigation} ,
- </if>
- <if test="pestAfterFumigation != null">
- pest_after_fumigation= #{pestAfterFumigation} ,
- </if>
- <if test="fumigationKind != null">
- fumigation_kind= #{fumigationKind} ,
- </if>
- <if test="water != null">
- water= #{water} ,
- </if>
- <if test="closeTime != null">
- close_time= #{closeTime} ,
- </if>
- <if test="killRatio != null">
- kill_ratio= #{killRatio} ,
- </if>
- <if test="remainRatio != null">
- remain_ratio= #{remainRatio} ,
- </if>
- <if test="isBadThings != null">
- is_bad_things= #{isBadThings} ,
- </if>
- <if test="managerUser != null">
- manager_user= #{managerUser} ,
- </if>
- <if test="deviceNo != null">
- device_no= #{deviceNo} ,
- </if>
- <if test="power != null">
- power= #{power} ,
- </if>
- <if test="loopTime != null">
- loop_time= #{loopTime} ,
- </if>
- <if test="airConditionState != null">
- air_condition_state= #{airConditionState} ,
- </if>
- <if test="problems != null">
- problems= #{problems} ,
- </if>
- <if test="improvement != null">
- improvement= #{improvement} ,
- </if>
- <if test="tempBeforeLoop != null">
- temp_before_loop= #{tempBeforeLoop} ,
- </if>
- <if test="tempAfterLoop != null">
- temp_after_loop= #{tempAfterLoop} ,
- </if>
- <if test="operator != null">
- operator= #{operator} ,
- </if>
- <if test="remark != null">
- remark= #{remark} ,
- </if>
- <if test="cId != null">
- c_id= #{cId} ,
- </if>
- <if test="uId != null">
- u_id= #{uId} ,
- </if>
- <if test="cTime != null">
- c_time= #{cTime} ,
- </if>
- <if test="uTime != null">
- u_time= #{uTime} ,
- </if>
- <if test="version != null">
- version= #{version} ,
- </if>
- <if test="outsideTemp != null">
- outside_temp= #{outsideTemp} ,
- </if>
- <if test="circulationPower != null">
- circulation_power= #{circulationPower} ,
- </if>
- <if test="circulationTime != null">
- circulation_time= #{circulationTime} ,
- </if>
- <if test="circulationNumber != null">
- circulation_number= #{circulationNumber} ,
- </if>
- <if test="loopTimeStart != null">
- loop_time_start= #{loopTimeStart} ,
- </if>
- <if test="loopTimeEnd != null">
- loop_time_end= #{loopTimeEnd} ,
- </if>
- <if test="avgGrainTemp != null">
- avg_grain_temp= #{avgGrainTemp} ,
- </if>
- <if test="grainstackAvgTemp != null">
- grainstack_avg_temp= #{grainstackAvgTemp} ,
- </if>
- <if test="airTightness != null">
- air_tightness= #{airTightness} ,
- </if>
- <if test="securityOfficer != null">
- security_officer= #{securityOfficer} ,
- </if>
- <if test="closeTimeEnd != null">
- close_time_end= #{closeTimeEnd} ,
- </if>
- <if test="aerationStartTime != null">
- aeration_start_time= #{aerationStartTime} ,
- </if>
- <if test="aerationEndTime != null">
- aeration_end_time= #{aerationEndTime} ,
- </if>
- <if test="aerationMode != null">
- aeration_mode= #{aerationMode}
- </if>
- </set>
- WHERE id = #{id}
- </update>
- <delete id="deleteById" parameterType="java.lang.Long">
- DELETE FROM daily_record_task WHERE id = #{id}
- </delete>
- <delete id="deleteByIds" parameterType="java.util.List">
- DELETE FROM daily_record_task WHERE id IN
- <foreach collection="list" index="index" item="item" open="(" separator="," close=")">
- #{item}
- </foreach>
- </delete>
- <select id="findByHouseIdNoPage" resultMap="baseMap">
- SELECT *
- FROM daily_record_task
- where house_id=#{houseId}
- <choose>
- <when test="type != null and cTime != null">
- AND loop_time_start <![CDATA[ <= ]]> #{cTime}
- </when>
- <when test="type == null and cTime != null">
- AND task_start_time <![CDATA[ <= ]]> #{cTime}
- </when>
- </choose>
- </select>
- <delete id="deleteTaskByHouseId">
- DELETE FROM daily_record_task
- WHERE house_id = #{houseId}
- <choose>
- <when test="type != null and cTime != null">
- AND loop_time_start <![CDATA[ <= ]]> #{cTime}
- </when>
- <when test="type == null and cTime != null">
- AND task_start_time <![CDATA[ <= ]]> #{cTime}
- </when>
- </choose>
- </delete>
- </mapper>
|