例如: 将分数表的所有分数+10update grade set score=score+#{score}并没有起作用 分数值没有+10
先用update grade set score=score+10看看。如果可以,那么是参数的问题。最好你的参数和字段不要重名