<insert id="insert">
INSERT INTO opr (
)
VALUES (
)
<selectKey resultType="int" keyProperty="id">
SELECT
LAST_INSERT_ID() AS id
</selectKey>
</insert>
INSERT INTO opr (
)
VALUES (
)
<selectKey resultType="int" keyProperty="id">
SELECT
LAST_INSERT_ID() AS id
</selectKey>
</insert>