企业编号 最大值 加1 以及新增时,企标名称可以重复(编号和名称重复也是新增一条,不做覆盖)

This commit is contained in:
gaojiabao
2023-04-04 11:44:31 +08:00
parent 9415f29898
commit c038fae038
9 changed files with 176 additions and 169 deletions
@@ -2,4 +2,8 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.sarBussStandSn.dao.SarBussStandSnDao">
<select id="selectMaxStandnSn" resultType="java.lang.String">
select Max(STAND_SN) from sar_buss_stand_sn
</select>
</mapper>
@@ -1255,7 +1255,4 @@
where id = #{attfId}
</update>
<select id="selectMaxStandnSn" resultType="java.lang.String">
select Max(STAND_SN) from sar_bussioness_stand
</select>
</mapper>