DailyRecordFumigationNewFileMapper.xml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  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.DailyRecordFumigationNewFileMapper" >
  4. <resultMap id="BaseResultMap" type="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNewFile" >
  5. <id column="id" property="id" jdbcType="INTEGER" />
  6. <id column="flag" property="flag" jdbcType="INTEGER" />
  7. <result column="file_uuid" property="fileUuid" jdbcType="INTEGER" />
  8. <result column="house_id" property="houseId" jdbcType="INTEGER" />
  9. <result column="grain_id" property="grainId" jdbcType="INTEGER" />
  10. <result column="safe_date" property="safeDate" jdbcType="VARCHAR" />
  11. <result column="house_type" property="houseType" jdbcType="VARCHAR" />
  12. <result column="house_water" property="houseWater" jdbcType="VARCHAR" />
  13. <result column="house_temperature" property="houseTemperature" jdbcType="VARCHAR" />
  14. <result column="house_volume" property="houseVolume" jdbcType="REAL" />
  15. <result column="house_space" property="houseSpace" jdbcType="REAL" />
  16. <result column="type" property="type" jdbcType="VARCHAR" />
  17. <result column="number" property="number" jdbcType="INTEGER" />
  18. <result column="water" property="water" jdbcType="VARCHAR" />
  19. <result column="work_time_start" property="workTimeStart" jdbcType="VARCHAR" />
  20. <result column="work_time_end " property="workTimeEnd" jdbcType="VARCHAR" />
  21. <result column="work_date" property="workDate" jdbcType="VARCHAR" />
  22. <result column="temperature" property="temperature" jdbcType="VARCHAR" />
  23. <result column="worm_type" property="wormType" jdbcType="VARCHAR" />
  24. <result column="sanqi_apply" property="sanqiApply" jdbcType="VARCHAR" />
  25. <result column="tonic_apply" property="tonicApply" jdbcType="VARCHAR" />
  26. <result column="work_apply" property="workApply" jdbcType="VARCHAR" />
  27. <result column="airtemperature" property="airtemperature" jdbcType="VARCHAR" />
  28. <result column="weather" property="weather" jdbcType="VARCHAR" />
  29. <result column="density_after" property="densityAfter" jdbcType="VARCHAR" />
  30. <result column="density" property="density" jdbcType="VARCHAR" />
  31. <result column="medicament" property="medicament" jdbcType="VARCHAR" />
  32. <result column="safe_method" property="safeMethod" jdbcType="VARCHAR" />
  33. <result column="safe_effect" property="safeEffect" jdbcType="VARCHAR" />
  34. <result column="section" property="section" jdbcType="VARCHAR" />
  35. <result column="safe_people" property="safePeople" jdbcType="VARCHAR" />
  36. <result column="safe_man" property="safeMan" jdbcType="VARCHAR" />
  37. <result column="work_people" property="workPeople" jdbcType="VARCHAR" />
  38. <result column="charge" property="charge" jdbcType="VARCHAR" />
  39. <result column="is_draft" property="isDraft" jdbcType="VARCHAR" />
  40. <result column="work_type" property="workType" jdbcType="VARCHAR" />
  41. <result column="aluminum_num" property="aluminumNum" jdbcType="VARCHAR" />
  42. <result column="aluminum_type" property="aluminumType" jdbcType="VARCHAR" />
  43. <result column="volume_num" property="volumeNum" jdbcType="INTEGER" />
  44. <result column="space_num" property="spaceNum" jdbcType="INTEGER" />
  45. <result column="total_num" property="totalNum" jdbcType="INTEGER" />
  46. <result column="is_air" property="isAir" jdbcType="VARCHAR" />
  47. <result column="is_close" property="isClose" jdbcType="VARCHAR" />
  48. <result column="is_air_safe" property="isAirSafe" jdbcType="VARCHAR" />
  49. <result column="is_ detector" property="isDetector" jdbcType="VARCHAR" />
  50. <result column="is_alarm" property="isAlarm" jdbcType="VARCHAR" />
  51. <result column="is_oxygen" property="isOxygen" jdbcType="VARCHAR" />
  52. <result column="is_respirator" property="isRespirator" jdbcType="VARCHAR" />
  53. <result column="is_warning" property="isWarning" jdbcType="VARCHAR" />
  54. <result column="is_fire" property="isFire" jdbcType="VARCHAR" />
  55. <result column="is_kit" property="isKit" jdbcType="VARCHAR" />
  56. <result column="check_people" property="checkPeople" jdbcType="VARCHAR" />
  57. <result column="check_close" property="checkClose" jdbcType="VARCHAR" />
  58. <result column="check_warning" property="checkWarning" jdbcType="VARCHAR" />
  59. <result column="check_work" property="checkWork" jdbcType="VARCHAR" />
  60. <result column="tonic_date" property="tonicDate" jdbcType="VARCHAR" />
  61. <result column="tonic_time_start" property="tonicTimeStart" jdbcType="VARCHAR" />
  62. <result column="tonic_time_end" property="tonicTimeEnd" jdbcType="VARCHAR" />
  63. <result column="tonic_approve" property="tonicApprove" jdbcType="VARCHAR" />
  64. <result column="tonic_app_user" property="tonicAppUser" jdbcType="VARCHAR" />
  65. <result column="is_close_confirm" property="isCloseConfirm" jdbcType="VARCHAR" />
  66. <result column="is_alarm_confirm" property="isAlarmConfirm" jdbcType="VARCHAR" />
  67. <result column="is_ detector_confirm" property="isDetectorConfirm" jdbcType="VARCHAR" />
  68. <result column="is_kit_confirm" property="isKitConfirm" jdbcType="VARCHAR" />
  69. <result column="is_respirator_confirm" property="isRespiratorConfirm" jdbcType="VARCHAR" />
  70. <result column="is_fire_confirm" property="isFireConfirm" jdbcType="VARCHAR" />
  71. <result column="check_people_confirm" property="checkPeopleConfirm" jdbcType="VARCHAR" />
  72. <result column="sanqi_date" property="sanqiDate" jdbcType="VARCHAR" />
  73. <result column="sanqi_time_start" property="sanqiTimeStart" jdbcType="VARCHAR" />
  74. <result column="sanqi_time_end" property="sanqiTimeEnd" jdbcType="VARCHAR" />
  75. <result column="sanqi_type" property="sanqiType" jdbcType="VARCHAR" />
  76. <result column="sanqi_approve_user" property="sanqiApproveUser" jdbcType="VARCHAR" />
  77. <result column="sanqi_bz" property="sanqiBz" jdbcType="VARCHAR" />
  78. <result column="phosphine_check" property="phosphineCheck" jdbcType="VARCHAR" />
  79. <result column="house_open" property="houseOpen" jdbcType="VARCHAR" />
  80. <result column="check_people_three" property="checkPeopleThree" jdbcType="VARCHAR" />
  81. <result column="sanqi_user" property="sanqiUser" jdbcType="VARCHAR" />
  82. <result column="medic_set" property="medicSet" jdbcType="VARCHAR" />
  83. <result column="density_rate" property="densityRate" jdbcType="VARCHAR" />
  84. <result column="close_day" property="closeDay" jdbcType="VARCHAR" />
  85. <result column="temperature_after" property="temperatureAfter" jdbcType="VARCHAR" />
  86. <result column="phosphine_remain" property="phosphineRemain" jdbcType="VARCHAR" />
  87. <result column="remark" property="remark" jdbcType="VARCHAR" />
  88. <result column="uuid" property="uuid" jdbcType="VARCHAR" />
  89. <result column="c_id" property="cId" jdbcType="INTEGER" />
  90. <result column="c_time" property="cTime" jdbcType="TIMESTAMP" />
  91. <result column="u_id" property="uId" jdbcType="INTEGER" />
  92. <result column="u_time" property="uTime" jdbcType="TIMESTAMP" />
  93. </resultMap>
  94. <sql id="Example_Where_Clause" >
  95. <where >
  96. <foreach collection="oredCriteria" item="criteria" separator="or" >
  97. <if test="criteria.valid" >
  98. <trim prefix="(" suffix=")" prefixOverrides="and" >
  99. <foreach collection="criteria.criteria" item="criterion" >
  100. <choose >
  101. <when test="criterion.noValue" >
  102. and ${criterion.condition}
  103. </when>
  104. <when test="criterion.singleValue" >
  105. and ${criterion.condition} #{criterion.value}
  106. </when>
  107. <when test="criterion.betweenValue" >
  108. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  109. </when>
  110. <when test="criterion.listValue" >
  111. and ${criterion.condition}
  112. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  113. #{listItem}
  114. </foreach>
  115. </when>
  116. </choose>
  117. </foreach>
  118. </trim>
  119. </if>
  120. </foreach>
  121. </where>
  122. </sql>
  123. <sql id="Update_By_Example_Where_Clause" >
  124. <where >
  125. <foreach collection="example.oredCriteria" item="criteria" separator="or" >
  126. <if test="criteria.valid" >
  127. <trim prefix="(" suffix=")" prefixOverrides="and" >
  128. <foreach collection="criteria.criteria" item="criterion" >
  129. <choose >
  130. <when test="criterion.noValue" >
  131. and ${criterion.condition}
  132. </when>
  133. <when test="criterion.singleValue" >
  134. and ${criterion.condition} #{criterion.value}
  135. </when>
  136. <when test="criterion.betweenValue" >
  137. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  138. </when>
  139. <when test="criterion.listValue" >
  140. and ${criterion.condition}
  141. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  142. #{listItem}
  143. </foreach>
  144. </when>
  145. </choose>
  146. </foreach>
  147. </trim>
  148. </if>
  149. </foreach>
  150. </where>
  151. </sql>
  152. <sql id="Base_Column_List" >
  153. id,flag,file_uuid, house_id, grain_id, safe_date, house_type, house_water, house_temperature, house_volume,
  154. house_space, type, number, water, work_time_end, work_date, temperature, worm_type, sanqi_apply,
  155. tonic_apply, work_apply, airtemperature, weather, density_after, density, medicament,
  156. safe_method, safe_effect, section, safe_people, safe_man, work_people, charge, is_draft,
  157. work_type, aluminum_num, aluminum_type, volume_num, space_num, total_num, is_air,
  158. is_close, is_air_safe, is_ detector, is_alarm, is_oxygen, is_respirator, is_warning,
  159. is_fire, is_kit, check_people, check_close, check_warning, check_work, tonic_date,
  160. tonic_time_end , tonic_approve, tonic_app_user, is_close_confirm, is_alarm_confirm, is_ detector_confirm,
  161. is_kit_confirm, is_respirator_confirm, is_fire_confirm, check_people_confirm, sanqi_date,
  162. sanqi_time_end , sanqi_type, sanqi_approve_user, sanqi_bz, phosphine_check, house_open,
  163. check_people_three, sanqi_user, medic_set, density_rate, close_day, temperature_after,
  164. phosphine_remain, remark, c_id, c_time, u_id, u_time
  165. </sql>
  166. <select id="selectByExample" resultMap="BaseResultMap" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNewExample" >
  167. select
  168. <if test="distinct" >
  169. distinct
  170. </if>
  171. <include refid="Base_Column_List" />
  172. from daily_record_fumigation_new_file
  173. <if test="_parameter != null" >
  174. <include refid="Example_Where_Clause" />
  175. </if>
  176. <if test="orderByClause != null" >
  177. order by ${orderByClause}
  178. </if>
  179. </select>
  180. <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
  181. select
  182. <include refid="Base_Column_List" />
  183. from daily_record_fumigation_new_file
  184. where id = #{id,jdbcType=INTEGER}
  185. </select>
  186. <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
  187. delete from daily_record_fumigation_new_file
  188. where id = #{id,jdbcType=INTEGER}
  189. </delete>
  190. <delete id="deleteByExample" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNewExample" >
  191. delete from daily_record_fumigation_new_file
  192. <if test="_parameter != null" >
  193. <include refid="Example_Where_Clause" />
  194. </if>
  195. </delete>
  196. <insert id="insert" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNewFile" >
  197. insert into daily_record_fumigation_new_file (id,flag,file_uuid, house_id, grain_id,
  198. safe_date, house_type, house_water,
  199. house_temperature, house_volume, house_space,
  200. type, number, water,
  201. work_time_end, work_date, temperature,
  202. worm_type, sanqi_apply, tonic_apply,
  203. work_apply, airtemperature, weather,
  204. density_after, density, medicament,
  205. safe_method, safe_effect, section,
  206. safe_people, safe_man, work_people,
  207. charge, is_draft, work_type,
  208. aluminum_num, aluminum_type, volume_num,
  209. space_num, total_num, is_air,
  210. is_close, is_air_safe, is_ detector,
  211. is_alarm, is_oxygen, is_respirator,
  212. is_warning, is_fire, is_kit,
  213. check_people, check_close, check_warning,
  214. check_work, tonic_date, tonic_time_end ,
  215. tonic_approve, tonic_app_user, is_close_confirm,
  216. is_alarm_confirm, is_ detector_confirm, is_kit_confirm,
  217. is_respirator_confirm, is_fire_confirm, check_people_confirm,
  218. sanqi_date, sanqi_time_end , sanqi_type,
  219. sanqi_approve_user, sanqi_bz, phosphine_check,
  220. house_open, check_people_three, sanqi_user,
  221. medic_set, density_rate, close_day,
  222. temperature_after, phosphine_remain, remark,
  223. c_id, c_time, u_id,
  224. u_time)
  225. values (#{id,jdbcType=INTEGER}, #{flag,jdbcType=INTEGER}, #{fileUuid,jdbcType=INTEGER},#{houseId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
  226. #{safeDate,jdbcType=VARCHAR}, #{houseType,jdbcType=VARCHAR}, #{houseWater,jdbcType=VARCHAR},
  227. #{houseTemperature,jdbcType=VARCHAR}, #{houseVolume,jdbcType=REAL}, #{houseSpace,jdbcType=REAL},
  228. #{type,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER}, #{water,jdbcType=VARCHAR},
  229. #{workTime,jdbcType=VARCHAR}, #{workDate,jdbcType=VARCHAR}, #{temperature,jdbcType=VARCHAR},
  230. #{wormType,jdbcType=VARCHAR}, #{sanqiApply,jdbcType=VARCHAR}, #{tonicApply,jdbcType=VARCHAR},
  231. #{workApply,jdbcType=VARCHAR}, #{airtemperature,jdbcType=VARCHAR}, #{weather,jdbcType=VARCHAR},
  232. #{densityAfter,jdbcType=VARCHAR}, #{density,jdbcType=VARCHAR}, #{medicament,jdbcType=VARCHAR},
  233. #{safeMethod,jdbcType=VARCHAR}, #{safeEffect,jdbcType=VARCHAR}, #{section,jdbcType=VARCHAR},
  234. #{safePeople,jdbcType=VARCHAR}, #{safeMan,jdbcType=VARCHAR}, #{workPeople,jdbcType=VARCHAR},
  235. #{charge,jdbcType=VARCHAR}, #{isDraft,jdbcType=VARCHAR}, #{workType,jdbcType=VARCHAR},
  236. #{aluminumNum,jdbcType=VARCHAR}, #{aluminumType,jdbcType=VARCHAR}, #{volumeNum,jdbcType=INTEGER},
  237. #{spaceNum,jdbcType=INTEGER}, #{totalNum,jdbcType=INTEGER}, #{isAir,jdbcType=VARCHAR},
  238. #{isClose,jdbcType=VARCHAR}, #{isAirSafe,jdbcType=VARCHAR}, #{isDetector,jdbcType=VARCHAR},
  239. #{isAlarm,jdbcType=VARCHAR}, #{isOxygen,jdbcType=VARCHAR}, #{isRespirator,jdbcType=VARCHAR},
  240. #{isWarning,jdbcType=VARCHAR}, #{isFire,jdbcType=VARCHAR}, #{isKit,jdbcType=VARCHAR},
  241. #{checkPeople,jdbcType=VARCHAR}, #{checkClose,jdbcType=VARCHAR}, #{checkWarning,jdbcType=VARCHAR},
  242. #{checkWork,jdbcType=VARCHAR}, #{tonicDate,jdbcType=VARCHAR}, #{tonicTime,jdbcType=VARCHAR},
  243. #{tonicApprove,jdbcType=VARCHAR}, #{tonicAppUser,jdbcType=VARCHAR}, #{isCloseConfirm,jdbcType=VARCHAR},
  244. #{isAlarmConfirm,jdbcType=VARCHAR}, #{isDetectorConfirm,jdbcType=VARCHAR}, #{isKitConfirm,jdbcType=VARCHAR},
  245. #{isRespiratorConfirm,jdbcType=VARCHAR}, #{isFireConfirm,jdbcType=VARCHAR}, #{checkPeopleConfirm,jdbcType=VARCHAR},
  246. #{sanqiDate,jdbcType=VARCHAR}, #{sanqiTime,jdbcType=VARCHAR}, #{sanqiType,jdbcType=VARCHAR},
  247. #{sanqiApproveUser,jdbcType=VARCHAR}, #{sanqiBz,jdbcType=VARCHAR}, #{phosphineCheck,jdbcType=VARCHAR},
  248. #{houseOpen,jdbcType=VARCHAR}, #{checkPeopleThree,jdbcType=VARCHAR}, #{sanqiUser,jdbcType=VARCHAR},
  249. #{medicSet,jdbcType=VARCHAR}, #{densityRate,jdbcType=VARCHAR}, #{closeDay,jdbcType=VARCHAR},
  250. #{temperatureAfter,jdbcType=VARCHAR}, #{phosphineRemain,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
  251. #{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP}, #{uId,jdbcType=INTEGER},
  252. #{uTime,jdbcType=TIMESTAMP})
  253. </insert>
  254. <insert id="insertSelective" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationNewFile" >
  255. insert into daily_record_fumigation_new_file
  256. <trim prefix="(" suffix=")" suffixOverrides="," >
  257. <if test="id != null" >
  258. id,
  259. </if>
  260. <if test="flag != null" >
  261. flag,
  262. </if>
  263. <if test="fileUuid != null" >
  264. file_uuid,
  265. </if>
  266. <if test="houseId != null" >
  267. house_id,
  268. </if>
  269. <if test="grainId != null" >
  270. grain_id,
  271. </if>
  272. <if test="safeDate != null" >
  273. safe_date,
  274. </if>
  275. <if test="houseType != null" >
  276. house_type,
  277. </if>
  278. <if test="houseWater != null" >
  279. house_water,
  280. </if>
  281. <if test="houseTemperature != null" >
  282. house_temperature,
  283. </if>
  284. <if test="houseVolume != null" >
  285. house_volume,
  286. </if>
  287. <if test="houseSpace != null" >
  288. house_space,
  289. </if>
  290. <if test="type != null" >
  291. type,
  292. </if>
  293. <if test="number != null" >
  294. number,
  295. </if>
  296. <if test="water != null" >
  297. water,
  298. </if>
  299. <if test="workTimeEnd != null" >
  300. work_time_end,
  301. </if>
  302. <if test="workDate != null" >
  303. work_date,
  304. </if>
  305. <if test="temperature != null" >
  306. temperature,
  307. </if>
  308. <if test="wormType != null" >
  309. worm_type,
  310. </if>
  311. <if test="sanqiApply != null" >
  312. sanqi_apply,
  313. </if>
  314. <if test="tonicApply != null" >
  315. tonic_apply,
  316. </if>
  317. <if test="workApply != null" >
  318. work_apply,
  319. </if>
  320. <if test="airtemperature != null" >
  321. airtemperature,
  322. </if>
  323. <if test="weather != null" >
  324. weather,
  325. </if>
  326. <if test="densityAfter != null" >
  327. density_after,
  328. </if>
  329. <if test="density != null" >
  330. density,
  331. </if>
  332. <if test="medicament != null" >
  333. medicament,
  334. </if>
  335. <if test="safeMethod != null" >
  336. safe_method,
  337. </if>
  338. <if test="safeEffect != null" >
  339. safe_effect,
  340. </if>
  341. <if test="section != null" >
  342. section,
  343. </if>
  344. <if test="safePeople != null" >
  345. safe_people,
  346. </if>
  347. <if test="safeMan != null" >
  348. safe_man,
  349. </if>
  350. <if test="workPeople != null" >
  351. work_people,
  352. </if>
  353. <if test="charge != null" >
  354. charge,
  355. </if>
  356. <if test="isDraft != null" >
  357. is_draft,
  358. </if>
  359. <if test="workType != null" >
  360. work_type,
  361. </if>
  362. <if test="aluminumNum != null" >
  363. aluminum_num,
  364. </if>
  365. <if test="aluminumType != null" >
  366. aluminum_type,
  367. </if>
  368. <if test="volumeNum != null" >
  369. volume_num,
  370. </if>
  371. <if test="spaceNum != null" >
  372. space_num,
  373. </if>
  374. <if test="totalNum != null" >
  375. total_num,
  376. </if>
  377. <if test="isAir != null" >
  378. is_air,
  379. </if>
  380. <if test="isClose != null" >
  381. is_close,
  382. </if>
  383. <if test="isAirSafe != null" >
  384. is_air_safe,
  385. </if>
  386. <if test="isDetector != null" >
  387. is_ detector,
  388. </if>
  389. <if test="isAlarm != null" >
  390. is_alarm,
  391. </if>
  392. <if test="isOxygen != null" >
  393. is_oxygen,
  394. </if>
  395. <if test="isRespirator != null" >
  396. is_respirator,
  397. </if>
  398. <if test="isWarning != null" >
  399. is_warning,
  400. </if>
  401. <if test="isFire != null" >
  402. is_fire,
  403. </if>
  404. <if test="isKit != null" >
  405. is_kit,
  406. </if>
  407. <if test="checkPeople != null" >
  408. check_people,
  409. </if>
  410. <if test="checkClose != null" >
  411. check_close,
  412. </if>
  413. <if test="checkWarning != null" >
  414. check_warning,
  415. </if>
  416. <if test="checkWork != null" >
  417. check_work,
  418. </if>
  419. <if test="tonicDate != null" >
  420. tonic_date,
  421. </if>
  422. <if test="tonicTimeEnd != null" >
  423. tonic_time_end ,
  424. </if>
  425. <if test="tonicApprove != null" >
  426. tonic_approve,
  427. </if>
  428. <if test="tonicAppUser != null" >
  429. tonic_app_user,
  430. </if>
  431. <if test="isCloseConfirm != null" >
  432. is_close_confirm,
  433. </if>
  434. <if test="isAlarmConfirm != null" >
  435. is_alarm_confirm,
  436. </if>
  437. <if test="isDetectorConfirm != null" >
  438. is_ detector_confirm,
  439. </if>
  440. <if test="isKitConfirm != null" >
  441. is_kit_confirm,
  442. </if>
  443. <if test="isRespiratorConfirm != null" >
  444. is_respirator_confirm,
  445. </if>
  446. <if test="isFireConfirm != null" >
  447. is_fire_confirm,
  448. </if>
  449. <if test="checkPeopleConfirm != null" >
  450. check_people_confirm,
  451. </if>
  452. <if test="sanqiDate != null" >
  453. sanqi_date,
  454. </if>
  455. <if test="sanqiTime != null" >
  456. sanqi_time_end ,
  457. </if>
  458. <if test="sanqiType != null" >
  459. sanqi_type,
  460. </if>
  461. <if test="sanqiApproveUser != null" >
  462. sanqi_approve_user,
  463. </if>
  464. <if test="sanqiBz != null" >
  465. sanqi_bz,
  466. </if>
  467. <if test="phosphineCheck != null" >
  468. phosphine_check,
  469. </if>
  470. <if test="houseOpen != null" >
  471. house_open,
  472. </if>
  473. <if test="checkPeopleThree != null" >
  474. check_people_three,
  475. </if>
  476. <if test="sanqiUser != null" >
  477. sanqi_user,
  478. </if>
  479. <if test="medicSet != null" >
  480. medic_set,
  481. </if>
  482. <if test="densityRate != null" >
  483. density_rate,
  484. </if>
  485. <if test="closeDay != null" >
  486. close_day,
  487. </if>
  488. <if test="temperatureAfter != null" >
  489. temperature_after,
  490. </if>
  491. <if test="phosphineRemain != null" >
  492. phosphine_remain,
  493. </if>
  494. <if test="remark != null" >
  495. remark,
  496. </if>
  497. <if test="cId != null" >
  498. c_id,
  499. </if>
  500. <if test="cTime != null" >
  501. c_time,
  502. </if>
  503. <if test="uId != null" >
  504. u_id,
  505. </if>
  506. <if test="uTime != null" >
  507. u_time,
  508. </if>
  509. </trim>
  510. <trim prefix="values (" suffix=")" suffixOverrides="," >
  511. <if test="id != null" >
  512. #{id,jdbcType=INTEGER},
  513. </if>
  514. <if test="flag != null" >
  515. #{flag,jdbcType=INTEGER},
  516. </if>
  517. <if test="fileUuid != null" >
  518. #{fileUuid,jdbcType=INTEGER},
  519. </if>
  520. <if test="houseId != null" >
  521. #{houseId,jdbcType=INTEGER},
  522. </if>
  523. <if test="grainId != null" >
  524. #{grainId,jdbcType=INTEGER},
  525. </if>
  526. <if test="safeDate != null" >
  527. #{safeDate,jdbcType=VARCHAR},
  528. </if>
  529. <if test="houseType != null" >
  530. #{houseType,jdbcType=VARCHAR},
  531. </if>
  532. <if test="houseWater != null" >
  533. #{houseWater,jdbcType=VARCHAR},
  534. </if>
  535. <if test="houseTemperature != null" >
  536. #{houseTemperature,jdbcType=VARCHAR},
  537. </if>
  538. <if test="houseVolume != null" >
  539. #{houseVolume,jdbcType=REAL},
  540. </if>
  541. <if test="houseSpace != null" >
  542. #{houseSpace,jdbcType=REAL},
  543. </if>
  544. <if test="type != null" >
  545. #{type,jdbcType=VARCHAR},
  546. </if>
  547. <if test="number != null" >
  548. #{number,jdbcType=INTEGER},
  549. </if>
  550. <if test="water != null" >
  551. #{water,jdbcType=VARCHAR},
  552. </if>
  553. <if test="workTime != null" >
  554. #{workTime,jdbcType=VARCHAR},
  555. </if>
  556. <if test="workDate != null" >
  557. #{workDate,jdbcType=VARCHAR},
  558. </if>
  559. <if test="temperature != null" >
  560. #{temperature,jdbcType=VARCHAR},
  561. </if>
  562. <if test="wormType != null" >
  563. #{wormType,jdbcType=VARCHAR},
  564. </if>
  565. <if test="sanqiApply != null" >
  566. #{sanqiApply,jdbcType=VARCHAR},
  567. </if>
  568. <if test="tonicApply != null" >
  569. #{tonicApply,jdbcType=VARCHAR},
  570. </if>
  571. <if test="workApply != null" >
  572. #{workApply,jdbcType=VARCHAR},
  573. </if>
  574. <if test="airtemperature != null" >
  575. #{airtemperature,jdbcType=VARCHAR},
  576. </if>
  577. <if test="weather != null" >
  578. #{weather,jdbcType=VARCHAR},
  579. </if>
  580. <if test="densityAfter != null" >
  581. #{densityAfter,jdbcType=VARCHAR},
  582. </if>
  583. <if test="density != null" >
  584. #{density,jdbcType=VARCHAR},
  585. </if>
  586. <if test="medicament != null" >
  587. #{medicament,jdbcType=VARCHAR},
  588. </if>
  589. <if test="safeMethod != null" >
  590. #{safeMethod,jdbcType=VARCHAR},
  591. </if>
  592. <if test="safeEffect != null" >
  593. #{safeEffect,jdbcType=VARCHAR},
  594. </if>
  595. <if test="section != null" >
  596. #{section,jdbcType=VARCHAR},
  597. </if>
  598. <if test="safePeople != null" >
  599. #{safePeople,jdbcType=VARCHAR},
  600. </if>
  601. <if test="safeMan != null" >
  602. #{safeMan,jdbcType=VARCHAR},
  603. </if>
  604. <if test="workPeople != null" >
  605. #{workPeople,jdbcType=VARCHAR},
  606. </if>
  607. <if test="charge != null" >
  608. #{charge,jdbcType=VARCHAR},
  609. </if>
  610. <if test="isDraft != null" >
  611. #{isDraft,jdbcType=VARCHAR},
  612. </if>
  613. <if test="workType != null" >
  614. #{workType,jdbcType=VARCHAR},
  615. </if>
  616. <if test="aluminumNum != null" >
  617. #{aluminumNum,jdbcType=VARCHAR},
  618. </if>
  619. <if test="aluminumType != null" >
  620. #{aluminumType,jdbcType=VARCHAR},
  621. </if>
  622. <if test="volumeNum != null" >
  623. #{volumeNum,jdbcType=INTEGER},
  624. </if>
  625. <if test="spaceNum != null" >
  626. #{spaceNum,jdbcType=INTEGER},
  627. </if>
  628. <if test="totalNum != null" >
  629. #{totalNum,jdbcType=INTEGER},
  630. </if>
  631. <if test="isAir != null" >
  632. #{isAir,jdbcType=VARCHAR},
  633. </if>
  634. <if test="isClose != null" >
  635. #{isClose,jdbcType=VARCHAR},
  636. </if>
  637. <if test="isAirSafe != null" >
  638. #{isAirSafe,jdbcType=VARCHAR},
  639. </if>
  640. <if test="isDetector != null" >
  641. #{isDetector,jdbcType=VARCHAR},
  642. </if>
  643. <if test="isAlarm != null" >
  644. #{isAlarm,jdbcType=VARCHAR},
  645. </if>
  646. <if test="isOxygen != null" >
  647. #{isOxygen,jdbcType=VARCHAR},
  648. </if>
  649. <if test="isRespirator != null" >
  650. #{isRespirator,jdbcType=VARCHAR},
  651. </if>
  652. <if test="isWarning != null" >
  653. #{isWarning,jdbcType=VARCHAR},
  654. </if>
  655. <if test="isFire != null" >
  656. #{isFire,jdbcType=VARCHAR},
  657. </if>
  658. <if test="isKit != null" >
  659. #{isKit,jdbcType=VARCHAR},
  660. </if>
  661. <if test="checkPeople != null" >
  662. #{checkPeople,jdbcType=VARCHAR},
  663. </if>
  664. <if test="checkClose != null" >
  665. #{checkClose,jdbcType=VARCHAR},
  666. </if>
  667. <if test="checkWarning != null" >
  668. #{checkWarning,jdbcType=VARCHAR},
  669. </if>
  670. <if test="checkWork != null" >
  671. #{checkWork,jdbcType=VARCHAR},
  672. </if>
  673. <if test="tonicDate != null" >
  674. #{tonicDate,jdbcType=VARCHAR},
  675. </if>
  676. <if test="tonicTimeEnd != null" >
  677. #{tonicTimeEnd,jdbcType=VARCHAR},
  678. </if>
  679. <if test="tonicApprove != null" >
  680. #{tonicApprove,jdbcType=VARCHAR},
  681. </if>
  682. <if test="tonicAppUser != null" >
  683. #{tonicAppUser,jdbcType=VARCHAR},
  684. </if>
  685. <if test="isCloseConfirm != null" >
  686. #{isCloseConfirm,jdbcType=VARCHAR},
  687. </if>
  688. <if test="isAlarmConfirm != null" >
  689. #{isAlarmConfirm,jdbcType=VARCHAR},
  690. </if>
  691. <if test="isDetectorConfirm != null" >
  692. #{isDetectorConfirm,jdbcType=VARCHAR},
  693. </if>
  694. <if test="isKitConfirm != null" >
  695. #{isKitConfirm,jdbcType=VARCHAR},
  696. </if>
  697. <if test="isRespiratorConfirm != null" >
  698. #{isRespiratorConfirm,jdbcType=VARCHAR},
  699. </if>
  700. <if test="isFireConfirm != null" >
  701. #{isFireConfirm,jdbcType=VARCHAR},
  702. </if>
  703. <if test="checkPeopleConfirm != null" >
  704. #{checkPeopleConfirm,jdbcType=VARCHAR},
  705. </if>
  706. <if test="sanqiDate != null" >
  707. #{sanqiDate,jdbcType=VARCHAR},
  708. </if>
  709. <if test="sanqiTime != null" >
  710. #{sanqiTime,jdbcType=VARCHAR},
  711. </if>
  712. <if test="sanqiType != null" >
  713. #{sanqiType,jdbcType=VARCHAR},
  714. </if>
  715. <if test="sanqiApproveUser != null" >
  716. #{sanqiApproveUser,jdbcType=VARCHAR},
  717. </if>
  718. <if test="sanqiBz != null" >
  719. #{sanqiBz,jdbcType=VARCHAR},
  720. </if>
  721. <if test="phosphineCheck != null" >
  722. #{phosphineCheck,jdbcType=VARCHAR},
  723. </if>
  724. <if test="houseOpen != null" >
  725. #{houseOpen,jdbcType=VARCHAR},
  726. </if>
  727. <if test="checkPeopleThree != null" >
  728. #{checkPeopleThree,jdbcType=VARCHAR},
  729. </if>
  730. <if test="sanqiUser != null" >
  731. #{sanqiUser,jdbcType=VARCHAR},
  732. </if>
  733. <if test="medicSet != null" >
  734. #{medicSet,jdbcType=VARCHAR},
  735. </if>
  736. <if test="densityRate != null" >
  737. #{densityRate,jdbcType=VARCHAR},
  738. </if>
  739. <if test="closeDay != null" >
  740. #{closeDay,jdbcType=VARCHAR},
  741. </if>
  742. <if test="temperatureAfter != null" >
  743. #{temperatureAfter,jdbcType=VARCHAR},
  744. </if>
  745. <if test="phosphineRemain != null" >
  746. #{phosphineRemain,jdbcType=VARCHAR},
  747. </if>
  748. <if test="remark != null" >
  749. #{remark,jdbcType=VARCHAR},
  750. </if>
  751. <if test="cId != null" >
  752. #{cId,jdbcType=INTEGER},
  753. </if>
  754. <if test="cTime != null" >
  755. #{cTime,jdbcType=TIMESTAMP},
  756. </if>
  757. <if test="uId != null" >
  758. #{uId,jdbcType=INTEGER},
  759. </if>
  760. <if test="uTime != null" >
  761. #{uTime,jdbcType=TIMESTAMP},
  762. </if>
  763. </trim>
  764. </insert>
  765. </mapper>