update 新增桩时判断编号

This commit is contained in:
Lemon
2023-08-26 09:46:46 +08:00
parent 543a23e597
commit 871dbe4882
8 changed files with 56 additions and 6 deletions

View File

@@ -399,4 +399,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</foreach>
</if>
</select>
<select id="getMaxNumPileInfo" resultMap="PileBasicInfoResult">
select
max(id),
sn
from
pile_basic_info
</select>
</mapper>