Пример #1
0
        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;
            }
        }
Пример #2
0
 public static void UpdateSmsBindTempReceiveFlag(String flag,SmsBindTemp temp)
 {
     String sql = "update sms_bind_temp set receiveFlag=" + flag + " where id=" + temp.getId();
     if (MySqlDB.ExcCommand(sql)==false)
         Program.logWriter.WriteLine("UpdateSmsBindTempReceiveFlag sql执行失败");
 }