|
|
@@ -32,6 +32,9 @@
|
|
|
</sql>
|
|
|
|
|
|
<insert id="insert" parameterType="com.railway.business.baseinfo.domain.BaseStation">
|
|
|
+ <selectKey keyProperty="stationId" order="AFTER" resultType="Long">
|
|
|
+ select @@IDENTITY as station_id
|
|
|
+ </selectKey>
|
|
|
INSERT INTO base_station
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test='null != stationName'>
|