Skip to content

Commit

Permalink
🐛 菜单添加-查询最大序号-BUG修复
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojun1998 committed Jul 27, 2019
1 parent 9050ff5 commit 29410d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/mapper/MenuMapper.xml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
next.`order_num` = per.`order_num`
</update>

<select id="selectMaxOrderNum" resultMap="TreeBaseResultMap">
<select id="selectMaxOrderNum" resultType="java.lang.Integer">
select ifnull(max(order_num), 0)
from menu
</select>
Expand Down

0 comments on commit 29410d2

Please sign in to comment.