<select id="selectTopIndex" parameterType="com.dzmsoft.sms.base.pojo.SmsEmployeeExample" resultType="java.lang.String">
select
right(concat('00000000',count(1)+1),8)
from sms_employee
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
通过mybatis产生序号
最新推荐文章于 2024-06-13 08:50:37 发布