Attribute "resultType" must be declared for element type "update" or "insert"

 仔细查看错误如图所示:

    解决错误就是把resultType去掉,因为在insert和update语句中是没有返回值的。小坑小坑

转自:https://blog.csdn.net/u013144287/article/details/77328265

原文地址:https://www.cnblogs.com/isme-zjh/p/11764209.html