GoMybatis
GoMybatis copied to clipboard
Insert方法是InsertTemplete还是InsertTemplate?
教程里是InsertTemplete,但example里是InsertTemplate。 我在XML里使用InsertTemplete,使用statik打包后,提示 panic: [GoMybatis] can not find method dao.AuctionMapper.InsertTemplete() in xml !
使用InsertTemplate,但没发现如何获得插入记录后的Id主键。
我应该如何处理这2个问题?