MyBatis新增时的序列主键


  	
		select SEQ_ZZ_PETITIONERS.NEXTVAL from DUAL
	
	INSERT INTO T_ZZ_PETITIONERS (
		MI_ID,CI_RS_ID,IS_RESOLVE,IS_CONTROL,IS_THREE_CROSS)
    VALUES (
    	#{miId,jdbcType=DECIMAL},#{ciRsId,jdbcType=DECIMAL},#{isResolve,jdbcType=VARCHAR},
	#{isControl,jdbcType=VARCHAR},#{isThreeCross,jdbcType=VARCHAR})
  

你可能感兴趣的:(开发零碎问题)