java int转Short

使用short(xx)

problemMultipleChoiceDO.setExamCount((short)0);//在数据库中是smallint类型

 

posted @ 2019-08-03 11:39  文殊师利法王子  阅读(11447)  评论(0)    收藏  举报

Nine colored deer