update y_contract_tenancy set del_flag=1 where contract_id=#{contract_id}