This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
galaxy-k18-galaxy-service/src/main/java/com/nis/web/dao/FakeIpConfigGroupDao.xml
zhangdongxu 13acafd43d 上传代码
2017-12-19 14:55:52 +08:00

51 lines
2.0 KiB
XML

<?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>