DailyRecordFumigationCircleNewMapper.xml 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683
  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.DailyRecordFumigationCircleNewMapper" >
  4. <resultMap id="BaseResultMap" type="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationCircleNew" >
  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="safe_date" property="safeDate" jdbcType="VARCHAR" />
  9. <result column="house_type" property="houseType" jdbcType="VARCHAR" />
  10. <result column="house_water" property="houseWater" jdbcType="VARCHAR" />
  11. <result column="house_temperature" property="houseTemperature" jdbcType="VARCHAR" />
  12. <result column="house_volume" property="houseVolume" jdbcType="REAL" />
  13. <result column="set_type" property="setType" jdbcType="VARCHAR" />
  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="work_time" property="workTime" jdbcType="VARCHAR" />
  19. <result column="work_date" property="workDate" jdbcType="VARCHAR" />
  20. <result column="temperature" property="temperature" jdbcType="VARCHAR" />
  21. <result column="worm_type" property="wormType" jdbcType="VARCHAR" />
  22. <result column="sanqi_apply" property="sanqiApply" jdbcType="VARCHAR" />
  23. <result column="tonic_apply" property="tonicApply" jdbcType="VARCHAR" />
  24. <result column="work_apply" property="workApply" jdbcType="VARCHAR" />
  25. <result column="airtemperature" property="airtemperature" jdbcType="VARCHAR" />
  26. <result column="weather" property="weather" jdbcType="VARCHAR" />
  27. <result column="density_after" property="densityAfter" jdbcType="VARCHAR" />
  28. <result column="density" property="density" jdbcType="VARCHAR" />
  29. <result column="medicament" property="medicament" jdbcType="VARCHAR" />
  30. <result column="safe_method" property="safeMethod" jdbcType="VARCHAR" />
  31. <result column="safe_effect" property="safeEffect" jdbcType="VARCHAR" />
  32. <result column="section" property="section" jdbcType="VARCHAR" />
  33. <result column="safe_people" property="safePeople" jdbcType="VARCHAR" />
  34. <result column="safe_man" property="safeMan" jdbcType="VARCHAR" />
  35. <result column="work_people" property="workPeople" jdbcType="VARCHAR" />
  36. <result column="charge" property="charge" jdbcType="VARCHAR" />
  37. <result column="is_draft" property="isDraft" jdbcType="VARCHAR" />
  38. <result column="work_type" property="workType" jdbcType="VARCHAR" />
  39. <result column="aluminum_num" property="aluminumNum" jdbcType="VARCHAR" />
  40. <result column="aluminum_type" property="aluminumType" jdbcType="VARCHAR" />
  41. <result column="set_num" property="setNum" jdbcType="INTEGER" />
  42. <result column="first_num" property="firstNum" jdbcType="INTEGER" />
  43. <result column="total_num" property="totalNum" jdbcType="INTEGER" />
  44. <result column="is_air" property="isAir" jdbcType="VARCHAR" />
  45. <result column="is_close" property="isClose" jdbcType="VARCHAR" />
  46. <result column="is_air_safe" property="isAirSafe" jdbcType="VARCHAR" />
  47. <result column="is_ detector" property="isDetector" jdbcType="VARCHAR" />
  48. <result column="is_alarm" property="isAlarm" jdbcType="VARCHAR" />
  49. <result column="is_oxygen" property="isOxygen" jdbcType="VARCHAR" />
  50. <result column="is_respirator" property="isRespirator" jdbcType="VARCHAR" />
  51. <result column="is_warning" property="isWarning" jdbcType="VARCHAR" />
  52. <result column="is_fire" property="isFire" jdbcType="VARCHAR" />
  53. <result column="is_else" property="isElse" jdbcType="VARCHAR" />
  54. <result column="is_device" property="isDevice" 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="circle_total" property="circleTotal" jdbcType="VARCHAR" />
  60. <result column="circle_end" property="circleEnd" jdbcType="VARCHAR" />
  61. <result column="circle_start" property="circleStart" jdbcType="VARCHAR" />
  62. <result column="circle_type" property="circleType" jdbcType="VARCHAR" />
  63. <result column="check_work" property="checkWork" jdbcType="VARCHAR" />
  64. <result column="tonic_date" property="tonicDate" jdbcType="VARCHAR" />
  65. <result column="tonic_time" property="tonicTime" jdbcType="VARCHAR" />
  66. <result column="tonic_approve" property="tonicApprove" jdbcType="VARCHAR" />
  67. <result column="tonic_app_user" property="tonicAppUser" jdbcType="VARCHAR" />
  68. <result column="is_close_confirm" property="isCloseConfirm" jdbcType="VARCHAR" />
  69. <result column="is_alarm_confirm" property="isAlarmConfirm" jdbcType="VARCHAR" />
  70. <result column="is_ detector_confirm" property="isDetectorConfirm" jdbcType="VARCHAR" />
  71. <result column="is_kit_confirm" property="isKitConfirm" jdbcType="VARCHAR" />
  72. <result column="is_fire_confirm" property="isFireConfirm" jdbcType="VARCHAR" />
  73. <result column="is_respirator_confirm" property="isRespiratorConfirm" jdbcType="VARCHAR" />
  74. <result column="is_fan_confirm" property="isFanConfirm" jdbcType="VARCHAR" />
  75. <result column="is_device_confirm" property="isDeviceConfirm" jdbcType="VARCHAR" />
  76. <result column="tonic_total_num" property="tonicTotalNum" jdbcType="INTEGER" />
  77. <result column="tonic_total" property="tonicTotal" jdbcType="VARCHAR" />
  78. <result column="tonic_else_num" property="tonicElseNum" jdbcType="INTEGER" />
  79. <result column="tonic_sec_num" property="tonicSecNum" jdbcType="INTEGER" />
  80. <result column="tonic_first_num" property="tonicFirstNum" jdbcType="INTEGER" />
  81. <result column="tonic_set_num" property="tonicSetNum" jdbcType="INTEGER" />
  82. <result column="tonic_type" property="tonicType" jdbcType="VARCHAR" />
  83. <result column="check_people_confirm" property="checkPeopleConfirm" jdbcType="VARCHAR" />
  84. <result column="sanqi_date" property="sanqiDate" jdbcType="VARCHAR" />
  85. <result column="sanqi_time" property="sanqiTime" jdbcType="VARCHAR" />
  86. <result column="sanqi_type" property="sanqiType" jdbcType="VARCHAR" />
  87. <result column="sanqi_approve_user" property="sanqiApproveUser" jdbcType="VARCHAR" />
  88. <result column="sanqi_bz" property="sanqiBz" jdbcType="VARCHAR" />
  89. <result column="phosphine_check" property="phosphineCheck" jdbcType="VARCHAR" />
  90. <result column="house_open" property="houseOpen" jdbcType="VARCHAR" />
  91. <result column="check_people_three" property="checkPeopleThree" jdbcType="VARCHAR" />
  92. <result column="sanqi_user" property="sanqiUser" jdbcType="VARCHAR" />
  93. <result column="medic_set" property="medicSet" jdbcType="VARCHAR" />
  94. <result column="density_rate" property="densityRate" jdbcType="VARCHAR" />
  95. <result column="close_day" property="closeDay" jdbcType="VARCHAR" />
  96. <result column="temperature_after" property="temperatureAfter" jdbcType="VARCHAR" />
  97. <result column="phosphine_remain" property="phosphineRemain" jdbcType="VARCHAR" />
  98. <result column="remark" property="remark" jdbcType="VARCHAR" />
  99. <result column="uuid" property="uuid" jdbcType="VARCHAR" />
  100. <result column="c_id" property="cId" jdbcType="INTEGER" />
  101. <result column="c_time" property="cTime" jdbcType="TIMESTAMP" />
  102. <result column="u_id" property="uId" jdbcType="INTEGER" />
  103. <result column="u_time" property="uTime" jdbcType="TIMESTAMP" />
  104. </resultMap>
  105. <sql id="Example_Where_Clause" >
  106. <where >
  107. <foreach collection="oredCriteria" item="criteria" separator="or" >
  108. <if test="criteria.valid" >
  109. <trim prefix="(" suffix=")" prefixOverrides="and" >
  110. <foreach collection="criteria.criteria" item="criterion" >
  111. <choose >
  112. <when test="criterion.noValue" >
  113. and ${criterion.condition}
  114. </when>
  115. <when test="criterion.singleValue" >
  116. and ${criterion.condition} #{criterion.value}
  117. </when>
  118. <when test="criterion.betweenValue" >
  119. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  120. </when>
  121. <when test="criterion.listValue" >
  122. and ${criterion.condition}
  123. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  124. #{listItem}
  125. </foreach>
  126. </when>
  127. </choose>
  128. </foreach>
  129. </trim>
  130. </if>
  131. </foreach>
  132. </where>
  133. </sql>
  134. <sql id="Update_By_Example_Where_Clause" >
  135. <where >
  136. <foreach collection="example.oredCriteria" item="criteria" separator="or" >
  137. <if test="criteria.valid" >
  138. <trim prefix="(" suffix=")" prefixOverrides="and" >
  139. <foreach collection="criteria.criteria" item="criterion" >
  140. <choose >
  141. <when test="criterion.noValue" >
  142. and ${criterion.condition}
  143. </when>
  144. <when test="criterion.singleValue" >
  145. and ${criterion.condition} #{criterion.value}
  146. </when>
  147. <when test="criterion.betweenValue" >
  148. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  149. </when>
  150. <when test="criterion.listValue" >
  151. and ${criterion.condition}
  152. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  153. #{listItem}
  154. </foreach>
  155. </when>
  156. </choose>
  157. </foreach>
  158. </trim>
  159. </if>
  160. </foreach>
  161. </where>
  162. </sql>
  163. <sql id="Base_Column_List" >
  164. id, house_id, grain_id, safe_date, house_type, house_water, house_temperature, house_volume,
  165. set_type, house_space, type, number, water, work_time, work_date, temperature, worm_type,
  166. sanqi_apply, tonic_apply, work_apply, airtemperature, weather, density_after, density,
  167. medicament, safe_method, safe_effect, section, safe_people, safe_man, work_people,
  168. charge, is_draft, work_type, aluminum_num, aluminum_type, set_num, first_num, total_num,
  169. is_air, is_close, is_air_safe, is_ detector, is_alarm, is_oxygen, is_respirator,
  170. is_warning, is_fire, is_else, is_device, is_kit, check_people, check_close, check_warning,
  171. circle_total, circle_end, circle_start, circle_type, check_work, tonic_date, tonic_time,
  172. tonic_approve, tonic_app_user, is_close_confirm, is_alarm_confirm, is_ detector_confirm,
  173. is_kit_confirm, is_fire_confirm, is_respirator_confirm, is_fan_confirm, is_device_confirm,
  174. tonic_total_num, tonic_total, tonic_else_num, tonic_sec_num, tonic_first_num, tonic_set_num,
  175. tonic_type, check_people_confirm, sanqi_date, sanqi_time, sanqi_type, sanqi_approve_user,
  176. sanqi_bz, phosphine_check, house_open, check_people_three, sanqi_user, medic_set,
  177. density_rate, close_day, temperature_after, phosphine_remain, remark, c_id, c_time,
  178. u_id, u_time
  179. </sql>
  180. <select id="selectByExample" resultMap="BaseResultMap" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationCircleNewExample" >
  181. select
  182. <if test="distinct" >
  183. distinct
  184. </if>
  185. <include refid="Base_Column_List" />
  186. from daily_record_fumigation_circle_new
  187. <if test="_parameter != null" >
  188. <include refid="Example_Where_Clause" />
  189. </if>
  190. <if test="orderByClause != null" >
  191. order by ${orderByClause}
  192. </if>
  193. </select>
  194. <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
  195. select
  196. <include refid="Base_Column_List" />
  197. from daily_record_fumigation_circle_new
  198. where id = #{id,jdbcType=INTEGER}
  199. </select>
  200. <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
  201. delete from daily_record_fumigation_circle_new
  202. where id = #{id,jdbcType=INTEGER}
  203. </delete>
  204. <delete id="deleteByExample" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationCircleNewExample" >
  205. delete from daily_record_fumigation_circle_new
  206. <if test="_parameter != null" >
  207. <include refid="Example_Where_Clause" />
  208. </if>
  209. </delete>
  210. <insert id="insert" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationCircleNew" >
  211. insert into daily_record_fumigation_circle_new (id, house_id, grain_id,
  212. safe_date, house_type, house_water,
  213. house_temperature, house_volume, set_type,
  214. house_space, type, number,
  215. water, work_time, work_date,
  216. temperature, worm_type, sanqi_apply,
  217. tonic_apply, work_apply, airtemperature,
  218. weather, density_after, density,
  219. medicament, safe_method, safe_effect,
  220. section, safe_people, safe_man,
  221. work_people, charge, is_draft,
  222. work_type, aluminum_num, aluminum_type,
  223. set_num, first_num, total_num,
  224. is_air, is_close, is_air_safe,
  225. is_ detector, is_alarm, is_oxygen,
  226. is_respirator, is_warning, is_fire,
  227. is_else, is_device, is_kit,
  228. check_people, check_close, check_warning,
  229. circle_total, circle_end, circle_start,
  230. circle_type, check_work, tonic_date,
  231. tonic_time, tonic_approve, tonic_app_user,
  232. is_close_confirm, is_alarm_confirm, is_ detector_confirm,
  233. is_kit_confirm, is_fire_confirm, is_respirator_confirm,
  234. is_fan_confirm, is_device_confirm, tonic_total_num,
  235. tonic_total, tonic_else_num, tonic_sec_num,
  236. tonic_first_num, tonic_set_num, tonic_type,
  237. check_people_confirm, sanqi_date, sanqi_time,
  238. sanqi_type, sanqi_approve_user, sanqi_bz,
  239. phosphine_check, house_open, check_people_three,
  240. sanqi_user, medic_set, density_rate,
  241. close_day, temperature_after, phosphine_remain,
  242. remark, c_id, c_time,
  243. u_id, u_time)
  244. values (#{id,jdbcType=INTEGER}, #{houseId,jdbcType=INTEGER}, #{grainId,jdbcType=INTEGER},
  245. #{safeDate,jdbcType=VARCHAR}, #{houseType,jdbcType=VARCHAR}, #{houseWater,jdbcType=VARCHAR},
  246. #{houseTemperature,jdbcType=VARCHAR}, #{houseVolume,jdbcType=REAL}, #{setType,jdbcType=VARCHAR},
  247. #{houseSpace,jdbcType=REAL}, #{type,jdbcType=VARCHAR}, #{number,jdbcType=INTEGER},
  248. #{water,jdbcType=VARCHAR}, #{workTime,jdbcType=VARCHAR}, #{workDate,jdbcType=VARCHAR},
  249. #{temperature,jdbcType=VARCHAR}, #{wormType,jdbcType=VARCHAR}, #{sanqiApply,jdbcType=VARCHAR},
  250. #{tonicApply,jdbcType=VARCHAR}, #{workApply,jdbcType=VARCHAR}, #{airtemperature,jdbcType=VARCHAR},
  251. #{weather,jdbcType=VARCHAR}, #{densityAfter,jdbcType=VARCHAR}, #{density,jdbcType=VARCHAR},
  252. #{medicament,jdbcType=VARCHAR}, #{safeMethod,jdbcType=VARCHAR}, #{safeEffect,jdbcType=VARCHAR},
  253. #{section,jdbcType=VARCHAR}, #{safePeople,jdbcType=VARCHAR}, #{safeMan,jdbcType=VARCHAR},
  254. #{workPeople,jdbcType=VARCHAR}, #{charge,jdbcType=VARCHAR}, #{isDraft,jdbcType=VARCHAR},
  255. #{workType,jdbcType=VARCHAR}, #{aluminumNum,jdbcType=VARCHAR}, #{aluminumType,jdbcType=VARCHAR},
  256. #{setNum,jdbcType=INTEGER}, #{firstNum,jdbcType=INTEGER}, #{totalNum,jdbcType=INTEGER},
  257. #{isAir,jdbcType=VARCHAR}, #{isClose,jdbcType=VARCHAR}, #{isAirSafe,jdbcType=VARCHAR},
  258. #{isDetector,jdbcType=VARCHAR}, #{isAlarm,jdbcType=VARCHAR}, #{isOxygen,jdbcType=VARCHAR},
  259. #{isRespirator,jdbcType=VARCHAR}, #{isWarning,jdbcType=VARCHAR}, #{isFire,jdbcType=VARCHAR},
  260. #{isElse,jdbcType=VARCHAR}, #{isDevice,jdbcType=VARCHAR}, #{isKit,jdbcType=VARCHAR},
  261. #{checkPeople,jdbcType=VARCHAR}, #{checkClose,jdbcType=VARCHAR}, #{checkWarning,jdbcType=VARCHAR},
  262. #{circleTotal,jdbcType=VARCHAR}, #{circleEnd,jdbcType=VARCHAR}, #{circleStart,jdbcType=VARCHAR},
  263. #{circleType,jdbcType=VARCHAR}, #{checkWork,jdbcType=VARCHAR}, #{tonicDate,jdbcType=VARCHAR},
  264. #{tonicTime,jdbcType=VARCHAR}, #{tonicApprove,jdbcType=VARCHAR}, #{tonicAppUser,jdbcType=VARCHAR},
  265. #{isCloseConfirm,jdbcType=VARCHAR}, #{isAlarmConfirm,jdbcType=VARCHAR}, #{isDetectorConfirm,jdbcType=VARCHAR},
  266. #{isKitConfirm,jdbcType=VARCHAR}, #{isFireConfirm,jdbcType=VARCHAR}, #{isRespiratorConfirm,jdbcType=VARCHAR},
  267. #{isFanConfirm,jdbcType=VARCHAR}, #{isDeviceConfirm,jdbcType=VARCHAR}, #{tonicTotalNum,jdbcType=INTEGER},
  268. #{tonicTotal,jdbcType=VARCHAR}, #{tonicElseNum,jdbcType=INTEGER}, #{tonicSecNum,jdbcType=INTEGER},
  269. #{tonicFirstNum,jdbcType=INTEGER}, #{tonicSetNum,jdbcType=INTEGER}, #{tonicType,jdbcType=VARCHAR},
  270. #{checkPeopleConfirm,jdbcType=VARCHAR}, #{sanqiDate,jdbcType=VARCHAR}, #{sanqiTime,jdbcType=VARCHAR},
  271. #{sanqiType,jdbcType=VARCHAR}, #{sanqiApproveUser,jdbcType=VARCHAR}, #{sanqiBz,jdbcType=VARCHAR},
  272. #{phosphineCheck,jdbcType=VARCHAR}, #{houseOpen,jdbcType=VARCHAR}, #{checkPeopleThree,jdbcType=VARCHAR},
  273. #{sanqiUser,jdbcType=VARCHAR}, #{medicSet,jdbcType=VARCHAR}, #{densityRate,jdbcType=VARCHAR},
  274. #{closeDay,jdbcType=VARCHAR}, #{temperatureAfter,jdbcType=VARCHAR}, #{phosphineRemain,jdbcType=VARCHAR},
  275. #{remark,jdbcType=VARCHAR}, #{cId,jdbcType=INTEGER}, #{cTime,jdbcType=TIMESTAMP},
  276. #{uId,jdbcType=INTEGER}, #{uTime,jdbcType=TIMESTAMP})
  277. </insert>
  278. <insert id="insertSelective" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationCircleNew" >
  279. insert into daily_record_fumigation_circle_new
  280. <trim prefix="(" suffix=")" suffixOverrides="," >
  281. <if test="id != null" >
  282. id,
  283. </if>
  284. <if test="houseId != null" >
  285. house_id,
  286. </if>
  287. <if test="grainId != null" >
  288. grain_id,
  289. </if>
  290. <if test="safeDate != null" >
  291. safe_date,
  292. </if>
  293. <if test="houseType != null" >
  294. house_type,
  295. </if>
  296. <if test="houseWater != null" >
  297. house_water,
  298. </if>
  299. <if test="houseTemperature != null" >
  300. house_temperature,
  301. </if>
  302. <if test="houseVolume != null" >
  303. house_volume,
  304. </if>
  305. <if test="setType != null" >
  306. set_type,
  307. </if>
  308. <if test="houseSpace != null" >
  309. house_space,
  310. </if>
  311. <if test="type != null" >
  312. type,
  313. </if>
  314. <if test="number != null" >
  315. number,
  316. </if>
  317. <if test="water != null" >
  318. water,
  319. </if>
  320. <if test="workTime != null" >
  321. work_time,
  322. </if>
  323. <if test="workDate != null" >
  324. work_date,
  325. </if>
  326. <if test="temperature != null" >
  327. temperature,
  328. </if>
  329. <if test="wormType != null" >
  330. worm_type,
  331. </if>
  332. <if test="sanqiApply != null" >
  333. sanqi_apply,
  334. </if>
  335. <if test="tonicApply != null" >
  336. tonic_apply,
  337. </if>
  338. <if test="workApply != null" >
  339. work_apply,
  340. </if>
  341. <if test="airtemperature != null" >
  342. airtemperature,
  343. </if>
  344. <if test="weather != null" >
  345. weather,
  346. </if>
  347. <if test="densityAfter != null" >
  348. density_after,
  349. </if>
  350. <if test="density != null" >
  351. density,
  352. </if>
  353. <if test="medicament != null" >
  354. medicament,
  355. </if>
  356. <if test="safeMethod != null" >
  357. safe_method,
  358. </if>
  359. <if test="safeEffect != null" >
  360. safe_effect,
  361. </if>
  362. <if test="section != null" >
  363. section,
  364. </if>
  365. <if test="safePeople != null" >
  366. safe_people,
  367. </if>
  368. <if test="safeMan != null" >
  369. safe_man,
  370. </if>
  371. <if test="workPeople != null" >
  372. work_people,
  373. </if>
  374. <if test="charge != null" >
  375. charge,
  376. </if>
  377. <if test="isDraft != null" >
  378. is_draft,
  379. </if>
  380. <if test="workType != null" >
  381. work_type,
  382. </if>
  383. <if test="aluminumNum != null" >
  384. aluminum_num,
  385. </if>
  386. <if test="aluminumType != null" >
  387. aluminum_type,
  388. </if>
  389. <if test="setNum != null" >
  390. set_num,
  391. </if>
  392. <if test="firstNum != null" >
  393. first_num,
  394. </if>
  395. <if test="totalNum != null" >
  396. total_num,
  397. </if>
  398. <if test="isAir != null" >
  399. is_air,
  400. </if>
  401. <if test="isClose != null" >
  402. is_close,
  403. </if>
  404. <if test="isAirSafe != null" >
  405. is_air_safe,
  406. </if>
  407. <if test="isDetector != null" >
  408. is_ detector,
  409. </if>
  410. <if test="isAlarm != null" >
  411. is_alarm,
  412. </if>
  413. <if test="isOxygen != null" >
  414. is_oxygen,
  415. </if>
  416. <if test="isRespirator != null" >
  417. is_respirator,
  418. </if>
  419. <if test="isWarning != null" >
  420. is_warning,
  421. </if>
  422. <if test="isFire != null" >
  423. is_fire,
  424. </if>
  425. <if test="isElse != null" >
  426. is_else,
  427. </if>
  428. <if test="isDevice != null" >
  429. is_device,
  430. </if>
  431. <if test="isKit != null" >
  432. is_kit,
  433. </if>
  434. <if test="checkPeople != null" >
  435. check_people,
  436. </if>
  437. <if test="checkClose != null" >
  438. check_close,
  439. </if>
  440. <if test="checkWarning != null" >
  441. check_warning,
  442. </if>
  443. <if test="circleTotal != null" >
  444. circle_total,
  445. </if>
  446. <if test="circleEnd != null" >
  447. circle_end,
  448. </if>
  449. <if test="circleStart != null" >
  450. circle_start,
  451. </if>
  452. <if test="circleType != null" >
  453. circle_type,
  454. </if>
  455. <if test="checkWork != null" >
  456. check_work,
  457. </if>
  458. <if test="tonicDate != null" >
  459. tonic_date,
  460. </if>
  461. <if test="tonicTime != null" >
  462. tonic_time,
  463. </if>
  464. <if test="tonicApprove != null" >
  465. tonic_approve,
  466. </if>
  467. <if test="tonicAppUser != null" >
  468. tonic_app_user,
  469. </if>
  470. <if test="isCloseConfirm != null" >
  471. is_close_confirm,
  472. </if>
  473. <if test="isAlarmConfirm != null" >
  474. is_alarm_confirm,
  475. </if>
  476. <if test="isDetectorConfirm != null" >
  477. is_ detector_confirm,
  478. </if>
  479. <if test="isKitConfirm != null" >
  480. is_kit_confirm,
  481. </if>
  482. <if test="isFireConfirm != null" >
  483. is_fire_confirm,
  484. </if>
  485. <if test="isRespiratorConfirm != null" >
  486. is_respirator_confirm,
  487. </if>
  488. <if test="isFanConfirm != null" >
  489. is_fan_confirm,
  490. </if>
  491. <if test="isDeviceConfirm != null" >
  492. is_device_confirm,
  493. </if>
  494. <if test="tonicTotalNum != null" >
  495. tonic_total_num,
  496. </if>
  497. <if test="tonicTotal != null" >
  498. tonic_total,
  499. </if>
  500. <if test="tonicElseNum != null" >
  501. tonic_else_num,
  502. </if>
  503. <if test="tonicSecNum != null" >
  504. tonic_sec_num,
  505. </if>
  506. <if test="tonicFirstNum != null" >
  507. tonic_first_num,
  508. </if>
  509. <if test="tonicSetNum != null" >
  510. tonic_set_num,
  511. </if>
  512. <if test="tonicType != null" >
  513. tonic_type,
  514. </if>
  515. <if test="checkPeopleConfirm != null" >
  516. check_people_confirm,
  517. </if>
  518. <if test="sanqiDate != null" >
  519. sanqi_date,
  520. </if>
  521. <if test="sanqiTime != null" >
  522. sanqi_time,
  523. </if>
  524. <if test="sanqiType != null" >
  525. sanqi_type,
  526. </if>
  527. <if test="sanqiApproveUser != null" >
  528. sanqi_approve_user,
  529. </if>
  530. <if test="sanqiBz != null" >
  531. sanqi_bz,
  532. </if>
  533. <if test="phosphineCheck != null" >
  534. phosphine_check,
  535. </if>
  536. <if test="houseOpen != null" >
  537. house_open,
  538. </if>
  539. <if test="checkPeopleThree != null" >
  540. check_people_three,
  541. </if>
  542. <if test="sanqiUser != null" >
  543. sanqi_user,
  544. </if>
  545. <if test="medicSet != null" >
  546. medic_set,
  547. </if>
  548. <if test="densityRate != null" >
  549. density_rate,
  550. </if>
  551. <if test="closeDay != null" >
  552. close_day,
  553. </if>
  554. <if test="temperatureAfter != null" >
  555. temperature_after,
  556. </if>
  557. <if test="phosphineRemain != null" >
  558. phosphine_remain,
  559. </if>
  560. <if test="remark != null" >
  561. remark,
  562. </if>
  563. <if test="cId != null" >
  564. c_id,
  565. </if>
  566. <if test="cTime != null" >
  567. c_time,
  568. </if>
  569. <if test="uId != null" >
  570. u_id,
  571. </if>
  572. <if test="uTime != null" >
  573. u_time,
  574. </if>
  575. </trim>
  576. <trim prefix="values (" suffix=")" suffixOverrides="," >
  577. <if test="id != null" >
  578. #{id,jdbcType=INTEGER},
  579. </if>
  580. <if test="houseId != null" >
  581. #{houseId,jdbcType=INTEGER},
  582. </if>
  583. <if test="grainId != null" >
  584. #{grainId,jdbcType=INTEGER},
  585. </if>
  586. <if test="safeDate != null" >
  587. #{safeDate,jdbcType=VARCHAR},
  588. </if>
  589. <if test="houseType != null" >
  590. #{houseType,jdbcType=VARCHAR},
  591. </if>
  592. <if test="houseWater != null" >
  593. #{houseWater,jdbcType=VARCHAR},
  594. </if>
  595. <if test="houseTemperature != null" >
  596. #{houseTemperature,jdbcType=VARCHAR},
  597. </if>
  598. <if test="houseVolume != null" >
  599. #{houseVolume,jdbcType=REAL},
  600. </if>
  601. <if test="setType != null" >
  602. #{setType,jdbcType=VARCHAR},
  603. </if>
  604. <if test="houseSpace != null" >
  605. #{houseSpace,jdbcType=REAL},
  606. </if>
  607. <if test="type != null" >
  608. #{type,jdbcType=VARCHAR},
  609. </if>
  610. <if test="number != null" >
  611. #{number,jdbcType=INTEGER},
  612. </if>
  613. <if test="water != null" >
  614. #{water,jdbcType=VARCHAR},
  615. </if>
  616. <if test="workTime != null" >
  617. #{workTime,jdbcType=VARCHAR},
  618. </if>
  619. <if test="workDate != null" >
  620. #{workDate,jdbcType=VARCHAR},
  621. </if>
  622. <if test="temperature != null" >
  623. #{temperature,jdbcType=VARCHAR},
  624. </if>
  625. <if test="wormType != null" >
  626. #{wormType,jdbcType=VARCHAR},
  627. </if>
  628. <if test="sanqiApply != null" >
  629. #{sanqiApply,jdbcType=VARCHAR},
  630. </if>
  631. <if test="tonicApply != null" >
  632. #{tonicApply,jdbcType=VARCHAR},
  633. </if>
  634. <if test="workApply != null" >
  635. #{workApply,jdbcType=VARCHAR},
  636. </if>
  637. <if test="airtemperature != null" >
  638. #{airtemperature,jdbcType=VARCHAR},
  639. </if>
  640. <if test="weather != null" >
  641. #{weather,jdbcType=VARCHAR},
  642. </if>
  643. <if test="densityAfter != null" >
  644. #{densityAfter,jdbcType=VARCHAR},
  645. </if>
  646. <if test="density != null" >
  647. #{density,jdbcType=VARCHAR},
  648. </if>
  649. <if test="medicament != null" >
  650. #{medicament,jdbcType=VARCHAR},
  651. </if>
  652. <if test="safeMethod != null" >
  653. #{safeMethod,jdbcType=VARCHAR},
  654. </if>
  655. <if test="safeEffect != null" >
  656. #{safeEffect,jdbcType=VARCHAR},
  657. </if>
  658. <if test="section != null" >
  659. #{section,jdbcType=VARCHAR},
  660. </if>
  661. <if test="safePeople != null" >
  662. #{safePeople,jdbcType=VARCHAR},
  663. </if>
  664. <if test="safeMan != null" >
  665. #{safeMan,jdbcType=VARCHAR},
  666. </if>
  667. <if test="workPeople != null" >
  668. #{workPeople,jdbcType=VARCHAR},
  669. </if>
  670. <if test="charge != null" >
  671. #{charge,jdbcType=VARCHAR},
  672. </if>
  673. <if test="isDraft != null" >
  674. #{isDraft,jdbcType=VARCHAR},
  675. </if>
  676. <if test="workType != null" >
  677. #{workType,jdbcType=VARCHAR},
  678. </if>
  679. <if test="aluminumNum != null" >
  680. #{aluminumNum,jdbcType=VARCHAR},
  681. </if>
  682. <if test="aluminumType != null" >
  683. #{aluminumType,jdbcType=VARCHAR},
  684. </if>
  685. <if test="setNum != null" >
  686. #{setNum,jdbcType=INTEGER},
  687. </if>
  688. <if test="firstNum != null" >
  689. #{firstNum,jdbcType=INTEGER},
  690. </if>
  691. <if test="totalNum != null" >
  692. #{totalNum,jdbcType=INTEGER},
  693. </if>
  694. <if test="isAir != null" >
  695. #{isAir,jdbcType=VARCHAR},
  696. </if>
  697. <if test="isClose != null" >
  698. #{isClose,jdbcType=VARCHAR},
  699. </if>
  700. <if test="isAirSafe != null" >
  701. #{isAirSafe,jdbcType=VARCHAR},
  702. </if>
  703. <if test="isDetector != null" >
  704. #{isDetector,jdbcType=VARCHAR},
  705. </if>
  706. <if test="isAlarm != null" >
  707. #{isAlarm,jdbcType=VARCHAR},
  708. </if>
  709. <if test="isOxygen != null" >
  710. #{isOxygen,jdbcType=VARCHAR},
  711. </if>
  712. <if test="isRespirator != null" >
  713. #{isRespirator,jdbcType=VARCHAR},
  714. </if>
  715. <if test="isWarning != null" >
  716. #{isWarning,jdbcType=VARCHAR},
  717. </if>
  718. <if test="isFire != null" >
  719. #{isFire,jdbcType=VARCHAR},
  720. </if>
  721. <if test="isElse != null" >
  722. #{isElse,jdbcType=VARCHAR},
  723. </if>
  724. <if test="isDevice != null" >
  725. #{isDevice,jdbcType=VARCHAR},
  726. </if>
  727. <if test="isKit != null" >
  728. #{isKit,jdbcType=VARCHAR},
  729. </if>
  730. <if test="checkPeople != null" >
  731. #{checkPeople,jdbcType=VARCHAR},
  732. </if>
  733. <if test="checkClose != null" >
  734. #{checkClose,jdbcType=VARCHAR},
  735. </if>
  736. <if test="checkWarning != null" >
  737. #{checkWarning,jdbcType=VARCHAR},
  738. </if>
  739. <if test="circleTotal != null" >
  740. #{circleTotal,jdbcType=VARCHAR},
  741. </if>
  742. <if test="circleEnd != null" >
  743. #{circleEnd,jdbcType=VARCHAR},
  744. </if>
  745. <if test="circleStart != null" >
  746. #{circleStart,jdbcType=VARCHAR},
  747. </if>
  748. <if test="circleType != null" >
  749. #{circleType,jdbcType=VARCHAR},
  750. </if>
  751. <if test="checkWork != null" >
  752. #{checkWork,jdbcType=VARCHAR},
  753. </if>
  754. <if test="tonicDate != null" >
  755. #{tonicDate,jdbcType=VARCHAR},
  756. </if>
  757. <if test="tonicTime != null" >
  758. #{tonicTime,jdbcType=VARCHAR},
  759. </if>
  760. <if test="tonicApprove != null" >
  761. #{tonicApprove,jdbcType=VARCHAR},
  762. </if>
  763. <if test="tonicAppUser != null" >
  764. #{tonicAppUser,jdbcType=VARCHAR},
  765. </if>
  766. <if test="isCloseConfirm != null" >
  767. #{isCloseConfirm,jdbcType=VARCHAR},
  768. </if>
  769. <if test="isAlarmConfirm != null" >
  770. #{isAlarmConfirm,jdbcType=VARCHAR},
  771. </if>
  772. <if test="isDetectorConfirm != null" >
  773. #{isDetectorConfirm,jdbcType=VARCHAR},
  774. </if>
  775. <if test="isKitConfirm != null" >
  776. #{isKitConfirm,jdbcType=VARCHAR},
  777. </if>
  778. <if test="isFireConfirm != null" >
  779. #{isFireConfirm,jdbcType=VARCHAR},
  780. </if>
  781. <if test="isRespiratorConfirm != null" >
  782. #{isRespiratorConfirm,jdbcType=VARCHAR},
  783. </if>
  784. <if test="isFanConfirm != null" >
  785. #{isFanConfirm,jdbcType=VARCHAR},
  786. </if>
  787. <if test="isDeviceConfirm != null" >
  788. #{isDeviceConfirm,jdbcType=VARCHAR},
  789. </if>
  790. <if test="tonicTotalNum != null" >
  791. #{tonicTotalNum,jdbcType=INTEGER},
  792. </if>
  793. <if test="tonicTotal != null" >
  794. #{tonicTotal,jdbcType=VARCHAR},
  795. </if>
  796. <if test="tonicElseNum != null" >
  797. #{tonicElseNum,jdbcType=INTEGER},
  798. </if>
  799. <if test="tonicSecNum != null" >
  800. #{tonicSecNum,jdbcType=INTEGER},
  801. </if>
  802. <if test="tonicFirstNum != null" >
  803. #{tonicFirstNum,jdbcType=INTEGER},
  804. </if>
  805. <if test="tonicSetNum != null" >
  806. #{tonicSetNum,jdbcType=INTEGER},
  807. </if>
  808. <if test="tonicType != null" >
  809. #{tonicType,jdbcType=VARCHAR},
  810. </if>
  811. <if test="checkPeopleConfirm != null" >
  812. #{checkPeopleConfirm,jdbcType=VARCHAR},
  813. </if>
  814. <if test="sanqiDate != null" >
  815. #{sanqiDate,jdbcType=VARCHAR},
  816. </if>
  817. <if test="sanqiTime != null" >
  818. #{sanqiTime,jdbcType=VARCHAR},
  819. </if>
  820. <if test="sanqiType != null" >
  821. #{sanqiType,jdbcType=VARCHAR},
  822. </if>
  823. <if test="sanqiApproveUser != null" >
  824. #{sanqiApproveUser,jdbcType=VARCHAR},
  825. </if>
  826. <if test="sanqiBz != null" >
  827. #{sanqiBz,jdbcType=VARCHAR},
  828. </if>
  829. <if test="phosphineCheck != null" >
  830. #{phosphineCheck,jdbcType=VARCHAR},
  831. </if>
  832. <if test="houseOpen != null" >
  833. #{houseOpen,jdbcType=VARCHAR},
  834. </if>
  835. <if test="checkPeopleThree != null" >
  836. #{checkPeopleThree,jdbcType=VARCHAR},
  837. </if>
  838. <if test="sanqiUser != null" >
  839. #{sanqiUser,jdbcType=VARCHAR},
  840. </if>
  841. <if test="medicSet != null" >
  842. #{medicSet,jdbcType=VARCHAR},
  843. </if>
  844. <if test="densityRate != null" >
  845. #{densityRate,jdbcType=VARCHAR},
  846. </if>
  847. <if test="closeDay != null" >
  848. #{closeDay,jdbcType=VARCHAR},
  849. </if>
  850. <if test="temperatureAfter != null" >
  851. #{temperatureAfter,jdbcType=VARCHAR},
  852. </if>
  853. <if test="phosphineRemain != null" >
  854. #{phosphineRemain,jdbcType=VARCHAR},
  855. </if>
  856. <if test="remark != null" >
  857. #{remark,jdbcType=VARCHAR},
  858. </if>
  859. <if test="cId != null" >
  860. #{cId,jdbcType=INTEGER},
  861. </if>
  862. <if test="cTime != null" >
  863. #{cTime,jdbcType=TIMESTAMP},
  864. </if>
  865. <if test="uId != null" >
  866. #{uId,jdbcType=INTEGER},
  867. </if>
  868. <if test="uTime != null" >
  869. #{uTime,jdbcType=TIMESTAMP},
  870. </if>
  871. </trim>
  872. </insert>
  873. <select id="countByExample" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationCircleNewExample" resultType="java.lang.Integer" >
  874. select count(*) from daily_record_fumigation_circle_new
  875. <if test="_parameter != null" >
  876. <include refid="Example_Where_Clause" />
  877. </if>
  878. </select>
  879. <update id="updateByExampleSelective" parameterType="map" >
  880. update daily_record_fumigation_circle_new
  881. <set >
  882. <if test="record.id != null" >
  883. id = #{record.id,jdbcType=INTEGER},
  884. </if>
  885. <if test="record.houseId != null" >
  886. house_id = #{record.houseId,jdbcType=INTEGER},
  887. </if>
  888. <if test="record.grainId != null" >
  889. grain_id = #{record.grainId,jdbcType=INTEGER},
  890. </if>
  891. <if test="record.safeDate != null" >
  892. safe_date = #{record.safeDate,jdbcType=VARCHAR},
  893. </if>
  894. <if test="record.houseType != null" >
  895. house_type = #{record.houseType,jdbcType=VARCHAR},
  896. </if>
  897. <if test="record.houseWater != null" >
  898. house_water = #{record.houseWater,jdbcType=VARCHAR},
  899. </if>
  900. <if test="record.houseTemperature != null" >
  901. house_temperature = #{record.houseTemperature,jdbcType=VARCHAR},
  902. </if>
  903. <if test="record.houseVolume != null" >
  904. house_volume = #{record.houseVolume,jdbcType=REAL},
  905. </if>
  906. <if test="record.setType != null" >
  907. set_type = #{record.setType,jdbcType=VARCHAR},
  908. </if>
  909. <if test="record.houseSpace != null" >
  910. house_space = #{record.houseSpace,jdbcType=REAL},
  911. </if>
  912. <if test="record.type != null" >
  913. type = #{record.type,jdbcType=VARCHAR},
  914. </if>
  915. <if test="record.number != null" >
  916. number = #{record.number,jdbcType=INTEGER},
  917. </if>
  918. <if test="record.water != null" >
  919. water = #{record.water,jdbcType=VARCHAR},
  920. </if>
  921. <if test="record.workTime != null" >
  922. work_time = #{record.workTime,jdbcType=VARCHAR},
  923. </if>
  924. <if test="record.workDate != null" >
  925. work_date = #{record.workDate,jdbcType=VARCHAR},
  926. </if>
  927. <if test="record.temperature != null" >
  928. temperature = #{record.temperature,jdbcType=VARCHAR},
  929. </if>
  930. <if test="record.wormType != null" >
  931. worm_type = #{record.wormType,jdbcType=VARCHAR},
  932. </if>
  933. <if test="record.sanqiApply != null" >
  934. sanqi_apply = #{record.sanqiApply,jdbcType=VARCHAR},
  935. </if>
  936. <if test="record.tonicApply != null" >
  937. tonic_apply = #{record.tonicApply,jdbcType=VARCHAR},
  938. </if>
  939. <if test="record.workApply != null" >
  940. work_apply = #{record.workApply,jdbcType=VARCHAR},
  941. </if>
  942. <if test="record.airtemperature != null" >
  943. airtemperature = #{record.airtemperature,jdbcType=VARCHAR},
  944. </if>
  945. <if test="record.weather != null" >
  946. weather = #{record.weather,jdbcType=VARCHAR},
  947. </if>
  948. <if test="record.densityAfter != null" >
  949. density_after = #{record.densityAfter,jdbcType=VARCHAR},
  950. </if>
  951. <if test="record.density != null" >
  952. density = #{record.density,jdbcType=VARCHAR},
  953. </if>
  954. <if test="record.medicament != null" >
  955. medicament = #{record.medicament,jdbcType=VARCHAR},
  956. </if>
  957. <if test="record.safeMethod != null" >
  958. safe_method = #{record.safeMethod,jdbcType=VARCHAR},
  959. </if>
  960. <if test="record.safeEffect != null" >
  961. safe_effect = #{record.safeEffect,jdbcType=VARCHAR},
  962. </if>
  963. <if test="record.section != null" >
  964. section = #{record.section,jdbcType=VARCHAR},
  965. </if>
  966. <if test="record.safePeople != null" >
  967. safe_people = #{record.safePeople,jdbcType=VARCHAR},
  968. </if>
  969. <if test="record.safeMan != null" >
  970. safe_man = #{record.safeMan,jdbcType=VARCHAR},
  971. </if>
  972. <if test="record.workPeople != null" >
  973. work_people = #{record.workPeople,jdbcType=VARCHAR},
  974. </if>
  975. <if test="record.charge != null" >
  976. charge = #{record.charge,jdbcType=VARCHAR},
  977. </if>
  978. <if test="record.isDraft != null" >
  979. is_draft = #{record.isDraft,jdbcType=VARCHAR},
  980. </if>
  981. <if test="record.workType != null" >
  982. work_type = #{record.workType,jdbcType=VARCHAR},
  983. </if>
  984. <if test="record.aluminumNum != null" >
  985. aluminum_num = #{record.aluminumNum,jdbcType=VARCHAR},
  986. </if>
  987. <if test="record.aluminumType != null" >
  988. aluminum_type = #{record.aluminumType,jdbcType=VARCHAR},
  989. </if>
  990. <if test="record.setNum != null" >
  991. set_num = #{record.setNum,jdbcType=INTEGER},
  992. </if>
  993. <if test="record.firstNum != null" >
  994. first_num = #{record.firstNum,jdbcType=INTEGER},
  995. </if>
  996. <if test="record.totalNum != null" >
  997. total_num = #{record.totalNum,jdbcType=INTEGER},
  998. </if>
  999. <if test="record.isAir != null" >
  1000. is_air = #{record.isAir,jdbcType=VARCHAR},
  1001. </if>
  1002. <if test="record.isClose != null" >
  1003. is_close = #{record.isClose,jdbcType=VARCHAR},
  1004. </if>
  1005. <if test="record.isAirSafe != null" >
  1006. is_air_safe = #{record.isAirSafe,jdbcType=VARCHAR},
  1007. </if>
  1008. <if test="record.isDetector != null" >
  1009. is_ detector = #{record.isDetector,jdbcType=VARCHAR},
  1010. </if>
  1011. <if test="record.isAlarm != null" >
  1012. is_alarm = #{record.isAlarm,jdbcType=VARCHAR},
  1013. </if>
  1014. <if test="record.isOxygen != null" >
  1015. is_oxygen = #{record.isOxygen,jdbcType=VARCHAR},
  1016. </if>
  1017. <if test="record.isRespirator != null" >
  1018. is_respirator = #{record.isRespirator,jdbcType=VARCHAR},
  1019. </if>
  1020. <if test="record.isWarning != null" >
  1021. is_warning = #{record.isWarning,jdbcType=VARCHAR},
  1022. </if>
  1023. <if test="record.isFire != null" >
  1024. is_fire = #{record.isFire,jdbcType=VARCHAR},
  1025. </if>
  1026. <if test="record.isElse != null" >
  1027. is_else = #{record.isElse,jdbcType=VARCHAR},
  1028. </if>
  1029. <if test="record.isDevice != null" >
  1030. is_device = #{record.isDevice,jdbcType=VARCHAR},
  1031. </if>
  1032. <if test="record.isKit != null" >
  1033. is_kit = #{record.isKit,jdbcType=VARCHAR},
  1034. </if>
  1035. <if test="record.checkPeople != null" >
  1036. check_people = #{record.checkPeople,jdbcType=VARCHAR},
  1037. </if>
  1038. <if test="record.checkClose != null" >
  1039. check_close = #{record.checkClose,jdbcType=VARCHAR},
  1040. </if>
  1041. <if test="record.checkWarning != null" >
  1042. check_warning = #{record.checkWarning,jdbcType=VARCHAR},
  1043. </if>
  1044. <if test="record.circleTotal != null" >
  1045. circle_total = #{record.circleTotal,jdbcType=VARCHAR},
  1046. </if>
  1047. <if test="record.circleEnd != null" >
  1048. circle_end = #{record.circleEnd,jdbcType=VARCHAR},
  1049. </if>
  1050. <if test="record.circleStart != null" >
  1051. circle_start = #{record.circleStart,jdbcType=VARCHAR},
  1052. </if>
  1053. <if test="record.circleType != null" >
  1054. circle_type = #{record.circleType,jdbcType=VARCHAR},
  1055. </if>
  1056. <if test="record.checkWork != null" >
  1057. check_work = #{record.checkWork,jdbcType=VARCHAR},
  1058. </if>
  1059. <if test="record.tonicDate != null" >
  1060. tonic_date = #{record.tonicDate,jdbcType=VARCHAR},
  1061. </if>
  1062. <if test="record.tonicTime != null" >
  1063. tonic_time = #{record.tonicTime,jdbcType=VARCHAR},
  1064. </if>
  1065. <if test="record.tonicApprove != null" >
  1066. tonic_approve = #{record.tonicApprove,jdbcType=VARCHAR},
  1067. </if>
  1068. <if test="record.tonicAppUser != null" >
  1069. tonic_app_user = #{record.tonicAppUser,jdbcType=VARCHAR},
  1070. </if>
  1071. <if test="record.isCloseConfirm != null" >
  1072. is_close_confirm = #{record.isCloseConfirm,jdbcType=VARCHAR},
  1073. </if>
  1074. <if test="record.isAlarmConfirm != null" >
  1075. is_alarm_confirm = #{record.isAlarmConfirm,jdbcType=VARCHAR},
  1076. </if>
  1077. <if test="record.isDetectorConfirm != null" >
  1078. is_ detector_confirm = #{record.isDetectorConfirm,jdbcType=VARCHAR},
  1079. </if>
  1080. <if test="record.isKitConfirm != null" >
  1081. is_kit_confirm = #{record.isKitConfirm,jdbcType=VARCHAR},
  1082. </if>
  1083. <if test="record.isFireConfirm != null" >
  1084. is_fire_confirm = #{record.isFireConfirm,jdbcType=VARCHAR},
  1085. </if>
  1086. <if test="record.isRespiratorConfirm != null" >
  1087. is_respirator_confirm = #{record.isRespiratorConfirm,jdbcType=VARCHAR},
  1088. </if>
  1089. <if test="record.isFanConfirm != null" >
  1090. is_fan_confirm = #{record.isFanConfirm,jdbcType=VARCHAR},
  1091. </if>
  1092. <if test="record.isDeviceConfirm != null" >
  1093. is_device_confirm = #{record.isDeviceConfirm,jdbcType=VARCHAR},
  1094. </if>
  1095. <if test="record.tonicTotalNum != null" >
  1096. tonic_total_num = #{record.tonicTotalNum,jdbcType=INTEGER},
  1097. </if>
  1098. <if test="record.tonicTotal != null" >
  1099. tonic_total = #{record.tonicTotal,jdbcType=VARCHAR},
  1100. </if>
  1101. <if test="record.tonicElseNum != null" >
  1102. tonic_else_num = #{record.tonicElseNum,jdbcType=INTEGER},
  1103. </if>
  1104. <if test="record.tonicSecNum != null" >
  1105. tonic_sec_num = #{record.tonicSecNum,jdbcType=INTEGER},
  1106. </if>
  1107. <if test="record.tonicFirstNum != null" >
  1108. tonic_first_num = #{record.tonicFirstNum,jdbcType=INTEGER},
  1109. </if>
  1110. <if test="record.tonicSetNum != null" >
  1111. tonic_set_num = #{record.tonicSetNum,jdbcType=INTEGER},
  1112. </if>
  1113. <if test="record.tonicType != null" >
  1114. tonic_type = #{record.tonicType,jdbcType=VARCHAR},
  1115. </if>
  1116. <if test="record.checkPeopleConfirm != null" >
  1117. check_people_confirm = #{record.checkPeopleConfirm,jdbcType=VARCHAR},
  1118. </if>
  1119. <if test="record.sanqiDate != null" >
  1120. sanqi_date = #{record.sanqiDate,jdbcType=VARCHAR},
  1121. </if>
  1122. <if test="record.sanqiTime != null" >
  1123. sanqi_time = #{record.sanqiTime,jdbcType=VARCHAR},
  1124. </if>
  1125. <if test="record.sanqiType != null" >
  1126. sanqi_type = #{record.sanqiType,jdbcType=VARCHAR},
  1127. </if>
  1128. <if test="record.sanqiApproveUser != null" >
  1129. sanqi_approve_user = #{record.sanqiApproveUser,jdbcType=VARCHAR},
  1130. </if>
  1131. <if test="record.sanqiBz != null" >
  1132. sanqi_bz = #{record.sanqiBz,jdbcType=VARCHAR},
  1133. </if>
  1134. <if test="record.phosphineCheck != null" >
  1135. phosphine_check = #{record.phosphineCheck,jdbcType=VARCHAR},
  1136. </if>
  1137. <if test="record.houseOpen != null" >
  1138. house_open = #{record.houseOpen,jdbcType=VARCHAR},
  1139. </if>
  1140. <if test="record.checkPeopleThree != null" >
  1141. check_people_three = #{record.checkPeopleThree,jdbcType=VARCHAR},
  1142. </if>
  1143. <if test="record.sanqiUser != null" >
  1144. sanqi_user = #{record.sanqiUser,jdbcType=VARCHAR},
  1145. </if>
  1146. <if test="record.medicSet != null" >
  1147. medic_set = #{record.medicSet,jdbcType=VARCHAR},
  1148. </if>
  1149. <if test="record.densityRate != null" >
  1150. density_rate = #{record.densityRate,jdbcType=VARCHAR},
  1151. </if>
  1152. <if test="record.closeDay != null" >
  1153. close_day = #{record.closeDay,jdbcType=VARCHAR},
  1154. </if>
  1155. <if test="record.temperatureAfter != null" >
  1156. temperature_after = #{record.temperatureAfter,jdbcType=VARCHAR},
  1157. </if>
  1158. <if test="record.phosphineRemain != null" >
  1159. phosphine_remain = #{record.phosphineRemain,jdbcType=VARCHAR},
  1160. </if>
  1161. <if test="record.remark != null" >
  1162. remark = #{record.remark,jdbcType=VARCHAR},
  1163. </if>
  1164. <if test="record.cId != null" >
  1165. c_id = #{record.cId,jdbcType=INTEGER},
  1166. </if>
  1167. <if test="record.cTime != null" >
  1168. c_time = #{record.cTime,jdbcType=TIMESTAMP},
  1169. </if>
  1170. <if test="record.uId != null" >
  1171. u_id = #{record.uId,jdbcType=INTEGER},
  1172. </if>
  1173. <if test="record.uTime != null" >
  1174. u_time = #{record.uTime,jdbcType=TIMESTAMP},
  1175. </if>
  1176. </set>
  1177. <if test="_parameter != null" >
  1178. <include refid="Update_By_Example_Where_Clause" />
  1179. </if>
  1180. </update>
  1181. <update id="updateByExample" parameterType="map" >
  1182. update daily_record_fumigation_circle_new
  1183. set id = #{record.id,jdbcType=INTEGER},
  1184. house_id = #{record.houseId,jdbcType=INTEGER},
  1185. grain_id = #{record.grainId,jdbcType=INTEGER},
  1186. safe_date = #{record.safeDate,jdbcType=VARCHAR},
  1187. house_type = #{record.houseType,jdbcType=VARCHAR},
  1188. house_water = #{record.houseWater,jdbcType=VARCHAR},
  1189. house_temperature = #{record.houseTemperature,jdbcType=VARCHAR},
  1190. house_volume = #{record.houseVolume,jdbcType=REAL},
  1191. set_type = #{record.setType,jdbcType=VARCHAR},
  1192. house_space = #{record.houseSpace,jdbcType=REAL},
  1193. type = #{record.type,jdbcType=VARCHAR},
  1194. number = #{record.number,jdbcType=INTEGER},
  1195. water = #{record.water,jdbcType=VARCHAR},
  1196. work_time = #{record.workTime,jdbcType=VARCHAR},
  1197. work_date = #{record.workDate,jdbcType=VARCHAR},
  1198. temperature = #{record.temperature,jdbcType=VARCHAR},
  1199. worm_type = #{record.wormType,jdbcType=VARCHAR},
  1200. sanqi_apply = #{record.sanqiApply,jdbcType=VARCHAR},
  1201. tonic_apply = #{record.tonicApply,jdbcType=VARCHAR},
  1202. work_apply = #{record.workApply,jdbcType=VARCHAR},
  1203. airtemperature = #{record.airtemperature,jdbcType=VARCHAR},
  1204. weather = #{record.weather,jdbcType=VARCHAR},
  1205. density_after = #{record.densityAfter,jdbcType=VARCHAR},
  1206. density = #{record.density,jdbcType=VARCHAR},
  1207. medicament = #{record.medicament,jdbcType=VARCHAR},
  1208. safe_method = #{record.safeMethod,jdbcType=VARCHAR},
  1209. safe_effect = #{record.safeEffect,jdbcType=VARCHAR},
  1210. section = #{record.section,jdbcType=VARCHAR},
  1211. safe_people = #{record.safePeople,jdbcType=VARCHAR},
  1212. safe_man = #{record.safeMan,jdbcType=VARCHAR},
  1213. work_people = #{record.workPeople,jdbcType=VARCHAR},
  1214. charge = #{record.charge,jdbcType=VARCHAR},
  1215. is_draft = #{record.isDraft,jdbcType=VARCHAR},
  1216. work_type = #{record.workType,jdbcType=VARCHAR},
  1217. aluminum_num = #{record.aluminumNum,jdbcType=VARCHAR},
  1218. aluminum_type = #{record.aluminumType,jdbcType=VARCHAR},
  1219. set_num = #{record.setNum,jdbcType=INTEGER},
  1220. first_num = #{record.firstNum,jdbcType=INTEGER},
  1221. total_num = #{record.totalNum,jdbcType=INTEGER},
  1222. is_air = #{record.isAir,jdbcType=VARCHAR},
  1223. is_close = #{record.isClose,jdbcType=VARCHAR},
  1224. is_air_safe = #{record.isAirSafe,jdbcType=VARCHAR},
  1225. is_ detector = #{record.isDetector,jdbcType=VARCHAR},
  1226. is_alarm = #{record.isAlarm,jdbcType=VARCHAR},
  1227. is_oxygen = #{record.isOxygen,jdbcType=VARCHAR},
  1228. is_respirator = #{record.isRespirator,jdbcType=VARCHAR},
  1229. is_warning = #{record.isWarning,jdbcType=VARCHAR},
  1230. is_fire = #{record.isFire,jdbcType=VARCHAR},
  1231. is_else = #{record.isElse,jdbcType=VARCHAR},
  1232. is_device = #{record.isDevice,jdbcType=VARCHAR},
  1233. is_kit = #{record.isKit,jdbcType=VARCHAR},
  1234. check_people = #{record.checkPeople,jdbcType=VARCHAR},
  1235. check_close = #{record.checkClose,jdbcType=VARCHAR},
  1236. check_warning = #{record.checkWarning,jdbcType=VARCHAR},
  1237. circle_total = #{record.circleTotal,jdbcType=VARCHAR},
  1238. circle_end = #{record.circleEnd,jdbcType=VARCHAR},
  1239. circle_start = #{record.circleStart,jdbcType=VARCHAR},
  1240. circle_type = #{record.circleType,jdbcType=VARCHAR},
  1241. check_work = #{record.checkWork,jdbcType=VARCHAR},
  1242. tonic_date = #{record.tonicDate,jdbcType=VARCHAR},
  1243. tonic_time = #{record.tonicTime,jdbcType=VARCHAR},
  1244. tonic_approve = #{record.tonicApprove,jdbcType=VARCHAR},
  1245. tonic_app_user = #{record.tonicAppUser,jdbcType=VARCHAR},
  1246. is_close_confirm = #{record.isCloseConfirm,jdbcType=VARCHAR},
  1247. is_alarm_confirm = #{record.isAlarmConfirm,jdbcType=VARCHAR},
  1248. is_ detector_confirm = #{record.isDetectorConfirm,jdbcType=VARCHAR},
  1249. is_kit_confirm = #{record.isKitConfirm,jdbcType=VARCHAR},
  1250. is_fire_confirm = #{record.isFireConfirm,jdbcType=VARCHAR},
  1251. is_respirator_confirm = #{record.isRespiratorConfirm,jdbcType=VARCHAR},
  1252. is_fan_confirm = #{record.isFanConfirm,jdbcType=VARCHAR},
  1253. is_device_confirm = #{record.isDeviceConfirm,jdbcType=VARCHAR},
  1254. tonic_total_num = #{record.tonicTotalNum,jdbcType=INTEGER},
  1255. tonic_total = #{record.tonicTotal,jdbcType=VARCHAR},
  1256. tonic_else_num = #{record.tonicElseNum,jdbcType=INTEGER},
  1257. tonic_sec_num = #{record.tonicSecNum,jdbcType=INTEGER},
  1258. tonic_first_num = #{record.tonicFirstNum,jdbcType=INTEGER},
  1259. tonic_set_num = #{record.tonicSetNum,jdbcType=INTEGER},
  1260. tonic_type = #{record.tonicType,jdbcType=VARCHAR},
  1261. check_people_confirm = #{record.checkPeopleConfirm,jdbcType=VARCHAR},
  1262. sanqi_date = #{record.sanqiDate,jdbcType=VARCHAR},
  1263. sanqi_time = #{record.sanqiTime,jdbcType=VARCHAR},
  1264. sanqi_type = #{record.sanqiType,jdbcType=VARCHAR},
  1265. sanqi_approve_user = #{record.sanqiApproveUser,jdbcType=VARCHAR},
  1266. sanqi_bz = #{record.sanqiBz,jdbcType=VARCHAR},
  1267. phosphine_check = #{record.phosphineCheck,jdbcType=VARCHAR},
  1268. house_open = #{record.houseOpen,jdbcType=VARCHAR},
  1269. check_people_three = #{record.checkPeopleThree,jdbcType=VARCHAR},
  1270. sanqi_user = #{record.sanqiUser,jdbcType=VARCHAR},
  1271. medic_set = #{record.medicSet,jdbcType=VARCHAR},
  1272. density_rate = #{record.densityRate,jdbcType=VARCHAR},
  1273. close_day = #{record.closeDay,jdbcType=VARCHAR},
  1274. temperature_after = #{record.temperatureAfter,jdbcType=VARCHAR},
  1275. phosphine_remain = #{record.phosphineRemain,jdbcType=VARCHAR},
  1276. remark = #{record.remark,jdbcType=VARCHAR},
  1277. c_id = #{record.cId,jdbcType=INTEGER},
  1278. c_time = #{record.cTime,jdbcType=TIMESTAMP},
  1279. u_id = #{record.uId,jdbcType=INTEGER},
  1280. u_time = #{record.uTime,jdbcType=TIMESTAMP}
  1281. <if test="_parameter != null" >
  1282. <include refid="Update_By_Example_Where_Clause" />
  1283. </if>
  1284. </update>
  1285. <update id="updateByPrimaryKeySelective" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationCircleNew" >
  1286. update daily_record_fumigation_circle_new
  1287. <set >
  1288. <if test="houseId != null" >
  1289. house_id = #{houseId,jdbcType=INTEGER},
  1290. </if>
  1291. <if test="grainId != null" >
  1292. grain_id = #{grainId,jdbcType=INTEGER},
  1293. </if>
  1294. <if test="safeDate != null" >
  1295. safe_date = #{safeDate,jdbcType=VARCHAR},
  1296. </if>
  1297. <if test="houseType != null" >
  1298. house_type = #{houseType,jdbcType=VARCHAR},
  1299. </if>
  1300. <if test="houseWater != null" >
  1301. house_water = #{houseWater,jdbcType=VARCHAR},
  1302. </if>
  1303. <if test="houseTemperature != null" >
  1304. house_temperature = #{houseTemperature,jdbcType=VARCHAR},
  1305. </if>
  1306. <if test="houseVolume != null" >
  1307. house_volume = #{houseVolume,jdbcType=REAL},
  1308. </if>
  1309. <if test="setType != null" >
  1310. set_type = #{setType,jdbcType=VARCHAR},
  1311. </if>
  1312. <if test="houseSpace != null" >
  1313. house_space = #{houseSpace,jdbcType=REAL},
  1314. </if>
  1315. <if test="type != null" >
  1316. type = #{type,jdbcType=VARCHAR},
  1317. </if>
  1318. <if test="number != null" >
  1319. number = #{number,jdbcType=INTEGER},
  1320. </if>
  1321. <if test="water != null" >
  1322. water = #{water,jdbcType=VARCHAR},
  1323. </if>
  1324. <if test="workTime != null" >
  1325. work_time = #{workTime,jdbcType=VARCHAR},
  1326. </if>
  1327. <if test="workDate != null" >
  1328. work_date = #{workDate,jdbcType=VARCHAR},
  1329. </if>
  1330. <if test="temperature != null" >
  1331. temperature = #{temperature,jdbcType=VARCHAR},
  1332. </if>
  1333. <if test="wormType != null" >
  1334. worm_type = #{wormType,jdbcType=VARCHAR},
  1335. </if>
  1336. <if test="sanqiApply != null" >
  1337. sanqi_apply = #{sanqiApply,jdbcType=VARCHAR},
  1338. </if>
  1339. <if test="tonicApply != null" >
  1340. tonic_apply = #{tonicApply,jdbcType=VARCHAR},
  1341. </if>
  1342. <if test="workApply != null" >
  1343. work_apply = #{workApply,jdbcType=VARCHAR},
  1344. </if>
  1345. <if test="airtemperature != null" >
  1346. airtemperature = #{airtemperature,jdbcType=VARCHAR},
  1347. </if>
  1348. <if test="weather != null" >
  1349. weather = #{weather,jdbcType=VARCHAR},
  1350. </if>
  1351. <if test="densityAfter != null" >
  1352. density_after = #{densityAfter,jdbcType=VARCHAR},
  1353. </if>
  1354. <if test="density != null" >
  1355. density = #{density,jdbcType=VARCHAR},
  1356. </if>
  1357. <if test="medicament != null" >
  1358. medicament = #{medicament,jdbcType=VARCHAR},
  1359. </if>
  1360. <if test="safeMethod != null" >
  1361. safe_method = #{safeMethod,jdbcType=VARCHAR},
  1362. </if>
  1363. <if test="safeEffect != null" >
  1364. safe_effect = #{safeEffect,jdbcType=VARCHAR},
  1365. </if>
  1366. <if test="section != null" >
  1367. section = #{section,jdbcType=VARCHAR},
  1368. </if>
  1369. <if test="safePeople != null" >
  1370. safe_people = #{safePeople,jdbcType=VARCHAR},
  1371. </if>
  1372. <if test="safeMan != null" >
  1373. safe_man = #{safeMan,jdbcType=VARCHAR},
  1374. </if>
  1375. <if test="workPeople != null" >
  1376. work_people = #{workPeople,jdbcType=VARCHAR},
  1377. </if>
  1378. <if test="charge != null" >
  1379. charge = #{charge,jdbcType=VARCHAR},
  1380. </if>
  1381. <if test="isDraft != null" >
  1382. is_draft = #{isDraft,jdbcType=VARCHAR},
  1383. </if>
  1384. <if test="workType != null" >
  1385. work_type = #{workType,jdbcType=VARCHAR},
  1386. </if>
  1387. <if test="aluminumNum != null" >
  1388. aluminum_num = #{aluminumNum,jdbcType=VARCHAR},
  1389. </if>
  1390. <if test="aluminumType != null" >
  1391. aluminum_type = #{aluminumType,jdbcType=VARCHAR},
  1392. </if>
  1393. <if test="setNum != null" >
  1394. set_num = #{setNum,jdbcType=INTEGER},
  1395. </if>
  1396. <if test="firstNum != null" >
  1397. first_num = #{firstNum,jdbcType=INTEGER},
  1398. </if>
  1399. <if test="totalNum != null" >
  1400. total_num = #{totalNum,jdbcType=INTEGER},
  1401. </if>
  1402. <if test="isAir != null" >
  1403. is_air = #{isAir,jdbcType=VARCHAR},
  1404. </if>
  1405. <if test="isClose != null" >
  1406. is_close = #{isClose,jdbcType=VARCHAR},
  1407. </if>
  1408. <if test="isAirSafe != null" >
  1409. is_air_safe = #{isAirSafe,jdbcType=VARCHAR},
  1410. </if>
  1411. <if test="isDetector != null" >
  1412. is_ detector = #{isDetector,jdbcType=VARCHAR},
  1413. </if>
  1414. <if test="isAlarm != null" >
  1415. is_alarm = #{isAlarm,jdbcType=VARCHAR},
  1416. </if>
  1417. <if test="isOxygen != null" >
  1418. is_oxygen = #{isOxygen,jdbcType=VARCHAR},
  1419. </if>
  1420. <if test="isRespirator != null" >
  1421. is_respirator = #{isRespirator,jdbcType=VARCHAR},
  1422. </if>
  1423. <if test="isWarning != null" >
  1424. is_warning = #{isWarning,jdbcType=VARCHAR},
  1425. </if>
  1426. <if test="isFire != null" >
  1427. is_fire = #{isFire,jdbcType=VARCHAR},
  1428. </if>
  1429. <if test="isElse != null" >
  1430. is_else = #{isElse,jdbcType=VARCHAR},
  1431. </if>
  1432. <if test="isDevice != null" >
  1433. is_device = #{isDevice,jdbcType=VARCHAR},
  1434. </if>
  1435. <if test="isKit != null" >
  1436. is_kit = #{isKit,jdbcType=VARCHAR},
  1437. </if>
  1438. <if test="checkPeople != null" >
  1439. check_people = #{checkPeople,jdbcType=VARCHAR},
  1440. </if>
  1441. <if test="checkClose != null" >
  1442. check_close = #{checkClose,jdbcType=VARCHAR},
  1443. </if>
  1444. <if test="checkWarning != null" >
  1445. check_warning = #{checkWarning,jdbcType=VARCHAR},
  1446. </if>
  1447. <if test="circleTotal != null" >
  1448. circle_total = #{circleTotal,jdbcType=VARCHAR},
  1449. </if>
  1450. <if test="circleEnd != null" >
  1451. circle_end = #{circleEnd,jdbcType=VARCHAR},
  1452. </if>
  1453. <if test="circleStart != null" >
  1454. circle_start = #{circleStart,jdbcType=VARCHAR},
  1455. </if>
  1456. <if test="circleType != null" >
  1457. circle_type = #{circleType,jdbcType=VARCHAR},
  1458. </if>
  1459. <if test="checkWork != null" >
  1460. check_work = #{checkWork,jdbcType=VARCHAR},
  1461. </if>
  1462. <if test="tonicDate != null" >
  1463. tonic_date = #{tonicDate,jdbcType=VARCHAR},
  1464. </if>
  1465. <if test="tonicTime != null" >
  1466. tonic_time = #{tonicTime,jdbcType=VARCHAR},
  1467. </if>
  1468. <if test="tonicApprove != null" >
  1469. tonic_approve = #{tonicApprove,jdbcType=VARCHAR},
  1470. </if>
  1471. <if test="tonicAppUser != null" >
  1472. tonic_app_user = #{tonicAppUser,jdbcType=VARCHAR},
  1473. </if>
  1474. <if test="isCloseConfirm != null" >
  1475. is_close_confirm = #{isCloseConfirm,jdbcType=VARCHAR},
  1476. </if>
  1477. <if test="isAlarmConfirm != null" >
  1478. is_alarm_confirm = #{isAlarmConfirm,jdbcType=VARCHAR},
  1479. </if>
  1480. <if test="isDetectorConfirm != null" >
  1481. is_ detector_confirm = #{isDetectorConfirm,jdbcType=VARCHAR},
  1482. </if>
  1483. <if test="isKitConfirm != null" >
  1484. is_kit_confirm = #{isKitConfirm,jdbcType=VARCHAR},
  1485. </if>
  1486. <if test="isFireConfirm != null" >
  1487. is_fire_confirm = #{isFireConfirm,jdbcType=VARCHAR},
  1488. </if>
  1489. <if test="isRespiratorConfirm != null" >
  1490. is_respirator_confirm = #{isRespiratorConfirm,jdbcType=VARCHAR},
  1491. </if>
  1492. <if test="isFanConfirm != null" >
  1493. is_fan_confirm = #{isFanConfirm,jdbcType=VARCHAR},
  1494. </if>
  1495. <if test="isDeviceConfirm != null" >
  1496. is_device_confirm = #{isDeviceConfirm,jdbcType=VARCHAR},
  1497. </if>
  1498. <if test="tonicTotalNum != null" >
  1499. tonic_total_num = #{tonicTotalNum,jdbcType=INTEGER},
  1500. </if>
  1501. <if test="tonicTotal != null" >
  1502. tonic_total = #{tonicTotal,jdbcType=VARCHAR},
  1503. </if>
  1504. <if test="tonicElseNum != null" >
  1505. tonic_else_num = #{tonicElseNum,jdbcType=INTEGER},
  1506. </if>
  1507. <if test="tonicSecNum != null" >
  1508. tonic_sec_num = #{tonicSecNum,jdbcType=INTEGER},
  1509. </if>
  1510. <if test="tonicFirstNum != null" >
  1511. tonic_first_num = #{tonicFirstNum,jdbcType=INTEGER},
  1512. </if>
  1513. <if test="tonicSetNum != null" >
  1514. tonic_set_num = #{tonicSetNum,jdbcType=INTEGER},
  1515. </if>
  1516. <if test="tonicType != null" >
  1517. tonic_type = #{tonicType,jdbcType=VARCHAR},
  1518. </if>
  1519. <if test="checkPeopleConfirm != null" >
  1520. check_people_confirm = #{checkPeopleConfirm,jdbcType=VARCHAR},
  1521. </if>
  1522. <if test="sanqiDate != null" >
  1523. sanqi_date = #{sanqiDate,jdbcType=VARCHAR},
  1524. </if>
  1525. <if test="sanqiTime != null" >
  1526. sanqi_time = #{sanqiTime,jdbcType=VARCHAR},
  1527. </if>
  1528. <if test="sanqiType != null" >
  1529. sanqi_type = #{sanqiType,jdbcType=VARCHAR},
  1530. </if>
  1531. <if test="sanqiApproveUser != null" >
  1532. sanqi_approve_user = #{sanqiApproveUser,jdbcType=VARCHAR},
  1533. </if>
  1534. <if test="sanqiBz != null" >
  1535. sanqi_bz = #{sanqiBz,jdbcType=VARCHAR},
  1536. </if>
  1537. <if test="phosphineCheck != null" >
  1538. phosphine_check = #{phosphineCheck,jdbcType=VARCHAR},
  1539. </if>
  1540. <if test="houseOpen != null" >
  1541. house_open = #{houseOpen,jdbcType=VARCHAR},
  1542. </if>
  1543. <if test="checkPeopleThree != null" >
  1544. check_people_three = #{checkPeopleThree,jdbcType=VARCHAR},
  1545. </if>
  1546. <if test="sanqiUser != null" >
  1547. sanqi_user = #{sanqiUser,jdbcType=VARCHAR},
  1548. </if>
  1549. <if test="medicSet != null" >
  1550. medic_set = #{medicSet,jdbcType=VARCHAR},
  1551. </if>
  1552. <if test="densityRate != null" >
  1553. density_rate = #{densityRate,jdbcType=VARCHAR},
  1554. </if>
  1555. <if test="closeDay != null" >
  1556. close_day = #{closeDay,jdbcType=VARCHAR},
  1557. </if>
  1558. <if test="temperatureAfter != null" >
  1559. temperature_after = #{temperatureAfter,jdbcType=VARCHAR},
  1560. </if>
  1561. <if test="phosphineRemain != null" >
  1562. phosphine_remain = #{phosphineRemain,jdbcType=VARCHAR},
  1563. </if>
  1564. <if test="remark != null" >
  1565. remark = #{remark,jdbcType=VARCHAR},
  1566. </if>
  1567. <if test="cId != null" >
  1568. c_id = #{cId,jdbcType=INTEGER},
  1569. </if>
  1570. <if test="cTime != null" >
  1571. c_time = #{cTime,jdbcType=TIMESTAMP},
  1572. </if>
  1573. <if test="uId != null" >
  1574. u_id = #{uId,jdbcType=INTEGER},
  1575. </if>
  1576. <if test="uTime != null" >
  1577. u_time = #{uTime,jdbcType=TIMESTAMP},
  1578. </if>
  1579. </set>
  1580. where id = #{id,jdbcType=INTEGER}
  1581. </update>
  1582. <update id="updateByPrimaryKey" parameterType="cn.ourwill.module.house.entity.new_entity.DailyRecordFumigationCircleNew" >
  1583. update daily_record_fumigation_circle_new
  1584. set house_id = #{houseId,jdbcType=INTEGER},
  1585. grain_id = #{grainId,jdbcType=INTEGER},
  1586. safe_date = #{safeDate,jdbcType=VARCHAR},
  1587. house_type = #{houseType,jdbcType=VARCHAR},
  1588. house_water = #{houseWater,jdbcType=VARCHAR},
  1589. house_temperature = #{houseTemperature,jdbcType=VARCHAR},
  1590. house_volume = #{houseVolume,jdbcType=REAL},
  1591. set_type = #{setType,jdbcType=VARCHAR},
  1592. house_space = #{houseSpace,jdbcType=REAL},
  1593. type = #{type,jdbcType=VARCHAR},
  1594. number = #{number,jdbcType=INTEGER},
  1595. water = #{water,jdbcType=VARCHAR},
  1596. work_time = #{workTime,jdbcType=VARCHAR},
  1597. work_date = #{workDate,jdbcType=VARCHAR},
  1598. temperature = #{temperature,jdbcType=VARCHAR},
  1599. worm_type = #{wormType,jdbcType=VARCHAR},
  1600. sanqi_apply = #{sanqiApply,jdbcType=VARCHAR},
  1601. tonic_apply = #{tonicApply,jdbcType=VARCHAR},
  1602. work_apply = #{workApply,jdbcType=VARCHAR},
  1603. airtemperature = #{airtemperature,jdbcType=VARCHAR},
  1604. weather = #{weather,jdbcType=VARCHAR},
  1605. density_after = #{densityAfter,jdbcType=VARCHAR},
  1606. density = #{density,jdbcType=VARCHAR},
  1607. medicament = #{medicament,jdbcType=VARCHAR},
  1608. safe_method = #{safeMethod,jdbcType=VARCHAR},
  1609. safe_effect = #{safeEffect,jdbcType=VARCHAR},
  1610. section = #{section,jdbcType=VARCHAR},
  1611. safe_people = #{safePeople,jdbcType=VARCHAR},
  1612. safe_man = #{safeMan,jdbcType=VARCHAR},
  1613. work_people = #{workPeople,jdbcType=VARCHAR},
  1614. charge = #{charge,jdbcType=VARCHAR},
  1615. is_draft = #{isDraft,jdbcType=VARCHAR},
  1616. work_type = #{workType,jdbcType=VARCHAR},
  1617. aluminum_num = #{aluminumNum,jdbcType=VARCHAR},
  1618. aluminum_type = #{aluminumType,jdbcType=VARCHAR},
  1619. set_num = #{setNum,jdbcType=INTEGER},
  1620. first_num = #{firstNum,jdbcType=INTEGER},
  1621. total_num = #{totalNum,jdbcType=INTEGER},
  1622. is_air = #{isAir,jdbcType=VARCHAR},
  1623. is_close = #{isClose,jdbcType=VARCHAR},
  1624. is_air_safe = #{isAirSafe,jdbcType=VARCHAR},
  1625. is_ detector = #{isDetector,jdbcType=VARCHAR},
  1626. is_alarm = #{isAlarm,jdbcType=VARCHAR},
  1627. is_oxygen = #{isOxygen,jdbcType=VARCHAR},
  1628. is_respirator = #{isRespirator,jdbcType=VARCHAR},
  1629. is_warning = #{isWarning,jdbcType=VARCHAR},
  1630. is_fire = #{isFire,jdbcType=VARCHAR},
  1631. is_else = #{isElse,jdbcType=VARCHAR},
  1632. is_device = #{isDevice,jdbcType=VARCHAR},
  1633. is_kit = #{isKit,jdbcType=VARCHAR},
  1634. check_people = #{checkPeople,jdbcType=VARCHAR},
  1635. check_close = #{checkClose,jdbcType=VARCHAR},
  1636. check_warning = #{checkWarning,jdbcType=VARCHAR},
  1637. circle_total = #{circleTotal,jdbcType=VARCHAR},
  1638. circle_end = #{circleEnd,jdbcType=VARCHAR},
  1639. circle_start = #{circleStart,jdbcType=VARCHAR},
  1640. circle_type = #{circleType,jdbcType=VARCHAR},
  1641. check_work = #{checkWork,jdbcType=VARCHAR},
  1642. tonic_date = #{tonicDate,jdbcType=VARCHAR},
  1643. tonic_time = #{tonicTime,jdbcType=VARCHAR},
  1644. tonic_approve = #{tonicApprove,jdbcType=VARCHAR},
  1645. tonic_app_user = #{tonicAppUser,jdbcType=VARCHAR},
  1646. is_close_confirm = #{isCloseConfirm,jdbcType=VARCHAR},
  1647. is_alarm_confirm = #{isAlarmConfirm,jdbcType=VARCHAR},
  1648. is_ detector_confirm = #{isDetectorConfirm,jdbcType=VARCHAR},
  1649. is_kit_confirm = #{isKitConfirm,jdbcType=VARCHAR},
  1650. is_fire_confirm = #{isFireConfirm,jdbcType=VARCHAR},
  1651. is_respirator_confirm = #{isRespiratorConfirm,jdbcType=VARCHAR},
  1652. is_fan_confirm = #{isFanConfirm,jdbcType=VARCHAR},
  1653. is_device_confirm = #{isDeviceConfirm,jdbcType=VARCHAR},
  1654. tonic_total_num = #{tonicTotalNum,jdbcType=INTEGER},
  1655. tonic_total = #{tonicTotal,jdbcType=VARCHAR},
  1656. tonic_else_num = #{tonicElseNum,jdbcType=INTEGER},
  1657. tonic_sec_num = #{tonicSecNum,jdbcType=INTEGER},
  1658. tonic_first_num = #{tonicFirstNum,jdbcType=INTEGER},
  1659. tonic_set_num = #{tonicSetNum,jdbcType=INTEGER},
  1660. tonic_type = #{tonicType,jdbcType=VARCHAR},
  1661. check_people_confirm = #{checkPeopleConfirm,jdbcType=VARCHAR},
  1662. sanqi_date = #{sanqiDate,jdbcType=VARCHAR},
  1663. sanqi_time = #{sanqiTime,jdbcType=VARCHAR},
  1664. sanqi_type = #{sanqiType,jdbcType=VARCHAR},
  1665. sanqi_approve_user = #{sanqiApproveUser,jdbcType=VARCHAR},
  1666. sanqi_bz = #{sanqiBz,jdbcType=VARCHAR},
  1667. phosphine_check = #{phosphineCheck,jdbcType=VARCHAR},
  1668. house_open = #{houseOpen,jdbcType=VARCHAR},
  1669. check_people_three = #{checkPeopleThree,jdbcType=VARCHAR},
  1670. sanqi_user = #{sanqiUser,jdbcType=VARCHAR},
  1671. medic_set = #{medicSet,jdbcType=VARCHAR},
  1672. density_rate = #{densityRate,jdbcType=VARCHAR},
  1673. close_day = #{closeDay,jdbcType=VARCHAR},
  1674. temperature_after = #{temperatureAfter,jdbcType=VARCHAR},
  1675. phosphine_remain = #{phosphineRemain,jdbcType=VARCHAR},
  1676. remark = #{remark,jdbcType=VARCHAR},
  1677. c_id = #{cId,jdbcType=INTEGER},
  1678. c_time = #{cTime,jdbcType=TIMESTAMP},
  1679. u_id = #{uId,jdbcType=INTEGER},
  1680. u_time = #{uTime,jdbcType=TIMESTAMP}
  1681. where id = #{id,jdbcType=INTEGER}
  1682. </update>
  1683. </mapper>