添加对象时如何将数据库生产的id返回,例如购物车的订单号

 useGenerateKeys 和keyProperty必须同时使用

原文地址:https://www.cnblogs.com/sh-0131/p/11431726.html