# HG changeset patch # User ARAKI Tsuyohito # Date 1445653158 -32400 # Node ID 6354a2bc33100fbeaaf4ca982c0d4cd5ddfe9847 # Parent 6f0fefbe20dcfa6a5b7735291a44e03d78e6930f ts diff -r 6f0fefbe20dc -r 6354a2bc3310 opencampus2015/quest.rb --- a/opencampus2015/quest.rb Sat Oct 24 11:14:17 2015 +0900 +++ b/opencampus2015/quest.rb Sat Oct 24 11:19:18 2015 +0900 @@ -26,6 +26,7 @@ if chenge == 2 db.execute("update box set no1=?,e1=?,t1=?,tm1=?,no2=?,e2=?,t2=?,tm2=? where id = ?",no2,e2,t2,tm2,no1,e1,t1,tm1,id) calname = db.execute(newname,no2)[0][0] + db.execute("update test set cal = ? where id = ?",calname,id) elsif chenge == 3 db.execute("update box set no1=?,e1=?,t1=?,tm1=?,no3=?,e3=?,t3=?,tm3=? where id = ?",no3,e3,t3,tm3,no1,e1,t1,tm1,id)