UPDATE code_customer SET DEL_FLAG = '1' WHERE CUSTOMER_ID = #{customerId} AND CLIENT_TYPE = #{clientType} AND DEL_FLAG = '0'