DailyRecordLsxzfaNewMapper.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  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.DailyRecordFoodsafeNewMapper" >
  4. <resultMap id="BaseResultMap" type="cn.ourwill.module.house.entity.new_entity.DailyRecordLsxzfaNew" >
  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="fumigation_time" property="fumigationTime" jdbcType="VARCHAR" />
  9. <result column="house_length" property="houseLength" jdbcType="REAL" />
  10. <result column="house_height" property="houseHeight" jdbcType="REAL" />
  11. <result column="house_width" property="houseWidth" jdbcType="REAL" />
  12. <result column="house_volume" property="houseVolume" jdbcType="REAL" />
  13. <result column="house_space" property="houseSpace" jdbcType="REAL" />
  14. <result column="type" property="type" jdbcType="VARCHAR" />
  15. <result column="number" property="number" jdbcType="INTEGER" />
  16. <result column="water" property="water" jdbcType="VARCHAR" />
  17. <result column="impurity" property="impurity" jdbcType="VARCHAR" />
  18. <result column="temperature" property="temperature" jdbcType="VARCHAR" />
  19. <result column="worm_type" property="wormType" jdbcType="VARCHAR" />
  20. <result column="density" property="density" jdbcType="VARCHAR" />
  21. <result column="medicament" property="medicament" jdbcType="VARCHAR" />
  22. <result column="fumigation_method" property="fumigationMethod" jdbcType="VARCHAR" />
  23. <result column="fumigation_date" property="fumigationDate" jdbcType="VARCHAR" />
  24. <result column="command_people" property="commandPeople" jdbcType="VARCHAR" />
  25. <result column="charge_people" property="chargePeople" jdbcType="VARCHAR" />
  26. <result column="applying_people" property="applyingPeople" jdbcType="VARCHAR" />
  27. <result column="security_people" property="securityPeople" jdbcType="VARCHAR" />
  28. <result column="opinion" property="opinion" jdbcType="VARCHAR" />
  29. <result column="uuid" property="uuid" jdbcType="VARCHAR" />
  30. <result column="c_id" property="cId" jdbcType="INTEGER" />
  31. <result column="c_time" property="cTime" jdbcType="TIMESTAMP" />
  32. <result column="u_id" property="uId" jdbcType="INTEGER" />
  33. <result column="u_time" property="uTime" jdbcType="TIMESTAMP" />
  34. </resultMap>
  35. <sql id="Example_Where_Clause" >
  36. <where >
  37. <foreach collection="oredCriteria" item="criteria" separator="or" >
  38. <if test="criteria.valid" >
  39. <trim prefix="(" suffix=")" prefixOverrides="and" >
  40. <foreach collection="criteria.criteria" item="criterion" >
  41. <choose >
  42. <when test="criterion.noValue" >
  43. and ${criterion.condition}
  44. </when>
  45. <when test="criterion.singleValue" >
  46. and ${criterion.condition} #{criterion.value}
  47. </when>
  48. <when test="criterion.betweenValue" >
  49. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  50. </when>
  51. <when test="criterion.listValue" >
  52. and ${criterion.condition}
  53. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  54. #{listItem}
  55. </foreach>
  56. </when>
  57. </choose>
  58. </foreach>
  59. </trim>
  60. </if>
  61. </foreach>
  62. </where>
  63. </sql>
  64. <sql id="Update_By_Example_Where_Clause" >
  65. <where >
  66. <foreach collection="example.oredCriteria" item="criteria" separator="or" >
  67. <if test="criteria.valid" >
  68. <trim prefix="(" suffix=")" prefixOverrides="and" >
  69. <foreach collection="criteria.criteria" item="criterion" >
  70. <choose >
  71. <when test="criterion.noValue" >
  72. and ${criterion.condition}
  73. </when>
  74. <when test="criterion.singleValue" >
  75. and ${criterion.condition} #{criterion.value}
  76. </when>
  77. <when test="criterion.betweenValue" >
  78. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  79. </when>
  80. <when test="criterion.listValue" >
  81. and ${criterion.condition}
  82. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  83. #{listItem}
  84. </foreach>
  85. </when>
  86. </choose>
  87. </foreach>
  88. </trim>
  89. </if>
  90. </foreach>
  91. </where>
  92. </sql>
  93. <sql id="Base_Column_List" >
  94. `id`,
  95. `house_id`,
  96. `grain_id`,
  97. `fumigation_time`,
  98. `house_length`,
  99. `house_height`,
  100. `house_width`,
  101. `house_volume`,
  102. `house_space`,
  103. `type`,
  104. `number`,
  105. `water`,
  106. `impurity`,
  107. `temperature`,
  108. `worm_type`,
  109. `density`,
  110. `medicament`,
  111. `fumigation_method`,
  112. `fumigation_date`,
  113. `command_people`,
  114. `charge_people`,
  115. `applying_people`,
  116. `security_people`,
  117. `opinion`,
  118. `uuid`,
  119. `c_id`,
  120. `c_time`,
  121. `u_id`,
  122. `u_time`,
  123. `sync_flag`
  124. </sql>
  125. <select id="selectByExample" resultMap="BaseResultMap" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFoodsafeNewExample" >
  126. select
  127. <if test="distinct" >
  128. distinct
  129. </if>
  130. <include refid="Base_Column_List" />
  131. from daily_record_foodsafe_new
  132. <if test="_parameter != null" >
  133. <include refid="Example_Where_Clause" />
  134. </if>
  135. <if test="orderByClause != null" >
  136. order by ${orderByClause}
  137. </if>
  138. </select>
  139. <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
  140. select
  141. <include refid="Base_Column_List" />
  142. from daily_record_foodsafe_new
  143. where id = #{id,jdbcType=INTEGER}
  144. </select>
  145. <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
  146. delete from daily_record_foodsafe_new
  147. where id = #{id,jdbcType=INTEGER}
  148. </delete>
  149. <delete id="deleteByExample" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFoodsafeNewExample" >
  150. delete from daily_record_foodsafe_new
  151. <if test="_parameter != null" >
  152. <include refid="Example_Where_Clause" />
  153. </if>
  154. </delete>
  155. <insert id="insert" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFoodsafeNew" >
  156. insert into daily_record_foodsafe_new (id, house_id, grain_id,
  157. safe_date, house_length, house_height,
  158. house_width, house_volume, house_space,
  159. type, number, water,
  160. impurity, temperature, worm_type,
  161. density, medicament, safe_method,
  162. safe_effect, safe_people, charge,
  163. c_id, c_time, u_id,
  164. u_time)
  165. values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
  166. #{safeDate,jdbcType=VARCHAR}, #{houseLength,jdbcType=REAL}, #{houseHeight,jdbcType=REAL},
  167. #{houseWidth,jdbcType=REAL}, #{houseVolume,jdbcType=REAL}, #{houseSpace,jdbcType=REAL},
  168. #{type,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER}, #{water,jdbcType=VARCHAR},
  169. #{impurity,jdbcType=VARCHAR}, #{temperature,jdbcType=VARCHAR}, #{wormType,jdbcType=VARCHAR},
  170. #{density,jdbcType=VARCHAR}, #{medicament,jdbcType=VARCHAR}, #{safeMethod,jdbcType=VARCHAR},
  171. #{safeEffect,jdbcType=VARCHAR}, #{safePeople,jdbcType=VARCHAR}, #{charge,jdbcType=VARCHAR},
  172. #{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP}, #{uId,jdbcType=INTEGER},
  173. #{uTime,jdbcType=TIMESTAMP})
  174. </insert>
  175. <insert id="insertSelective" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFoodsafeNew" >
  176. insert into daily_record_foodsafe_new
  177. <trim prefix="(" suffix=")" suffixOverrides="," >
  178. <if test="id != null" >
  179. id,
  180. </if>
  181. <if test="houseId != null" >
  182. house_id,
  183. </if>
  184. <if test="grainId != null" >
  185. grain_id,
  186. </if>
  187. <if test="safeDate != null" >
  188. safe_date,
  189. </if>
  190. <if test="houseLength != null" >
  191. house_length,
  192. </if>
  193. <if test="houseHeight != null" >
  194. house_height,
  195. </if>
  196. <if test="houseWidth != null" >
  197. house_width,
  198. </if>
  199. <if test="houseVolume != null" >
  200. house_volume,
  201. </if>
  202. <if test="houseSpace != null" >
  203. house_space,
  204. </if>
  205. <if test="type != null" >
  206. type,
  207. </if>
  208. <if test="number != null" >
  209. number,
  210. </if>
  211. <if test="water != null" >
  212. water,
  213. </if>
  214. <if test="impurity != null" >
  215. impurity,
  216. </if>
  217. <if test="temperature != null" >
  218. temperature,
  219. </if>
  220. <if test="wormType != null" >
  221. worm_type,
  222. </if>
  223. <if test="density != null" >
  224. density,
  225. </if>
  226. <if test="medicament != null" >
  227. medicament,
  228. </if>
  229. <if test="safeMethod != null" >
  230. safe_method,
  231. </if>
  232. <if test="safeEffect != null" >
  233. safe_effect,
  234. </if>
  235. <if test="safePeople != null" >
  236. safe_people,
  237. </if>
  238. <if test="charge != null" >
  239. charge,
  240. </if>
  241. <if test="cId != null" >
  242. c_id,
  243. </if>
  244. <if test="cTime != null" >
  245. c_time,
  246. </if>
  247. <if test="uId != null" >
  248. u_id,
  249. </if>
  250. <if test="uTime != null" >
  251. u_time,
  252. </if>
  253. </trim>
  254. <trim prefix="values (" suffix=")" suffixOverrides="," >
  255. <if test="id != null" >
  256. #{id,jdbcType=INTEGER},
  257. </if>
  258. <if test="houseId != null" >
  259. #{houseId,jdbcType=INTEGER},
  260. </if>
  261. <if test="grainId != null" >
  262. #{grainId,jdbcType=INTEGER},
  263. </if>
  264. <if test="safeDate != null" >
  265. #{safeDate,jdbcType=VARCHAR},
  266. </if>
  267. <if test="houseLength != null" >
  268. #{houseLength,jdbcType=REAL},
  269. </if>
  270. <if test="houseHeight != null" >
  271. #{houseHeight,jdbcType=REAL},
  272. </if>
  273. <if test="houseWidth != null" >
  274. #{houseWidth,jdbcType=REAL},
  275. </if>
  276. <if test="houseVolume != null" >
  277. #{houseVolume,jdbcType=REAL},
  278. </if>
  279. <if test="houseSpace != null" >
  280. #{houseSpace,jdbcType=REAL},
  281. </if>
  282. <if test="type != null" >
  283. #{type,jdbcType=VARCHAR},
  284. </if>
  285. <if test="number != null" >
  286. #{number,jdbcType=INTEGER},
  287. </if>
  288. <if test="water != null" >
  289. #{water,jdbcType=VARCHAR},
  290. </if>
  291. <if test="impurity != null" >
  292. #{impurity,jdbcType=VARCHAR},
  293. </if>
  294. <if test="temperature != null" >
  295. #{temperature,jdbcType=VARCHAR},
  296. </if>
  297. <if test="wormType != null" >
  298. #{wormType,jdbcType=VARCHAR},
  299. </if>
  300. <if test="density != null" >
  301. #{density,jdbcType=VARCHAR},
  302. </if>
  303. <if test="medicament != null" >
  304. #{medicament,jdbcType=VARCHAR},
  305. </if>
  306. <if test="safeMethod != null" >
  307. #{safeMethod,jdbcType=VARCHAR},
  308. </if>
  309. <if test="safeEffect != null" >
  310. #{safeEffect,jdbcType=VARCHAR},
  311. </if>
  312. <if test="safePeople != null" >
  313. #{safePeople,jdbcType=VARCHAR},
  314. </if>
  315. <if test="charge != null" >
  316. #{charge,jdbcType=VARCHAR},
  317. </if>
  318. <if test="cId != null" >
  319. #{cId,jdbcType=INTEGER},
  320. </if>
  321. <if test="cTime != null" >
  322. #{cTime,jdbcType=TIMESTAMP},
  323. </if>
  324. <if test="uId != null" >
  325. #{uId,jdbcType=INTEGER},
  326. </if>
  327. <if test="uTime != null" >
  328. #{uTime,jdbcType=TIMESTAMP},
  329. </if>
  330. </trim>
  331. </insert>
  332. <select id="countByExample" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFoodsafeNewExample" resultType="java.lang.Integer" >
  333. select count(*) from daily_record_foodsafe_new
  334. <if test="_parameter != null" >
  335. <include refid="Example_Where_Clause" />
  336. </if>
  337. </select>
  338. <update id="updateByExampleSelective" parameterType="map" >
  339. update daily_record_foodsafe_new
  340. <set >
  341. <if test="record.id != null" >
  342. id = #{record.id,jdbcType=INTEGER},
  343. </if>
  344. <if test="record.houseId != null" >
  345. house_id = #{record.houseId,jdbcType=INTEGER},
  346. </if>
  347. <if test="record.grainId != null" >
  348. grain_id = #{record.grainId,jdbcType=INTEGER},
  349. </if>
  350. <if test="record.safeDate != null" >
  351. safe_date = #{record.safeDate,jdbcType=VARCHAR},
  352. </if>
  353. <if test="record.houseLength != null" >
  354. house_length = #{record.houseLength,jdbcType=REAL},
  355. </if>
  356. <if test="record.houseHeight != null" >
  357. house_height = #{record.houseHeight,jdbcType=REAL},
  358. </if>
  359. <if test="record.houseWidth != null" >
  360. house_width = #{record.houseWidth,jdbcType=REAL},
  361. </if>
  362. <if test="record.houseVolume != null" >
  363. house_volume = #{record.houseVolume,jdbcType=REAL},
  364. </if>
  365. <if test="record.houseSpace != null" >
  366. house_space = #{record.houseSpace,jdbcType=REAL},
  367. </if>
  368. <if test="record.type != null" >
  369. type = #{record.type,jdbcType=VARCHAR},
  370. </if>
  371. <if test="record.number != null" >
  372. number = #{record.number,jdbcType=INTEGER},
  373. </if>
  374. <if test="record.water != null" >
  375. water = #{record.water,jdbcType=VARCHAR},
  376. </if>
  377. <if test="record.impurity != null" >
  378. impurity = #{record.impurity,jdbcType=VARCHAR},
  379. </if>
  380. <if test="record.temperature != null" >
  381. temperature = #{record.temperature,jdbcType=VARCHAR},
  382. </if>
  383. <if test="record.wormType != null" >
  384. worm_type = #{record.wormType,jdbcType=VARCHAR},
  385. </if>
  386. <if test="record.density != null" >
  387. density = #{record.density,jdbcType=VARCHAR},
  388. </if>
  389. <if test="record.medicament != null" >
  390. medicament = #{record.medicament,jdbcType=VARCHAR},
  391. </if>
  392. <if test="record.safeMethod != null" >
  393. safe_method = #{record.safeMethod,jdbcType=VARCHAR},
  394. </if>
  395. <if test="record.safeEffect != null" >
  396. safe_effect = #{record.safeEffect,jdbcType=VARCHAR},
  397. </if>
  398. <if test="record.safePeople != null" >
  399. safe_people = #{record.safePeople,jdbcType=VARCHAR},
  400. </if>
  401. <if test="record.charge != null" >
  402. charge = #{record.charge,jdbcType=VARCHAR},
  403. </if>
  404. <if test="record.cId != null" >
  405. c_id = #{record.cId,jdbcType=INTEGER},
  406. </if>
  407. <if test="record.cTime != null" >
  408. c_time = #{record.cTime,jdbcType=TIMESTAMP},
  409. </if>
  410. <if test="record.uId != null" >
  411. u_id = #{record.uId,jdbcType=INTEGER},
  412. </if>
  413. <if test="record.uTime != null" >
  414. u_time = #{record.uTime,jdbcType=TIMESTAMP},
  415. </if>
  416. </set>
  417. <if test="_parameter != null" >
  418. <include refid="Update_By_Example_Where_Clause" />
  419. </if>
  420. </update>
  421. <update id="updateByExample" parameterType="map" >
  422. update daily_record_foodsafe_new
  423. set id = #{record.id,jdbcType=INTEGER},
  424. house_id = #{record.houseId,jdbcType=INTEGER},
  425. grain_id = #{record.grainId,jdbcType=INTEGER},
  426. safe_date = #{record.safeDate,jdbcType=VARCHAR},
  427. house_length = #{record.houseLength,jdbcType=REAL},
  428. house_height = #{record.houseHeight,jdbcType=REAL},
  429. house_width = #{record.houseWidth,jdbcType=REAL},
  430. house_volume = #{record.houseVolume,jdbcType=REAL},
  431. house_space = #{record.houseSpace,jdbcType=REAL},
  432. type = #{record.type,jdbcType=VARCHAR},
  433. number = #{record.number,jdbcType=INTEGER},
  434. water = #{record.water,jdbcType=VARCHAR},
  435. impurity = #{record.impurity,jdbcType=VARCHAR},
  436. temperature = #{record.temperature,jdbcType=VARCHAR},
  437. worm_type = #{record.wormType,jdbcType=VARCHAR},
  438. density = #{record.density,jdbcType=VARCHAR},
  439. medicament = #{record.medicament,jdbcType=VARCHAR},
  440. safe_method = #{record.safeMethod,jdbcType=VARCHAR},
  441. safe_effect = #{record.safeEffect,jdbcType=VARCHAR},
  442. safe_people = #{record.safePeople,jdbcType=VARCHAR},
  443. charge = #{record.charge,jdbcType=VARCHAR},
  444. c_id = #{record.cId,jdbcType=INTEGER},
  445. c_time = #{record.cTime,jdbcType=TIMESTAMP},
  446. u_id = #{record.uId,jdbcType=INTEGER},
  447. u_time = #{record.uTime,jdbcType=TIMESTAMP}
  448. <if test="_parameter != null" >
  449. <include refid="Update_By_Example_Where_Clause" />
  450. </if>
  451. </update>
  452. <update id="updateByPrimaryKeySelective" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFoodsafeNew" >
  453. update daily_record_foodsafe_new
  454. <set >
  455. <if test="houseId != null" >
  456. house_id = #{houseId,jdbcType=INTEGER},
  457. </if>
  458. <if test="grainId != null" >
  459. grain_id = #{grainId,jdbcType=INTEGER},
  460. </if>
  461. <if test="safeDate != null" >
  462. safe_date = #{safeDate,jdbcType=VARCHAR},
  463. </if>
  464. <if test="houseLength != null" >
  465. house_length = #{houseLength,jdbcType=REAL},
  466. </if>
  467. <if test="houseHeight != null" >
  468. house_height = #{houseHeight,jdbcType=REAL},
  469. </if>
  470. <if test="houseWidth != null" >
  471. house_width = #{houseWidth,jdbcType=REAL},
  472. </if>
  473. <if test="houseVolume != null" >
  474. house_volume = #{houseVolume,jdbcType=REAL},
  475. </if>
  476. <if test="houseSpace != null" >
  477. house_space = #{houseSpace,jdbcType=REAL},
  478. </if>
  479. <if test="type != null" >
  480. type = #{type,jdbcType=VARCHAR},
  481. </if>
  482. <if test="number != null" >
  483. number = #{number,jdbcType=INTEGER},
  484. </if>
  485. <if test="water != null" >
  486. water = #{water,jdbcType=VARCHAR},
  487. </if>
  488. <if test="impurity != null" >
  489. impurity = #{impurity,jdbcType=VARCHAR},
  490. </if>
  491. <if test="temperature != null" >
  492. temperature = #{temperature,jdbcType=VARCHAR},
  493. </if>
  494. <if test="wormType != null" >
  495. worm_type = #{wormType,jdbcType=VARCHAR},
  496. </if>
  497. <if test="density != null" >
  498. density = #{density,jdbcType=VARCHAR},
  499. </if>
  500. <if test="medicament != null" >
  501. medicament = #{medicament,jdbcType=VARCHAR},
  502. </if>
  503. <if test="safeMethod != null" >
  504. safe_method = #{safeMethod,jdbcType=VARCHAR},
  505. </if>
  506. <if test="safeEffect != null" >
  507. safe_effect = #{safeEffect,jdbcType=VARCHAR},
  508. </if>
  509. <if test="safePeople != null" >
  510. safe_people = #{safePeople,jdbcType=VARCHAR},
  511. </if>
  512. <if test="charge != null" >
  513. charge = #{charge,jdbcType=VARCHAR},
  514. </if>
  515. <if test="cId != null" >
  516. c_id = #{cId,jdbcType=INTEGER},
  517. </if>
  518. <if test="cTime != null" >
  519. c_time = #{cTime,jdbcType=TIMESTAMP},
  520. </if>
  521. <if test="uId != null" >
  522. u_id = #{uId,jdbcType=INTEGER},
  523. </if>
  524. <if test="uTime != null" >
  525. u_time = #{uTime,jdbcType=TIMESTAMP},
  526. </if>
  527. </set>
  528. where id = #{id,jdbcType=INTEGER}
  529. </update>
  530. <update id="updateByPrimaryKey" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFoodsafeNew" >
  531. update daily_record_foodsafe_new
  532. set house_id = #{houseId,jdbcType=INTEGER},
  533. grain_id = #{grainId,jdbcType=INTEGER},
  534. safe_date = #{safeDate,jdbcType=VARCHAR},
  535. house_length = #{houseLength,jdbcType=REAL},
  536. house_height = #{houseHeight,jdbcType=REAL},
  537. house_width = #{houseWidth,jdbcType=REAL},
  538. house_volume = #{houseVolume,jdbcType=REAL},
  539. house_space = #{houseSpace,jdbcType=REAL},
  540. type = #{type,jdbcType=VARCHAR},
  541. number = #{number,jdbcType=INTEGER},
  542. water = #{water,jdbcType=VARCHAR},
  543. impurity = #{impurity,jdbcType=VARCHAR},
  544. temperature = #{temperature,jdbcType=VARCHAR},
  545. worm_type = #{wormType,jdbcType=VARCHAR},
  546. density = #{density,jdbcType=VARCHAR},
  547. medicament = #{medicament,jdbcType=VARCHAR},
  548. safe_method = #{safeMethod,jdbcType=VARCHAR},
  549. safe_effect = #{safeEffect,jdbcType=VARCHAR},
  550. safe_people = #{safePeople,jdbcType=VARCHAR},
  551. charge = #{charge,jdbcType=VARCHAR},
  552. c_id = #{cId,jdbcType=INTEGER},
  553. c_time = #{cTime,jdbcType=TIMESTAMP},
  554. u_id = #{uId,jdbcType=INTEGER},
  555. u_time = #{uTime,jdbcType=TIMESTAMP}
  556. where id = #{id,jdbcType=INTEGER}
  557. </update>
  558. </mapper>