通过mybatis产生序号

来源:互联网 发布:淘宝仓库发货总结 编辑:程序博客网 时间:2024/06/05 20:23
<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>
0 0
原创粉丝点击