DailyRecordCoolNewMapper.xml 39 KB

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