select id, ranch_id, sheepfold_name, sheepfold_type_id, sheepfold_no, row_no, columns, comment from da_sheepfold
insert into da_sheepfold
ranch_id,sheepfold_name,sheepfold_type_id,sheepfold_no,row_no,columns,comment,#{ranchId},#{sheepfoldName},#{sheepfoldTypeId},#{sheepfoldNo},#{rowNo},#{columns},#{comment},
update da_sheepfold
ranch_id = #{ranchId},sheepfold_name = #{sheepfoldName},sheepfold_type_id = #{sheepfoldTypeId},sheepfold_no = #{sheepfoldNo},row_no = #{rowNo},columns = #{columns},comment = #{comment},
where id = #{id}
delete from da_sheepfold where id = #{id}
delete from da_sheepfold where id in
#{id}