DailyRecordQualitycheckFileDao.xml 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520
  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.dao.daily.DailyRecordQualitycheckFileDao">
  4. <resultMap type="cn.ourwill.module.house.entity.daily.DailyRecordQualitycheckFile" id="baseMap">
  5. <result column="id" property="id"/>
  6. <result column="house_id" property="houseId"/>
  7. <result column="type" property="type"/>
  8. <result column="sub_type" property="subType"/>
  9. <result column="check_time" property="checkTime"/>
  10. <result column="checker" property="checker"/>
  11. <result column="quality_index" property="qualityIndex"/>
  12. <result column="bad_items" property="badItems"/>
  13. <result column="level" property="level"/>
  14. <result column="capacity" property="capacity"/>
  15. <result column="water" property="water"/>
  16. <result column="impurity" property="impurity"/>
  17. <result column="mineral" property="mineral"/>
  18. <result column="badpart" property="badpart"/>
  19. <result column="colorsmell" property="colorsmell"/>
  20. <result column="keeper_advices" property="keeperAdvices"/>
  21. <result column="keeper_advices_time" property="keeperAdvicesTime"/>
  22. <result column="keeper_advices_paint" property="keeperAdvicesPaint"/>
  23. <result column="chief_advices" property="chiefAdvices"/>
  24. <result column="chief_advices_time" property="chiefAdvicesTime"/>
  25. <result column="chiet_advices_paint" property="chietAdvicesPaint"/>
  26. <result column="vice_manager_advices" property="viceManagerAdvices"/>
  27. <result column="vice_manager_advices_time" property="viceManagerAdvicesTime"/>
  28. <result column="vice_manager_advices_paint" property="viceManagerAdvicesPaint"/>
  29. <result column="manager_advices" property="managerAdvices"/>
  30. <result column="manager_advices_time" property="managerAdvicesTime"/>
  31. <result column="manager_advices_paint" property="managerAdvicesPaint"/>
  32. <result column="improve_result" property="improveResult"/>
  33. <result column="improve_time" property="improveTime"/>
  34. <result column="improve_paint" property="improvePaint"/>
  35. <result column="is_firstchecklevel_right" property="isFirstchecklevelRight"/>
  36. <result column="accept_unite" property="acceptUnite"/>
  37. <result column="kind" property="kind"/>
  38. <result column="property" property="property"/>
  39. <result column="input_time" property="inputTime"/>
  40. <result column="number" property="number"/>
  41. <result column="location" property="location"/>
  42. <result column="keeper" property="keeper"/>
  43. <result column="harvest_time" property="harvestTime"/>
  44. <result column="goodpart" property="goodpart"/>
  45. <result column="chooser" property="chooser"/>
  46. <result column="choose_time" property="chooseTime"/>
  47. <result column="damage_ratio_sum" property="damageRatioSum"/>
  48. <result column="boldfat_index" property="boldfatIndex"/>
  49. <result column="check_type" property="checkType"/>
  50. <result column="hot_damage" property="hotDamage"/>
  51. <result column="protein_solution_ratio" property="proteinSolutionRatio"/>
  52. <result column="quality_index_result" property="qualityIndexResult"/>
  53. <result column="quality_save_result" property="qualitySaveResult"/>
  54. <result column="badpart_sum" property="badpartSum"/>
  55. <result column="badpart_mildew_count" property="badpartMildewCount"/>
  56. <result column="eat_score" property="eatScore"/>
  57. <result column="fat_index" property="fatIndex"/>
  58. <result column="husked_ration" property="huskedRation"/>
  59. <result column="full_good_ration" property="fullGoodRation"/>
  60. <result column="mix_ration" property="mixRation"/>
  61. <result column="yellow_part" property="yellowPart"/>
  62. <result column="out_husked_ration" property="outHuskedRation"/>
  63. <result column="car_sequence" property="carSequence"/>
  64. <result column="big_sample" property="bigSample"/>
  65. <result column="small_sample" property="smallSample"/>
  66. <result column="pests" property="pests"/>
  67. <result column="impurty_sum" property="impurtySum"/>
  68. <result column="big_impurity" property="bigImpurity"/>
  69. <result column="small_impurity" property="smallImpurity"/>
  70. <result column="color_ratio" property="colorRatio"/>
  71. <result column="hard_index" property="hardIndex"/>
  72. <result column="viscosity" property="viscosity"/>
  73. <result column="bechecked_unite" property="becheckedUnite"/>
  74. <result column="samle_name" property="samleName"/>
  75. <result column="sample_count" property="sampleCount"/>
  76. <result column="pack_type" property="packType"/>
  77. <result column="choose_location" property="chooseLocation"/>
  78. <result column="gluten_water_count" property="glutenWaterCount"/>
  79. <result column="remarks" property="remarks"/>
  80. <result column="writer" property="writer"/>
  81. <result column="approver" property="approver"/>
  82. <result column="check_result" property="checkResult"/>
  83. <result column="check_result_info" property="checkResultInfo"/>
  84. <result column="c_id" property="cId"/>
  85. <result column="u_id" property="uId"/>
  86. <result column="c_time" property="cTime"/>
  87. <result column="u_time" property="uTime"/>
  88. <result column="version" property="version"/>
  89. <result column="uuid" property="uuid"/>
  90. <result column="impurity_mineral" property="impurityMineral"/>
  91. <result column="mildew_count" property="mildewCount"/>
  92. <result column="ab_color_ratio" property="abColorRatio"/>
  93. <result column="damage_ratio" property="damageRatio"/>
  94. <result column="hot_damage_ratio" property="hotDamageRatio"/>
  95. <result column="clean_rice" property="cleanRice"/>
  96. <result column="husked_rice_weight" property="huskedRiceWeight"/>
  97. <result column="ab_type_rice" property="abTypeRice"/>
  98. <result column="bud_shell_rice" property="budShellRice"/>
  99. <result column="husked_badpart_weight" property="huskedBadpartWeight"/>
  100. <result column="capacity_result" property="capacityResult"/>
  101. <result column="badpart_mildew_count_result" property="badpartMildewCountResult"/>
  102. <result column="impurity_result" property="impurityResult"/>
  103. <result column="fat_index_result" property="fatIndexResult"/>
  104. <result column="water_result" property="waterResult"/>
  105. <result column="eat_score_result" property="eatScoreResult"/>
  106. <result column="aflatoxin_b" property="aflatoxinB"/>
  107. <result column="aflatoxin_b_result" property="aflatoxinBResult"/>
  108. <result column="phosphide" property="phosphide"/>
  109. <result column="phosphide_result" property="phosphideResult"/>
  110. <result column="checktype_result" property="checktypeResult"/>
  111. <result column="colorsmell_result" property="colorsmellResult"/>
  112. <result column="badpart_result" property="badpartResult"/>
  113. <result column="impurty_sum_result" property="impurtySumResult"/>
  114. <result column="mineral_result" property="mineralResult"/>
  115. <result column="gluten_water_count_result" property="glutenWaterCountResult"/>
  116. <result column="viscosity_result" property="viscosityResult"/>
  117. <result column="husked_ration_result" property="huskedRationResult"/>
  118. <result column="full_good_ration_result" property="fullGoodRationResult"/>
  119. <result column="out_husked_ration_result" property="outHuskedRationResult"/>
  120. <result column="yellow_part_result" property="yellowPartResult"/>
  121. <result column="goodpart_result" property="goodpartResult"/>
  122. <result column="hot_damage_result" property="hotDamageResult"/>
  123. <result column="boldfat_index_result" property="boldfatIndexResult"/>
  124. <result column="protein_solution_ratio_result" property="proteinSolutionRatioResult"/>
  125. <result column="reviewer" property="reviewer"/>
  126. <result column="apply_check_time" property="applyCheckTime"/>
  127. <result column="check_time_type" property="checkTimeType"/>
  128. <result column="check_result_time" property="checkResultTime"/>
  129. <result column="store_quality" property="storeQuality"/>
  130. <result column="is_pest" property="isPest"/>
  131. <result column="deducted_conditions" property="deductedConditions"/>
  132. <result column="input_deducted_info" property="inputDeductedInfo"/>
  133. <result column="water_deducted_info" property="waterDeductedInfo"/>
  134. <result column="impurity_deducted_info" property="impurityDeductedInfo"/>
  135. <result column="other_deducted_info" property="otherDeductedInfo"/>
  136. <result column="deducted_pic" property="deductedPic"/>
  137. <result column="water_tips_flag" property="waterTipsFlag"/>
  138. <result column="file_uuid" property="fileUuid"/>
  139. </resultMap>
  140. <sql id="columns">
  141. id ,
  142. house_id ,
  143. `type` ,
  144. sub_type ,
  145. check_time ,
  146. checker ,
  147. quality_index ,
  148. bad_items ,
  149. `level` ,
  150. capacity ,
  151. water ,
  152. impurity ,
  153. mineral ,
  154. badpart ,
  155. colorsmell ,
  156. keeper_advices ,
  157. keeper_advices_time ,
  158. keeper_advices_paint,
  159. chief_advices ,
  160. chief_advices_time ,
  161. chiet_advices_paint,
  162. vice_manager_advices ,
  163. vice_manager_advices_time ,
  164. vice_manager_advices_paint,
  165. manager_advices ,
  166. manager_advices_time ,
  167. manager_advices_paint,
  168. improve_result ,
  169. improve_time ,
  170. improve_paint,
  171. is_firstchecklevel_right ,
  172. accept_unite ,
  173. kind ,
  174. property ,
  175. input_time ,
  176. `number` ,
  177. location ,
  178. keeper ,
  179. harvest_time ,
  180. goodpart ,
  181. chooser ,
  182. choose_time ,
  183. damage_ratio_sum ,
  184. boldfat_index ,
  185. check_type ,
  186. hot_damage ,
  187. protein_solution_ratio ,
  188. quality_index_result ,
  189. quality_save_result ,
  190. badpart_sum ,
  191. badpart_mildew_count ,
  192. eat_score ,
  193. fat_index ,
  194. husked_ration ,
  195. full_good_ration ,
  196. mix_ration ,
  197. yellow_part ,
  198. out_husked_ration ,
  199. car_sequence ,
  200. big_sample ,
  201. small_sample ,
  202. pests ,
  203. impurty_sum ,
  204. big_impurity ,
  205. small_impurity ,
  206. color_ratio ,
  207. hard_index ,
  208. viscosity ,
  209. bechecked_unite ,
  210. samle_name ,
  211. sample_count ,
  212. pack_type ,
  213. choose_location ,
  214. gluten_water_count ,
  215. remarks ,
  216. writer ,
  217. approver ,
  218. check_result ,
  219. check_result_info ,
  220. c_id ,
  221. u_id ,
  222. c_time ,
  223. u_time ,
  224. version ,
  225. uuid ,
  226. impurity_mineral ,
  227. mildew_count ,
  228. ab_color_ratio ,
  229. damage_ratio ,
  230. hot_damage_ratio ,
  231. clean_rice ,
  232. husked_rice_weight ,
  233. ab_type_rice ,
  234. bud_shell_rice ,
  235. husked_badpart_weight ,
  236. capacity_result ,
  237. badpart_mildew_count_result ,
  238. impurity_result ,
  239. fat_index_result ,
  240. water_result ,
  241. eat_score_result ,
  242. aflatoxin_b ,
  243. aflatoxin_b_result ,
  244. phosphide ,
  245. phosphide_result ,
  246. checktype_result ,
  247. colorsmell_result ,
  248. badpart_result ,
  249. impurty_sum_result ,
  250. mineral_result ,
  251. gluten_water_count_result ,
  252. viscosity_result ,
  253. husked_ration_result ,
  254. full_good_ration_result ,
  255. out_husked_ration_result ,
  256. yellow_part_result ,
  257. goodpart_result ,
  258. hot_damage_result ,
  259. boldfat_index_result ,
  260. protein_solution_ratio_result ,
  261. reviewer,
  262. apply_check_time,
  263. check_time_type,
  264. check_result_time,
  265. store_quality,
  266. is_pest,
  267. deducted_conditions,
  268. input_deducted_info,
  269. water_deducted_info,
  270. impurity_deducted_info,
  271. other_deducted_info,
  272. deducted_pic,
  273. water_tips_flag,
  274. file_uuid
  275. </sql>
  276. <sql id="staticColumns">
  277. a.id ,
  278. a.house_id ,
  279. a.`type` ,
  280. a.sub_type ,
  281. a.check_time ,
  282. a.checker ,
  283. a.quality_index ,
  284. a.bad_items ,
  285. a.`level` ,
  286. a.capacity ,
  287. a.water ,
  288. a.impurity ,
  289. a.mineral ,
  290. a.badpart ,
  291. a.colorsmell ,
  292. a.keeper_advices ,
  293. a.keeper_advices_time ,
  294. a.keeper_advices_paint,
  295. a.chief_advices ,
  296. a.chief_advices_time ,
  297. a.chiet_advices_paint,
  298. a.vice_manager_advices ,
  299. a.vice_manager_advices_time ,
  300. a.vice_manager_advices_paint,
  301. a.manager_advices ,
  302. a.manager_advices_time ,
  303. a.manager_advices_paint,
  304. a.improve_result ,
  305. a.improve_time ,
  306. a.improve_paint,
  307. a.is_firstchecklevel_right ,
  308. a.accept_unite ,
  309. a.kind ,
  310. a.property ,
  311. a.input_time ,
  312. a.`number` ,
  313. a.location ,
  314. a.keeper ,
  315. a.harvest_time ,
  316. a.goodpart ,
  317. a.chooser ,
  318. a.choose_time ,
  319. a.damage_ratio_sum ,
  320. a.boldfat_index ,
  321. a.check_type ,
  322. a.hot_damage ,
  323. a.protein_solution_ratio ,
  324. a.quality_index_result ,
  325. a.quality_save_result ,
  326. a.badpart_sum ,
  327. a.badpart_mildew_count ,
  328. a.eat_score ,
  329. a.fat_index ,
  330. a.husked_ration ,
  331. a.full_good_ration ,
  332. a.mix_ration ,
  333. a.yellow_part ,
  334. a.out_husked_ration ,
  335. a.car_sequence ,
  336. a.big_sample ,
  337. a.small_sample ,
  338. a.pests ,
  339. a.impurty_sum ,
  340. a.big_impurity ,
  341. a.small_impurity ,
  342. a.color_ratio ,
  343. a.hard_index ,
  344. a.viscosity ,
  345. a.bechecked_unite ,
  346. a.samle_name ,
  347. a.sample_count ,
  348. a.pack_type ,
  349. a.choose_location ,
  350. a.gluten_water_count ,
  351. a.remarks ,
  352. a.writer ,
  353. a.approver ,
  354. a.check_result ,
  355. a.check_result_info ,
  356. a.c_id ,
  357. a.u_id ,
  358. a.c_time ,
  359. a.u_time ,
  360. a.version ,
  361. a.uuid ,
  362. a.impurity_mineral ,
  363. a.mildew_count ,
  364. a.ab_color_ratio ,
  365. a.damage_ratio ,
  366. a.hot_damage_ratio ,
  367. a.clean_rice ,
  368. a.husked_rice_weight ,
  369. a.ab_type_rice ,
  370. a.bud_shell_rice ,
  371. a.husked_badpart_weight ,
  372. a.capacity_result ,
  373. a.badpart_mildew_count_result ,
  374. a.impurity_result ,
  375. a.fat_index_result ,
  376. a.water_result ,
  377. a.eat_score_result ,
  378. a.aflatoxin_b ,
  379. a.aflatoxin_b_result ,
  380. a.phosphide ,
  381. a.phosphide_result ,
  382. a.checktype_result ,
  383. a.colorsmell_result ,
  384. a.badpart_result ,
  385. a.impurty_sum_result ,
  386. a.mineral_result ,
  387. a.gluten_water_count_result ,
  388. a.viscosity_result ,
  389. a.husked_ration_result ,
  390. a.full_good_ration_result ,
  391. a.out_husked_ration_result ,
  392. a.yellow_part_result ,
  393. a.goodpart_result ,
  394. a.hot_damage_result ,
  395. a.boldfat_index_result ,
  396. a.protein_solution_ratio_result ,
  397. a.reviewer,
  398. a.apply_check_time,
  399. a.check_time_type,
  400. a.check_result_time,
  401. a.store_quality,
  402. a.is_pest,
  403. a.deducted_conditions,
  404. a.input_deducted_info,
  405. a.water_deducted_info,
  406. a.impurity_deducted_info,
  407. a.other_deducted_info,
  408. a.deducted_pic,
  409. a.water_tips_flag
  410. </sql>
  411. <sql id="joinCols">
  412. </sql>
  413. <select id="get" resultMap="baseMap">
  414. SELECT
  415. <include refid="columns"/>
  416. FROM daily_record_qualitycheck_file a
  417. <include refid="joinCols"/>
  418. WHERE a.id = #{id}
  419. </select>
  420. <select id="findList" resultMap="baseMap">
  421. SELECT
  422. <include refid="columns"/>
  423. FROM daily_record_qualitycheck_file a
  424. <include refid="joinCols"/>
  425. <where>
  426. <if test="id !=null">
  427. and id = #{id}
  428. </if>
  429. <if test="searchStartDate !=null">
  430. and a.check_time <![CDATA[ >= ]]> #{searchStartDate}
  431. </if>
  432. <if test="searchEndDate !=null">
  433. and a.check_time &lt;= #{searchEndDate}
  434. </if>
  435. <if test="houseId !=null">
  436. and house_id = #{houseId}
  437. </if>
  438. <if test="type !=null">
  439. and `type` = #{type}
  440. </if>
  441. <if test="subType !=null">
  442. and sub_type = #{subType}
  443. </if>
  444. <if test="checkTime !=null">
  445. and check_time = #{checkTime}
  446. </if>
  447. <if test="checker !=null">
  448. and checker = #{checker}
  449. </if>
  450. <if test="qualityIndex !=null">
  451. and quality_index = #{qualityIndex}
  452. </if>
  453. <if test="badItems !=null">
  454. and bad_items = #{badItems}
  455. </if>
  456. <if test="level !=null">
  457. and `level` = #{level}
  458. </if>
  459. <if test="capacity !=null">
  460. and capacity = #{capacity}
  461. </if>
  462. <if test="water !=null">
  463. and water = #{water}
  464. </if>
  465. <if test="impurity !=null">
  466. and impurity = #{impurity}
  467. </if>
  468. <if test="mineral !=null">
  469. and mineral = #{mineral}
  470. </if>
  471. <if test="badpart !=null">
  472. and badpart = #{badpart}
  473. </if>
  474. <if test="colorsmell !=null">
  475. and colorsmell = #{colorsmell}
  476. </if>
  477. <if test="keeperAdvices !=null">
  478. and keeper_advices = #{keeperAdvices}
  479. </if>
  480. <if test="keeperAdvicesTime !=null">
  481. and keeper_advices_time = #{keeperAdvicesTime}
  482. </if>
  483. <if test="keeperAdvicesPaint !=null">
  484. and keeper_advices_paint = #{keeperAdvicesPaint}
  485. </if>
  486. <if test="chiefAdvices !=null">
  487. and chief_advices = #{chiefAdvices}
  488. </if>
  489. <if test="chiefAdvicesTime !=null">
  490. and chief_advices_time = #{chiefAdvicesTime}
  491. </if>
  492. <if test="chietAdvicesPaint !=null">
  493. and chiet_advices_paint = #{chietAdvicesPaint}
  494. </if>
  495. <if test="viceManagerAdvices !=null">
  496. and vice_manager_advices = #{viceManagerAdvices}
  497. </if>
  498. <if test="viceManagerAdvicesTime !=null">
  499. and vice_manager_advices_time = #{viceManagerAdvicesTime}
  500. </if>
  501. <if test="viceManagerAdvicesPaint !=null">
  502. and vice_manager_advices_paint = #{viceManagerAdvicesPaint}
  503. </if>
  504. <if test="managerAdvices !=null">
  505. and manager_advices = #{managerAdvices}
  506. </if>
  507. <if test="managerAdvicesTime !=null">
  508. and manager_advices_time = #{managerAdvicesTime}
  509. </if>
  510. <if test="managerAdvicesPaint !=null">
  511. and manager_advices_paint = #{managerAdvicesPaint}
  512. </if>
  513. <if test="improveResult !=null">
  514. and improve_result = #{improveResult}
  515. </if>
  516. <if test="improveTime !=null">
  517. and improve_time = #{improveTime}
  518. </if>
  519. <if test="improvePaint !=null">
  520. and improve_paint = #{improvePaint}
  521. </if>
  522. <if test="isFirstchecklevelRight !=null">
  523. and is_firstchecklevel_right = #{isFirstchecklevelRight}
  524. </if>
  525. <if test="acceptUnite !=null">
  526. and accept_unite = #{acceptUnite}
  527. </if>
  528. <if test="kind !=null">
  529. and kind = #{kind}
  530. </if>
  531. <if test="property !=null">
  532. and property = #{property}
  533. </if>
  534. <if test="inputTime !=null">
  535. and input_time = #{inputTime}
  536. </if>
  537. <if test="number !=null">
  538. and `number` = #{number}
  539. </if>
  540. <if test="location !=null">
  541. and location = #{location}
  542. </if>
  543. <if test="keeper !=null">
  544. and keeper = #{keeper}
  545. </if>
  546. <if test="harvestTime !=null">
  547. and harvest_time = #{harvestTime}
  548. </if>
  549. <if test="goodpart !=null">
  550. and goodpart = #{goodpart}
  551. </if>
  552. <if test="chooser !=null">
  553. and chooser = #{chooser}
  554. </if>
  555. <if test="chooseTime !=null">
  556. and choose_time = #{chooseTime}
  557. </if>
  558. <if test="damageRatioSum !=null">
  559. and damage_ratio_sum = #{damageRatioSum}
  560. </if>
  561. <if test="boldfatIndex !=null">
  562. and boldfat_index = #{boldfatIndex}
  563. </if>
  564. <if test="checkType !=null">
  565. and check_type = #{checkType}
  566. </if>
  567. <if test="hotDamage !=null">
  568. and hot_damage = #{hotDamage}
  569. </if>
  570. <if test="proteinSolutionRatio !=null">
  571. and protein_solution_ratio = #{proteinSolutionRatio}
  572. </if>
  573. <if test="qualityIndexResult !=null">
  574. and quality_index_result = #{qualityIndexResult}
  575. </if>
  576. <if test="qualitySaveResult !=null">
  577. and quality_save_result = #{qualitySaveResult}
  578. </if>
  579. <if test="badpartSum !=null">
  580. and badpart_sum = #{badpartSum}
  581. </if>
  582. <if test="badpartMildewCount !=null">
  583. and badpart_mildew_count = #{badpartMildewCount}
  584. </if>
  585. <if test="eatScore !=null">
  586. and eat_score = #{eatScore}
  587. </if>
  588. <if test="fatIndex !=null">
  589. and fat_index = #{fatIndex}
  590. </if>
  591. <if test="huskedRation !=null">
  592. and husked_ration = #{huskedRation}
  593. </if>
  594. <if test="fullGoodRation !=null">
  595. and full_good_ration = #{fullGoodRation}
  596. </if>
  597. <if test="mixRation !=null">
  598. and mix_ration = #{mixRation}
  599. </if>
  600. <if test="yellowPart !=null">
  601. and yellow_part = #{yellowPart}
  602. </if>
  603. <if test="outHuskedRation !=null">
  604. and out_husked_ration = #{outHuskedRation}
  605. </if>
  606. <if test="carSequence !=null">
  607. and car_sequence = #{carSequence}
  608. </if>
  609. <if test="bigSample !=null">
  610. and big_sample = #{bigSample}
  611. </if>
  612. <if test="smallSample !=null">
  613. and small_sample = #{smallSample}
  614. </if>
  615. <if test="pests !=null">
  616. and pests = #{pests}
  617. </if>
  618. <if test="impurtySum !=null">
  619. and impurty_sum = #{impurtySum}
  620. </if>
  621. <if test="bigImpurity !=null">
  622. and big_impurity = #{bigImpurity}
  623. </if>
  624. <if test="smallImpurity !=null">
  625. and small_impurity = #{smallImpurity}
  626. </if>
  627. <if test="colorRatio !=null">
  628. and color_ratio = #{colorRatio}
  629. </if>
  630. <if test="hardIndex !=null">
  631. and hard_index = #{hardIndex}
  632. </if>
  633. <if test="viscosity !=null">
  634. and viscosity = #{viscosity}
  635. </if>
  636. <if test="becheckedUnite !=null">
  637. and bechecked_unite = #{becheckedUnite}
  638. </if>
  639. <if test="samleName !=null">
  640. and samle_name = #{samleName}
  641. </if>
  642. <if test="sampleCount !=null">
  643. and sample_count = #{sampleCount}
  644. </if>
  645. <if test="packType !=null">
  646. and pack_type = #{packType}
  647. </if>
  648. <if test="chooseLocation !=null">
  649. and choose_location = #{chooseLocation}
  650. </if>
  651. <if test="glutenWaterCount !=null">
  652. and gluten_water_count = #{glutenWaterCount}
  653. </if>
  654. <if test="remarks !=null">
  655. and remarks = #{remarks}
  656. </if>
  657. <if test="writer !=null">
  658. and writer = #{writer}
  659. </if>
  660. <if test="approver !=null">
  661. and approver = #{approver}
  662. </if>
  663. <if test="checkResult !=null">
  664. and check_result = #{checkResult}
  665. </if>
  666. <if test="checkResultInfo !=null">
  667. and check_result_info = #{checkResultInfo}
  668. </if>
  669. <if test="cId !=null">
  670. and c_id = #{cId}
  671. </if>
  672. <if test="uId !=null">
  673. and u_id = #{uId}
  674. </if>
  675. <if test="cTime !=null">
  676. and c_time = #{cTime}
  677. </if>
  678. <if test="uTime !=null">
  679. and u_time = #{uTime}
  680. </if>
  681. <if test="version !=null">
  682. and version = #{version}
  683. </if>
  684. <if test="uuid !=null">
  685. and uuid = #{uuid}
  686. </if>
  687. <if test="impurityMineral !=null">
  688. and impurity_mineral = #{impurityMineral}
  689. </if>
  690. <if test="mildewCount !=null">
  691. and mildew_count = #{mildewCount}
  692. </if>
  693. <if test="abColorRatio !=null">
  694. and ab_color_ratio = #{abColorRatio}
  695. </if>
  696. <if test="damageRatio !=null">
  697. and damage_ratio = #{damageRatio}
  698. </if>
  699. <if test="hotDamageRatio !=null">
  700. and hot_damage_ratio = #{hotDamageRatio}
  701. </if>
  702. <if test="cleanRice !=null">
  703. and clean_rice = #{cleanRice}
  704. </if>
  705. <if test="huskedRiceWeight !=null">
  706. and husked_rice_weight = #{huskedRiceWeight}
  707. </if>
  708. <if test="abTypeRice !=null">
  709. and ab_type_rice = #{abTypeRice}
  710. </if>
  711. <if test="budShellRice !=null">
  712. and bud_shell_rice = #{budShellRice}
  713. </if>
  714. <if test="huskedBadpartWeight !=null">
  715. and husked_badpart_weight = #{huskedBadpartWeight}
  716. </if>
  717. <if test="capacityResult !=null">
  718. and capacity_result = #{capacityResult}
  719. </if>
  720. <if test="badpartMildewCountResult !=null">
  721. and badpart_mildew_count_result = #{badpartMildewCountResult}
  722. </if>
  723. <if test="impurityResult !=null">
  724. and impurity_result = #{impurityResult}
  725. </if>
  726. <if test="fatIndexResult !=null">
  727. and fat_index_result = #{fatIndexResult}
  728. </if>
  729. <if test="waterResult !=null">
  730. and water_result = #{waterResult}
  731. </if>
  732. <if test="eatScoreResult !=null">
  733. and eat_score_result = #{eatScoreResult}
  734. </if>
  735. <if test="aflatoxinB !=null">
  736. and aflatoxin_b = #{aflatoxinB}
  737. </if>
  738. <if test="aflatoxinBResult !=null">
  739. and aflatoxin_b_result = #{aflatoxinBResult}
  740. </if>
  741. <if test="phosphide !=null">
  742. and phosphide = #{phosphide}
  743. </if>
  744. <if test="phosphideResult !=null">
  745. and phosphide_result = #{phosphideResult}
  746. </if>
  747. <if test="checktypeResult !=null">
  748. and checktype_result = #{checktypeResult}
  749. </if>
  750. <if test="colorsmellResult !=null">
  751. and colorsmell_result = #{colorsmellResult}
  752. </if>
  753. <if test="badpartResult !=null">
  754. and badpart_result = #{badpartResult}
  755. </if>
  756. <if test="impurtySumResult !=null">
  757. and impurty_sum_result = #{impurtySumResult}
  758. </if>
  759. <if test="mineralResult !=null">
  760. and mineral_result = #{mineralResult}
  761. </if>
  762. <if test="glutenWaterCountResult !=null">
  763. and gluten_water_count_result = #{glutenWaterCountResult}
  764. </if>
  765. <if test="viscosityResult !=null">
  766. and viscosity_result = #{viscosityResult}
  767. </if>
  768. <if test="huskedRationResult !=null">
  769. and husked_ration_result = #{huskedRationResult}
  770. </if>
  771. <if test="fullGoodRationResult !=null">
  772. and full_good_ration_result = #{fullGoodRationResult}
  773. </if>
  774. <if test="outHuskedRationResult !=null">
  775. and out_husked_ration_result = #{outHuskedRationResult}
  776. </if>
  777. <if test="yellowPartResult !=null">
  778. and yellow_part_result = #{yellowPartResult}
  779. </if>
  780. <if test="goodpartResult !=null">
  781. and goodpart_result = #{goodpartResult}
  782. </if>
  783. <if test="hotDamageResult !=null">
  784. and hot_damage_result = #{hotDamageResult}
  785. </if>
  786. <if test="boldfatIndexResult !=null">
  787. and boldfat_index_result = #{boldfatIndexResult}
  788. </if>
  789. <if test="proteinSolutionRatioResult !=null">
  790. and protein_solution_ratio_result = #{proteinSolutionRatioResult}
  791. </if>
  792. <if test="reviewer !=null">
  793. and reviewer = #{reviewer}
  794. </if>
  795. <if test="storeQuality !=null">
  796. and store_quality = #{storeQuality}
  797. </if>
  798. <if test="isPest !=null">
  799. and is_pest = #{isPest}
  800. </if>
  801. <if test="deductedConditions !=null">
  802. and deducted_conditions = #{deductedConditions}
  803. </if>
  804. <if test="inputDeductedInfo !=null">
  805. and input_deducted_info = #{inputDeductedInfo}
  806. </if>
  807. <if test="waterDeductedInfo !=null">
  808. and water_deducted_info = #{waterDeductedInfo}
  809. </if>
  810. <if test="impurityDeductedInfo !=null">
  811. and impurity_deducted_info = #{impurityDeductedInfo}
  812. </if>
  813. <if test="otherDeductedInfo !=null">
  814. and other_deducted_info = #{otherDeductedInfo}
  815. </if>
  816. <if test="deductedPic !=null">
  817. and deducted_pic = #{deductedPic}
  818. </if>
  819. <if test="waterTipsFlag !=null">
  820. and water_tips_flag = #{waterTipsFlag}
  821. </if>
  822. <if test="fileUuid !=null">
  823. and file_uuid = #{fileUuid}
  824. </if>
  825. </where>
  826. <choose>
  827. <when test="page !=null and page.orderBy != null and page.orderBy != ''">
  828. ORDER BY ${page.orderBy}
  829. </when>
  830. <otherwise>
  831. </otherwise>
  832. </choose>
  833. </select>
  834. <insert id="insert" keyColumn="id" keyProperty="id" useGeneratedKeys="true"
  835. parameterType="cn.ourwill.module.house.entity.daily.DailyRecordQualitycheckFile">
  836. INSERT INTO daily_record_qualitycheck_file
  837. <trim prefix="(" suffix=")" suffixOverrides=",">
  838. <!-- <if test=" id != null">
  839. id,
  840. </if>-->
  841. <if test=" houseId != null">
  842. house_id,
  843. </if>
  844. <if test=" type != null">
  845. `type`,
  846. </if>
  847. <if test=" subType != null">
  848. sub_type,
  849. </if>
  850. <if test=" checkTime != null">
  851. check_time,
  852. </if>
  853. <if test=" checker != null">
  854. checker,
  855. </if>
  856. <if test=" qualityIndex != null">
  857. quality_index,
  858. </if>
  859. <if test=" badItems != null">
  860. bad_items,
  861. </if>
  862. <if test=" level != null">
  863. `level`,
  864. </if>
  865. <if test=" capacity != null">
  866. capacity,
  867. </if>
  868. <if test=" water != null">
  869. water,
  870. </if>
  871. <if test=" impurity != null">
  872. impurity,
  873. </if>
  874. <if test=" mineral != null">
  875. mineral,
  876. </if>
  877. <if test=" badpart != null">
  878. badpart,
  879. </if>
  880. <if test=" colorsmell != null">
  881. colorsmell,
  882. </if>
  883. <if test=" keeperAdvices != null">
  884. keeper_advices,
  885. </if>
  886. <if test=" keeperAdvicesTime != null">
  887. keeper_advices_time,
  888. </if>
  889. <if test="keeperAdvicesPaint !=null">
  890. keeper_advices_paint,
  891. </if>
  892. <if test=" chiefAdvices != null">
  893. chief_advices,
  894. </if>
  895. <if test=" chiefAdvicesTime != null">
  896. chief_advices_time,
  897. </if>
  898. <if test="chietAdvicesPaint !=null">
  899. chiet_advices_paint,
  900. </if>
  901. <if test=" viceManagerAdvices != null">
  902. vice_manager_advices,
  903. </if>
  904. <if test=" viceManagerAdvicesTime != null">
  905. vice_manager_advices_time,
  906. </if>
  907. <if test="viceManagerAdvicesPaint !=null">
  908. vice_manager_advices_paint,
  909. </if>
  910. <if test=" managerAdvices != null">
  911. manager_advices,
  912. </if>
  913. <if test=" managerAdvicesTime != null">
  914. manager_advices_time,
  915. </if>
  916. <if test="managerAdvicesPaint !=null">
  917. manager_advices_paint,
  918. </if>
  919. <if test=" improveResult != null">
  920. improve_result,
  921. </if>
  922. <if test=" improveTime != null">
  923. improve_time,
  924. </if>
  925. <if test="improvePaint !=null">
  926. improve_paint,
  927. </if>
  928. <if test=" isFirstchecklevelRight != null">
  929. is_firstchecklevel_right,
  930. </if>
  931. <if test=" acceptUnite != null">
  932. accept_unite,
  933. </if>
  934. <if test=" kind != null">
  935. kind,
  936. </if>
  937. <if test=" property != null">
  938. property,
  939. </if>
  940. <if test=" inputTime != null">
  941. input_time,
  942. </if>
  943. <if test=" number != null">
  944. `number`,
  945. </if>
  946. <if test=" location != null">
  947. location,
  948. </if>
  949. <if test=" keeper != null">
  950. keeper,
  951. </if>
  952. <if test=" harvestTime != null">
  953. harvest_time,
  954. </if>
  955. <if test=" goodpart != null">
  956. goodpart,
  957. </if>
  958. <if test=" chooser != null">
  959. chooser,
  960. </if>
  961. <if test=" chooseTime != null and chooseTime != ''">
  962. choose_time,
  963. </if>
  964. <if test=" damageRatioSum != null">
  965. damage_ratio_sum,
  966. </if>
  967. <if test=" boldfatIndex != null">
  968. boldfat_index,
  969. </if>
  970. <if test=" checkType != null">
  971. check_type,
  972. </if>
  973. <if test=" hotDamage != null">
  974. hot_damage,
  975. </if>
  976. <if test=" proteinSolutionRatio != null">
  977. protein_solution_ratio,
  978. </if>
  979. <if test=" qualityIndexResult != null">
  980. quality_index_result,
  981. </if>
  982. <if test=" qualitySaveResult != null">
  983. quality_save_result,
  984. </if>
  985. <if test=" badpartSum != null">
  986. badpart_sum,
  987. </if>
  988. <if test=" badpartMildewCount != null">
  989. badpart_mildew_count,
  990. </if>
  991. <if test=" eatScore != null">
  992. eat_score,
  993. </if>
  994. <if test=" fatIndex != null">
  995. fat_index,
  996. </if>
  997. <if test=" huskedRation != null">
  998. husked_ration,
  999. </if>
  1000. <if test=" fullGoodRation != null">
  1001. full_good_ration,
  1002. </if>
  1003. <if test=" mixRation != null">
  1004. mix_ration,
  1005. </if>
  1006. <if test=" yellowPart != null">
  1007. yellow_part,
  1008. </if>
  1009. <if test=" outHuskedRation != null">
  1010. out_husked_ration,
  1011. </if>
  1012. <if test=" carSequence != null">
  1013. car_sequence,
  1014. </if>
  1015. <if test=" bigSample != null">
  1016. big_sample,
  1017. </if>
  1018. <if test=" smallSample != null">
  1019. small_sample,
  1020. </if>
  1021. <if test=" pests != null">
  1022. pests,
  1023. </if>
  1024. <if test=" impurtySum != null">
  1025. impurty_sum,
  1026. </if>
  1027. <if test=" bigImpurity != null">
  1028. big_impurity,
  1029. </if>
  1030. <if test=" smallImpurity != null">
  1031. small_impurity,
  1032. </if>
  1033. <if test=" colorRatio != null">
  1034. color_ratio,
  1035. </if>
  1036. <if test=" hardIndex != null">
  1037. hard_index,
  1038. </if>
  1039. <if test=" viscosity != null">
  1040. viscosity,
  1041. </if>
  1042. <if test=" becheckedUnite != null">
  1043. bechecked_unite,
  1044. </if>
  1045. <if test=" samleName != null">
  1046. samle_name,
  1047. </if>
  1048. <if test=" sampleCount != null">
  1049. sample_count,
  1050. </if>
  1051. <if test=" packType != null">
  1052. pack_type,
  1053. </if>
  1054. <if test=" chooseLocation != null">
  1055. choose_location,
  1056. </if>
  1057. <if test=" glutenWaterCount != null">
  1058. gluten_water_count,
  1059. </if>
  1060. <if test=" remarks != null">
  1061. remarks,
  1062. </if>
  1063. <if test=" writer != null">
  1064. writer,
  1065. </if>
  1066. <if test=" approver != null">
  1067. approver,
  1068. </if>
  1069. <if test=" checkResult != null">
  1070. check_result,
  1071. </if>
  1072. <if test=" checkResultInfo != null">
  1073. check_result_info,
  1074. </if>
  1075. <if test=" cId != null">
  1076. c_id,
  1077. </if>
  1078. <if test=" uId != null">
  1079. u_id,
  1080. </if>
  1081. <if test=" cTime != null">
  1082. c_time,
  1083. </if>
  1084. <if test=" uTime != null">
  1085. u_time,
  1086. </if>
  1087. <if test=" version != null">
  1088. version,
  1089. </if>
  1090. <if test=" uuid != null">
  1091. uuid,
  1092. </if>
  1093. <if test=" impurityMineral != null">
  1094. impurity_mineral,
  1095. </if>
  1096. <if test=" mildewCount != null">
  1097. mildew_count,
  1098. </if>
  1099. <if test=" abColorRatio != null">
  1100. ab_color_ratio,
  1101. </if>
  1102. <if test=" damageRatio != null">
  1103. damage_ratio,
  1104. </if>
  1105. <if test=" hotDamageRatio != null">
  1106. hot_damage_ratio,
  1107. </if>
  1108. <if test=" cleanRice != null">
  1109. clean_rice,
  1110. </if>
  1111. <if test=" huskedRiceWeight != null">
  1112. husked_rice_weight,
  1113. </if>
  1114. <if test=" abTypeRice != null">
  1115. ab_type_rice,
  1116. </if>
  1117. <if test=" budShellRice != null">
  1118. bud_shell_rice,
  1119. </if>
  1120. <if test=" huskedBadpartWeight != null">
  1121. husked_badpart_weight,
  1122. </if>
  1123. <if test=" capacityResult != null">
  1124. capacity_result,
  1125. </if>
  1126. <if test=" badpartMildewCountResult != null">
  1127. badpart_mildew_count_result,
  1128. </if>
  1129. <if test=" impurityResult != null">
  1130. impurity_result,
  1131. </if>
  1132. <if test=" fatIndexResult != null">
  1133. fat_index_result,
  1134. </if>
  1135. <if test=" waterResult != null">
  1136. water_result,
  1137. </if>
  1138. <if test=" eatScoreResult != null">
  1139. eat_score_result,
  1140. </if>
  1141. <if test=" aflatoxinB != null">
  1142. aflatoxin_b,
  1143. </if>
  1144. <if test=" aflatoxinBResult != null">
  1145. aflatoxin_b_result,
  1146. </if>
  1147. <if test=" phosphide != null">
  1148. phosphide,
  1149. </if>
  1150. <if test=" phosphideResult != null">
  1151. phosphide_result,
  1152. </if>
  1153. <if test=" checktypeResult != null">
  1154. checktype_result,
  1155. </if>
  1156. <if test=" colorsmellResult != null">
  1157. colorsmell_result,
  1158. </if>
  1159. <if test=" badpartResult != null">
  1160. badpart_result,
  1161. </if>
  1162. <if test=" impurtySumResult != null">
  1163. impurty_sum_result,
  1164. </if>
  1165. <if test=" mineralResult != null">
  1166. mineral_result,
  1167. </if>
  1168. <if test=" glutenWaterCountResult != null">
  1169. gluten_water_count_result,
  1170. </if>
  1171. <if test=" viscosityResult != null">
  1172. viscosity_result,
  1173. </if>
  1174. <if test=" huskedRationResult != null">
  1175. husked_ration_result,
  1176. </if>
  1177. <if test=" fullGoodRationResult != null">
  1178. full_good_ration_result,
  1179. </if>
  1180. <if test=" outHuskedRationResult != null">
  1181. out_husked_ration_result,
  1182. </if>
  1183. <if test=" yellowPartResult != null">
  1184. yellow_part_result,
  1185. </if>
  1186. <if test=" goodpartResult != null">
  1187. goodpart_result,
  1188. </if>
  1189. <if test=" hotDamageResult != null">
  1190. hot_damage_result,
  1191. </if>
  1192. <if test=" boldfatIndexResult != null">
  1193. boldfat_index_result,
  1194. </if>
  1195. <if test=" proteinSolutionRatioResult != null">
  1196. protein_solution_ratio_result,
  1197. </if>
  1198. <if test=" reviewer != null">
  1199. reviewer,
  1200. </if>
  1201. <if test=" applyCheckTime != null and applyCheckTime != ''">
  1202. apply_check_time,
  1203. </if>
  1204. <if test=" checkTimeType != null">
  1205. check_time_type,
  1206. </if>
  1207. <if test=" checkResultTime != null">
  1208. check_result_time,
  1209. </if>
  1210. <if test=" storeQuality !=null">
  1211. store_quality,
  1212. </if>
  1213. <if test=" isPest !=null">
  1214. is_pest,
  1215. </if>
  1216. <if test=" deductedConditions !=null">
  1217. deducted_conditions,
  1218. </if>
  1219. <if test=" inputDeductedInfo !=null">
  1220. input_deducted_info,
  1221. </if>
  1222. <if test=" waterDeductedInfo !=null">
  1223. water_deducted_info ,
  1224. </if>
  1225. <if test=" impurityDeductedInfo !=null">
  1226. impurity_deducted_info,
  1227. </if>
  1228. <if test=" otherDeductedInfo !=null">
  1229. other_deducted_info,
  1230. </if>
  1231. <if test=" deductedPic !=null">
  1232. deducted_pic,
  1233. </if>
  1234. <if test="waterTipsFlag !=null">
  1235. water_tips_flag,
  1236. </if>
  1237. <if test="fileUuid !=null">
  1238. file_uuid
  1239. </if>
  1240. </trim>
  1241. <trim prefix="values (" suffix=")" suffixOverrides=",">
  1242. <!--<if test="id !=null">
  1243. #{id},
  1244. </if>-->
  1245. <if test=" houseId != null">
  1246. #{houseId}, </if>
  1247. <if test=" type != null">
  1248. #{type}, </if>
  1249. <if test=" subType != null">
  1250. #{subType}, </if>
  1251. <if test=" checkTime != null">
  1252. #{checkTime}, </if>
  1253. <if test=" checker != null">
  1254. #{checker}, </if>
  1255. <if test=" qualityIndex != null">
  1256. #{qualityIndex}, </if>
  1257. <if test=" badItems != null">
  1258. #{badItems}, </if>
  1259. <if test=" level != null">
  1260. #{level}, </if>
  1261. <if test=" capacity != null">
  1262. #{capacity}, </if>
  1263. <if test=" water != null">
  1264. #{water}, </if>
  1265. <if test=" impurity != null">
  1266. #{impurity}, </if>
  1267. <if test=" mineral != null">
  1268. #{mineral}, </if>
  1269. <if test=" badpart != null">
  1270. #{badpart}, </if>
  1271. <if test=" colorsmell != null">
  1272. #{colorsmell}, </if>
  1273. <if test=" keeperAdvices != null">
  1274. #{keeperAdvices}, </if>
  1275. <if test=" keeperAdvicesTime != null">
  1276. #{keeperAdvicesTime}, </if>
  1277. <if test=" chiefAdvices != null">
  1278. #{chiefAdvices}, </if>
  1279. <if test=" chiefAdvicesTime != null">
  1280. #{chiefAdvicesTime}, </if>
  1281. <if test=" viceManagerAdvices != null">
  1282. #{viceManagerAdvices}, </if>
  1283. <if test=" viceManagerAdvicesTime != null">
  1284. #{viceManagerAdvicesTime}, </if>
  1285. <if test=" managerAdvices != null">
  1286. #{managerAdvices}, </if>
  1287. <if test=" managerAdvicesTime != null">
  1288. #{managerAdvicesTime}, </if>
  1289. <if test=" improveResult != null">
  1290. #{improveResult}, </if>
  1291. <if test=" improveTime != null">
  1292. #{improveTime}, </if>
  1293. <if test=" isFirstchecklevelRight != null">
  1294. #{isFirstchecklevelRight}, </if>
  1295. <if test=" acceptUnite != null">
  1296. #{acceptUnite}, </if>
  1297. <if test=" kind != null">
  1298. #{kind}, </if>
  1299. <if test=" property != null">
  1300. #{property}, </if>
  1301. <if test=" inputTime != null">
  1302. #{inputTime}, </if>
  1303. <if test=" number != null">
  1304. #{number}, </if>
  1305. <if test=" location != null">
  1306. #{location}, </if>
  1307. <if test=" keeper != null">
  1308. #{keeper}, </if>
  1309. <if test=" harvestTime != null">
  1310. #{harvestTime}, </if>
  1311. <if test=" goodpart != null">
  1312. #{goodpart}, </if>
  1313. <if test=" chooser != null">
  1314. #{chooser}, </if>
  1315. <if test=" chooseTime != null and chooseTime != ''">
  1316. #{chooseTime}, </if>
  1317. <if test=" damageRatioSum != null">
  1318. #{damageRatioSum}, </if>
  1319. <if test=" boldfatIndex != null">
  1320. #{boldfatIndex}, </if>
  1321. <if test=" checkType != null">
  1322. #{checkType}, </if>
  1323. <if test=" hotDamage != null">
  1324. #{hotDamage}, </if>
  1325. <if test=" proteinSolutionRatio != null">
  1326. #{proteinSolutionRatio}, </if>
  1327. <if test=" qualityIndexResult != null">
  1328. #{qualityIndexResult}, </if>
  1329. <if test=" qualitySaveResult != null">
  1330. #{qualitySaveResult}, </if>
  1331. <if test=" badpartSum != null">
  1332. #{badpartSum}, </if>
  1333. <if test=" badpartMildewCount != null">
  1334. #{badpartMildewCount}, </if>
  1335. <if test=" eatScore != null">
  1336. #{eatScore}, </if>
  1337. <if test=" fatIndex != null">
  1338. #{fatIndex}, </if>
  1339. <if test=" huskedRation != null">
  1340. #{huskedRation}, </if>
  1341. <if test=" fullGoodRation != null">
  1342. #{fullGoodRation}, </if>
  1343. <if test=" mixRation != null">
  1344. #{mixRation}, </if>
  1345. <if test=" yellowPart != null">
  1346. #{yellowPart}, </if>
  1347. <if test=" outHuskedRation != null">
  1348. #{outHuskedRation}, </if>
  1349. <if test=" carSequence != null">
  1350. #{carSequence}, </if>
  1351. <if test=" bigSample != null">
  1352. #{bigSample}, </if>
  1353. <if test=" smallSample != null">
  1354. #{smallSample}, </if>
  1355. <if test=" pests != null">
  1356. #{pests}, </if>
  1357. <if test=" impurtySum != null">
  1358. #{impurtySum}, </if>
  1359. <if test=" bigImpurity != null">
  1360. #{bigImpurity}, </if>
  1361. <if test=" smallImpurity != null">
  1362. #{smallImpurity}, </if>
  1363. <if test=" colorRatio != null">
  1364. #{colorRatio}, </if>
  1365. <if test=" hardIndex != null">
  1366. #{hardIndex}, </if>
  1367. <if test=" viscosity != null">
  1368. #{viscosity}, </if>
  1369. <if test=" becheckedUnite != null">
  1370. #{becheckedUnite}, </if>
  1371. <if test=" samleName != null">
  1372. #{samleName}, </if>
  1373. <if test=" sampleCount != null">
  1374. #{sampleCount}, </if>
  1375. <if test=" packType != null">
  1376. #{packType}, </if>
  1377. <if test=" chooseLocation != null">
  1378. #{chooseLocation}, </if>
  1379. <if test=" glutenWaterCount != null">
  1380. #{glutenWaterCount}, </if>
  1381. <if test=" remarks != null">
  1382. #{remarks}, </if>
  1383. <if test=" writer != null">
  1384. #{writer}, </if>
  1385. <if test=" approver != null">
  1386. #{approver}, </if>
  1387. <if test=" checkResult != null">
  1388. #{checkResult}, </if>
  1389. <if test=" checkResultInfo != null">
  1390. #{checkResultInfo}, </if>
  1391. <if test=" cId != null">
  1392. #{cId}, </if>
  1393. <if test=" uId != null">
  1394. #{uId}, </if>
  1395. <if test=" cTime != null">
  1396. #{cTime}, </if>
  1397. <if test=" uTime != null">
  1398. #{uTime}, </if>
  1399. <if test=" version != null">
  1400. #{version}, </if>
  1401. <if test=" uuid != null">
  1402. #{uuid}, </if>
  1403. <if test=" impurityMineral != null">
  1404. #{impurityMineral}, </if>
  1405. <if test=" mildewCount != null">
  1406. #{mildewCount}, </if>
  1407. <if test=" abColorRatio != null">
  1408. #{abColorRatio}, </if>
  1409. <if test=" damageRatio != null">
  1410. #{damageRatio}, </if>
  1411. <if test=" hotDamageRatio != null">
  1412. #{hotDamageRatio}, </if>
  1413. <if test=" cleanRice != null">
  1414. #{cleanRice}, </if>
  1415. <if test=" huskedRiceWeight != null">
  1416. #{huskedRiceWeight}, </if>
  1417. <if test=" abTypeRice != null">
  1418. #{abTypeRice}, </if>
  1419. <if test=" budShellRice != null">
  1420. #{budShellRice}, </if>
  1421. <if test=" huskedBadpartWeight != null">
  1422. #{huskedBadpartWeight}, </if>
  1423. <if test=" capacityResult != null">
  1424. #{capacityResult}, </if>
  1425. <if test=" badpartMildewCountResult != null">
  1426. #{badpartMildewCountResult}, </if>
  1427. <if test=" impurityResult != null">
  1428. #{impurityResult}, </if>
  1429. <if test=" fatIndexResult != null">
  1430. #{fatIndexResult}, </if>
  1431. <if test=" waterResult != null">
  1432. #{waterResult}, </if>
  1433. <if test=" eatScoreResult != null">
  1434. #{eatScoreResult}, </if>
  1435. <if test=" aflatoxinB != null">
  1436. #{aflatoxinB}, </if>
  1437. <if test=" aflatoxinBResult != null">
  1438. #{aflatoxinBResult}, </if>
  1439. <if test=" phosphide != null">
  1440. #{phosphide}, </if>
  1441. <if test=" phosphideResult != null">
  1442. #{phosphideResult}, </if>
  1443. <if test=" checktypeResult != null">
  1444. #{checktypeResult}, </if>
  1445. <if test=" colorsmellResult != null">
  1446. #{colorsmellResult}, </if>
  1447. <if test=" badpartResult != null">
  1448. #{badpartResult}, </if>
  1449. <if test=" impurtySumResult != null">
  1450. #{impurtySumResult}, </if>
  1451. <if test=" mineralResult != null">
  1452. #{mineralResult}, </if>
  1453. <if test=" glutenWaterCountResult != null">
  1454. #{glutenWaterCountResult}, </if>
  1455. <if test=" viscosityResult != null">
  1456. #{viscosityResult}, </if>
  1457. <if test=" huskedRationResult != null">
  1458. #{huskedRationResult}, </if>
  1459. <if test=" fullGoodRationResult != null">
  1460. #{fullGoodRationResult}, </if>
  1461. <if test=" outHuskedRationResult != null">
  1462. #{outHuskedRationResult}, </if>
  1463. <if test=" yellowPartResult != null">
  1464. #{yellowPartResult}, </if>
  1465. <if test=" goodpartResult != null">
  1466. #{goodpartResult}, </if>
  1467. <if test=" hotDamageResult != null">
  1468. #{hotDamageResult}, </if>
  1469. <if test=" boldfatIndexResult != null">
  1470. #{boldfatIndexResult}, </if>
  1471. <if test=" proteinSolutionRatioResult != null">
  1472. #{proteinSolutionRatioResult}, </if>
  1473. <if test=" reviewer != null">
  1474. #{reviewer}, </if>
  1475. <if test=" applyCheckTime != null and applyCheckTime != ''">
  1476. #{applyCheckTime}, </if>
  1477. <if test=" checkTimeType != null">
  1478. #{checkTimeType}, </if>
  1479. <if test=" checkResultTime != null">
  1480. #{checkResultTime}, </if>
  1481. <if test="storeQuality !=null">
  1482. #{storeQuality}, </if>
  1483. <if test="isPest !=null">
  1484. #{isPest}, </if>
  1485. <if test="deductedConditions !=null">
  1486. #{deductedConditions}, </if>
  1487. <if test="inputDeductedInfo !=null">
  1488. #{inputDeductedInfo}, </if>
  1489. <if test="waterDeductedInfo !=null">
  1490. #{waterDeductedInfo}, </if>
  1491. <if test="impurityDeductedInfo !=null">
  1492. #{impurityDeductedInfo}, </if>
  1493. <if test="otherDeductedInfo !=null">
  1494. #{otherDeductedInfo}, </if>
  1495. <if test="deductedPic !=null">
  1496. #{deductedPic}, </if>
  1497. <if test="fileUuid !=null">
  1498. #{fileUuid},
  1499. </if>
  1500. </trim>
  1501. </insert>
  1502. </mapper>