插入语句
useGeneratedKeys="true" //返回主键ID
keyProperty="eid" //主键
TranParams> param = new TranParams>(input); param.setResource(resource); TranResult result =service.create(param); //String eid= param.getParam().get("eid").toString(); //获取插入的主键ID oper.setTranResult(new SuccessTranResult>(input)); //插入成功后返回实体对象 //oper.setTranResult(new SuccessTranResult(eid));
上一篇 记录整合springsecurity注意事项
下一篇 gbase8a 集群间同步工具
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号