update userhonor
set totalmoney = totalmoney + #{totalmoney},totalscore = totalscore + #{totalscore},
howmuch = howmuch + #{howmuch},totalpoint=totalpoint + #{totalpoint},
goldmedalcount=goldmedalcount+#{goldmedalcount},silvermedalcount=silvermedalcount+#{silvermedalcount},
bronzemedalcount=bronzemedalcount+#{bronzemedalcount},userlevel=#{userlevel},levelname=#{levelname}
where uid=#{uid} and areaid = #{areaid}
update userhonor
set jmark=#{jMark,typeHandler=com._3e.http.wrongbook.typehandler.JSONTypeHandlerPg}
where uid=#{uid} and areaid = #{areaId}
update userhonor set befollowcount = befollowcount -1 where uid=#{uid}
update userhonor set befollowcount = befollowcount + 1 where uid= #{uid}
INSERT INTO UserHonor ( uid, totalPoint, userLevel, levelName, totalMoney,
goldMedalCount, silverMedalCount, bronzeMedalCount, cupCount, flowerCount,
totalScore, howmuch , studyDuration, studyNum, beFollowCount , areaid ) Values
( #{uid}, #{totalpoint}, #{userlevel}, #{levelname}, #{totalmoney},
#{goldmedalcount}, #{silvermedalcount}, #{bronzemedalcount}, #{cupcount}, #{flowercount},
#{totalscore}, #{howmuch} , #{studyduration}, #{studynum}, #{befollowcount} , #{areaid})
delete from UserHonor where uid = #{studentId}