select f_id, f_pid, f_warehouseid, f_warehousename, inspection_photos, planned_date, inspection_date, inspector, inspection_remark, create_by, create_time, update_by, update_time, del_flag, remark from t_warehouse_warehousecheckitems insert into t_warehouse_warehousecheckitems f_pid, f_warehouseid, f_warehousename, inspection_photos, planned_date, inspection_date, inspector, inspection_remark, create_by, create_time, update_by, update_time, del_flag, remark, #{fPid}, #{fWarehouseid}, #{fWarehousename}, #{inspectionPhotos}, #{plannedDate}, #{inspectionDate}, #{inspector}, #{inspectionRemark}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{delFlag}, #{remark}, update t_warehouse_warehousecheckitems f_pid = #{fPid}, f_warehouseid = #{fWarehouseid}, f_warehousename = #{fWarehousename}, inspection_photos = #{inspectionPhotos}, planned_date = #{plannedDate}, inspection_date = #{inspectionDate}, inspector = #{inspector}, inspection_remark = #{inspectionRemark}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, del_flag = #{delFlag}, remark = #{remark}, where f_id = #{fId} delete from t_warehouse_warehousecheckitems where f_id = #{fId} delete from t_warehouse_warehousecheckitems where f_id in #{fId} update t_warehouse_warehousecheckitems set del_flag = '1' where f_pid in #{fId}