select detail_id, check_id, check_code, inventory_id, into_id, into_date, actual_num, book_num, differ_num, differ_reason, price, actual_amount, book_amount, differ_amount, check_pic_urls, remark, create_by, create_time, update_by, update_time from ims_check_inventory_detail insert into ims_check_inventory_detail check_id, check_code, inventory_id, into_id, into_date, actual_num, book_num, differ_num, differ_reason, price, actual_amount, book_amount, differ_amount, check_pic_urls, remark, create_by, create_time, update_by, update_time, #{checkId}, #{checkCode}, #{inventoryId}, #{intoId}, #{intoDate}, #{actualNum}, #{bookNum}, #{differNum}, #{differReason}, #{price}, #{actualAmount}, #{bookAmount}, #{differAmount}, #{checkPicUrls}, #{remark}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update ims_check_inventory_detail check_id = #{checkId}, check_code = #{checkCode}, inventory_id = #{inventoryId}, into_id = #{intoId}, into_date = #{intoDate}, actual_num = #{actualNum}, book_num = #{bookNum}, differ_num = #{differNum}, differ_reason = #{differReason}, price = #{price}, actual_amount = #{actualAmount}, book_amount = #{bookAmount}, differ_amount = #{differAmount}, check_pic_urls = #{checkPicUrls}, remark = #{remark}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where detail_id = #{detailId} delete from ims_check_inventory_detail where detail_id = #{detailId} delete from ims_check_inventory_detail where detail_id in #{detailId}