9 changed files with 1235 additions and 1115 deletions
@ -1,106 +1,117 @@ |
|||||
package com.ccsens.tall.bean.po; |
package com.ccsens.tall.bean.po; |
||||
|
|
||||
import java.io.Serializable; |
import java.io.Serializable; |
||||
import java.util.Date; |
import java.util.Date; |
||||
|
|
||||
public class SysLog implements Serializable { |
public class SysLog implements Serializable { |
||||
private Long id; |
private Long id; |
||||
|
|
||||
private String url; |
private String url; |
||||
|
|
||||
private String methodDesc; |
private String methodDesc; |
||||
|
|
||||
private String params; |
private String params; |
||||
|
|
||||
private String result; |
private String result; |
||||
|
|
||||
private Date createdAt; |
private Date createdAt; |
||||
|
|
||||
private Date updatedAt; |
private Date updatedAt; |
||||
|
|
||||
private Byte recStatus; |
private Byte recStatus; |
||||
|
|
||||
private static final long serialVersionUID = 1L; |
private String facility; |
||||
|
|
||||
public Long getId() { |
private static final long serialVersionUID = 1L; |
||||
return id; |
|
||||
} |
public Long getId() { |
||||
|
return id; |
||||
public void setId(Long id) { |
} |
||||
this.id = id; |
|
||||
} |
public void setId(Long id) { |
||||
|
this.id = id; |
||||
public String getUrl() { |
} |
||||
return url; |
|
||||
} |
public String getUrl() { |
||||
|
return url; |
||||
public void setUrl(String url) { |
} |
||||
this.url = url == null ? null : url.trim(); |
|
||||
} |
public void setUrl(String url) { |
||||
|
this.url = url == null ? null : url.trim(); |
||||
public String getMethodDesc() { |
} |
||||
return methodDesc; |
|
||||
} |
public String getMethodDesc() { |
||||
|
return methodDesc; |
||||
public void setMethodDesc(String methodDesc) { |
} |
||||
this.methodDesc = methodDesc == null ? null : methodDesc.trim(); |
|
||||
} |
public void setMethodDesc(String methodDesc) { |
||||
|
this.methodDesc = methodDesc == null ? null : methodDesc.trim(); |
||||
public String getParams() { |
} |
||||
return params; |
|
||||
} |
public String getParams() { |
||||
|
return params; |
||||
public void setParams(String params) { |
} |
||||
this.params = params == null ? null : params.trim(); |
|
||||
} |
public void setParams(String params) { |
||||
|
this.params = params == null ? null : params.trim(); |
||||
public String getResult() { |
} |
||||
return result; |
|
||||
} |
public String getResult() { |
||||
|
return result; |
||||
public void setResult(String result) { |
} |
||||
this.result = result == null ? null : result.trim(); |
|
||||
} |
public void setResult(String result) { |
||||
|
this.result = result == null ? null : result.trim(); |
||||
public Date getCreatedAt() { |
} |
||||
return createdAt; |
|
||||
} |
public Date getCreatedAt() { |
||||
|
return createdAt; |
||||
public void setCreatedAt(Date createdAt) { |
} |
||||
this.createdAt = createdAt; |
|
||||
} |
public void setCreatedAt(Date createdAt) { |
||||
|
this.createdAt = createdAt; |
||||
public Date getUpdatedAt() { |
} |
||||
return updatedAt; |
|
||||
} |
public Date getUpdatedAt() { |
||||
|
return updatedAt; |
||||
public void setUpdatedAt(Date updatedAt) { |
} |
||||
this.updatedAt = updatedAt; |
|
||||
} |
public void setUpdatedAt(Date updatedAt) { |
||||
|
this.updatedAt = updatedAt; |
||||
public Byte getRecStatus() { |
} |
||||
return recStatus; |
|
||||
} |
public Byte getRecStatus() { |
||||
|
return recStatus; |
||||
public void setRecStatus(Byte recStatus) { |
} |
||||
this.recStatus = recStatus; |
|
||||
} |
public void setRecStatus(Byte recStatus) { |
||||
|
this.recStatus = recStatus; |
||||
@Override |
} |
||||
public String toString() { |
|
||||
StringBuilder sb = new StringBuilder(); |
public String getFacility() { |
||||
sb.append(getClass().getSimpleName()); |
return facility; |
||||
sb.append(" ["); |
} |
||||
sb.append("Hash = ").append(hashCode()); |
|
||||
sb.append(", id=").append(id); |
public void setFacility(String facility) { |
||||
sb.append(", url=").append(url); |
this.facility = facility == null ? null : facility.trim(); |
||||
sb.append(", methodDesc=").append(methodDesc); |
} |
||||
sb.append(", params=").append(params); |
|
||||
sb.append(", result=").append(result); |
@Override |
||||
sb.append(", createdAt=").append(createdAt); |
public String toString() { |
||||
sb.append(", updatedAt=").append(updatedAt); |
StringBuilder sb = new StringBuilder(); |
||||
sb.append(", recStatus=").append(recStatus); |
sb.append(getClass().getSimpleName()); |
||||
sb.append("]"); |
sb.append(" ["); |
||||
return sb.toString(); |
sb.append("Hash = ").append(hashCode()); |
||||
} |
sb.append(", id=").append(id); |
||||
|
sb.append(", url=").append(url); |
||||
|
sb.append(", methodDesc=").append(methodDesc); |
||||
|
sb.append(", params=").append(params); |
||||
|
sb.append(", result=").append(result); |
||||
|
sb.append(", createdAt=").append(createdAt); |
||||
|
sb.append(", updatedAt=").append(updatedAt); |
||||
|
sb.append(", recStatus=").append(recStatus); |
||||
|
sb.append(", facility=").append(facility); |
||||
|
sb.append("]"); |
||||
|
return sb.toString(); |
||||
|
} |
||||
} |
} |
File diff suppressed because it is too large
@ -1,30 +1,30 @@ |
|||||
package com.ccsens.tall.persist.mapper; |
package com.ccsens.tall.persist.mapper; |
||||
|
|
||||
import com.ccsens.tall.bean.po.SysLog; |
import com.ccsens.tall.bean.po.SysLog; |
||||
import com.ccsens.tall.bean.po.SysLogExample; |
import com.ccsens.tall.bean.po.SysLogExample; |
||||
import java.util.List; |
import java.util.List; |
||||
import org.apache.ibatis.annotations.Param; |
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
public interface SysLogMapper { |
public interface SysLogMapper { |
||||
long countByExample(SysLogExample example); |
long countByExample(SysLogExample example); |
||||
|
|
||||
int deleteByExample(SysLogExample example); |
int deleteByExample(SysLogExample example); |
||||
|
|
||||
int deleteByPrimaryKey(Long id); |
int deleteByPrimaryKey(Long id); |
||||
|
|
||||
int insert(SysLog record); |
int insert(SysLog record); |
||||
|
|
||||
int insertSelective(SysLog record); |
int insertSelective(SysLog record); |
||||
|
|
||||
List<SysLog> selectByExample(SysLogExample example); |
List<SysLog> selectByExample(SysLogExample example); |
||||
|
|
||||
SysLog selectByPrimaryKey(Long id); |
SysLog selectByPrimaryKey(Long id); |
||||
|
|
||||
int updateByExampleSelective(@Param("record") SysLog record, @Param("example") SysLogExample example); |
int updateByExampleSelective(@Param("record") SysLog record, @Param("example") SysLogExample example); |
||||
|
|
||||
int updateByExample(@Param("record") SysLog record, @Param("example") SysLogExample example); |
int updateByExample(@Param("record") SysLog record, @Param("example") SysLogExample example); |
||||
|
|
||||
int updateByPrimaryKeySelective(SysLog record); |
int updateByPrimaryKeySelective(SysLog record); |
||||
|
|
||||
int updateByPrimaryKey(SysLog record); |
int updateByPrimaryKey(SysLog record); |
||||
} |
} |
@ -1,258 +1,275 @@ |
|||||
<?xml version="1.0" encoding="UTF-8"?> |
<?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"> |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.ccsens.tall.persist.mapper.SysLogMapper"> |
<mapper namespace="com.ccsens.tall.persist.mapper.SysLogMapper"> |
||||
<resultMap id="BaseResultMap" type="com.ccsens.tall.bean.po.SysLog"> |
<resultMap id="BaseResultMap" type="com.ccsens.tall.bean.po.SysLog"> |
||||
<id column="id" jdbcType="BIGINT" property="id" /> |
<id column="id" jdbcType="BIGINT" property="id" /> |
||||
<result column="url" jdbcType="VARCHAR" property="url" /> |
<result column="url" jdbcType="VARCHAR" property="url" /> |
||||
<result column="method_desc" jdbcType="VARCHAR" property="methodDesc" /> |
<result column="method_desc" jdbcType="VARCHAR" property="methodDesc" /> |
||||
<result column="params" jdbcType="VARCHAR" property="params" /> |
<result column="params" jdbcType="VARCHAR" property="params" /> |
||||
<result column="result" jdbcType="VARCHAR" property="result" /> |
<result column="result" jdbcType="VARCHAR" property="result" /> |
||||
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
||||
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> |
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> |
||||
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
||||
</resultMap> |
<result column="facility" jdbcType="VARCHAR" property="facility" /> |
||||
<sql id="Example_Where_Clause"> |
</resultMap> |
||||
<where> |
<sql id="Example_Where_Clause"> |
||||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
<where> |
||||
<if test="criteria.valid"> |
<foreach collection="oredCriteria" item="criteria" separator="or"> |
||||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
<if test="criteria.valid"> |
||||
<foreach collection="criteria.criteria" item="criterion"> |
<trim prefix="(" prefixOverrides="and" suffix=")"> |
||||
<choose> |
<foreach collection="criteria.criteria" item="criterion"> |
||||
<when test="criterion.noValue"> |
<choose> |
||||
and ${criterion.condition} |
<when test="criterion.noValue"> |
||||
</when> |
and ${criterion.condition} |
||||
<when test="criterion.singleValue"> |
</when> |
||||
and ${criterion.condition} #{criterion.value} |
<when test="criterion.singleValue"> |
||||
</when> |
and ${criterion.condition} #{criterion.value} |
||||
<when test="criterion.betweenValue"> |
</when> |
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
<when test="criterion.betweenValue"> |
||||
</when> |
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
||||
<when test="criterion.listValue"> |
</when> |
||||
and ${criterion.condition} |
<when test="criterion.listValue"> |
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
and ${criterion.condition} |
||||
#{listItem} |
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
||||
</foreach> |
#{listItem} |
||||
</when> |
</foreach> |
||||
</choose> |
</when> |
||||
</foreach> |
</choose> |
||||
</trim> |
</foreach> |
||||
</if> |
</trim> |
||||
</foreach> |
</if> |
||||
</where> |
</foreach> |
||||
</sql> |
</where> |
||||
<sql id="Update_By_Example_Where_Clause"> |
</sql> |
||||
<where> |
<sql id="Update_By_Example_Where_Clause"> |
||||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
<where> |
||||
<if test="criteria.valid"> |
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
||||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
<if test="criteria.valid"> |
||||
<foreach collection="criteria.criteria" item="criterion"> |
<trim prefix="(" prefixOverrides="and" suffix=")"> |
||||
<choose> |
<foreach collection="criteria.criteria" item="criterion"> |
||||
<when test="criterion.noValue"> |
<choose> |
||||
and ${criterion.condition} |
<when test="criterion.noValue"> |
||||
</when> |
and ${criterion.condition} |
||||
<when test="criterion.singleValue"> |
</when> |
||||
and ${criterion.condition} #{criterion.value} |
<when test="criterion.singleValue"> |
||||
</when> |
and ${criterion.condition} #{criterion.value} |
||||
<when test="criterion.betweenValue"> |
</when> |
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
<when test="criterion.betweenValue"> |
||||
</when> |
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
||||
<when test="criterion.listValue"> |
</when> |
||||
and ${criterion.condition} |
<when test="criterion.listValue"> |
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
and ${criterion.condition} |
||||
#{listItem} |
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
||||
</foreach> |
#{listItem} |
||||
</when> |
</foreach> |
||||
</choose> |
</when> |
||||
</foreach> |
</choose> |
||||
</trim> |
</foreach> |
||||
</if> |
</trim> |
||||
</foreach> |
</if> |
||||
</where> |
</foreach> |
||||
</sql> |
</where> |
||||
<sql id="Base_Column_List"> |
</sql> |
||||
id, url, method_desc, params, result, created_at, updated_at, rec_status |
<sql id="Base_Column_List"> |
||||
</sql> |
id, url, method_desc, params, result, created_at, updated_at, rec_status, facility |
||||
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.SysLogExample" resultMap="BaseResultMap"> |
</sql> |
||||
select |
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.SysLogExample" resultMap="BaseResultMap"> |
||||
<if test="distinct"> |
select |
||||
distinct |
<if test="distinct"> |
||||
</if> |
distinct |
||||
<include refid="Base_Column_List" /> |
</if> |
||||
from t_sys_log |
<include refid="Base_Column_List" /> |
||||
<if test="_parameter != null"> |
from t_sys_log |
||||
<include refid="Example_Where_Clause" /> |
<if test="_parameter != null"> |
||||
</if> |
<include refid="Example_Where_Clause" /> |
||||
<if test="orderByClause != null"> |
</if> |
||||
order by ${orderByClause} |
<if test="orderByClause != null"> |
||||
</if> |
order by ${orderByClause} |
||||
</select> |
</if> |
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
</select> |
||||
select |
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
||||
<include refid="Base_Column_List" /> |
select |
||||
from t_sys_log |
<include refid="Base_Column_List" /> |
||||
where id = #{id,jdbcType=BIGINT} |
from t_sys_log |
||||
</select> |
where id = #{id,jdbcType=BIGINT} |
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
</select> |
||||
delete from t_sys_log |
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
where id = #{id,jdbcType=BIGINT} |
delete from t_sys_log |
||||
</delete> |
where id = #{id,jdbcType=BIGINT} |
||||
<delete id="deleteByExample" parameterType="com.ccsens.tall.bean.po.SysLogExample"> |
</delete> |
||||
delete from t_sys_log |
<delete id="deleteByExample" parameterType="com.ccsens.tall.bean.po.SysLogExample"> |
||||
<if test="_parameter != null"> |
delete from t_sys_log |
||||
<include refid="Example_Where_Clause" /> |
<if test="_parameter != null"> |
||||
</if> |
<include refid="Example_Where_Clause" /> |
||||
</delete> |
</if> |
||||
<insert id="insert" parameterType="com.ccsens.tall.bean.po.SysLog"> |
</delete> |
||||
insert into t_sys_log (id, url, method_desc, |
<insert id="insert" parameterType="com.ccsens.tall.bean.po.SysLog"> |
||||
params, result, created_at, |
insert into t_sys_log (id, url, method_desc, |
||||
updated_at, rec_status) |
params, result, created_at, |
||||
values (#{id,jdbcType=BIGINT}, #{url,jdbcType=VARCHAR}, #{methodDesc,jdbcType=VARCHAR}, |
updated_at, rec_status, facility |
||||
#{params,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, |
) |
||||
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}) |
values (#{id,jdbcType=BIGINT}, #{url,jdbcType=VARCHAR}, #{methodDesc,jdbcType=VARCHAR}, |
||||
</insert> |
#{params,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, |
||||
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.SysLog"> |
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, #{facility,jdbcType=VARCHAR} |
||||
insert into t_sys_log |
) |
||||
<trim prefix="(" suffix=")" suffixOverrides=","> |
</insert> |
||||
<if test="id != null"> |
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.SysLog"> |
||||
id, |
insert into t_sys_log |
||||
</if> |
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
<if test="url != null"> |
<if test="id != null"> |
||||
url, |
id, |
||||
</if> |
</if> |
||||
<if test="methodDesc != null"> |
<if test="url != null"> |
||||
method_desc, |
url, |
||||
</if> |
</if> |
||||
<if test="params != null"> |
<if test="methodDesc != null"> |
||||
params, |
method_desc, |
||||
</if> |
</if> |
||||
<if test="result != null"> |
<if test="params != null"> |
||||
result, |
params, |
||||
</if> |
</if> |
||||
<if test="createdAt != null"> |
<if test="result != null"> |
||||
created_at, |
result, |
||||
</if> |
</if> |
||||
<if test="updatedAt != null"> |
<if test="createdAt != null"> |
||||
updated_at, |
created_at, |
||||
</if> |
</if> |
||||
<if test="recStatus != null"> |
<if test="updatedAt != null"> |
||||
rec_status, |
updated_at, |
||||
</if> |
</if> |
||||
</trim> |
<if test="recStatus != null"> |
||||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
rec_status, |
||||
<if test="id != null"> |
</if> |
||||
#{id,jdbcType=BIGINT}, |
<if test="facility != null"> |
||||
</if> |
facility, |
||||
<if test="url != null"> |
</if> |
||||
#{url,jdbcType=VARCHAR}, |
</trim> |
||||
</if> |
<trim prefix="values (" suffix=")" suffixOverrides=","> |
||||
<if test="methodDesc != null"> |
<if test="id != null"> |
||||
#{methodDesc,jdbcType=VARCHAR}, |
#{id,jdbcType=BIGINT}, |
||||
</if> |
</if> |
||||
<if test="params != null"> |
<if test="url != null"> |
||||
#{params,jdbcType=VARCHAR}, |
#{url,jdbcType=VARCHAR}, |
||||
</if> |
</if> |
||||
<if test="result != null"> |
<if test="methodDesc != null"> |
||||
#{result,jdbcType=VARCHAR}, |
#{methodDesc,jdbcType=VARCHAR}, |
||||
</if> |
</if> |
||||
<if test="createdAt != null"> |
<if test="params != null"> |
||||
#{createdAt,jdbcType=TIMESTAMP}, |
#{params,jdbcType=VARCHAR}, |
||||
</if> |
</if> |
||||
<if test="updatedAt != null"> |
<if test="result != null"> |
||||
#{updatedAt,jdbcType=TIMESTAMP}, |
#{result,jdbcType=VARCHAR}, |
||||
</if> |
</if> |
||||
<if test="recStatus != null"> |
<if test="createdAt != null"> |
||||
#{recStatus,jdbcType=TINYINT}, |
#{createdAt,jdbcType=TIMESTAMP}, |
||||
</if> |
</if> |
||||
</trim> |
<if test="updatedAt != null"> |
||||
</insert> |
#{updatedAt,jdbcType=TIMESTAMP}, |
||||
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.SysLogExample" resultType="java.lang.Long"> |
</if> |
||||
select count(*) from t_sys_log |
<if test="recStatus != null"> |
||||
<if test="_parameter != null"> |
#{recStatus,jdbcType=TINYINT}, |
||||
<include refid="Example_Where_Clause" /> |
</if> |
||||
</if> |
<if test="facility != null"> |
||||
</select> |
#{facility,jdbcType=VARCHAR}, |
||||
<update id="updateByExampleSelective" parameterType="map"> |
</if> |
||||
update t_sys_log |
</trim> |
||||
<set> |
</insert> |
||||
<if test="record.id != null"> |
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.SysLogExample" resultType="java.lang.Long"> |
||||
id = #{record.id,jdbcType=BIGINT}, |
select count(*) from t_sys_log |
||||
</if> |
<if test="_parameter != null"> |
||||
<if test="record.url != null"> |
<include refid="Example_Where_Clause" /> |
||||
url = #{record.url,jdbcType=VARCHAR}, |
</if> |
||||
</if> |
</select> |
||||
<if test="record.methodDesc != null"> |
<update id="updateByExampleSelective" parameterType="map"> |
||||
method_desc = #{record.methodDesc,jdbcType=VARCHAR}, |
update t_sys_log |
||||
</if> |
<set> |
||||
<if test="record.params != null"> |
<if test="record.id != null"> |
||||
params = #{record.params,jdbcType=VARCHAR}, |
id = #{record.id,jdbcType=BIGINT}, |
||||
</if> |
</if> |
||||
<if test="record.result != null"> |
<if test="record.url != null"> |
||||
result = #{record.result,jdbcType=VARCHAR}, |
url = #{record.url,jdbcType=VARCHAR}, |
||||
</if> |
</if> |
||||
<if test="record.createdAt != null"> |
<if test="record.methodDesc != null"> |
||||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
method_desc = #{record.methodDesc,jdbcType=VARCHAR}, |
||||
</if> |
</if> |
||||
<if test="record.updatedAt != null"> |
<if test="record.params != null"> |
||||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
params = #{record.params,jdbcType=VARCHAR}, |
||||
</if> |
</if> |
||||
<if test="record.recStatus != null"> |
<if test="record.result != null"> |
||||
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
result = #{record.result,jdbcType=VARCHAR}, |
||||
</if> |
</if> |
||||
</set> |
<if test="record.createdAt != null"> |
||||
<if test="_parameter != null"> |
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
||||
<include refid="Update_By_Example_Where_Clause" /> |
</if> |
||||
</if> |
<if test="record.updatedAt != null"> |
||||
</update> |
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
||||
<update id="updateByExample" parameterType="map"> |
</if> |
||||
update t_sys_log |
<if test="record.recStatus != null"> |
||||
set id = #{record.id,jdbcType=BIGINT}, |
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
||||
url = #{record.url,jdbcType=VARCHAR}, |
</if> |
||||
method_desc = #{record.methodDesc,jdbcType=VARCHAR}, |
<if test="record.facility != null"> |
||||
params = #{record.params,jdbcType=VARCHAR}, |
facility = #{record.facility,jdbcType=VARCHAR}, |
||||
result = #{record.result,jdbcType=VARCHAR}, |
</if> |
||||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
</set> |
||||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
<if test="_parameter != null"> |
||||
rec_status = #{record.recStatus,jdbcType=TINYINT} |
<include refid="Update_By_Example_Where_Clause" /> |
||||
<if test="_parameter != null"> |
</if> |
||||
<include refid="Update_By_Example_Where_Clause" /> |
</update> |
||||
</if> |
<update id="updateByExample" parameterType="map"> |
||||
</update> |
update t_sys_log |
||||
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.tall.bean.po.SysLog"> |
set id = #{record.id,jdbcType=BIGINT}, |
||||
update t_sys_log |
url = #{record.url,jdbcType=VARCHAR}, |
||||
<set> |
method_desc = #{record.methodDesc,jdbcType=VARCHAR}, |
||||
<if test="url != null"> |
params = #{record.params,jdbcType=VARCHAR}, |
||||
url = #{url,jdbcType=VARCHAR}, |
result = #{record.result,jdbcType=VARCHAR}, |
||||
</if> |
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
||||
<if test="methodDesc != null"> |
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
||||
method_desc = #{methodDesc,jdbcType=VARCHAR}, |
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
||||
</if> |
facility = #{record.facility,jdbcType=VARCHAR} |
||||
<if test="params != null"> |
<if test="_parameter != null"> |
||||
params = #{params,jdbcType=VARCHAR}, |
<include refid="Update_By_Example_Where_Clause" /> |
||||
</if> |
</if> |
||||
<if test="result != null"> |
</update> |
||||
result = #{result,jdbcType=VARCHAR}, |
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.tall.bean.po.SysLog"> |
||||
</if> |
update t_sys_log |
||||
<if test="createdAt != null"> |
<set> |
||||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
<if test="url != null"> |
||||
</if> |
url = #{url,jdbcType=VARCHAR}, |
||||
<if test="updatedAt != null"> |
</if> |
||||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
<if test="methodDesc != null"> |
||||
</if> |
method_desc = #{methodDesc,jdbcType=VARCHAR}, |
||||
<if test="recStatus != null"> |
</if> |
||||
rec_status = #{recStatus,jdbcType=TINYINT}, |
<if test="params != null"> |
||||
</if> |
params = #{params,jdbcType=VARCHAR}, |
||||
</set> |
</if> |
||||
where id = #{id,jdbcType=BIGINT} |
<if test="result != null"> |
||||
</update> |
result = #{result,jdbcType=VARCHAR}, |
||||
<update id="updateByPrimaryKey" parameterType="com.ccsens.tall.bean.po.SysLog"> |
</if> |
||||
update t_sys_log |
<if test="createdAt != null"> |
||||
set url = #{url,jdbcType=VARCHAR}, |
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
||||
method_desc = #{methodDesc,jdbcType=VARCHAR}, |
</if> |
||||
params = #{params,jdbcType=VARCHAR}, |
<if test="updatedAt != null"> |
||||
result = #{result,jdbcType=VARCHAR}, |
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
||||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
</if> |
||||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
<if test="recStatus != null"> |
||||
rec_status = #{recStatus,jdbcType=TINYINT} |
rec_status = #{recStatus,jdbcType=TINYINT}, |
||||
where id = #{id,jdbcType=BIGINT} |
</if> |
||||
</update> |
<if test="facility != null"> |
||||
|
facility = #{facility,jdbcType=VARCHAR}, |
||||
|
</if> |
||||
|
</set> |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</update> |
||||
|
<update id="updateByPrimaryKey" parameterType="com.ccsens.tall.bean.po.SysLog"> |
||||
|
update t_sys_log |
||||
|
set url = #{url,jdbcType=VARCHAR}, |
||||
|
method_desc = #{methodDesc,jdbcType=VARCHAR}, |
||||
|
params = #{params,jdbcType=VARCHAR}, |
||||
|
result = #{result,jdbcType=VARCHAR}, |
||||
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
||||
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
||||
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
||||
|
facility = #{facility,jdbcType=VARCHAR} |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</update> |
||||
</mapper> |
</mapper> |
Loading…
Reference in new issue