|
@@ -35,7 +35,7 @@
|
|
|
<insert id="insertSelective" parameterType="com.izouma.awesomeadmin.model.Game" useGeneratedKeys="true"
|
|
<insert id="insertSelective" parameterType="com.izouma.awesomeadmin.model.Game" useGeneratedKeys="true"
|
|
|
keyProperty="id">
|
|
keyProperty="id">
|
|
|
insert into game
|
|
insert into game
|
|
|
- <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
|
|
|
+ <trim prefix="(" suffix=", `order`)" suffixOverrides=",">
|
|
|
<!--generatedStart-->
|
|
<!--generatedStart-->
|
|
|
<if test="id!= null">
|
|
<if test="id!= null">
|
|
|
id,
|
|
id,
|
|
@@ -75,7 +75,7 @@
|
|
|
</if>
|
|
</if>
|
|
|
<!--generatedEnd-->
|
|
<!--generatedEnd-->
|
|
|
</trim>
|
|
</trim>
|
|
|
- <trim prefix="SELECT " suffix=" max(`order`)+1 FROM game">
|
|
|
|
|
|
|
+ <trim prefix="SELECT " suffix=", max(`order`)+1 from game" suffixOverrides=",">
|
|
|
<!--generatedStart-->
|
|
<!--generatedStart-->
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
|
#{id,jdbcType=INTEGER},
|
|
#{id,jdbcType=INTEGER},
|