DailyRecordConditionerNewFileMapper.xml 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004
  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.entity.new_entity.DailyRecordConditionerNewFileMapper" >
  4. <resultMap id="BaseResultMap" type="cn.ourwill.module.house.entity.new_entity.DailyRecordConditionerNewFile" >
  5. <id column="id" property="id" jdbcType="INTEGER" />
  6. <result column="file_uuid" property="fileUuid" jdbcType="INTEGER" />
  7. <result column="house_id" property="houseId" jdbcType="INTEGER" />
  8. <result column="grain_id" property="grainId" jdbcType="INTEGER" />
  9. <result column="type" property="type" jdbcType="VARCHAR" />
  10. <result column="number" property="number" jdbcType="INTEGER" />
  11. <result column="house_type" property="houseType" jdbcType="VARCHAR" />
  12. <result column="keep_warm" property="keepWarm" jdbcType="VARCHAR" />
  13. <result column="cool_type" property="coolType" jdbcType="VARCHAR" />
  14. <result column="aeration_type" property="aerationType" jdbcType="VARCHAR" />
  15. <result column="fan_style" property="fanStyle" jdbcType="VARCHAR" />
  16. <result column="fan_power" property="fanPower" jdbcType="VARCHAR" />
  17. <result column="temperature_end" property="temperatureEnd" jdbcType="VARCHAR" />
  18. <result column="fan_num" property="fanNum" jdbcType="VARCHAR" />
  19. <result column="food_width" property="foodWidth" jdbcType="VARCHAR" />
  20. <result column="temperature_start" property="temperatureStart" jdbcType="VARCHAR" />
  21. <result column="fan_total" property="fanTotal" jdbcType="VARCHAR" />
  22. <result column="fan_unit" property="fanUnit" jdbcType="VARCHAR" />
  23. <result column="fan_start" property="fanStart" jdbcType="VARCHAR" />
  24. <result column="uuid" property="uuid" jdbcType="VARCHAR" />
  25. <result column="fan_end" property="fanEnd" jdbcType="VARCHAR" />
  26. <result column="fan_time_total" property="fanTimeTotal" jdbcType="VARCHAR" />
  27. <result column="air_temperature_max" property="airTemperatureMax" jdbcType="VARCHAR" />
  28. <result column="air_temperature_min" property="airTemperatureMin" jdbcType="VARCHAR" />
  29. <result column="air_temperature_avg" property="airTemperatureAvg" jdbcType="VARCHAR" />
  30. <result column="temperature_front_max" property="temperatureFrontMax" jdbcType="VARCHAR" />
  31. <result column="temperature_front_min" property="temperatureFrontMin" jdbcType="VARCHAR" />
  32. <result column="temperature_front_avg" property="temperatureFrontAvg" jdbcType="VARCHAR" />
  33. <result column="temperature_after_max" property="temperatureAfterMax" jdbcType="VARCHAR" />
  34. <result column="temperature_after_min" property="temperatureAfterMin" jdbcType="VARCHAR" />
  35. <result column="temperature_after_avg" property="temperatureAfterAvg" jdbcType="VARCHAR" />
  36. <result column="water_front_max" property="waterFrontMax" jdbcType="VARCHAR" />
  37. <result column="water_front_min" property="waterFrontMin" jdbcType="VARCHAR" />
  38. <result column="water_front_avg" property="waterFrontAvg" jdbcType="VARCHAR" />
  39. <result column="water_after_max" property="waterAfterMax" jdbcType="VARCHAR" />
  40. <result column="water_after_min" property="waterAfterMin" jdbcType="VARCHAR" />
  41. <result column="water_after_avg" property="waterAfterAvg" jdbcType="VARCHAR" />
  42. <result column="temperature_width" property="temperatureWidth" jdbcType="VARCHAR" />
  43. <result column="water_width" property="waterWidth" jdbcType="VARCHAR" />
  44. <result column="total_elect" property="totalElect" jdbcType="VARCHAR" />
  45. <result column="elect_unit" property="electUnit" jdbcType="VARCHAR" />
  46. <result column="aeration_bug" property="aerationBug" jdbcType="VARCHAR" />
  47. <result column="work_user" property="workUser" jdbcType="VARCHAR" />
  48. <result column="approve_user" property="approveUser" jdbcType="VARCHAR" />
  49. <result column="remark" property="remark" jdbcType="VARCHAR" />
  50. <result column="fan_run" property="fanRun" jdbcType="VARCHAR" />
  51. <result column="house_humidity_max" property="houseHumidityMax" jdbcType="VARCHAR" />
  52. <result column="house_humidity_min" property="houseHumidityMin" jdbcType="VARCHAR" />
  53. <result column="house_humidity_avg" property="houseHumidityAvg" jdbcType="VARCHAR" />
  54. <result column="fan_run_max" property="fanRunMax" jdbcType="VARCHAR" />
  55. <result column="fan_run__min" property="fanRunMin" jdbcType="VARCHAR" />
  56. <result column="fan_run_avg" property="fanRunAvg" jdbcType="VARCHAR" />
  57. <result column="c_id" property="cId" jdbcType="INTEGER" />
  58. <result column="c_time" property="cTime" jdbcType="TIMESTAMP" />
  59. <result column="u_id" property="uId" jdbcType="INTEGER" />
  60. <result column="u_time" property="uTime" jdbcType="TIMESTAMP" />
  61. </resultMap>
  62. <sql id="Example_Where_Clause" >
  63. <where >
  64. <foreach collection="oredCriteria" item="criteria" separator="or" >
  65. <if test="criteria.valid" >
  66. <trim prefix="(" suffix=")" prefixOverrides="and" >
  67. <foreach collection="criteria.criteria" item="criterion" >
  68. <choose >
  69. <when test="criterion.noValue" >
  70. and ${criterion.condition}
  71. </when>
  72. <when test="criterion.singleValue" >
  73. and ${criterion.condition} #{criterion.value}
  74. </when>
  75. <when test="criterion.betweenValue" >
  76. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  77. </when>
  78. <when test="criterion.listValue" >
  79. and ${criterion.condition}
  80. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  81. #{listItem}
  82. </foreach>
  83. </when>
  84. </choose>
  85. </foreach>
  86. </trim>
  87. </if>
  88. </foreach>
  89. </where>
  90. </sql>
  91. <sql id="Update_By_Example_Where_Clause" >
  92. <where >
  93. <foreach collection="example.oredCriteria" item="criteria" separator="or" >
  94. <if test="criteria.valid" >
  95. <trim prefix="(" suffix=")" prefixOverrides="and" >
  96. <foreach collection="criteria.criteria" item="criterion" >
  97. <choose >
  98. <when test="criterion.noValue" >
  99. and ${criterion.condition}
  100. </when>
  101. <when test="criterion.singleValue" >
  102. and ${criterion.condition} #{criterion.value}
  103. </when>
  104. <when test="criterion.betweenValue" >
  105. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  106. </when>
  107. <when test="criterion.listValue" >
  108. and ${criterion.condition}
  109. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  110. #{listItem}
  111. </foreach>
  112. </when>
  113. </choose>
  114. </foreach>
  115. </trim>
  116. </if>
  117. </foreach>
  118. </where>
  119. </sql>
  120. <sql id="Base_Column_List" >
  121. id, file_uuid,house_id, grain_id, type, number, house_type, keep_warm, cool_type, aeration_type,
  122. fan_style, fan_power, temperature_end, fan_num, food_width, temperature_start, fan_total,
  123. fan_unit, fan_start, fan_end, fan_time_total, air_temperature_max, air_temperature_min,
  124. air_temperature_avg, temperature_front_max, temperature_front_min, temperature_front_avg,
  125. temperature_after_max, temperature_after_min, temperature_after_avg, water_front_max,
  126. water_front_min, water_front_avg, water_after_max, water_after_min, water_after_avg,
  127. temperature_width, water_width, total_elect, elect_unit, aeration_bug, work_user,
  128. approve_user, remark, fan_run, house_humidity_max, house_humidity_min, house_humidity_avg,
  129. fan_run_max, fan_run__min, fan_run_avg, c_id, c_time, u_id, u_time
  130. </sql>
  131. <select id="selectByExample" resultMap="BaseResultMap" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordConditionerNewFileExample" >
  132. select
  133. <if test="distinct" >
  134. distinct
  135. </if>
  136. <include refid="Base_Column_List" />
  137. from daily_record_conditioner_new_file
  138. <if test="_parameter != null" >
  139. <include refid="Example_Where_Clause" />
  140. </if>
  141. <if test="orderByClause != null" >
  142. order by ${orderByClause}
  143. </if>
  144. </select>
  145. <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
  146. select
  147. <include refid="Base_Column_List" />
  148. from daily_record_conditioner_new_file
  149. where id = #{id,jdbcType=INTEGER}
  150. </select>
  151. <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
  152. delete from daily_record_conditioner_new_file
  153. where id = #{id,jdbcType=INTEGER}
  154. </delete>
  155. <delete id="deleteByExample" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordConditionerNewFileExample" >
  156. delete from daily_record_conditioner_new_file
  157. <if test="_parameter != null" >
  158. <include refid="Example_Where_Clause" />
  159. </if>
  160. </delete>
  161. <insert id="insert" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordConditionerNewFile" >
  162. insert into daily_record_conditioner_new_file (id,file_uuid, house_id, grain_id,
  163. type, number, house_type,
  164. keep_warm, cool_type, aeration_type,
  165. fan_style, fan_power, temperature_end,
  166. fan_num, food_width, temperature_start,
  167. fan_total, fan_unit, fan_start,
  168. fan_end, fan_time_total, air_temperature_max,
  169. air_temperature_min, air_temperature_avg, temperature_front_max,
  170. temperature_front_min, temperature_front_avg,
  171. temperature_after_max, temperature_after_min,
  172. temperature_after_avg, water_front_max, water_front_min,
  173. water_front_avg, water_after_max, water_after_min,
  174. water_after_avg, temperature_width, water_width,
  175. total_elect, elect_unit, aeration_bug,
  176. work_user, approve_user, remark,
  177. fan_run, house_humidity_max, house_humidity_min,
  178. house_humidity_avg, fan_run_max, fan_run__min,
  179. fan_run_avg, c_id, c_time,
  180. u_id, u_time)
  181. values (#{id,jdbcType=INTEGER}, #{fileUuid,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
  182. #{type,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER}, #{houseType,jdbcType=VARCHAR},
  183. #{keepWarm,jdbcType=VARCHAR}, #{coolType,jdbcType=VARCHAR}, #{aerationType,jdbcType=VARCHAR},
  184. #{fanStyle,jdbcType=VARCHAR}, #{fanPower,jdbcType=VARCHAR}, #{temperatureEnd,jdbcType=VARCHAR},
  185. #{fanNum,jdbcType=VARCHAR}, #{foodWidth,jdbcType=VARCHAR}, #{temperatureStart,jdbcType=VARCHAR},
  186. #{fanTotal,jdbcType=VARCHAR}, #{fanUnit,jdbcType=VARCHAR}, #{fanStart,jdbcType=VARCHAR},
  187. #{fanEnd,jdbcType=VARCHAR}, #{fanTimeTotal,jdbcType=VARCHAR}, #{airTemperatureMax,jdbcType=VARCHAR},
  188. #{airTemperatureMin,jdbcType=VARCHAR}, #{airTemperatureAvg,jdbcType=VARCHAR}, #{temperatureFrontMax,jdbcType=VARCHAR},
  189. #{temperatureFrontMin,jdbcType=VARCHAR}, #{temperatureFrontAvg,jdbcType=VARCHAR},
  190. #{temperatureAfterMax,jdbcType=VARCHAR}, #{temperatureAfterMin,jdbcType=VARCHAR},
  191. #{temperatureAfterAvg,jdbcType=VARCHAR}, #{waterFrontMax,jdbcType=VARCHAR}, #{waterFrontMin,jdbcType=VARCHAR},
  192. #{waterFrontAvg,jdbcType=VARCHAR}, #{waterAfterMax,jdbcType=VARCHAR}, #{waterAfterMin,jdbcType=VARCHAR},
  193. #{waterAfterAvg,jdbcType=VARCHAR}, #{temperatureWidth,jdbcType=VARCHAR}, #{waterWidth,jdbcType=VARCHAR},
  194. #{totalElect,jdbcType=VARCHAR}, #{electUnit,jdbcType=VARCHAR}, #{aerationBug,jdbcType=VARCHAR},
  195. #{workUser,jdbcType=VARCHAR}, #{approveUser,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
  196. #{fanRun,jdbcType=VARCHAR}, #{houseHumidityMax,jdbcType=VARCHAR}, #{houseHumidityMin,jdbcType=VARCHAR},
  197. #{houseHumidityAvg,jdbcType=VARCHAR}, #{fanRunMax,jdbcType=VARCHAR}, #{fanRunMin,jdbcType=VARCHAR},
  198. #{fanRunAvg,jdbcType=VARCHAR}, #{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP},
  199. #{uId,jdbcType=INTEGER}, #{uTime,jdbcType=TIMESTAMP})
  200. </insert>
  201. <insert id="insertSelective" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordConditionerNewFile" >
  202. insert into daily_record_conditioner_new_file
  203. <trim prefix="(" suffix=")" suffixOverrides="," >
  204. <if test="id != null" >
  205. id,
  206. </if>
  207. <if test="fileUuid != null" >
  208. file_uuid,
  209. </if>
  210. <if test="houseId != null" >
  211. house_id,
  212. </if>
  213. <if test="grainId != null" >
  214. grain_id,
  215. </if>
  216. <if test="type != null" >
  217. type,
  218. </if>
  219. <if test="number != null" >
  220. number,
  221. </if>
  222. <if test="houseType != null" >
  223. house_type,
  224. </if>
  225. <if test="keepWarm != null" >
  226. keep_warm,
  227. </if>
  228. <if test="coolType != null" >
  229. cool_type,
  230. </if>
  231. <if test="aerationType != null" >
  232. aeration_type,
  233. </if>
  234. <if test="fanStyle != null" >
  235. fan_style,
  236. </if>
  237. <if test="fanPower != null" >
  238. fan_power,
  239. </if>
  240. <if test="temperatureEnd != null" >
  241. temperature_end,
  242. </if>
  243. <if test="fanNum != null" >
  244. fan_num,
  245. </if>
  246. <if test="foodWidth != null" >
  247. food_width,
  248. </if>
  249. <if test="temperatureStart != null" >
  250. temperature_start,
  251. </if>
  252. <if test="fanTotal != null" >
  253. fan_total,
  254. </if>
  255. <if test="fanUnit != null" >
  256. fan_unit,
  257. </if>
  258. <if test="fanStart != null" >
  259. fan_start,
  260. </if>
  261. <if test="fanEnd != null" >
  262. fan_end,
  263. </if>
  264. <if test="fanTimeTotal != null" >
  265. fan_time_total,
  266. </if>
  267. <if test="airTemperatureMax != null" >
  268. air_temperature_max,
  269. </if>
  270. <if test="airTemperatureMin != null" >
  271. air_temperature_min,
  272. </if>
  273. <if test="airTemperatureAvg != null" >
  274. air_temperature_avg,
  275. </if>
  276. <if test="temperatureFrontMax != null" >
  277. temperature_front_max,
  278. </if>
  279. <if test="temperatureFrontMin != null" >
  280. temperature_front_min,
  281. </if>
  282. <if test="temperatureFrontAvg != null" >
  283. temperature_front_avg,
  284. </if>
  285. <if test="temperatureAfterMax != null" >
  286. temperature_after_max,
  287. </if>
  288. <if test="temperatureAfterMin != null" >
  289. temperature_after_min,
  290. </if>
  291. <if test="temperatureAfterAvg != null" >
  292. temperature_after_avg,
  293. </if>
  294. <if test="waterFrontMax != null" >
  295. water_front_max,
  296. </if>
  297. <if test="waterFrontMin != null" >
  298. water_front_min,
  299. </if>
  300. <if test="waterFrontAvg != null" >
  301. water_front_avg,
  302. </if>
  303. <if test="waterAfterMax != null" >
  304. water_after_max,
  305. </if>
  306. <if test="waterAfterMin != null" >
  307. water_after_min,
  308. </if>
  309. <if test="waterAfterAvg != null" >
  310. water_after_avg,
  311. </if>
  312. <if test="temperatureWidth != null" >
  313. temperature_width,
  314. </if>
  315. <if test="waterWidth != null" >
  316. water_width,
  317. </if>
  318. <if test="totalElect != null" >
  319. total_elect,
  320. </if>
  321. <if test="electUnit != null" >
  322. elect_unit,
  323. </if>
  324. <if test="aerationBug != null" >
  325. aeration_bug,
  326. </if>
  327. <if test="workUser != null" >
  328. work_user,
  329. </if>
  330. <if test="approveUser != null" >
  331. approve_user,
  332. </if>
  333. <if test="remark != null" >
  334. remark,
  335. </if>
  336. <if test="fanRun != null" >
  337. fan_run,
  338. </if>
  339. <if test="houseHumidityMax != null" >
  340. house_humidity_max,
  341. </if>
  342. <if test="houseHumidityMin != null" >
  343. house_humidity_min,
  344. </if>
  345. <if test="houseHumidityAvg != null" >
  346. house_humidity_avg,
  347. </if>
  348. <if test="fanRunMax != null" >
  349. fan_run_max,
  350. </if>
  351. <if test="fanRunMin != null" >
  352. fan_run__min,
  353. </if>
  354. <if test="fanRunAvg != null" >
  355. fan_run_avg,
  356. </if>
  357. <if test="cId != null" >
  358. c_id,
  359. </if>
  360. <if test="cTime != null" >
  361. c_time,
  362. </if>
  363. <if test="uId != null" >
  364. u_id,
  365. </if>
  366. <if test="uTime != null" >
  367. u_time,
  368. </if>
  369. </trim>
  370. <trim prefix="values (" suffix=")" suffixOverrides="," >
  371. <if test="id != null" >
  372. #{id,jdbcType=INTEGER},
  373. </if>
  374. <if test="file_uuid != null" >
  375. #{fileUuid,jdbcType=INTEGER},
  376. </if>
  377. <if test="houseId != null" >
  378. #{houseId,jdbcType=INTEGER},
  379. </if>
  380. <if test="grainId != null" >
  381. #{grainId,jdbcType=INTEGER},
  382. </if>
  383. <if test="type != null" >
  384. #{type,jdbcType=VARCHAR},
  385. </if>
  386. <if test="number != null" >
  387. #{number,jdbcType=INTEGER},
  388. </if>
  389. <if test="houseType != null" >
  390. #{houseType,jdbcType=VARCHAR},
  391. </if>
  392. <if test="keepWarm != null" >
  393. #{keepWarm,jdbcType=VARCHAR},
  394. </if>
  395. <if test="coolType != null" >
  396. #{coolType,jdbcType=VARCHAR},
  397. </if>
  398. <if test="aerationType != null" >
  399. #{aerationType,jdbcType=VARCHAR},
  400. </if>
  401. <if test="fanStyle != null" >
  402. #{fanStyle,jdbcType=VARCHAR},
  403. </if>
  404. <if test="fanPower != null" >
  405. #{fanPower,jdbcType=VARCHAR},
  406. </if>
  407. <if test="temperatureEnd != null" >
  408. #{temperatureEnd,jdbcType=VARCHAR},
  409. </if>
  410. <if test="fanNum != null" >
  411. #{fanNum,jdbcType=VARCHAR},
  412. </if>
  413. <if test="foodWidth != null" >
  414. #{foodWidth,jdbcType=VARCHAR},
  415. </if>
  416. <if test="temperatureStart != null" >
  417. #{temperatureStart,jdbcType=VARCHAR},
  418. </if>
  419. <if test="fanTotal != null" >
  420. #{fanTotal,jdbcType=VARCHAR},
  421. </if>
  422. <if test="fanUnit != null" >
  423. #{fanUnit,jdbcType=VARCHAR},
  424. </if>
  425. <if test="fanStart != null" >
  426. #{fanStart,jdbcType=VARCHAR},
  427. </if>
  428. <if test="fanEnd != null" >
  429. #{fanEnd,jdbcType=VARCHAR},
  430. </if>
  431. <if test="fanTimeTotal != null" >
  432. #{fanTimeTotal,jdbcType=VARCHAR},
  433. </if>
  434. <if test="airTemperatureMax != null" >
  435. #{airTemperatureMax,jdbcType=VARCHAR},
  436. </if>
  437. <if test="airTemperatureMin != null" >
  438. #{airTemperatureMin,jdbcType=VARCHAR},
  439. </if>
  440. <if test="airTemperatureAvg != null" >
  441. #{airTemperatureAvg,jdbcType=VARCHAR},
  442. </if>
  443. <if test="temperatureFrontMax != null" >
  444. #{temperatureFrontMax,jdbcType=VARCHAR},
  445. </if>
  446. <if test="temperatureFrontMin != null" >
  447. #{temperatureFrontMin,jdbcType=VARCHAR},
  448. </if>
  449. <if test="temperatureFrontAvg != null" >
  450. #{temperatureFrontAvg,jdbcType=VARCHAR},
  451. </if>
  452. <if test="temperatureAfterMax != null" >
  453. #{temperatureAfterMax,jdbcType=VARCHAR},
  454. </if>
  455. <if test="temperatureAfterMin != null" >
  456. #{temperatureAfterMin,jdbcType=VARCHAR},
  457. </if>
  458. <if test="temperatureAfterAvg != null" >
  459. #{temperatureAfterAvg,jdbcType=VARCHAR},
  460. </if>
  461. <if test="waterFrontMax != null" >
  462. #{waterFrontMax,jdbcType=VARCHAR},
  463. </if>
  464. <if test="waterFrontMin != null" >
  465. #{waterFrontMin,jdbcType=VARCHAR},
  466. </if>
  467. <if test="waterFrontAvg != null" >
  468. #{waterFrontAvg,jdbcType=VARCHAR},
  469. </if>
  470. <if test="waterAfterMax != null" >
  471. #{waterAfterMax,jdbcType=VARCHAR},
  472. </if>
  473. <if test="waterAfterMin != null" >
  474. #{waterAfterMin,jdbcType=VARCHAR},
  475. </if>
  476. <if test="waterAfterAvg != null" >
  477. #{waterAfterAvg,jdbcType=VARCHAR},
  478. </if>
  479. <if test="temperatureWidth != null" >
  480. #{temperatureWidth,jdbcType=VARCHAR},
  481. </if>
  482. <if test="waterWidth != null" >
  483. #{waterWidth,jdbcType=VARCHAR},
  484. </if>
  485. <if test="totalElect != null" >
  486. #{totalElect,jdbcType=VARCHAR},
  487. </if>
  488. <if test="electUnit != null" >
  489. #{electUnit,jdbcType=VARCHAR},
  490. </if>
  491. <if test="aerationBug != null" >
  492. #{aerationBug,jdbcType=VARCHAR},
  493. </if>
  494. <if test="workUser != null" >
  495. #{workUser,jdbcType=VARCHAR},
  496. </if>
  497. <if test="approveUser != null" >
  498. #{approveUser,jdbcType=VARCHAR},
  499. </if>
  500. <if test="remark != null" >
  501. #{remark,jdbcType=VARCHAR},
  502. </if>
  503. <if test="fanRun != null" >
  504. #{fanRun,jdbcType=VARCHAR},
  505. </if>
  506. <if test="houseHumidityMax != null" >
  507. #{houseHumidityMax,jdbcType=VARCHAR},
  508. </if>
  509. <if test="houseHumidityMin != null" >
  510. #{houseHumidityMin,jdbcType=VARCHAR},
  511. </if>
  512. <if test="houseHumidityAvg != null" >
  513. #{houseHumidityAvg,jdbcType=VARCHAR},
  514. </if>
  515. <if test="fanRunMax != null" >
  516. #{fanRunMax,jdbcType=VARCHAR},
  517. </if>
  518. <if test="fanRunMin != null" >
  519. #{fanRunMin,jdbcType=VARCHAR},
  520. </if>
  521. <if test="fanRunAvg != null" >
  522. #{fanRunAvg,jdbcType=VARCHAR},
  523. </if>
  524. <if test="cId != null" >
  525. #{cId,jdbcType=INTEGER},
  526. </if>
  527. <if test="cTime != null" >
  528. #{cTime,jdbcType=TIMESTAMP},
  529. </if>
  530. <if test="uId != null" >
  531. #{uId,jdbcType=INTEGER},
  532. </if>
  533. <if test="uTime != null" >
  534. #{uTime,jdbcType=TIMESTAMP},
  535. </if>
  536. </trim>
  537. </insert>
  538. <select id="countByExample" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordConditionerNewFileExample" resultType="java.lang.Integer" >
  539. select count(*) from daily_record_conditioner_new_file
  540. <if test="_parameter != null" >
  541. <include refid="Example_Where_Clause" />
  542. </if>
  543. </select>
  544. <update id="updateByExampleSelective" parameterType="map" >
  545. update daily_record_conditioner_new_file
  546. <set >
  547. <if test="record.id != null" >
  548. id = #{record.id,jdbcType=INTEGER},
  549. </if>
  550. <if test="record.fileUuid != null" >
  551. id = #{record.fileUuid,jdbcType=INTEGER},
  552. </if>
  553. <if test="record.houseId != null" >
  554. house_id = #{record.houseId,jdbcType=INTEGER},
  555. </if>
  556. <if test="record.grainId != null" >
  557. grain_id = #{record.grainId,jdbcType=INTEGER},
  558. </if>
  559. <if test="record.type != null" >
  560. type = #{record.type,jdbcType=VARCHAR},
  561. </if>
  562. <if test="record.number != null" >
  563. number = #{record.number,jdbcType=INTEGER},
  564. </if>
  565. <if test="record.houseType != null" >
  566. house_type = #{record.houseType,jdbcType=VARCHAR},
  567. </if>
  568. <if test="record.keepWarm != null" >
  569. keep_warm = #{record.keepWarm,jdbcType=VARCHAR},
  570. </if>
  571. <if test="record.coolType != null" >
  572. cool_type = #{record.coolType,jdbcType=VARCHAR},
  573. </if>
  574. <if test="record.aerationType != null" >
  575. aeration_type = #{record.aerationType,jdbcType=VARCHAR},
  576. </if>
  577. <if test="record.fanStyle != null" >
  578. fan_style = #{record.fanStyle,jdbcType=VARCHAR},
  579. </if>
  580. <if test="record.fanPower != null" >
  581. fan_power = #{record.fanPower,jdbcType=VARCHAR},
  582. </if>
  583. <if test="record.temperatureEnd != null" >
  584. temperature_end = #{record.temperatureEnd,jdbcType=VARCHAR},
  585. </if>
  586. <if test="record.fanNum != null" >
  587. fan_num = #{record.fanNum,jdbcType=VARCHAR},
  588. </if>
  589. <if test="record.foodWidth != null" >
  590. food_width = #{record.foodWidth,jdbcType=VARCHAR},
  591. </if>
  592. <if test="record.temperatureStart != null" >
  593. temperature_start = #{record.temperatureStart,jdbcType=VARCHAR},
  594. </if>
  595. <if test="record.fanTotal != null" >
  596. fan_total = #{record.fanTotal,jdbcType=VARCHAR},
  597. </if>
  598. <if test="record.fanUnit != null" >
  599. fan_unit = #{record.fanUnit,jdbcType=VARCHAR},
  600. </if>
  601. <if test="record.fanStart != null" >
  602. fan_start = #{record.fanStart,jdbcType=VARCHAR},
  603. </if>
  604. <if test="record.fanEnd != null" >
  605. fan_end = #{record.fanEnd,jdbcType=VARCHAR},
  606. </if>
  607. <if test="record.fanTimeTotal != null" >
  608. fan_time_total = #{record.fanTimeTotal,jdbcType=VARCHAR},
  609. </if>
  610. <if test="record.airTemperatureMax != null" >
  611. air_temperature_max = #{record.airTemperatureMax,jdbcType=VARCHAR},
  612. </if>
  613. <if test="record.airTemperatureMin != null" >
  614. air_temperature_min = #{record.airTemperatureMin,jdbcType=VARCHAR},
  615. </if>
  616. <if test="record.airTemperatureAvg != null" >
  617. air_temperature_avg = #{record.airTemperatureAvg,jdbcType=VARCHAR},
  618. </if>
  619. <if test="record.temperatureFrontMax != null" >
  620. temperature_front_max = #{record.temperatureFrontMax,jdbcType=VARCHAR},
  621. </if>
  622. <if test="record.temperatureFrontMin != null" >
  623. temperature_front_min = #{record.temperatureFrontMin,jdbcType=VARCHAR},
  624. </if>
  625. <if test="record.temperatureFrontAvg != null" >
  626. temperature_front_avg = #{record.temperatureFrontAvg,jdbcType=VARCHAR},
  627. </if>
  628. <if test="record.temperatureAfterMax != null" >
  629. temperature_after_max = #{record.temperatureAfterMax,jdbcType=VARCHAR},
  630. </if>
  631. <if test="record.temperatureAfterMin != null" >
  632. temperature_after_min = #{record.temperatureAfterMin,jdbcType=VARCHAR},
  633. </if>
  634. <if test="record.temperatureAfterAvg != null" >
  635. temperature_after_avg = #{record.temperatureAfterAvg,jdbcType=VARCHAR},
  636. </if>
  637. <if test="record.waterFrontMax != null" >
  638. water_front_max = #{record.waterFrontMax,jdbcType=VARCHAR},
  639. </if>
  640. <if test="record.waterFrontMin != null" >
  641. water_front_min = #{record.waterFrontMin,jdbcType=VARCHAR},
  642. </if>
  643. <if test="record.waterFrontAvg != null" >
  644. water_front_avg = #{record.waterFrontAvg,jdbcType=VARCHAR},
  645. </if>
  646. <if test="record.waterAfterMax != null" >
  647. water_after_max = #{record.waterAfterMax,jdbcType=VARCHAR},
  648. </if>
  649. <if test="record.waterAfterMin != null" >
  650. water_after_min = #{record.waterAfterMin,jdbcType=VARCHAR},
  651. </if>
  652. <if test="record.waterAfterAvg != null" >
  653. water_after_avg = #{record.waterAfterAvg,jdbcType=VARCHAR},
  654. </if>
  655. <if test="record.temperatureWidth != null" >
  656. temperature_width = #{record.temperatureWidth,jdbcType=VARCHAR},
  657. </if>
  658. <if test="record.waterWidth != null" >
  659. water_width = #{record.waterWidth,jdbcType=VARCHAR},
  660. </if>
  661. <if test="record.totalElect != null" >
  662. total_elect = #{record.totalElect,jdbcType=VARCHAR},
  663. </if>
  664. <if test="record.electUnit != null" >
  665. elect_unit = #{record.electUnit,jdbcType=VARCHAR},
  666. </if>
  667. <if test="record.aerationBug != null" >
  668. aeration_bug = #{record.aerationBug,jdbcType=VARCHAR},
  669. </if>
  670. <if test="record.workUser != null" >
  671. work_user = #{record.workUser,jdbcType=VARCHAR},
  672. </if>
  673. <if test="record.approveUser != null" >
  674. approve_user = #{record.approveUser,jdbcType=VARCHAR},
  675. </if>
  676. <if test="record.remark != null" >
  677. remark = #{record.remark,jdbcType=VARCHAR},
  678. </if>
  679. <if test="record.fanRun != null" >
  680. fan_run = #{record.fanRun,jdbcType=VARCHAR},
  681. </if>
  682. <if test="record.houseHumidityMax != null" >
  683. house_humidity_max = #{record.houseHumidityMax,jdbcType=VARCHAR},
  684. </if>
  685. <if test="record.houseHumidityMin != null" >
  686. house_humidity_min = #{record.houseHumidityMin,jdbcType=VARCHAR},
  687. </if>
  688. <if test="record.houseHumidityAvg != null" >
  689. house_humidity_avg = #{record.houseHumidityAvg,jdbcType=VARCHAR},
  690. </if>
  691. <if test="record.fanRunMax != null" >
  692. fan_run_max = #{record.fanRunMax,jdbcType=VARCHAR},
  693. </if>
  694. <if test="record.fanRunMin != null" >
  695. fan_run__min = #{record.fanRunMin,jdbcType=VARCHAR},
  696. </if>
  697. <if test="record.fanRunAvg != null" >
  698. fan_run_avg = #{record.fanRunAvg,jdbcType=VARCHAR},
  699. </if>
  700. <if test="record.cId != null" >
  701. c_id = #{record.cId,jdbcType=INTEGER},
  702. </if>
  703. <if test="record.cTime != null" >
  704. c_time = #{record.cTime,jdbcType=TIMESTAMP},
  705. </if>
  706. <if test="record.uId != null" >
  707. u_id = #{record.uId,jdbcType=INTEGER},
  708. </if>
  709. <if test="record.uTime != null" >
  710. u_time = #{record.uTime,jdbcType=TIMESTAMP},
  711. </if>
  712. </set>
  713. <if test="_parameter != null" >
  714. <include refid="Update_By_Example_Where_Clause" />
  715. </if>
  716. </update>
  717. <update id="updateByExample" parameterType="map" >
  718. update daily_record_conditioner_new_file
  719. set id = #{record.id,jdbcType=INTEGER},
  720. file_uuid = #{record.fileUuid,jdbcType=INTEGER},
  721. house_id = #{record.houseId,jdbcType=INTEGER},
  722. grain_id = #{record.grainId,jdbcType=INTEGER},
  723. type = #{record.type,jdbcType=VARCHAR},
  724. number = #{record.number,jdbcType=INTEGER},
  725. house_type = #{record.houseType,jdbcType=VARCHAR},
  726. keep_warm = #{record.keepWarm,jdbcType=VARCHAR},
  727. cool_type = #{record.coolType,jdbcType=VARCHAR},
  728. aeration_type = #{record.aerationType,jdbcType=VARCHAR},
  729. fan_style = #{record.fanStyle,jdbcType=VARCHAR},
  730. fan_power = #{record.fanPower,jdbcType=VARCHAR},
  731. temperature_end = #{record.temperatureEnd,jdbcType=VARCHAR},
  732. fan_num = #{record.fanNum,jdbcType=VARCHAR},
  733. food_width = #{record.foodWidth,jdbcType=VARCHAR},
  734. temperature_start = #{record.temperatureStart,jdbcType=VARCHAR},
  735. fan_total = #{record.fanTotal,jdbcType=VARCHAR},
  736. fan_unit = #{record.fanUnit,jdbcType=VARCHAR},
  737. fan_start = #{record.fanStart,jdbcType=VARCHAR},
  738. fan_end = #{record.fanEnd,jdbcType=VARCHAR},
  739. fan_time_total = #{record.fanTimeTotal,jdbcType=VARCHAR},
  740. air_temperature_max = #{record.airTemperatureMax,jdbcType=VARCHAR},
  741. air_temperature_min = #{record.airTemperatureMin,jdbcType=VARCHAR},
  742. air_temperature_avg = #{record.airTemperatureAvg,jdbcType=VARCHAR},
  743. temperature_front_max = #{record.temperatureFrontMax,jdbcType=VARCHAR},
  744. temperature_front_min = #{record.temperatureFrontMin,jdbcType=VARCHAR},
  745. temperature_front_avg = #{record.temperatureFrontAvg,jdbcType=VARCHAR},
  746. temperature_after_max = #{record.temperatureAfterMax,jdbcType=VARCHAR},
  747. temperature_after_min = #{record.temperatureAfterMin,jdbcType=VARCHAR},
  748. temperature_after_avg = #{record.temperatureAfterAvg,jdbcType=VARCHAR},
  749. water_front_max = #{record.waterFrontMax,jdbcType=VARCHAR},
  750. water_front_min = #{record.waterFrontMin,jdbcType=VARCHAR},
  751. water_front_avg = #{record.waterFrontAvg,jdbcType=VARCHAR},
  752. water_after_max = #{record.waterAfterMax,jdbcType=VARCHAR},
  753. water_after_min = #{record.waterAfterMin,jdbcType=VARCHAR},
  754. water_after_avg = #{record.waterAfterAvg,jdbcType=VARCHAR},
  755. temperature_width = #{record.temperatureWidth,jdbcType=VARCHAR},
  756. water_width = #{record.waterWidth,jdbcType=VARCHAR},
  757. total_elect = #{record.totalElect,jdbcType=VARCHAR},
  758. elect_unit = #{record.electUnit,jdbcType=VARCHAR},
  759. aeration_bug = #{record.aerationBug,jdbcType=VARCHAR},
  760. work_user = #{record.workUser,jdbcType=VARCHAR},
  761. approve_user = #{record.approveUser,jdbcType=VARCHAR},
  762. remark = #{record.remark,jdbcType=VARCHAR},
  763. fan_run = #{record.fanRun,jdbcType=VARCHAR},
  764. house_humidity_max = #{record.houseHumidityMax,jdbcType=VARCHAR},
  765. house_humidity_min = #{record.houseHumidityMin,jdbcType=VARCHAR},
  766. house_humidity_avg = #{record.houseHumidityAvg,jdbcType=VARCHAR},
  767. fan_run_max = #{record.fanRunMax,jdbcType=VARCHAR},
  768. fan_run__min = #{record.fanRunMin,jdbcType=VARCHAR},
  769. fan_run_avg = #{record.fanRunAvg,jdbcType=VARCHAR},
  770. c_id = #{record.cId,jdbcType=INTEGER},
  771. c_time = #{record.cTime,jdbcType=TIMESTAMP},
  772. u_id = #{record.uId,jdbcType=INTEGER},
  773. u_time = #{record.uTime,jdbcType=TIMESTAMP}
  774. <if test="_parameter != null" >
  775. <include refid="Update_By_Example_Where_Clause" />
  776. </if>
  777. </update>
  778. <update id="updateByPrimaryKeySelective" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordConditionerNewFile" >
  779. update daily_record_conditioner_new_file
  780. <set >
  781. <if test="houseId != null" >
  782. file_uuid = #{fileUuid,jdbcType=INTEGER},
  783. </if>
  784. <if test="houseId != null" >
  785. house_id = #{houseId,jdbcType=INTEGER},
  786. </if>
  787. <if test="grainId != null" >
  788. grain_id = #{grainId,jdbcType=INTEGER},
  789. </if>
  790. <if test="type != null" >
  791. type = #{type,jdbcType=VARCHAR},
  792. </if>
  793. <if test="number != null" >
  794. number = #{number,jdbcType=INTEGER},
  795. </if>
  796. <if test="houseType != null" >
  797. house_type = #{houseType,jdbcType=VARCHAR},
  798. </if>
  799. <if test="keepWarm != null" >
  800. keep_warm = #{keepWarm,jdbcType=VARCHAR},
  801. </if>
  802. <if test="coolType != null" >
  803. cool_type = #{coolType,jdbcType=VARCHAR},
  804. </if>
  805. <if test="aerationType != null" >
  806. aeration_type = #{aerationType,jdbcType=VARCHAR},
  807. </if>
  808. <if test="fanStyle != null" >
  809. fan_style = #{fanStyle,jdbcType=VARCHAR},
  810. </if>
  811. <if test="fanPower != null" >
  812. fan_power = #{fanPower,jdbcType=VARCHAR},
  813. </if>
  814. <if test="temperatureEnd != null" >
  815. temperature_end = #{temperatureEnd,jdbcType=VARCHAR},
  816. </if>
  817. <if test="fanNum != null" >
  818. fan_num = #{fanNum,jdbcType=VARCHAR},
  819. </if>
  820. <if test="foodWidth != null" >
  821. food_width = #{foodWidth,jdbcType=VARCHAR},
  822. </if>
  823. <if test="temperatureStart != null" >
  824. temperature_start = #{temperatureStart,jdbcType=VARCHAR},
  825. </if>
  826. <if test="fanTotal != null" >
  827. fan_total = #{fanTotal,jdbcType=VARCHAR},
  828. </if>
  829. <if test="fanUnit != null" >
  830. fan_unit = #{fanUnit,jdbcType=VARCHAR},
  831. </if>
  832. <if test="fanStart != null" >
  833. fan_start = #{fanStart,jdbcType=VARCHAR},
  834. </if>
  835. <if test="fanEnd != null" >
  836. fan_end = #{fanEnd,jdbcType=VARCHAR},
  837. </if>
  838. <if test="fanTimeTotal != null" >
  839. fan_time_total = #{fanTimeTotal,jdbcType=VARCHAR},
  840. </if>
  841. <if test="airTemperatureMax != null" >
  842. air_temperature_max = #{airTemperatureMax,jdbcType=VARCHAR},
  843. </if>
  844. <if test="airTemperatureMin != null" >
  845. air_temperature_min = #{airTemperatureMin,jdbcType=VARCHAR},
  846. </if>
  847. <if test="airTemperatureAvg != null" >
  848. air_temperature_avg = #{airTemperatureAvg,jdbcType=VARCHAR},
  849. </if>
  850. <if test="temperatureFrontMax != null" >
  851. temperature_front_max = #{temperatureFrontMax,jdbcType=VARCHAR},
  852. </if>
  853. <if test="temperatureFrontMin != null" >
  854. temperature_front_min = #{temperatureFrontMin,jdbcType=VARCHAR},
  855. </if>
  856. <if test="temperatureFrontAvg != null" >
  857. temperature_front_avg = #{temperatureFrontAvg,jdbcType=VARCHAR},
  858. </if>
  859. <if test="temperatureAfterMax != null" >
  860. temperature_after_max = #{temperatureAfterMax,jdbcType=VARCHAR},
  861. </if>
  862. <if test="temperatureAfterMin != null" >
  863. temperature_after_min = #{temperatureAfterMin,jdbcType=VARCHAR},
  864. </if>
  865. <if test="temperatureAfterAvg != null" >
  866. temperature_after_avg = #{temperatureAfterAvg,jdbcType=VARCHAR},
  867. </if>
  868. <if test="waterFrontMax != null" >
  869. water_front_max = #{waterFrontMax,jdbcType=VARCHAR},
  870. </if>
  871. <if test="waterFrontMin != null" >
  872. water_front_min = #{waterFrontMin,jdbcType=VARCHAR},
  873. </if>
  874. <if test="waterFrontAvg != null" >
  875. water_front_avg = #{waterFrontAvg,jdbcType=VARCHAR},
  876. </if>
  877. <if test="waterAfterMax != null" >
  878. water_after_max = #{waterAfterMax,jdbcType=VARCHAR},
  879. </if>
  880. <if test="waterAfterMin != null" >
  881. water_after_min = #{waterAfterMin,jdbcType=VARCHAR},
  882. </if>
  883. <if test="waterAfterAvg != null" >
  884. water_after_avg = #{waterAfterAvg,jdbcType=VARCHAR},
  885. </if>
  886. <if test="temperatureWidth != null" >
  887. temperature_width = #{temperatureWidth,jdbcType=VARCHAR},
  888. </if>
  889. <if test="waterWidth != null" >
  890. water_width = #{waterWidth,jdbcType=VARCHAR},
  891. </if>
  892. <if test="totalElect != null" >
  893. total_elect = #{totalElect,jdbcType=VARCHAR},
  894. </if>
  895. <if test="electUnit != null" >
  896. elect_unit = #{electUnit,jdbcType=VARCHAR},
  897. </if>
  898. <if test="aerationBug != null" >
  899. aeration_bug = #{aerationBug,jdbcType=VARCHAR},
  900. </if>
  901. <if test="workUser != null" >
  902. work_user = #{workUser,jdbcType=VARCHAR},
  903. </if>
  904. <if test="approveUser != null" >
  905. approve_user = #{approveUser,jdbcType=VARCHAR},
  906. </if>
  907. <if test="remark != null" >
  908. remark = #{remark,jdbcType=VARCHAR},
  909. </if>
  910. <if test="fanRun != null" >
  911. fan_run = #{fanRun,jdbcType=VARCHAR},
  912. </if>
  913. <if test="houseHumidityMax != null" >
  914. house_humidity_max = #{houseHumidityMax,jdbcType=VARCHAR},
  915. </if>
  916. <if test="houseHumidityMin != null" >
  917. house_humidity_min = #{houseHumidityMin,jdbcType=VARCHAR},
  918. </if>
  919. <if test="houseHumidityAvg != null" >
  920. house_humidity_avg = #{houseHumidityAvg,jdbcType=VARCHAR},
  921. </if>
  922. <if test="fanRunMax != null" >
  923. fan_run_max = #{fanRunMax,jdbcType=VARCHAR},
  924. </if>
  925. <if test="fanRunMin != null" >
  926. fan_run__min = #{fanRunMin,jdbcType=VARCHAR},
  927. </if>
  928. <if test="fanRunAvg != null" >
  929. fan_run_avg = #{fanRunAvg,jdbcType=VARCHAR},
  930. </if>
  931. <if test="cId != null" >
  932. c_id = #{cId,jdbcType=INTEGER},
  933. </if>
  934. <if test="cTime != null" >
  935. c_time = #{cTime,jdbcType=TIMESTAMP},
  936. </if>
  937. <if test="uId != null" >
  938. u_id = #{uId,jdbcType=INTEGER},
  939. </if>
  940. <if test="uTime != null" >
  941. u_time = #{uTime,jdbcType=TIMESTAMP},
  942. </if>
  943. </set>
  944. where id = #{id,jdbcType=INTEGER}
  945. </update>
  946. <update id="updateByPrimaryKey" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordConditionerNewFile" >
  947. update daily_record_conditioner_new_file
  948. set house_id = #{houseId,jdbcType=INTEGER},
  949. file_uuid = #{fileUuid,jdbcType=INTEGER},
  950. grain_id = #{grainId,jdbcType=INTEGER},
  951. type = #{type,jdbcType=VARCHAR},
  952. number = #{number,jdbcType=INTEGER},
  953. house_type = #{houseType,jdbcType=VARCHAR},
  954. keep_warm = #{keepWarm,jdbcType=VARCHAR},
  955. cool_type = #{coolType,jdbcType=VARCHAR},
  956. aeration_type = #{aerationType,jdbcType=VARCHAR},
  957. fan_style = #{fanStyle,jdbcType=VARCHAR},
  958. fan_power = #{fanPower,jdbcType=VARCHAR},
  959. temperature_end = #{temperatureEnd,jdbcType=VARCHAR},
  960. fan_num = #{fanNum,jdbcType=VARCHAR},
  961. food_width = #{foodWidth,jdbcType=VARCHAR},
  962. temperature_start = #{temperatureStart,jdbcType=VARCHAR},
  963. fan_total = #{fanTotal,jdbcType=VARCHAR},
  964. fan_unit = #{fanUnit,jdbcType=VARCHAR},
  965. fan_start = #{fanStart,jdbcType=VARCHAR},
  966. fan_end = #{fanEnd,jdbcType=VARCHAR},
  967. fan_time_total = #{fanTimeTotal,jdbcType=VARCHAR},
  968. air_temperature_max = #{airTemperatureMax,jdbcType=VARCHAR},
  969. air_temperature_min = #{airTemperatureMin,jdbcType=VARCHAR},
  970. air_temperature_avg = #{airTemperatureAvg,jdbcType=VARCHAR},
  971. temperature_front_max = #{temperatureFrontMax,jdbcType=VARCHAR},
  972. temperature_front_min = #{temperatureFrontMin,jdbcType=VARCHAR},
  973. temperature_front_avg = #{temperatureFrontAvg,jdbcType=VARCHAR},
  974. temperature_after_max = #{temperatureAfterMax,jdbcType=VARCHAR},
  975. temperature_after_min = #{temperatureAfterMin,jdbcType=VARCHAR},
  976. temperature_after_avg = #{temperatureAfterAvg,jdbcType=VARCHAR},
  977. water_front_max = #{waterFrontMax,jdbcType=VARCHAR},
  978. water_front_min = #{waterFrontMin,jdbcType=VARCHAR},
  979. water_front_avg = #{waterFrontAvg,jdbcType=VARCHAR},
  980. water_after_max = #{waterAfterMax,jdbcType=VARCHAR},
  981. water_after_min = #{waterAfterMin,jdbcType=VARCHAR},
  982. water_after_avg = #{waterAfterAvg,jdbcType=VARCHAR},
  983. temperature_width = #{temperatureWidth,jdbcType=VARCHAR},
  984. water_width = #{waterWidth,jdbcType=VARCHAR},
  985. total_elect = #{totalElect,jdbcType=VARCHAR},
  986. elect_unit = #{electUnit,jdbcType=VARCHAR},
  987. aeration_bug = #{aerationBug,jdbcType=VARCHAR},
  988. work_user = #{workUser,jdbcType=VARCHAR},
  989. approve_user = #{approveUser,jdbcType=VARCHAR},
  990. remark = #{remark,jdbcType=VARCHAR},
  991. fan_run = #{fanRun,jdbcType=VARCHAR},
  992. house_humidity_max = #{houseHumidityMax,jdbcType=VARCHAR},
  993. house_humidity_min = #{houseHumidityMin,jdbcType=VARCHAR},
  994. house_humidity_avg = #{houseHumidityAvg,jdbcType=VARCHAR},
  995. fan_run_max = #{fanRunMax,jdbcType=VARCHAR},
  996. fan_run__min = #{fanRunMin,jdbcType=VARCHAR},
  997. fan_run_avg = #{fanRunAvg,jdbcType=VARCHAR},
  998. c_id = #{cId,jdbcType=INTEGER},
  999. c_time = #{cTime,jdbcType=TIMESTAMP},
  1000. u_id = #{uId,jdbcType=INTEGER},
  1001. u_time = #{uTime,jdbcType=TIMESTAMP}
  1002. where id = #{id,jdbcType=INTEGER}
  1003. </update>
  1004. </mapper>