随笔分类 -  oracle

摘要:mysql写法 insert into TS_TDGPXX (ID,XZQH_DM) values('fhunjikolp','123'), ('fhunjikolp','123') oracle写法 insert all into TS_TDGPXX (ID,XZQH_DM) values ('d 阅读全文
posted @ 2020-05-28 10:16 uzxin 阅读(285) 评论(0) 推荐(0)
摘要:oracle数据库获取uuid:select rawtohex(sys_guid()) from dual; mapper.xml实例 <insert id="insert" parameterType="net.topcheer.module.entity.TsOperateLog"> <sele 阅读全文
posted @ 2020-05-27 19:29 uzxin 阅读(458) 评论(0) 推荐(0)
摘要:一、使用selectKey标签 <insert id="addLoginLog" parameterType="map" > <selectKey keyProperty="id" resultType="int" order="BEFORE"> select nvl(max(id),0)+1 fr 阅读全文
posted @ 2019-11-25 20:42 uzxin 阅读(3106) 评论(0) 推荐(0)