select item_id, apply_id, apply_software_id, item_type, software_name, software_version, store_size, store_unit, sort, create_by, create_time, update_by, update_time, del_flag, remark from cs_res_apply_software_item insert into cs_res_apply_software_item item_id, apply_id, apply_software_id, item_type, software_name, software_version, store_size, store_unit, sort, create_by, create_time, update_by, update_time, del_flag, remark, #{itemId}, #{applyId}, #{applySoftwareId}, #{itemType}, #{softwareName}, #{softwareVersion}, #{storeSize}, #{storeUnit}, #{sort}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{delFlag}, #{remark}, insert into cs_res_apply_software_item item_id, apply_id, apply_software_id, item_type, software_name, software_version, store_size, store_unit, sort, create_by, create_time, del_flag, remark, #{item.itemId}, #{item.applyId}, #{item.applySoftwareId}, #{item.itemType}, #{item.softwareName}, #{item.softwareVersion}, #{item.storeSize}, #{item.storeUnit}, #{item.sort}, #{item.createBy}, #{item.createTime}, #{item.delFlag}, #{item.remark}, update cs_res_apply_software_item apply_id = #{applyId}, apply_software_id = #{applySoftwareId}, item_type = #{itemType}, software_name = #{softwareName}, software_version = #{softwareVersion}, store_size = #{storeSize}, store_unit = #{storeUnit}, sort = #{sort}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, del_flag = #{delFlag}, remark = #{remark}, where item_id = #{itemId} update cs_res_apply_software_item set del_flag = '1' where item_id = #{itemId} update cs_res_apply_software_item set del_flag = '1' where item_id in #{itemId} update cs_res_apply_software_item set del_flag = '1' where del_flag = '0' and apply_id = #{applyId}