上传代码
This commit is contained in:
51
src/main/java/com/nis/web/dao/FakeIpConfigGroupDao.xml
Normal file
51
src/main/java/com/nis/web/dao/FakeIpConfigGroupDao.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.nis.web.dao.FakeIpConfigGroupDao">
|
||||
<resultMap id="BaseResultMap" type="com.nis.domain.restful.FakeIpConfigGroup">
|
||||
<result column="GROUP_ID" jdbcType="BIGINT" property="groupId" />
|
||||
<result column="COMPILE_ID" jdbcType="BIGINT" property="compileId" />
|
||||
<result column="IS_VALID" jdbcType="INTEGER" property="isValid" />
|
||||
<result column="OP_TIME" jdbcType="TIMESTAMP" property="opTime" />
|
||||
<result property="lastUpdate" jdbcType="TIMESTAMP" column="LAST_UPDATE"/>
|
||||
<result property="id" jdbcType="BIGINT" column="ID"/>
|
||||
</resultMap>
|
||||
<insert id="insert" parameterType="com.nis.domain.restful.FakeIpConfigGroup">
|
||||
insert into FAKE_IP_CONFIG_GROUP (GROUP_ID, COMPILE_ID, IS_VALID,
|
||||
OP_TIME,LAST_UPDATE,ID)
|
||||
values (#{groupId,jdbcType=BIGINT}, #{compileId,jdbcType=BIGINT}, #{isValid,jdbcType=INTEGER},
|
||||
#{opTime,jdbcType=TIMESTAMP},#{lastUpdate,jdbcType=TIMESTAMP},SEQ_CONFIG_GROUP.Nextval)
|
||||
</insert>
|
||||
<!--
|
||||
<insert id="insertSelective" parameterType="com.nis.domain.restful.FakeIpConfigGroup">
|
||||
insert into FAKE_IP_CONFIG_GROUP
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="groupId != null">
|
||||
GROUP_ID,
|
||||
</if>
|
||||
<if test="compileId != null">
|
||||
COMPILE_ID,
|
||||
</if>
|
||||
<if test="isValid != null">
|
||||
IS_VALID,
|
||||
</if>
|
||||
<if test="opTime != null">
|
||||
OP_TIME,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="groupId != null">
|
||||
#{groupId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="compileId != null">
|
||||
#{compileId,jdbcType=BIGINT},
|
||||
</if>
|
||||
<if test="isValid != null">
|
||||
#{isValid,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="opTime != null">
|
||||
#{opTime,jdbcType=DATE},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
-->
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user