|
@@ -44,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
|
|
|
<insert id="insertCompanyInfo" parameterType="CompanyInfo" useGeneratedKeys="true" keyProperty="companyId">
|
|
|
- <selectKey keyProperty="companyId" order="BEFORE" resultType="java.lang.Long" >
|
|
|
+ <selectKey keyProperty="companyId" order="AFTER" resultType="java.lang.Long" >
|
|
|
SELECT LAST_INSERT_ID();
|
|
|
</selectKey>
|
|
|
insert into t_company_info
|