DailyRecordConditionerNewMapper.xml 40 KB

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