您好,欢迎访问一九零五行业门户网

mysql mybatis返回插入的主键id_MySQL

bitscn.com
mysql mybatis返回插入的主键id [html]     insert into t_company_info (company_id, isfranchisee, company_code, company_name)    values (#{companyid}, #{isfranchisee}, #{companycode}, #{companyname})                select last_insert_id() as id              在执行插入之后执行,查询到 主键id[html] select last_insert_id() as id    通过对象 com.yjf.entity.tcompanyinfo.companyid  取得主键[java] company.getcompanyid()   bitscn.com
其它类似信息

推荐信息