2020
11-19
11-19
MyBatis常见报错问题及解决方案
这是一个出错的代码publicinterfaceOrderInfoManageMapper{List<GetOrderInfoManageListReq>selectAllOrder();voidmodifyDelivery(intid);voidremoveOrder(intid);List<GetOrderInfoManageListReq>selectOrderById(@Param("id")Integerid);}一、报错:1Thereisnogetterforpropertynamed'id'in'classjava.lang.Integer'检查mapper.xml文件,没错,如下:<selectid="selectOrderById"parameterType=...
继续阅读 >