DailyRecordLsxzfaNewFileMapper.xml 20 KB

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