|
|
@ -10,6 +10,7 @@ |
|
|
|
<result column="company" jdbcType="VARCHAR" property="company" /> |
|
|
|
<result column="time" jdbcType="BIGINT" property="time" /> |
|
|
|
<result column="public_domain" jdbcType="TINYINT" property="publicDomain" /> |
|
|
|
<result column="last_rcv_time" jdbcType="BIGINT" property="lastRcvTime" /> |
|
|
|
<result column="operator" jdbcType="BIGINT" property="operator" /> |
|
|
|
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|
|
|
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> |
|
|
@ -74,8 +75,8 @@ |
|
|
|
</where> |
|
|
|
</sql> |
|
|
|
<sql id="Base_Column_List"> |
|
|
|
id, name, code, intro, domain_name, company, time, public_domain, operator, created_at, |
|
|
|
updated_at, rec_status |
|
|
|
id, name, code, intro, domain_name, company, time, public_domain, last_rcv_time, |
|
|
|
operator, created_at, updated_at, rec_status |
|
|
|
</sql> |
|
|
|
<select id="selectByExample" parameterType="com.ccsens.datacentre.bean.po.IdcDomainExample" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
@ -110,14 +111,14 @@ |
|
|
|
<insert id="insert" parameterType="com.ccsens.datacentre.bean.po.IdcDomain"> |
|
|
|
insert into t_idc_domain (id, name, code, |
|
|
|
intro, domain_name, company, |
|
|
|
time, public_domain, operator, |
|
|
|
created_at, updated_at, rec_status |
|
|
|
) |
|
|
|
time, public_domain, last_rcv_time, |
|
|
|
operator, created_at, updated_at, |
|
|
|
rec_status) |
|
|
|
values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, |
|
|
|
#{intro,jdbcType=VARCHAR}, #{domainName,jdbcType=VARCHAR}, #{company,jdbcType=VARCHAR}, |
|
|
|
#{time,jdbcType=BIGINT}, #{publicDomain,jdbcType=TINYINT}, #{operator,jdbcType=BIGINT}, |
|
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} |
|
|
|
) |
|
|
|
#{time,jdbcType=BIGINT}, #{publicDomain,jdbcType=TINYINT}, #{lastRcvTime,jdbcType=BIGINT}, |
|
|
|
#{operator,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
|
#{recStatus,jdbcType=TINYINT}) |
|
|
|
</insert> |
|
|
|
<insert id="insertSelective" parameterType="com.ccsens.datacentre.bean.po.IdcDomain"> |
|
|
|
insert into t_idc_domain |
|
|
@ -146,6 +147,9 @@ |
|
|
|
<if test="publicDomain != null"> |
|
|
|
public_domain, |
|
|
|
</if> |
|
|
|
<if test="lastRcvTime != null"> |
|
|
|
last_rcv_time, |
|
|
|
</if> |
|
|
|
<if test="operator != null"> |
|
|
|
operator, |
|
|
|
</if> |
|
|
@ -184,6 +188,9 @@ |
|
|
|
<if test="publicDomain != null"> |
|
|
|
#{publicDomain,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="lastRcvTime != null"> |
|
|
|
#{lastRcvTime,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="operator != null"> |
|
|
|
#{operator,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
@ -231,6 +238,9 @@ |
|
|
|
<if test="record.publicDomain != null"> |
|
|
|
public_domain = #{record.publicDomain,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="record.lastRcvTime != null"> |
|
|
|
last_rcv_time = #{record.lastRcvTime,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="record.operator != null"> |
|
|
|
operator = #{record.operator,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
@ -258,6 +268,7 @@ |
|
|
|
company = #{record.company,jdbcType=VARCHAR}, |
|
|
|
time = #{record.time,jdbcType=BIGINT}, |
|
|
|
public_domain = #{record.publicDomain,jdbcType=TINYINT}, |
|
|
|
last_rcv_time = #{record.lastRcvTime,jdbcType=BIGINT}, |
|
|
|
operator = #{record.operator,jdbcType=BIGINT}, |
|
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|
|
@ -290,6 +301,9 @@ |
|
|
|
<if test="publicDomain != null"> |
|
|
|
public_domain = #{publicDomain,jdbcType=TINYINT}, |
|
|
|
</if> |
|
|
|
<if test="lastRcvTime != null"> |
|
|
|
last_rcv_time = #{lastRcvTime,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
|
<if test="operator != null"> |
|
|
|
operator = #{operator,jdbcType=BIGINT}, |
|
|
|
</if> |
|
|
@ -314,6 +328,7 @@ |
|
|
|
company = #{company,jdbcType=VARCHAR}, |
|
|
|
time = #{time,jdbcType=BIGINT}, |
|
|
|
public_domain = #{publicDomain,jdbcType=TINYINT}, |
|
|
|
last_rcv_time = #{lastRcvTime,jdbcType=BIGINT}, |
|
|
|
operator = #{operator,jdbcType=BIGINT}, |
|
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
|