id , grain_id , check_type , check_time , reason , book_lhv , book_ddw , book_mlll , reality_lhv , reality_ddw , reality_mlll , checker , problems , match_Lhv , match_Ddw , match_Mlll INSERT INTO record_medicine_check id, grain_id, check_type, check_time, reason, book_lhv, book_ddw, book_mlll, reality_lhv, reality_ddw, reality_mlll, checker, problems, match_lhv, match_ddw, match_mlll #{id}, #{grainId}, #{checkType}, #{checkTime}, #{reason}, #{bookLhv}, #{bookDdw}, #{bookMlll}, #{realityLhv}, #{realityDdw}, #{realityMlll}, #{checker}, #{problems}, #{matchLhv}, #{matchDdw}, #{matchMlll} UPDATE record_medicine_check id= #{id} , grain_id= #{grainId} , check_type= #{checkType} , check_time= #{checkTime} , reason= #{reason} , book_lhv= #{bookLhv} , book_ddw= #{bookDdw} , book_mlll= #{bookMlll} , reality_lhv= #{realityLhv} , reality_ddw= #{realityDdw} , reality_mlll= #{realityMlll} , checker= #{checker} , problems= #{problems} , match_lhv = #{matchLhv} , match_ddw = #{matchDdw} , match_mlll = #{matchMlll} WHERE id = #{id} DELETE FROM record_medicine_check WHERE id = #{id} DELETE FROM record_medicine_check WHERE id IN #{item}