public static Boolean UpdateCount(SmsBindTemp obj) { String sql = "update sms_bind_temp set counter=" + obj.getCounter() + " where id=" + obj.getId(); if (MySqlDB.ExcCommand(sql)) return true; else { Program.logWriter.WriteLine("UpdateCount sql执行失败"); return false; } }