id , house_id , `type` , sub_type , check_time , checker , quality_index , bad_items , `level` , capacity , water , impurity , mineral , badpart , colorsmell , keeper_advices , keeper_advices_time , keeper_advices_paint, chief_advices , chief_advices_time , chiet_advices_paint, vice_manager_advices , vice_manager_advices_time , vice_manager_advices_paint, manager_advices , manager_advices_time , manager_advices_paint, improve_result , improve_time , improve_paint, is_firstchecklevel_right , accept_unite , kind , property , input_time , `number` , location , keeper , harvest_time , goodpart , chooser , choose_time , damage_ratio_sum , boldfat_index , check_type , hot_damage , protein_solution_ratio , quality_index_result , quality_save_result , badpart_sum , badpart_mildew_count , eat_score , fat_index , husked_ration , full_good_ration , mix_ration , yellow_part , out_husked_ration , car_sequence , big_sample , small_sample , pests , impurty_sum , big_impurity , small_impurity , color_ratio , hard_index , viscosity , bechecked_unite , samle_name , sample_count , pack_type , choose_location , gluten_water_count , remarks , writer , approver , check_result , check_result_info , c_id , u_id , c_time , u_time , version , uuid , impurity_mineral , mildew_count , ab_color_ratio , damage_ratio , hot_damage_ratio , clean_rice , husked_rice_weight , ab_type_rice , bud_shell_rice , husked_badpart_weight , capacity_result , badpart_mildew_count_result , impurity_result , fat_index_result , water_result , eat_score_result , aflatoxin_b , aflatoxin_b_result , phosphide , phosphide_result , checktype_result , colorsmell_result , badpart_result , impurty_sum_result , mineral_result , gluten_water_count_result , viscosity_result , husked_ration_result , full_good_ration_result , out_husked_ration_result , yellow_part_result , goodpart_result , hot_damage_result , boldfat_index_result , protein_solution_ratio_result , reviewer, apply_check_time, check_time_type, check_result_time, store_quality, is_pest, deducted_conditions, input_deducted_info, water_deducted_info, impurity_deducted_info, other_deducted_info, deducted_pic, water_tips_flag a.id , a.house_id , a.`type` , a.sub_type , a.check_time , a.checker , a.quality_index , a.bad_items , a.`level` , a.capacity , a.water , a.impurity , a.mineral , a.badpart , a.colorsmell , a.keeper_advices , a.keeper_advices_time , a.keeper_advices_paint, a.chief_advices , a.chief_advices_time , a.chiet_advices_paint, a.vice_manager_advices , a.vice_manager_advices_time , a.vice_manager_advices_paint, a.manager_advices , a.manager_advices_time , a.manager_advices_paint, a.improve_result , a.improve_time , a.improve_paint, a.is_firstchecklevel_right , a.accept_unite , a.kind , a.property , a.input_time , a.`number` , a.location , a.keeper , a.harvest_time , a.goodpart , a.chooser , a.choose_time , a.damage_ratio_sum , a.boldfat_index , a.check_type , a.hot_damage , a.protein_solution_ratio , a.quality_index_result , a.quality_save_result , a.badpart_sum , a.badpart_mildew_count , a.eat_score , a.fat_index , a.husked_ration , a.full_good_ration , a.mix_ration , a.yellow_part , a.out_husked_ration , a.car_sequence , a.big_sample , a.small_sample , a.pests , a.impurty_sum , a.big_impurity , a.small_impurity , a.color_ratio , a.hard_index , a.viscosity , a.bechecked_unite , a.samle_name , a.sample_count , a.pack_type , a.choose_location , a.gluten_water_count , a.remarks , a.writer , a.approver , a.check_result , a.check_result_info , a.c_id , a.u_id , a.c_time , a.u_time , a.version , a.uuid , a.impurity_mineral , a.mildew_count , a.ab_color_ratio , a.damage_ratio , a.hot_damage_ratio , a.clean_rice , a.husked_rice_weight , a.ab_type_rice , a.bud_shell_rice , a.husked_badpart_weight , a.capacity_result , a.badpart_mildew_count_result , a.impurity_result , a.fat_index_result , a.water_result , a.eat_score_result , a.aflatoxin_b , a.aflatoxin_b_result , a.phosphide , a.phosphide_result , a.checktype_result , a.colorsmell_result , a.badpart_result , a.impurty_sum_result , a.mineral_result , a.gluten_water_count_result , a.viscosity_result , a.husked_ration_result , a.full_good_ration_result , a.out_husked_ration_result , a.yellow_part_result , a.goodpart_result , a.hot_damage_result , a.boldfat_index_result , a.protein_solution_ratio_result , a.reviewer, a.apply_check_time, a.check_time_type, a.check_result_time, a.store_quality, a.is_pest, a.deducted_conditions, a.input_deducted_info, a.water_deducted_info, a.impurity_deducted_info, a.other_deducted_info, a.deducted_pic, a.water_tips_flag INSERT INTO daily_record_qualitycheck id, house_id, `type`, sub_type, check_time, checker, quality_index, bad_items, `level`, capacity, water, impurity, mineral, badpart, colorsmell, keeper_advices, keeper_advices_time, keeper_advices_paint, chief_advices, chief_advices_time, chiet_advices_paint, vice_manager_advices, vice_manager_advices_time, vice_manager_advices_paint, manager_advices, manager_advices_time, manager_advices_paint, improve_result, improve_time, improve_paint, is_firstchecklevel_right, accept_unite, kind, property, input_time, `number`, location, keeper, harvest_time, goodpart, chooser, choose_time, damage_ratio_sum, boldfat_index, check_type, hot_damage, protein_solution_ratio, quality_index_result, quality_save_result, badpart_sum, badpart_mildew_count, eat_score, fat_index, husked_ration, full_good_ration, mix_ration, yellow_part, out_husked_ration, car_sequence, big_sample, small_sample, pests, impurty_sum, big_impurity, small_impurity, color_ratio, hard_index, viscosity, bechecked_unite, samle_name, sample_count, pack_type, choose_location, gluten_water_count, remarks, writer, approver, check_result, check_result_info, c_id, u_id, c_time, u_time, version, uuid, impurity_mineral, mildew_count, ab_color_ratio, damage_ratio, hot_damage_ratio, clean_rice, husked_rice_weight, ab_type_rice, bud_shell_rice, husked_badpart_weight, capacity_result, badpart_mildew_count_result, impurity_result, fat_index_result, water_result, eat_score_result, aflatoxin_b, aflatoxin_b_result, phosphide, phosphide_result, checktype_result, colorsmell_result, badpart_result, impurty_sum_result, mineral_result, gluten_water_count_result, viscosity_result, husked_ration_result, full_good_ration_result, out_husked_ration_result, yellow_part_result, goodpart_result, hot_damage_result, boldfat_index_result, protein_solution_ratio_result, reviewer, apply_check_time, check_time_type, check_result_time, store_quality, is_pest, deducted_conditions, input_deducted_info, water_deducted_info , impurity_deducted_info, other_deducted_info, deducted_pic, water_tips_flag #{id}, #{houseId}, #{type}, #{subType}, #{checkTime}, #{checker}, #{qualityIndex}, #{badItems}, #{level}, #{capacity}, #{water}, #{impurity}, #{mineral}, #{badpart}, #{colorsmell}, #{keeperAdvices}, #{keeperAdvicesTime}, #{chiefAdvices}, #{chiefAdvicesTime}, #{viceManagerAdvices}, #{viceManagerAdvicesTime}, #{managerAdvices}, #{managerAdvicesTime}, #{improveResult}, #{improveTime}, #{isFirstchecklevelRight}, #{acceptUnite}, #{kind}, #{property}, #{inputTime}, #{number}, #{location}, #{keeper}, #{harvestTime}, #{goodpart}, #{chooser}, #{chooseTime}, #{damageRatioSum}, #{boldfatIndex}, #{checkType}, #{hotDamage}, #{proteinSolutionRatio}, #{qualityIndexResult}, #{qualitySaveResult}, #{badpartSum}, #{badpartMildewCount}, #{eatScore}, #{fatIndex}, #{huskedRation}, #{fullGoodRation}, #{mixRation}, #{yellowPart}, #{outHuskedRation}, #{carSequence}, #{bigSample}, #{smallSample}, #{pests}, #{impurtySum}, #{bigImpurity}, #{smallImpurity}, #{colorRatio}, #{hardIndex}, #{viscosity}, #{becheckedUnite}, #{samleName}, #{sampleCount}, #{packType}, #{chooseLocation}, #{glutenWaterCount}, #{remarks}, #{writer}, #{approver}, #{checkResult}, #{checkResultInfo}, #{cId}, #{uId}, #{cTime}, #{uTime}, #{version}, #{uuid}, #{impurityMineral}, #{mildewCount}, #{abColorRatio}, #{damageRatio}, #{hotDamageRatio}, #{cleanRice}, #{huskedRiceWeight}, #{abTypeRice}, #{budShellRice}, #{huskedBadpartWeight}, #{capacityResult}, #{badpartMildewCountResult}, #{impurityResult}, #{fatIndexResult}, #{waterResult}, #{eatScoreResult}, #{aflatoxinB}, #{aflatoxinBResult}, #{phosphide}, #{phosphideResult}, #{checktypeResult}, #{colorsmellResult}, #{badpartResult}, #{impurtySumResult}, #{mineralResult}, #{glutenWaterCountResult}, #{viscosityResult}, #{huskedRationResult}, #{fullGoodRationResult}, #{outHuskedRationResult}, #{yellowPartResult}, #{goodpartResult}, #{hotDamageResult}, #{boldfatIndexResult}, #{proteinSolutionRatioResult}, #{reviewer}, #{applyCheckTime}, #{checkTimeType}, #{checkResultTime}, #{storeQuality}, #{isPest}, #{deductedConditions}, #{inputDeductedInfo}, #{waterDeductedInfo}, #{impurityDeductedInfo}, #{otherDeductedInfo}, #{deductedPic}, UPDATE daily_record_qualitycheck house_id= #{houseId} , `type`= #{type} , sub_type= #{subType} , check_time= #{checkTime} , checker= #{checker} , quality_index= #{qualityIndex} , bad_items= #{badItems} , `level`= #{level} , capacity= #{capacity} , water= #{water} , impurity= #{impurity} , mineral= #{mineral} , badpart= #{badpart} , colorsmell= #{colorsmell} , keeper_advices= #{keeperAdvices} , keeper_advices_time= #{keeperAdvicesTime} , keeper_advices_paint = #{keeperAdvicesPaint}, chief_advices= #{chiefAdvices} , chief_advices_time= #{chiefAdvicesTime} , chiet_advices_paint = #{chietAdvicesPaint}, vice_manager_advices= #{viceManagerAdvices} , vice_manager_advices_time= #{viceManagerAdvicesTime} , vice_manager_advices_paint = #{viceManagerAdvicesPaint}, manager_advices= #{managerAdvices} , manager_advices_time= #{managerAdvicesTime} , manager_advices_paint = #{managerAdvicesPaint}, improve_result= #{improveResult} , improve_time= #{improveTime} , improve_paint = #{improvePaint}, is_firstchecklevel_right= #{isFirstchecklevelRight} , accept_unite= #{acceptUnite} , kind= #{kind} , property= #{property} , input_time= #{inputTime} , `number`= #{number} , location= #{location} , keeper= #{keeper} , harvest_time= #{harvestTime} , goodpart= #{goodpart} , chooser= #{chooser} , choose_time= #{chooseTime} , damage_ratio_sum= #{damageRatioSum} , boldfat_index= #{boldfatIndex} , check_type= #{checkType} , hot_damage= #{hotDamage} , protein_solution_ratio= #{proteinSolutionRatio} , quality_index_result= #{qualityIndexResult} , quality_save_result= #{qualitySaveResult} , badpart_sum= #{badpartSum} , badpart_mildew_count= #{badpartMildewCount} , eat_score= #{eatScore} , fat_index= #{fatIndex} , husked_ration= #{huskedRation} , full_good_ration= #{fullGoodRation} , mix_ration= #{mixRation} , yellow_part= #{yellowPart} , out_husked_ration= #{outHuskedRation} , car_sequence= #{carSequence} , big_sample= #{bigSample} , small_sample= #{smallSample} , pests= #{pests} , impurty_sum= #{impurtySum} , big_impurity= #{bigImpurity} , small_impurity= #{smallImpurity} , color_ratio= #{colorRatio} , hard_index= #{hardIndex} , viscosity= #{viscosity} , bechecked_unite= #{becheckedUnite} , samle_name= #{samleName} , sample_count= #{sampleCount} , pack_type= #{packType} , choose_location= #{chooseLocation} , gluten_water_count= #{glutenWaterCount} , remarks= #{remarks} , writer= #{writer} , approver= #{approver} , check_result= #{checkResult} , check_result_info= #{checkResultInfo} , c_id= #{cId} , u_id= #{uId} , c_time= #{cTime} , u_time= #{uTime} , version= #{version} , uuid= #{uuid} , impurity_mineral= #{impurityMineral} , mildew_count= #{mildewCount} , ab_color_ratio= #{abColorRatio} , damage_ratio= #{damageRatio} , hot_damage_ratio= #{hotDamageRatio} , clean_rice= #{cleanRice} , husked_rice_weight= #{huskedRiceWeight} , ab_type_rice= #{abTypeRice} , bud_shell_rice= #{budShellRice} , husked_badpart_weight= #{huskedBadpartWeight} , capacity_result= #{capacityResult} , badpart_mildew_count_result= #{badpartMildewCountResult} , impurity_result= #{impurityResult} , fat_index_result= #{fatIndexResult} , water_result= #{waterResult} , eat_score_result= #{eatScoreResult} , aflatoxin_b= #{aflatoxinB} , aflatoxin_b_result= #{aflatoxinBResult} , phosphide= #{phosphide} , phosphide_result= #{phosphideResult} , checktype_result= #{checktypeResult} , colorsmell_result= #{colorsmellResult} , badpart_result= #{badpartResult} , impurty_sum_result= #{impurtySumResult} , mineral_result= #{mineralResult} , gluten_water_count_result= #{glutenWaterCountResult} , viscosity_result= #{viscosityResult} , husked_ration_result= #{huskedRationResult} , full_good_ration_result= #{fullGoodRationResult} , out_husked_ration_result= #{outHuskedRationResult} , yellow_part_result= #{yellowPartResult} , goodpart_result= #{goodpartResult} , hot_damage_result= #{hotDamageResult} , boldfat_index_result= #{boldfatIndexResult} , protein_solution_ratio_result= #{proteinSolutionRatioResult} , reviewer= #{reviewer} , apply_check_time= #{applyCheckTime} , check_time_type= #{checkTimeType} , check_result_time= #{checkResultTime} , store_quality = #{storeQuality} , is_pest = #{isPest} , deducted_conditions = #{deductedConditions} , input_deducted_info = #{inputDeductedInfo} , water_deducted_info = #{waterDeductedInfo} , impurity_deducted_info = #{impurityDeductedInfo} , other_deducted_info = #{otherDeductedInfo} , deducted_pic = #{deductedPic}, water_tips_flag = #{waterTipsFlag}, sync_flag=#{syncFlag} WHERE uuid = #{uuid} UPDATE daily_record_qualitycheck id= #{id} , house_id= #{houseId} , `type`= #{type} , sub_type= #{subType} , check_time= #{checkTime} , checker= #{checker} , quality_index= #{qualityIndex} , bad_items= #{badItems} , `level`= #{level} , capacity= #{capacity} , water= #{water} , impurity= #{impurity} , mineral= #{mineral} , badpart= #{badpart} , colorsmell= #{colorsmell} , keeper_advices= #{keeperAdvices} , keeper_advices_time= #{keeperAdvicesTime} , keeper_advices_paint = #{keeperAdvicesPaint}, chief_advices= #{chiefAdvices} , chief_advices_time= #{chiefAdvicesTime} , chiet_advices_paint = #{chietAdvicesPaint}, vice_manager_advices= #{viceManagerAdvices} , vice_manager_advices_time= #{viceManagerAdvicesTime} , vice_manager_advices_paint = #{viceManagerAdvicesPaint}, manager_advices= #{managerAdvices} , manager_advices_time= #{managerAdvicesTime} , manager_advices_paint = #{managerAdvicesPaint}, improve_result= #{improveResult} , improve_time= #{improveTime} , improve_paint = #{improvePaint}, is_firstchecklevel_right= #{isFirstchecklevelRight} , accept_unite= #{acceptUnite} , kind= #{kind} , property= #{property} , input_time= #{inputTime} , `number`= #{number} , location= #{location} , keeper= #{keeper} , harvest_time= #{harvestTime} , goodpart= #{goodpart} , chooser= #{chooser} , choose_time= #{chooseTime} , damage_ratio_sum= #{damageRatioSum} , boldfat_index= #{boldfatIndex} , check_type= #{checkType} , hot_damage= #{hotDamage} , protein_solution_ratio= #{proteinSolutionRatio} , quality_index_result= #{qualityIndexResult} , quality_save_result= #{qualitySaveResult} , badpart_sum= #{badpartSum} , badpart_mildew_count= #{badpartMildewCount} , eat_score= #{eatScore} , fat_index= #{fatIndex} , husked_ration= #{huskedRation} , full_good_ration= #{fullGoodRation} , mix_ration= #{mixRation} , yellow_part= #{yellowPart} , out_husked_ration= #{outHuskedRation} , car_sequence= #{carSequence} , big_sample= #{bigSample} , small_sample= #{smallSample} , pests= #{pests} , impurty_sum= #{impurtySum} , big_impurity= #{bigImpurity} , small_impurity= #{smallImpurity} , color_ratio= #{colorRatio} , hard_index= #{hardIndex} , viscosity= #{viscosity} , bechecked_unite= #{becheckedUnite} , samle_name= #{samleName} , sample_count= #{sampleCount} , pack_type= #{packType} , choose_location= #{chooseLocation} , gluten_water_count= #{glutenWaterCount} , remarks= #{remarks} , writer= #{writer} , approver= #{approver} , check_result= #{checkResult} , check_result_info= #{checkResultInfo} , c_id= #{cId} , u_id= #{uId} , c_time= #{cTime} , u_time= #{uTime} , version= #{version} , uuid= #{uuid} , impurity_mineral= #{impurityMineral} , mildew_count= #{mildewCount} , ab_color_ratio= #{abColorRatio} , damage_ratio= #{damageRatio} , hot_damage_ratio= #{hotDamageRatio} , clean_rice= #{cleanRice} , husked_rice_weight= #{huskedRiceWeight} , ab_type_rice= #{abTypeRice} , bud_shell_rice= #{budShellRice} , husked_badpart_weight= #{huskedBadpartWeight} , capacity_result= #{capacityResult} , badpart_mildew_count_result= #{badpartMildewCountResult} , impurity_result= #{impurityResult} , fat_index_result= #{fatIndexResult} , water_result= #{waterResult} , eat_score_result= #{eatScoreResult} , aflatoxin_b= #{aflatoxinB} , aflatoxin_b_result= #{aflatoxinBResult} , phosphide= #{phosphide} , phosphide_result= #{phosphideResult} , checktype_result= #{checktypeResult} , colorsmell_result= #{colorsmellResult} , badpart_result= #{badpartResult} , impurty_sum_result= #{impurtySumResult} , mineral_result= #{mineralResult} , gluten_water_count_result= #{glutenWaterCountResult} , viscosity_result= #{viscosityResult} , husked_ration_result= #{huskedRationResult} , full_good_ration_result= #{fullGoodRationResult} , out_husked_ration_result= #{outHuskedRationResult} , yellow_part_result= #{yellowPartResult} , goodpart_result= #{goodpartResult} , hot_damage_result= #{hotDamageResult} , boldfat_index_result= #{boldfatIndexResult} , protein_solution_ratio_result= #{proteinSolutionRatioResult} , reviewer= #{reviewer} , apply_check_time= #{applyCheckTime} , check_time_type= #{checkTimeType} , check_result_time= #{checkResultTime} , store_quality = #{storeQuality} , is_pest = #{isPest} , deducted_conditions = #{deductedConditions} , input_deducted_info = #{inputDeductedInfo} , water_deducted_info = #{waterDeductedInfo} , impurity_deducted_info = #{impurityDeductedInfo} , other_deducted_info = #{otherDeductedInfo} , deducted_pic = #{deductedPic}, water_tips_flag = #{waterTipsFlag} WHERE id = #{id} DELETE FROM daily_record_qualitycheck WHERE id = #{id} DELETE FROM daily_record_qualitycheck WHERE id IN #{item} DELETE FROM daily_record_qualitycheck WHERE house_id = #{houseId} AND check_time #{cTime}