DailyRecordTaskFileDao.xml 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="cn.ourwill.module.house.dao.daily.DailyRecordTaskFileDao">
  4. <resultMap type="cn.ourwill.module.house.entity.daily.DailyRecordTaskFile" id="baseMap">
  5. <result column="id" property="id"/>
  6. <result column="type" property="type"/>
  7. <result column="sub_type" property="subType"/>
  8. <result column="uuid" property="uuid"/>
  9. <result column="house_id" property="houseId"/>
  10. <result column="volume" property="volume"/>
  11. <result column="wind_reason" property="windReason"/>
  12. <result column="height" property="height"/>
  13. <result column="task_start_time" property="taskStartTime"/>
  14. <result column="task_end_time" property="taskEndTime"/>
  15. <result column="keeper" property="keeper"/>
  16. <result column="wind_total" property="windTotal"/>
  17. <result column="unite_wind" property="uniteWind"/>
  18. <result column="blower_model" property="blowerModel"/>
  19. <result column="blower_power" property="blowerPower"/>
  20. <result column="blower_type" property="blowerType"/>
  21. <result column="blower_type_unit" property="blowerTypeUnit"/>
  22. <result column="blower_total_forces" property="blowerTotalForces"/>
  23. <result column="wind_type" property="windType"/>
  24. <result column="blower_number" property="blowerNumber"/>
  25. <result column="task_time" property="taskTime"/>
  26. <result column="temp_high" property="tempHigh"/>
  27. <result column="temp_low" property="tempLow"/>
  28. <result column="temp_average" property="tempAverage"/>
  29. <result column="humidity_high" property="humidityHigh"/>
  30. <result column="humidity_low" property="humidityLow"/>
  31. <result column="humidity_average" property="humidityAverage"/>
  32. <result column="temp_before_high" property="tempBeforeHigh"/>
  33. <result column="temp_after_high" property="tempAfterHigh"/>
  34. <result column="temp_before_low" property="tempBeforeLow"/>
  35. <result column="temp_after_low" property="tempAfterLow"/>
  36. <result column="temp_before_average" property="tempBeforeAverage"/>
  37. <result column="temp_end_average" property="tempEndAverage"/>
  38. <result column="water_before_high" property="waterBeforeHigh"/>
  39. <result column="water_before_low" property="waterBeforeLow"/>
  40. <result column="water_before_average" property="waterBeforeAverage"/>
  41. <result column="water_after_high" property="waterAfterHigh"/>
  42. <result column="water_after_low" property="waterAfterLow"/>
  43. <result column="water_after_average" property="waterAfterAverage"/>
  44. <result column="temp_grads" property="tempGrads"/>
  45. <result column="water_grads" property="waterGrads"/>
  46. <result column="total_power" property="totalPower"/>
  47. <result column="weather" property="weather"/>
  48. <result column="air_temp" property="airTemp"/>
  49. <result column="drug_time" property="drugTime"/>
  50. <result column="house_temp" property="houseTemp"/>
  51. <result column="averate_temp" property="averateTemp"/>
  52. <result column="number" property="number"/>
  53. <result column="house_food_capacity" property="houseFoodCapacity"/>
  54. <result column="drug_purity" property="drugPurity"/>
  55. <result column="house_space_capacity" property="houseSpaceCapacity"/>
  56. <result column="house_sum_capacity" property="houseSumCapacity"/>
  57. <result column="sequence" property="sequence"/>
  58. <result column="material_capacity" property="materialCapacity"/>
  59. <result column="drug_name" property="drugName"/>
  60. <result column="drug_way" property="drugWay"/>
  61. <result column="drug_people_count" property="drugPeopleCount"/>
  62. <result column="unite_power" property="unitePower"/>
  63. <result column="is_fumigation" property="isFumigation"/>
  64. <result column="close_way" property="closeWay"/>
  65. <result column="director" property="director"/>
  66. <result column="drug_capacity_count" property="drugCapacityCount"/>
  67. <result column="durg_count" property="durgCount"/>
  68. <result column="temp_before_fumigation" property="tempBeforeFumigation"/>
  69. <result column="temp_after_fumigation" property="tempAfterFumigation"/>
  70. <result column="pest_before_fumigation" property="pestBeforeFumigation"/>
  71. <result column="pest_after_fumigation" property="pestAfterFumigation"/>
  72. <result column="fumigation_kind" property="fumigationKind"/>
  73. <result column="water" property="water"/>
  74. <result column="close_time" property="closeTime"/>
  75. <result column="kill_ratio" property="killRatio"/>
  76. <result column="remain_ratio" property="remainRatio"/>
  77. <result column="is_bad_things" property="isBadThings"/>
  78. <result column="manager_user" property="managerUser"/>
  79. <result column="device_no" property="deviceNo"/>
  80. <result column="power" property="power"/>
  81. <result column="loop_time" property="loopTime"/>
  82. <result column="air_condition_state" property="airConditionState"/>
  83. <result column="problems" property="problems"/>
  84. <result column="improvement" property="improvement"/>
  85. <result column="temp_before_loop" property="tempBeforeLoop"/>
  86. <result column="temp_after_loop" property="tempAfterLoop"/>
  87. <result column="operator" property="operator"/>
  88. <result column="remark" property="remark"/>
  89. <result column="c_id" property="cId"/>
  90. <result column="u_id" property="uId"/>
  91. <result column="c_time" property="cTime"/>
  92. <result column="u_time" property="uTime"/>
  93. <result column="version" property="version"/>
  94. <result column="outside_temp" property="outsideTemp"/>
  95. <result column="circulation_power" property="circulationPower"/>
  96. <result column="circulation_time" property="circulationTime"/>
  97. <result column="circulation_number" property="circulationNumber"/>
  98. <result column="loop_time_start" property="loopTimeStart"/>
  99. <result column="loop_time_end" property="loopTimeEnd"/>
  100. <result column="avg_grain_temp" property="avgGrainTemp"/>
  101. <result column="grainstack_avg_temp" property="grainstackAvgTemp"/>
  102. <result column="air_tightness" property="airTightness"/>
  103. <result column="security_officer" property="securityOfficer"/>
  104. <result column="close_time_end" property="closeTimeEnd"/>
  105. <result column="aeration_start_time" property="aerationStartTime"/>
  106. <result column="aeration_end_time" property="aerationEndTime"/>
  107. <result column="aeration_mode" property="aerationMode"/>
  108. <result column="file_uuid" property="fileUuid"/>
  109. </resultMap>
  110. <sql id="columns">
  111. id ,
  112. `type` ,
  113. sub_type ,
  114. uuid ,
  115. house_id ,
  116. volume ,
  117. wind_reason ,
  118. height ,
  119. task_start_time ,
  120. task_end_time ,
  121. keeper ,
  122. wind_total ,
  123. unite_wind ,
  124. blower_model ,
  125. blower_power ,
  126. blower_type ,
  127. blower_type_unit ,
  128. blower_total_forces ,
  129. wind_type ,
  130. blower_number ,
  131. task_time ,
  132. temp_high ,
  133. temp_low ,
  134. temp_average ,
  135. humidity_high ,
  136. humidity_low ,
  137. humidity_average ,
  138. temp_before_high ,
  139. temp_after_high ,
  140. temp_before_low ,
  141. temp_after_low ,
  142. temp_before_average ,
  143. temp_end_average ,
  144. water_before_high ,
  145. water_before_low ,
  146. water_before_average ,
  147. water_after_high ,
  148. water_after_low ,
  149. water_after_average ,
  150. temp_grads ,
  151. water_grads ,
  152. total_power ,
  153. weather ,
  154. air_temp ,
  155. drug_time ,
  156. house_temp ,
  157. averate_temp ,
  158. `number` ,
  159. house_food_capacity ,
  160. drug_purity ,
  161. house_space_capacity ,
  162. house_sum_capacity ,
  163. sequence ,
  164. material_capacity ,
  165. drug_name ,
  166. drug_way ,
  167. drug_people_count ,
  168. unite_power ,
  169. is_fumigation ,
  170. close_way ,
  171. director ,
  172. drug_capacity_count ,
  173. durg_count ,
  174. temp_before_fumigation ,
  175. temp_after_fumigation ,
  176. pest_before_fumigation ,
  177. pest_after_fumigation ,
  178. fumigation_kind ,
  179. water ,
  180. close_time ,
  181. kill_ratio ,
  182. remain_ratio ,
  183. is_bad_things ,
  184. manager_user ,
  185. device_no ,
  186. power ,
  187. loop_time ,
  188. air_condition_state ,
  189. problems ,
  190. improvement ,
  191. temp_before_loop ,
  192. temp_after_loop ,
  193. operator ,
  194. remark ,
  195. c_id ,
  196. u_id ,
  197. c_time ,
  198. u_time ,
  199. version ,
  200. outside_temp ,
  201. circulation_power ,
  202. circulation_time ,
  203. circulation_number ,
  204. loop_time_start ,
  205. loop_time_end ,
  206. avg_grain_temp ,
  207. grainstack_avg_temp ,
  208. air_tightness ,
  209. security_officer ,
  210. close_time_end ,
  211. aeration_start_time ,
  212. aeration_end_time ,
  213. aeration_mode,
  214. file_uuid
  215. </sql>
  216. <sql id="joinCols">
  217. </sql>
  218. <select id="get" resultMap="baseMap">
  219. SELECT
  220. <include refid="columns"/>
  221. FROM daily_record_task_file a
  222. <include refid="joinCols"/>
  223. WHERE a.id = #{id}
  224. </select>
  225. <select id="findList" resultMap="baseMap">
  226. SELECT
  227. <include refid="columns"/>
  228. FROM daily_record_task_file a
  229. <include refid="joinCols"/>
  230. <where>
  231. <if test="id !=null">
  232. and id = #{id}
  233. </if>
  234. <if test="searchStartDate !=null">
  235. and task_start_time <![CDATA[ >= ]]> #{searchStartDate}
  236. </if>
  237. <if test="searchEndDate !=null">
  238. and task_start_time &lt;= #{searchEndDate}
  239. </if>
  240. <if test="type !=null">
  241. and `type` = #{type}
  242. </if>
  243. <if test="subType !=null">
  244. and sub_type = #{subType}
  245. </if>
  246. <if test="uuid !=null">
  247. and uuid = #{uuid}
  248. </if>
  249. <if test="houseId !=null">
  250. and house_id = #{houseId}
  251. </if>
  252. <if test="volume !=null">
  253. and volume = #{volume}
  254. </if>
  255. <if test="windReason !=null">
  256. and wind_reason = #{windReason}
  257. </if>
  258. <if test="height !=null">
  259. and height = #{height}
  260. </if>
  261. <if test="taskStartTime !=null">
  262. and task_start_time = #{taskStartTime}
  263. </if>
  264. <if test="taskEndTime !=null">
  265. and task_end_time = #{taskEndTime}
  266. </if>
  267. <if test="keeper !=null">
  268. and keeper = #{keeper}
  269. </if>
  270. <if test="windTotal !=null">
  271. and wind_total = #{windTotal}
  272. </if>
  273. <if test="uniteWind !=null">
  274. and unite_wind = #{uniteWind}
  275. </if>
  276. <if test="blowerModel !=null">
  277. and blower_model = #{blowerModel}
  278. </if>
  279. <if test="blowerPower !=null">
  280. and blower_power = #{blowerPower}
  281. </if>
  282. <if test="blowerType !=null">
  283. and blower_type = #{blowerType}
  284. </if>
  285. <if test="blowerTypeUnit !=null">
  286. and blower_type_unit = #{blowerTypeUnit}
  287. </if>
  288. <if test="blowerTotalForces !=null">
  289. and blower_total_forces = #{blowerTotalForces}
  290. </if>
  291. <if test="windType !=null">
  292. and wind_type = #{windType}
  293. </if>
  294. <if test="blowerNumber !=null">
  295. and blower_number = #{blowerNumber}
  296. </if>
  297. <if test="taskTime !=null">
  298. and task_time = #{taskTime}
  299. </if>
  300. <if test="tempHigh !=null">
  301. and temp_high = #{tempHigh}
  302. </if>
  303. <if test="tempLow !=null">
  304. and temp_low = #{tempLow}
  305. </if>
  306. <if test="tempAverage !=null">
  307. and temp_average = #{tempAverage}
  308. </if>
  309. <if test="humidityHigh !=null">
  310. and humidity_high = #{humidityHigh}
  311. </if>
  312. <if test="humidityLow !=null">
  313. and humidity_low = #{humidityLow}
  314. </if>
  315. <if test="humidityAverage !=null">
  316. and humidity_average = #{humidityAverage}
  317. </if>
  318. <if test="tempBeforeHigh !=null">
  319. and temp_before_high = #{tempBeforeHigh}
  320. </if>
  321. <if test="tempAfterHigh !=null">
  322. and temp_after_high = #{tempAfterHigh}
  323. </if>
  324. <if test="tempBeforeLow !=null">
  325. and temp_before_low = #{tempBeforeLow}
  326. </if>
  327. <if test="tempAfterLow !=null">
  328. and temp_after_low = #{tempAfterLow}
  329. </if>
  330. <if test="tempBeforeAverage !=null">
  331. and temp_before_average = #{tempBeforeAverage}
  332. </if>
  333. <if test="tempEndAverage !=null">
  334. and temp_end_average = #{tempEndAverage}
  335. </if>
  336. <if test="waterBeforeHigh !=null">
  337. and water_before_high = #{waterBeforeHigh}
  338. </if>
  339. <if test="waterBeforeLow !=null">
  340. and water_before_low = #{waterBeforeLow}
  341. </if>
  342. <if test="waterBeforeAverage !=null">
  343. and water_before_average = #{waterBeforeAverage}
  344. </if>
  345. <if test="waterAfterHigh !=null">
  346. and water_after_high = #{waterAfterHigh}
  347. </if>
  348. <if test="waterAfterLow !=null">
  349. and water_after_low = #{waterAfterLow}
  350. </if>
  351. <if test="waterAfterAverage !=null">
  352. and water_after_average = #{waterAfterAverage}
  353. </if>
  354. <if test="tempGrads !=null">
  355. and temp_grads = #{tempGrads}
  356. </if>
  357. <if test="waterGrads !=null">
  358. and water_grads = #{waterGrads}
  359. </if>
  360. <if test="totalPower !=null">
  361. and total_power = #{totalPower}
  362. </if>
  363. <if test="weather !=null">
  364. and weather = #{weather}
  365. </if>
  366. <if test="airTemp !=null">
  367. and air_temp = #{airTemp}
  368. </if>
  369. <if test="drugTime !=null">
  370. and drug_time = #{drugTime}
  371. </if>
  372. <if test="houseTemp !=null">
  373. and house_temp = #{houseTemp}
  374. </if>
  375. <if test="averateTemp !=null">
  376. and averate_temp = #{averateTemp}
  377. </if>
  378. <if test="number !=null">
  379. and `number` = #{number}
  380. </if>
  381. <if test="houseFoodCapacity !=null">
  382. and house_food_capacity = #{houseFoodCapacity}
  383. </if>
  384. <if test="drugPurity !=null">
  385. and drug_purity = #{drugPurity}
  386. </if>
  387. <if test="houseSpaceCapacity !=null">
  388. and house_space_capacity = #{houseSpaceCapacity}
  389. </if>
  390. <if test="houseSumCapacity !=null">
  391. and house_sum_capacity = #{houseSumCapacity}
  392. </if>
  393. <if test="sequence !=null">
  394. and sequence = #{sequence}
  395. </if>
  396. <if test="materialCapacity !=null">
  397. and material_capacity = #{materialCapacity}
  398. </if>
  399. <if test="drugName !=null">
  400. and drug_name = #{drugName}
  401. </if>
  402. <if test="drugWay !=null">
  403. and drug_way = #{drugWay}
  404. </if>
  405. <if test="drugPeopleCount !=null">
  406. and drug_people_count = #{drugPeopleCount}
  407. </if>
  408. <if test="unitePower !=null">
  409. and unite_power = #{unitePower}
  410. </if>
  411. <if test="isFumigation !=null">
  412. and is_fumigation = #{isFumigation}
  413. </if>
  414. <if test="closeWay !=null">
  415. and close_way = #{closeWay}
  416. </if>
  417. <if test="director !=null">
  418. and director = #{director}
  419. </if>
  420. <if test="drugCapacityCount !=null">
  421. and drug_capacity_count = #{drugCapacityCount}
  422. </if>
  423. <if test="durgCount !=null">
  424. and durg_count = #{durgCount}
  425. </if>
  426. <if test="tempBeforeFumigation !=null">
  427. and temp_before_fumigation = #{tempBeforeFumigation}
  428. </if>
  429. <if test="tempAfterFumigation !=null">
  430. and temp_after_fumigation = #{tempAfterFumigation}
  431. </if>
  432. <if test="pestBeforeFumigation !=null">
  433. and pest_before_fumigation = #{pestBeforeFumigation}
  434. </if>
  435. <if test="pestAfterFumigation !=null">
  436. and pest_after_fumigation = #{pestAfterFumigation}
  437. </if>
  438. <if test="fumigationKind !=null">
  439. and fumigation_kind = #{fumigationKind}
  440. </if>
  441. <if test="water !=null">
  442. and water = #{water}
  443. </if>
  444. <if test="closeTime !=null">
  445. and close_time = #{closeTime}
  446. </if>
  447. <if test="killRatio !=null">
  448. and kill_ratio = #{killRatio}
  449. </if>
  450. <if test="remainRatio !=null">
  451. and remain_ratio = #{remainRatio}
  452. </if>
  453. <if test="isBadThings !=null">
  454. and is_bad_things = #{isBadThings}
  455. </if>
  456. <if test="managerUser !=null">
  457. and manager_user = #{managerUser}
  458. </if>
  459. <if test="deviceNo !=null">
  460. and device_no = #{deviceNo}
  461. </if>
  462. <if test="power !=null">
  463. and power = #{power}
  464. </if>
  465. <if test="loopTime !=null">
  466. and loop_time = #{loopTime}
  467. </if>
  468. <if test="airConditionState !=null">
  469. and air_condition_state = #{airConditionState}
  470. </if>
  471. <if test="problems !=null">
  472. and problems = #{problems}
  473. </if>
  474. <if test="improvement !=null">
  475. and improvement = #{improvement}
  476. </if>
  477. <if test="tempBeforeLoop !=null">
  478. and temp_before_loop = #{tempBeforeLoop}
  479. </if>
  480. <if test="tempAfterLoop !=null">
  481. and temp_after_loop = #{tempAfterLoop}
  482. </if>
  483. <if test="operator !=null">
  484. and operator = #{operator}
  485. </if>
  486. <if test="remark !=null">
  487. and remark = #{remark}
  488. </if>
  489. <if test="cId !=null">
  490. and c_id = #{cId}
  491. </if>
  492. <if test="uId !=null">
  493. and u_id = #{uId}
  494. </if>
  495. <if test="cTime !=null">
  496. and c_time = #{cTime}
  497. </if>
  498. <if test="uTime !=null">
  499. and u_time = #{uTime}
  500. </if>
  501. <if test="version !=null">
  502. and version = #{version}
  503. </if>
  504. <if test="outsideTemp !=null">
  505. and outside_temp = #{outsideTemp}
  506. </if>
  507. <if test="circulationPower !=null">
  508. and circulation_power = #{circulationPower}
  509. </if>
  510. <if test="circulationTime !=null">
  511. and circulation_time = #{circulationTime}
  512. </if>
  513. <if test="circulationNumber !=null">
  514. and circulation_number = #{circulationNumber}
  515. </if>
  516. <if test="loopTimeStart !=null">
  517. and loop_time_start = #{loopTimeStart}
  518. </if>
  519. <if test="loopTimeEnd !=null">
  520. and loop_time_end = #{loopTimeEnd}
  521. </if>
  522. <if test="avgGrainTemp !=null">
  523. and avg_grain_temp = #{avgGrainTemp}
  524. </if>
  525. <if test="grainstackAvgTemp !=null">
  526. and grainstack_avg_temp = #{grainstackAvgTemp}
  527. </if>
  528. <if test="airTightness !=null">
  529. and air_tightness = #{airTightness}
  530. </if>
  531. <if test="securityOfficer !=null">
  532. and security_officer = #{securityOfficer}
  533. </if>
  534. <if test="closeTimeEnd !=null">
  535. and close_time_end = #{closeTimeEnd}
  536. </if>
  537. <if test="aerationStartTime !=null">
  538. and aeration_start_time = #{aerationStartTime}
  539. </if>
  540. <if test="aerationEndTime !=null">
  541. and aeration_end_time = #{aerationEndTime}
  542. </if>
  543. <if test="aerationMode !=null">
  544. and aeration_mode = #{aerationMode}
  545. </if>
  546. <if test="fileUuid !=null">
  547. and file_uuid = #{fileUuid}
  548. </if>
  549. </where>
  550. <choose>
  551. <when test="page !=null and page.orderBy != null and page.orderBy != ''">
  552. ORDER BY ${page.orderBy}
  553. </when>
  554. <otherwise>
  555. order by id desc
  556. </otherwise>
  557. </choose>
  558. </select>
  559. <insert id="insert" keyColumn="id" keyProperty="id" useGeneratedKeys="true"
  560. parameterType="cn.ourwill.module.house.entity.daily.DailyRecordTaskFile">
  561. INSERT INTO daily_record_task_file
  562. <trim prefix="(" suffix=")" suffixOverrides=",">
  563. <!-- <if test=" id != null">
  564. id,
  565. </if>-->
  566. <if test=" type != null">
  567. `type`,
  568. </if>
  569. <if test=" subType != null">
  570. sub_type,
  571. </if>
  572. <if test=" uuid != null">
  573. uuid,
  574. </if>
  575. <if test=" houseId != null">
  576. house_id,
  577. </if>
  578. <if test=" volume != null">
  579. volume,
  580. </if>
  581. <if test=" windReason != null">
  582. wind_reason,
  583. </if>
  584. <if test=" height != null">
  585. height,
  586. </if>
  587. <if test=" taskStartTime != null">
  588. task_start_time,
  589. </if>
  590. <if test=" taskEndTime != null">
  591. task_end_time,
  592. </if>
  593. <if test=" keeper != null">
  594. keeper,
  595. </if>
  596. <if test=" windTotal != null">
  597. wind_total,
  598. </if>
  599. <if test=" uniteWind != null">
  600. unite_wind,
  601. </if>
  602. <if test=" blowerModel != null">
  603. blower_model,
  604. </if>
  605. <if test=" blowerPower != null">
  606. blower_power,
  607. </if>
  608. <if test=" blowerType != null">
  609. blower_type,
  610. </if>
  611. <if test=" blowerTypeUnit != null">
  612. blower_type_unit,
  613. </if>
  614. <if test=" blowerTotalForces != null">
  615. blower_total_forces,
  616. </if>
  617. <if test=" windType != null">
  618. wind_type,
  619. </if>
  620. <if test=" blowerNumber != null">
  621. blower_number,
  622. </if>
  623. <if test=" taskTime != null">
  624. task_time,
  625. </if>
  626. <if test=" tempHigh != null">
  627. temp_high,
  628. </if>
  629. <if test=" tempLow != null">
  630. temp_low,
  631. </if>
  632. <if test=" tempAverage != null">
  633. temp_average,
  634. </if>
  635. <if test=" humidityHigh != null">
  636. humidity_high,
  637. </if>
  638. <if test=" humidityLow != null">
  639. humidity_low,
  640. </if>
  641. <if test=" humidityAverage != null">
  642. humidity_average,
  643. </if>
  644. <if test=" tempBeforeHigh != null">
  645. temp_before_high,
  646. </if>
  647. <if test=" tempAfterHigh != null">
  648. temp_after_high,
  649. </if>
  650. <if test=" tempBeforeLow != null">
  651. temp_before_low,
  652. </if>
  653. <if test=" tempAfterLow != null">
  654. temp_after_low,
  655. </if>
  656. <if test=" tempBeforeAverage != null">
  657. temp_before_average,
  658. </if>
  659. <if test=" tempEndAverage != null">
  660. temp_end_average,
  661. </if>
  662. <if test=" waterBeforeHigh != null">
  663. water_before_high,
  664. </if>
  665. <if test=" waterBeforeLow != null">
  666. water_before_low,
  667. </if>
  668. <if test=" waterBeforeAverage != null">
  669. water_before_average,
  670. </if>
  671. <if test=" waterAfterHigh != null">
  672. water_after_high,
  673. </if>
  674. <if test=" waterAfterLow != null">
  675. water_after_low,
  676. </if>
  677. <if test=" waterAfterAverage != null">
  678. water_after_average,
  679. </if>
  680. <if test=" tempGrads != null">
  681. temp_grads,
  682. </if>
  683. <if test=" waterGrads != null">
  684. water_grads,
  685. </if>
  686. <if test=" totalPower != null">
  687. total_power,
  688. </if>
  689. <if test=" weather != null">
  690. weather,
  691. </if>
  692. <if test=" airTemp != null">
  693. air_temp,
  694. </if>
  695. <if test=" drugTime != null">
  696. drug_time,
  697. </if>
  698. <if test=" houseTemp != null">
  699. house_temp,
  700. </if>
  701. <if test=" averateTemp != null">
  702. averate_temp,
  703. </if>
  704. <if test=" number != null">
  705. `number`,
  706. </if>
  707. <if test=" houseFoodCapacity != null">
  708. house_food_capacity,
  709. </if>
  710. <if test=" drugPurity != null">
  711. drug_purity,
  712. </if>
  713. <if test=" houseSpaceCapacity != null">
  714. house_space_capacity,
  715. </if>
  716. <if test=" houseSumCapacity != null">
  717. house_sum_capacity,
  718. </if>
  719. <if test=" sequence != null">
  720. sequence,
  721. </if>
  722. <if test=" materialCapacity != null">
  723. material_capacity,
  724. </if>
  725. <if test=" drugName != null">
  726. drug_name,
  727. </if>
  728. <if test=" drugWay != null">
  729. drug_way,
  730. </if>
  731. <if test=" drugPeopleCount != null">
  732. drug_people_count,
  733. </if>
  734. <if test=" unitePower != null">
  735. unite_power,
  736. </if>
  737. <if test=" isFumigation != null">
  738. is_fumigation,
  739. </if>
  740. <if test=" closeWay != null">
  741. close_way,
  742. </if>
  743. <if test=" director != null">
  744. director,
  745. </if>
  746. <if test=" drugCapacityCount != null">
  747. drug_capacity_count,
  748. </if>
  749. <if test=" durgCount != null">
  750. durg_count,
  751. </if>
  752. <if test=" tempBeforeFumigation != null">
  753. temp_before_fumigation,
  754. </if>
  755. <if test=" tempAfterFumigation != null">
  756. temp_after_fumigation,
  757. </if>
  758. <if test=" pestBeforeFumigation != null">
  759. pest_before_fumigation,
  760. </if>
  761. <if test=" pestAfterFumigation != null">
  762. pest_after_fumigation,
  763. </if>
  764. <if test=" fumigationKind != null">
  765. fumigation_kind,
  766. </if>
  767. <if test=" water != null">
  768. water,
  769. </if>
  770. <if test=" closeTime != null">
  771. close_time,
  772. </if>
  773. <if test=" killRatio != null">
  774. kill_ratio,
  775. </if>
  776. <if test=" remainRatio != null">
  777. remain_ratio,
  778. </if>
  779. <if test=" isBadThings != null">
  780. is_bad_things,
  781. </if>
  782. <if test=" managerUser != null">
  783. manager_user,
  784. </if>
  785. <if test=" drugFoodCount != null">
  786. drug_food_count,
  787. </if>
  788. <if test=" deviceNo != null">
  789. device_no,
  790. </if>
  791. <if test=" power != null">
  792. power,
  793. </if>
  794. <if test=" loopTime != null">
  795. loop_time,
  796. </if>
  797. <if test=" airConditionState != null">
  798. air_condition_state,
  799. </if>
  800. <if test=" problems != null">
  801. problems,
  802. </if>
  803. <if test=" improvement != null">
  804. improvement,
  805. </if>
  806. <if test=" tempBeforeLoop != null">
  807. temp_before_loop,
  808. </if>
  809. <if test=" tempAfterLoop != null">
  810. temp_after_loop,
  811. </if>
  812. <if test=" operator != null">
  813. operator,
  814. </if>
  815. <if test=" remark != null">
  816. remark,
  817. </if>
  818. <if test=" cId != null">
  819. c_id,
  820. </if>
  821. <if test=" uId != null">
  822. u_id,
  823. </if>
  824. <if test=" cTime != null">
  825. c_time,
  826. </if>
  827. <if test=" uTime != null">
  828. u_time,
  829. </if>
  830. <if test=" version != null">
  831. version,
  832. </if>
  833. <if test=" outsideTemp != null">
  834. outside_temp,
  835. </if>
  836. <if test=" circulationPower != null">
  837. circulation_power,
  838. </if>
  839. <if test=" circulationTime != null">
  840. circulation_time,
  841. </if>
  842. <if test=" circulationNumber != null">
  843. circulation_number,
  844. </if>
  845. <if test=" loopTimeStart != null">
  846. loop_time_start,
  847. </if>
  848. <if test=" loopTimeEnd != null">
  849. loop_time_end,
  850. </if>
  851. <if test=" avgGrainTemp != null">
  852. avg_grain_temp,
  853. </if>
  854. <if test=" grainstackAvgTemp != null">
  855. grainstack_avg_temp,
  856. </if>
  857. <if test=" airTightness != null">
  858. air_tightness,
  859. </if>
  860. <if test=" securityOfficer != null">
  861. security_officer,
  862. </if>
  863. <if test=" closeTimeEnd != null">
  864. close_time_end,
  865. </if>
  866. <if test=" aerationStartTime != null">
  867. aeration_start_time,
  868. </if>
  869. <if test=" aerationEndTime != null">
  870. aeration_end_time,
  871. </if>
  872. <if test=" aerationMode != null">
  873. aeration_mode,
  874. </if>
  875. <if test=" fileUuid != null">
  876. file_uuid
  877. </if>
  878. </trim>
  879. <trim prefix="values (" suffix=")" suffixOverrides=",">
  880. <!--<if test="id !=null">
  881. #{id},
  882. </if>-->
  883. <if test=" type != null">
  884. #{type}, </if>
  885. <if test=" subType != null">
  886. #{subType}, </if>
  887. <if test=" uuid != null">
  888. #{uuid}, </if>
  889. <if test=" houseId != null">
  890. #{houseId}, </if>
  891. <if test=" volume != null">
  892. #{volume}, </if>
  893. <if test=" windReason != null">
  894. #{windReason}, </if>
  895. <if test=" height != null">
  896. #{height}, </if>
  897. <if test=" taskStartTime != null">
  898. #{taskStartTime}, </if>
  899. <if test=" taskEndTime != null">
  900. #{taskEndTime}, </if>
  901. <if test=" keeper != null">
  902. #{keeper}, </if>
  903. <if test=" windTotal != null">
  904. #{windTotal}, </if>
  905. <if test=" uniteWind != null">
  906. #{uniteWind}, </if>
  907. <if test=" blowerModel != null">
  908. #{blowerModel}, </if>
  909. <if test=" blowerPower != null">
  910. #{blowerPower}, </if>
  911. <if test=" blowerType != null">
  912. #{blowerType}, </if>
  913. <if test=" blowerTypeUnit != null">
  914. #{blowerTypeUnit}, </if>
  915. <if test=" blowerTotalForces != null">
  916. #{blowerTotalForces}, </if>
  917. <if test=" windType != null">
  918. #{windType}, </if>
  919. <if test=" blowerNumber != null">
  920. #{blowerNumber}, </if>
  921. <if test=" taskTime != null">
  922. #{taskTime}, </if>
  923. <if test=" tempHigh != null">
  924. #{tempHigh}, </if>
  925. <if test=" tempLow != null">
  926. #{tempLow}, </if>
  927. <if test=" tempAverage != null">
  928. #{tempAverage}, </if>
  929. <if test=" humidityHigh != null">
  930. #{humidityHigh}, </if>
  931. <if test=" humidityLow != null">
  932. #{humidityLow}, </if>
  933. <if test=" humidityAverage != null">
  934. #{humidityAverage}, </if>
  935. <if test=" tempBeforeHigh != null">
  936. #{tempBeforeHigh}, </if>
  937. <if test=" tempAfterHigh != null">
  938. #{tempAfterHigh}, </if>
  939. <if test=" tempBeforeLow != null">
  940. #{tempBeforeLow}, </if>
  941. <if test=" tempAfterLow != null">
  942. #{tempAfterLow}, </if>
  943. <if test=" tempBeforeAverage != null">
  944. #{tempBeforeAverage}, </if>
  945. <if test=" tempEndAverage != null">
  946. #{tempEndAverage}, </if>
  947. <if test=" waterBeforeHigh != null">
  948. #{waterBeforeHigh}, </if>
  949. <if test=" waterBeforeLow != null">
  950. #{waterBeforeLow}, </if>
  951. <if test=" waterBeforeAverage != null">
  952. #{waterBeforeAverage}, </if>
  953. <if test=" waterAfterHigh != null">
  954. #{waterAfterHigh}, </if>
  955. <if test=" waterAfterLow != null">
  956. #{waterAfterLow}, </if>
  957. <if test=" waterAfterAverage != null">
  958. #{waterAfterAverage}, </if>
  959. <if test=" tempGrads != null">
  960. #{tempGrads}, </if>
  961. <if test=" waterGrads != null">
  962. #{waterGrads}, </if>
  963. <if test=" totalPower != null">
  964. #{totalPower}, </if>
  965. <if test=" weather != null">
  966. #{weather}, </if>
  967. <if test=" airTemp != null">
  968. #{airTemp}, </if>
  969. <if test=" drugTime != null">
  970. #{drugTime}, </if>
  971. <if test=" houseTemp != null">
  972. #{houseTemp}, </if>
  973. <if test=" averateTemp != null">
  974. #{averateTemp}, </if>
  975. <if test=" number != null">
  976. #{number}, </if>
  977. <if test=" houseFoodCapacity != null">
  978. #{houseFoodCapacity}, </if>
  979. <if test=" drugPurity != null">
  980. #{drugPurity}, </if>
  981. <if test=" houseSpaceCapacity != null">
  982. #{houseSpaceCapacity}, </if>
  983. <if test=" houseSumCapacity != null">
  984. #{houseSumCapacity}, </if>
  985. <if test=" sequence != null">
  986. #{sequence}, </if>
  987. <if test=" materialCapacity != null">
  988. #{materialCapacity}, </if>
  989. <if test=" drugName != null">
  990. #{drugName}, </if>
  991. <if test=" drugWay != null">
  992. #{drugWay}, </if>
  993. <if test=" drugPeopleCount != null">
  994. #{drugPeopleCount}, </if>
  995. <if test=" unitePower != null">
  996. #{unitePower}, </if>
  997. <if test=" isFumigation != null">
  998. #{isFumigation}, </if>
  999. <if test=" closeWay != null">
  1000. #{closeWay}, </if>
  1001. <if test=" director != null">
  1002. #{director}, </if>
  1003. <if test=" drugCapacityCount != null">
  1004. #{drugCapacityCount}, </if>
  1005. <if test=" durgCount != null">
  1006. #{durgCount}, </if>
  1007. <if test=" tempBeforeFumigation != null">
  1008. #{tempBeforeFumigation}, </if>
  1009. <if test=" tempAfterFumigation != null">
  1010. #{tempAfterFumigation}, </if>
  1011. <if test=" pestBeforeFumigation != null">
  1012. #{pestBeforeFumigation}, </if>
  1013. <if test=" pestAfterFumigation != null">
  1014. #{pestAfterFumigation}, </if>
  1015. <if test=" fumigationKind != null">
  1016. #{fumigationKind}, </if>
  1017. <if test=" water != null">
  1018. #{water}, </if>
  1019. <if test=" closeTime != null">
  1020. #{closeTime}, </if>
  1021. <if test=" killRatio != null">
  1022. #{killRatio}, </if>
  1023. <if test=" remainRatio != null">
  1024. #{remainRatio}, </if>
  1025. <if test=" isBadThings != null">
  1026. #{isBadThings}, </if>
  1027. <if test=" managerUser != null">
  1028. #{managerUser}, </if>
  1029. <if test=" drugFoodCount != null">
  1030. #{drugFoodCount}, </if>
  1031. <if test=" deviceNo != null">
  1032. #{deviceNo}, </if>
  1033. <if test=" power != null">
  1034. #{power}, </if>
  1035. <if test=" loopTime != null">
  1036. #{loopTime}, </if>
  1037. <if test=" airConditionState != null">
  1038. #{airConditionState}, </if>
  1039. <if test=" problems != null">
  1040. #{problems}, </if>
  1041. <if test=" improvement != null">
  1042. #{improvement}, </if>
  1043. <if test=" tempBeforeLoop != null">
  1044. #{tempBeforeLoop}, </if>
  1045. <if test=" tempAfterLoop != null">
  1046. #{tempAfterLoop}, </if>
  1047. <if test=" operator != null">
  1048. #{operator}, </if>
  1049. <if test=" remark != null">
  1050. #{remark}, </if>
  1051. <if test=" cId != null">
  1052. #{cId}, </if>
  1053. <if test=" uId != null">
  1054. #{uId}, </if>
  1055. <if test=" cTime != null">
  1056. #{cTime}, </if>
  1057. <if test=" uTime != null">
  1058. #{uTime}, </if>
  1059. <if test=" version != null">
  1060. #{version}, </if>
  1061. <if test=" outsideTemp != null">
  1062. #{outsideTemp}, </if>
  1063. <if test=" circulationPower != null">
  1064. #{circulationPower}, </if>
  1065. <if test=" circulationTime != null">
  1066. #{circulationTime}, </if>
  1067. <if test=" circulationNumber != null">
  1068. #{circulationNumber}, </if>
  1069. <if test=" loopTimeStart != null">
  1070. #{loopTimeStart}, </if>
  1071. <if test=" loopTimeEnd != null">
  1072. #{loopTimeEnd}, </if>
  1073. <if test=" avgGrainTemp != null">
  1074. #{avgGrainTemp}, </if>
  1075. <if test=" grainstackAvgTemp != null">
  1076. #{grainstackAvgTemp}, </if>
  1077. <if test=" airTightness != null">
  1078. #{airTightness}, </if>
  1079. <if test=" securityOfficer != null">
  1080. #{securityOfficer}, </if>
  1081. <if test=" closeTimeEnd != null">
  1082. #{closeTimeEnd}, </if>
  1083. <if test=" aerationStartTime != null">
  1084. #{aerationStartTime}, </if>
  1085. <if test=" aerationEndTime != null">
  1086. #{aerationEndTime}, </if>
  1087. <if test=" aerationMode != null">
  1088. #{aerationMode} , </if>
  1089. <if test=" fileUuid!= null">
  1090. #{fileUuid} </if>
  1091. </trim>
  1092. </insert>
  1093. </mapper>