12 changed files with 1941 additions and 1511 deletions
@ -1,150 +1,161 @@ |
|||||
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 ProTaskDeliverPostLog implements Serializable { |
public class ProTaskDeliverPostLog implements Serializable { |
||||
private Long id; |
private Long id; |
||||
|
|
||||
private Long deliverId; |
private Long deliverId; |
||||
|
|
||||
private Long taskSubTimeId; |
private Long taskSubTimeId; |
||||
|
|
||||
private Long fileId; |
private Long fileId; |
||||
|
|
||||
private Long userId; |
private Long userId; |
||||
|
|
||||
private String version; |
private String version; |
||||
|
|
||||
private String description; |
private String description; |
||||
|
|
||||
private Long time; |
private Long time; |
||||
|
|
||||
private Integer isHistory; |
private Integer isHistory; |
||||
|
|
||||
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 filesId; |
||||
|
|
||||
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 Long getDeliverId() { |
} |
||||
return deliverId; |
|
||||
} |
public Long getDeliverId() { |
||||
|
return deliverId; |
||||
public void setDeliverId(Long deliverId) { |
} |
||||
this.deliverId = deliverId; |
|
||||
} |
public void setDeliverId(Long deliverId) { |
||||
|
this.deliverId = deliverId; |
||||
public Long getTaskSubTimeId() { |
} |
||||
return taskSubTimeId; |
|
||||
} |
public Long getTaskSubTimeId() { |
||||
|
return taskSubTimeId; |
||||
public void setTaskSubTimeId(Long taskSubTimeId) { |
} |
||||
this.taskSubTimeId = taskSubTimeId; |
|
||||
} |
public void setTaskSubTimeId(Long taskSubTimeId) { |
||||
|
this.taskSubTimeId = taskSubTimeId; |
||||
public Long getFileId() { |
} |
||||
return fileId; |
|
||||
} |
public Long getFileId() { |
||||
|
return fileId; |
||||
public void setFileId(Long fileId) { |
} |
||||
this.fileId = fileId; |
|
||||
} |
public void setFileId(Long fileId) { |
||||
|
this.fileId = fileId; |
||||
public Long getUserId() { |
} |
||||
return userId; |
|
||||
} |
public Long getUserId() { |
||||
|
return userId; |
||||
public void setUserId(Long userId) { |
} |
||||
this.userId = userId; |
|
||||
} |
public void setUserId(Long userId) { |
||||
|
this.userId = userId; |
||||
public String getVersion() { |
} |
||||
return version; |
|
||||
} |
public String getVersion() { |
||||
|
return version; |
||||
public void setVersion(String version) { |
} |
||||
this.version = version == null ? null : version.trim(); |
|
||||
} |
public void setVersion(String version) { |
||||
|
this.version = version == null ? null : version.trim(); |
||||
public String getDescription() { |
} |
||||
return description; |
|
||||
} |
public String getDescription() { |
||||
|
return description; |
||||
public void setDescription(String description) { |
} |
||||
this.description = description == null ? null : description.trim(); |
|
||||
} |
public void setDescription(String description) { |
||||
|
this.description = description == null ? null : description.trim(); |
||||
public Long getTime() { |
} |
||||
return time; |
|
||||
} |
public Long getTime() { |
||||
|
return time; |
||||
public void setTime(Long time) { |
} |
||||
this.time = time; |
|
||||
} |
public void setTime(Long time) { |
||||
|
this.time = time; |
||||
public Integer getIsHistory() { |
} |
||||
return isHistory; |
|
||||
} |
public Integer getIsHistory() { |
||||
|
return isHistory; |
||||
public void setIsHistory(Integer isHistory) { |
} |
||||
this.isHistory = isHistory; |
|
||||
} |
public void setIsHistory(Integer isHistory) { |
||||
|
this.isHistory = isHistory; |
||||
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 getFilesId() { |
||||
sb.append(getClass().getSimpleName()); |
return filesId; |
||||
sb.append(" ["); |
} |
||||
sb.append("Hash = ").append(hashCode()); |
|
||||
sb.append(", id=").append(id); |
public void setFilesId(String filesId) { |
||||
sb.append(", deliverId=").append(deliverId); |
this.filesId = filesId == null ? null : filesId.trim(); |
||||
sb.append(", taskSubTimeId=").append(taskSubTimeId); |
} |
||||
sb.append(", fileId=").append(fileId); |
|
||||
sb.append(", userId=").append(userId); |
@Override |
||||
sb.append(", version=").append(version); |
public String toString() { |
||||
sb.append(", description=").append(description); |
StringBuilder sb = new StringBuilder(); |
||||
sb.append(", time=").append(time); |
sb.append(getClass().getSimpleName()); |
||||
sb.append(", isHistory=").append(isHistory); |
sb.append(" ["); |
||||
sb.append(", createdAt=").append(createdAt); |
sb.append("Hash = ").append(hashCode()); |
||||
sb.append(", updatedAt=").append(updatedAt); |
sb.append(", id=").append(id); |
||||
sb.append(", recStatus=").append(recStatus); |
sb.append(", deliverId=").append(deliverId); |
||||
sb.append("]"); |
sb.append(", taskSubTimeId=").append(taskSubTimeId); |
||||
return sb.toString(); |
sb.append(", fileId=").append(fileId); |
||||
} |
sb.append(", userId=").append(userId); |
||||
|
sb.append(", version=").append(version); |
||||
|
sb.append(", description=").append(description); |
||||
|
sb.append(", time=").append(time); |
||||
|
sb.append(", isHistory=").append(isHistory); |
||||
|
sb.append(", createdAt=").append(createdAt); |
||||
|
sb.append(", updatedAt=").append(updatedAt); |
||||
|
sb.append(", recStatus=").append(recStatus); |
||||
|
sb.append(", filesId=").append(filesId); |
||||
|
sb.append("]"); |
||||
|
return sb.toString(); |
||||
|
} |
||||
} |
} |
File diff suppressed because it is too large
@ -1,31 +1,30 @@ |
|||||
package com.ccsens.tall.persist.mapper; |
package com.ccsens.tall.persist.mapper; |
||||
|
|
||||
import com.ccsens.tall.bean.po.ProTaskDeliverPostLog; |
import com.ccsens.tall.bean.po.ProTaskDeliverPostLog; |
||||
import com.ccsens.tall.bean.po.ProTaskDeliverPostLogExample; |
import com.ccsens.tall.bean.po.ProTaskDeliverPostLogExample; |
||||
import org.apache.ibatis.annotations.Param; |
import java.util.List; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
import java.util.List; |
|
||||
|
public interface ProTaskDeliverPostLogMapper { |
||||
public interface ProTaskDeliverPostLogMapper { |
long countByExample(ProTaskDeliverPostLogExample example); |
||||
long countByExample(ProTaskDeliverPostLogExample example); |
|
||||
|
int deleteByExample(ProTaskDeliverPostLogExample example); |
||||
int deleteByExample(ProTaskDeliverPostLogExample example); |
|
||||
|
int deleteByPrimaryKey(Long id); |
||||
int deleteByPrimaryKey(Long id); |
|
||||
|
int insert(ProTaskDeliverPostLog record); |
||||
int insert(ProTaskDeliverPostLog record); |
|
||||
|
int insertSelective(ProTaskDeliverPostLog record); |
||||
int insertSelective(ProTaskDeliverPostLog record); |
|
||||
|
List<ProTaskDeliverPostLog> selectByExample(ProTaskDeliverPostLogExample example); |
||||
List<ProTaskDeliverPostLog> selectByExample(ProTaskDeliverPostLogExample example); |
|
||||
|
ProTaskDeliverPostLog selectByPrimaryKey(Long id); |
||||
ProTaskDeliverPostLog selectByPrimaryKey(Long id); |
|
||||
|
int updateByExampleSelective(@Param("record") ProTaskDeliverPostLog record, @Param("example") ProTaskDeliverPostLogExample example); |
||||
int updateByExampleSelective(@Param("record") ProTaskDeliverPostLog record, @Param("example") ProTaskDeliverPostLogExample example); |
|
||||
|
int updateByExample(@Param("record") ProTaskDeliverPostLog record, @Param("example") ProTaskDeliverPostLogExample example); |
||||
int updateByExample(@Param("record") ProTaskDeliverPostLog record, @Param("example") ProTaskDeliverPostLogExample example); |
|
||||
|
int updateByPrimaryKeySelective(ProTaskDeliverPostLog record); |
||||
int updateByPrimaryKeySelective(ProTaskDeliverPostLog record); |
|
||||
|
int updateByPrimaryKey(ProTaskDeliverPostLog record); |
||||
int updateByPrimaryKey(ProTaskDeliverPostLog record); |
|
||||
} |
} |
@ -1,5 +1,5 @@ |
|||||
spring: |
spring: |
||||
profiles: |
profiles: |
||||
active: test |
active: dev |
||||
include: util-test,common |
include: util-dev,common |
||||
|
|
||||
|
@ -1,323 +1,338 @@ |
|||||
<?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.ProTaskDeliverPostLogMapper"> |
<mapper namespace="com.ccsens.tall.persist.mapper.ProTaskDeliverPostLogMapper"> |
||||
<resultMap id="BaseResultMap" type="com.ccsens.tall.bean.po.ProTaskDeliverPostLog"> |
<resultMap id="BaseResultMap" type="com.ccsens.tall.bean.po.ProTaskDeliverPostLog"> |
||||
<id column="id" jdbcType="BIGINT" property="id" /> |
<id column="id" jdbcType="BIGINT" property="id" /> |
||||
<result column="deliver_id" jdbcType="BIGINT" property="deliverId" /> |
<result column="deliver_id" jdbcType="BIGINT" property="deliverId" /> |
||||
<result column="task_sub_time_id" jdbcType="BIGINT" property="taskSubTimeId" /> |
<result column="task_sub_time_id" jdbcType="BIGINT" property="taskSubTimeId" /> |
||||
<result column="file_id" jdbcType="BIGINT" property="fileId" /> |
<result column="file_id" jdbcType="BIGINT" property="fileId" /> |
||||
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
||||
<result column="version" jdbcType="VARCHAR" property="version" /> |
<result column="version" jdbcType="VARCHAR" property="version" /> |
||||
<result column="description" jdbcType="VARCHAR" property="description" /> |
<result column="description" jdbcType="VARCHAR" property="description" /> |
||||
<result column="time" jdbcType="BIGINT" property="time" /> |
<result column="time" jdbcType="BIGINT" property="time" /> |
||||
<result column="is_history" jdbcType="INTEGER" property="isHistory" /> |
<result column="is_history" jdbcType="INTEGER" property="isHistory" /> |
||||
<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="files_id" jdbcType="VARCHAR" property="filesId" /> |
||||
<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, deliver_id, task_sub_time_id, file_id, user_id, version, description, time, is_history, |
<sql id="Base_Column_List"> |
||||
created_at, updated_at, rec_status |
id, deliver_id, task_sub_time_id, file_id, user_id, version, description, time, is_history, |
||||
</sql> |
created_at, updated_at, rec_status, files_id |
||||
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLogExample" resultMap="BaseResultMap"> |
</sql> |
||||
select |
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLogExample" resultMap="BaseResultMap"> |
||||
<if test="distinct"> |
select |
||||
distinct |
<if test="distinct"> |
||||
</if> |
distinct |
||||
<include refid="Base_Column_List" /> |
</if> |
||||
from t_pro_task_deliver_post_log |
<include refid="Base_Column_List" /> |
||||
<if test="_parameter != null"> |
from t_pro_task_deliver_post_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_pro_task_deliver_post_log |
<include refid="Base_Column_List" /> |
||||
where id = #{id,jdbcType=BIGINT} |
from t_pro_task_deliver_post_log |
||||
</select> |
where id = #{id,jdbcType=BIGINT} |
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
</select> |
||||
delete from t_pro_task_deliver_post_log |
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
||||
where id = #{id,jdbcType=BIGINT} |
delete from t_pro_task_deliver_post_log |
||||
</delete> |
where id = #{id,jdbcType=BIGINT} |
||||
<delete id="deleteByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLogExample"> |
</delete> |
||||
delete from t_pro_task_deliver_post_log |
<delete id="deleteByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLogExample"> |
||||
<if test="_parameter != null"> |
delete from t_pro_task_deliver_post_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.ProTaskDeliverPostLog"> |
</delete> |
||||
insert into t_pro_task_deliver_post_log (id, deliver_id, task_sub_time_id, |
<insert id="insert" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLog"> |
||||
file_id, user_id, version, |
insert into t_pro_task_deliver_post_log (id, deliver_id, task_sub_time_id, |
||||
description, time, is_history, |
file_id, user_id, version, |
||||
created_at, updated_at, rec_status |
description, time, is_history, |
||||
) |
created_at, updated_at, rec_status, |
||||
values (#{id,jdbcType=BIGINT}, #{deliverId,jdbcType=BIGINT}, #{taskSubTimeId,jdbcType=BIGINT}, |
files_id) |
||||
#{fileId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{version,jdbcType=VARCHAR}, |
values (#{id,jdbcType=BIGINT}, #{deliverId,jdbcType=BIGINT}, #{taskSubTimeId,jdbcType=BIGINT}, |
||||
#{description,jdbcType=VARCHAR}, #{time,jdbcType=BIGINT}, #{isHistory,jdbcType=INTEGER}, |
#{fileId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, #{version,jdbcType=VARCHAR}, |
||||
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} |
#{description,jdbcType=VARCHAR}, #{time,jdbcType=BIGINT}, #{isHistory,jdbcType=INTEGER}, |
||||
) |
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, |
||||
</insert> |
#{filesId,jdbcType=VARCHAR}) |
||||
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLog"> |
</insert> |
||||
insert into t_pro_task_deliver_post_log |
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLog"> |
||||
<trim prefix="(" suffix=")" suffixOverrides=","> |
insert into t_pro_task_deliver_post_log |
||||
<if test="id != null"> |
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
id, |
<if test="id != null"> |
||||
</if> |
id, |
||||
<if test="deliverId != null"> |
</if> |
||||
deliver_id, |
<if test="deliverId != null"> |
||||
</if> |
deliver_id, |
||||
<if test="taskSubTimeId != null"> |
</if> |
||||
task_sub_time_id, |
<if test="taskSubTimeId != null"> |
||||
</if> |
task_sub_time_id, |
||||
<if test="fileId != null"> |
</if> |
||||
file_id, |
<if test="fileId != null"> |
||||
</if> |
file_id, |
||||
<if test="userId != null"> |
</if> |
||||
user_id, |
<if test="userId != null"> |
||||
</if> |
user_id, |
||||
<if test="version != null"> |
</if> |
||||
version, |
<if test="version != null"> |
||||
</if> |
version, |
||||
<if test="description != null"> |
</if> |
||||
description, |
<if test="description != null"> |
||||
</if> |
description, |
||||
<if test="time != null"> |
</if> |
||||
time, |
<if test="time != null"> |
||||
</if> |
time, |
||||
<if test="isHistory != null"> |
</if> |
||||
is_history, |
<if test="isHistory != null"> |
||||
</if> |
is_history, |
||||
<if test="createdAt != null"> |
</if> |
||||
created_at, |
<if test="createdAt != null"> |
||||
</if> |
created_at, |
||||
<if test="updatedAt != null"> |
</if> |
||||
updated_at, |
<if test="updatedAt != null"> |
||||
</if> |
updated_at, |
||||
<if test="recStatus != null"> |
</if> |
||||
rec_status, |
<if test="recStatus != null"> |
||||
</if> |
rec_status, |
||||
</trim> |
</if> |
||||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
<if test="filesId != null"> |
||||
<if test="id != null"> |
files_id, |
||||
#{id,jdbcType=BIGINT}, |
</if> |
||||
</if> |
</trim> |
||||
<if test="deliverId != null"> |
<trim prefix="values (" suffix=")" suffixOverrides=","> |
||||
#{deliverId,jdbcType=BIGINT}, |
<if test="id != null"> |
||||
</if> |
#{id,jdbcType=BIGINT}, |
||||
<if test="taskSubTimeId != null"> |
</if> |
||||
#{taskSubTimeId,jdbcType=BIGINT}, |
<if test="deliverId != null"> |
||||
</if> |
#{deliverId,jdbcType=BIGINT}, |
||||
<if test="fileId != null"> |
</if> |
||||
#{fileId,jdbcType=BIGINT}, |
<if test="taskSubTimeId != null"> |
||||
</if> |
#{taskSubTimeId,jdbcType=BIGINT}, |
||||
<if test="userId != null"> |
</if> |
||||
#{userId,jdbcType=BIGINT}, |
<if test="fileId != null"> |
||||
</if> |
#{fileId,jdbcType=BIGINT}, |
||||
<if test="version != null"> |
</if> |
||||
#{version,jdbcType=VARCHAR}, |
<if test="userId != null"> |
||||
</if> |
#{userId,jdbcType=BIGINT}, |
||||
<if test="description != null"> |
</if> |
||||
#{description,jdbcType=VARCHAR}, |
<if test="version != null"> |
||||
</if> |
#{version,jdbcType=VARCHAR}, |
||||
<if test="time != null"> |
</if> |
||||
#{time,jdbcType=BIGINT}, |
<if test="description != null"> |
||||
</if> |
#{description,jdbcType=VARCHAR}, |
||||
<if test="isHistory != null"> |
</if> |
||||
#{isHistory,jdbcType=INTEGER}, |
<if test="time != null"> |
||||
</if> |
#{time,jdbcType=BIGINT}, |
||||
<if test="createdAt != null"> |
</if> |
||||
#{createdAt,jdbcType=TIMESTAMP}, |
<if test="isHistory != null"> |
||||
</if> |
#{isHistory,jdbcType=INTEGER}, |
||||
<if test="updatedAt != null"> |
</if> |
||||
#{updatedAt,jdbcType=TIMESTAMP}, |
<if test="createdAt != null"> |
||||
</if> |
#{createdAt,jdbcType=TIMESTAMP}, |
||||
<if test="recStatus != null"> |
</if> |
||||
#{recStatus,jdbcType=TINYINT}, |
<if test="updatedAt != null"> |
||||
</if> |
#{updatedAt,jdbcType=TIMESTAMP}, |
||||
</trim> |
</if> |
||||
</insert> |
<if test="recStatus != null"> |
||||
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLogExample" resultType="java.lang.Long"> |
#{recStatus,jdbcType=TINYINT}, |
||||
select count(*) from t_pro_task_deliver_post_log |
</if> |
||||
<if test="_parameter != null"> |
<if test="filesId != null"> |
||||
<include refid="Example_Where_Clause" /> |
#{filesId,jdbcType=VARCHAR}, |
||||
</if> |
</if> |
||||
</select> |
</trim> |
||||
<update id="updateByExampleSelective" parameterType="map"> |
</insert> |
||||
update t_pro_task_deliver_post_log |
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLogExample" resultType="java.lang.Long"> |
||||
<set> |
select count(*) from t_pro_task_deliver_post_log |
||||
<if test="record.id != null"> |
<if test="_parameter != null"> |
||||
id = #{record.id,jdbcType=BIGINT}, |
<include refid="Example_Where_Clause" /> |
||||
</if> |
</if> |
||||
<if test="record.deliverId != null"> |
</select> |
||||
deliver_id = #{record.deliverId,jdbcType=BIGINT}, |
<update id="updateByExampleSelective" parameterType="map"> |
||||
</if> |
update t_pro_task_deliver_post_log |
||||
<if test="record.taskSubTimeId != null"> |
<set> |
||||
task_sub_time_id = #{record.taskSubTimeId,jdbcType=BIGINT}, |
<if test="record.id != null"> |
||||
</if> |
id = #{record.id,jdbcType=BIGINT}, |
||||
<if test="record.fileId != null"> |
</if> |
||||
file_id = #{record.fileId,jdbcType=BIGINT}, |
<if test="record.deliverId != null"> |
||||
</if> |
deliver_id = #{record.deliverId,jdbcType=BIGINT}, |
||||
<if test="record.userId != null"> |
</if> |
||||
user_id = #{record.userId,jdbcType=BIGINT}, |
<if test="record.taskSubTimeId != null"> |
||||
</if> |
task_sub_time_id = #{record.taskSubTimeId,jdbcType=BIGINT}, |
||||
<if test="record.version != null"> |
</if> |
||||
version = #{record.version,jdbcType=VARCHAR}, |
<if test="record.fileId != null"> |
||||
</if> |
file_id = #{record.fileId,jdbcType=BIGINT}, |
||||
<if test="record.description != null"> |
</if> |
||||
description = #{record.description,jdbcType=VARCHAR}, |
<if test="record.userId != null"> |
||||
</if> |
user_id = #{record.userId,jdbcType=BIGINT}, |
||||
<if test="record.time != null"> |
</if> |
||||
time = #{record.time,jdbcType=BIGINT}, |
<if test="record.version != null"> |
||||
</if> |
version = #{record.version,jdbcType=VARCHAR}, |
||||
<if test="record.isHistory != null"> |
</if> |
||||
is_history = #{record.isHistory,jdbcType=INTEGER}, |
<if test="record.description != null"> |
||||
</if> |
description = #{record.description,jdbcType=VARCHAR}, |
||||
<if test="record.createdAt != null"> |
</if> |
||||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
<if test="record.time != null"> |
||||
</if> |
time = #{record.time,jdbcType=BIGINT}, |
||||
<if test="record.updatedAt != null"> |
</if> |
||||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
<if test="record.isHistory != null"> |
||||
</if> |
is_history = #{record.isHistory,jdbcType=INTEGER}, |
||||
<if test="record.recStatus != null"> |
</if> |
||||
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
<if test="record.createdAt != null"> |
||||
</if> |
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
||||
</set> |
</if> |
||||
<if test="_parameter != null"> |
<if test="record.updatedAt != null"> |
||||
<include refid="Update_By_Example_Where_Clause" /> |
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
||||
</if> |
</if> |
||||
</update> |
<if test="record.recStatus != null"> |
||||
<update id="updateByExample" parameterType="map"> |
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
||||
update t_pro_task_deliver_post_log |
</if> |
||||
set id = #{record.id,jdbcType=BIGINT}, |
<if test="record.filesId != null"> |
||||
deliver_id = #{record.deliverId,jdbcType=BIGINT}, |
files_id = #{record.filesId,jdbcType=VARCHAR}, |
||||
task_sub_time_id = #{record.taskSubTimeId,jdbcType=BIGINT}, |
</if> |
||||
file_id = #{record.fileId,jdbcType=BIGINT}, |
</set> |
||||
user_id = #{record.userId,jdbcType=BIGINT}, |
<if test="_parameter != null"> |
||||
version = #{record.version,jdbcType=VARCHAR}, |
<include refid="Update_By_Example_Where_Clause" /> |
||||
description = #{record.description,jdbcType=VARCHAR}, |
</if> |
||||
time = #{record.time,jdbcType=BIGINT}, |
</update> |
||||
is_history = #{record.isHistory,jdbcType=INTEGER}, |
<update id="updateByExample" parameterType="map"> |
||||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
update t_pro_task_deliver_post_log |
||||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
set id = #{record.id,jdbcType=BIGINT}, |
||||
rec_status = #{record.recStatus,jdbcType=TINYINT} |
deliver_id = #{record.deliverId,jdbcType=BIGINT}, |
||||
<if test="_parameter != null"> |
task_sub_time_id = #{record.taskSubTimeId,jdbcType=BIGINT}, |
||||
<include refid="Update_By_Example_Where_Clause" /> |
file_id = #{record.fileId,jdbcType=BIGINT}, |
||||
</if> |
user_id = #{record.userId,jdbcType=BIGINT}, |
||||
</update> |
version = #{record.version,jdbcType=VARCHAR}, |
||||
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLog"> |
description = #{record.description,jdbcType=VARCHAR}, |
||||
update t_pro_task_deliver_post_log |
time = #{record.time,jdbcType=BIGINT}, |
||||
<set> |
is_history = #{record.isHistory,jdbcType=INTEGER}, |
||||
<if test="deliverId != null"> |
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
||||
deliver_id = #{deliverId,jdbcType=BIGINT}, |
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
||||
</if> |
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
||||
<if test="taskSubTimeId != null"> |
files_id = #{record.filesId,jdbcType=VARCHAR} |
||||
task_sub_time_id = #{taskSubTimeId,jdbcType=BIGINT}, |
<if test="_parameter != null"> |
||||
</if> |
<include refid="Update_By_Example_Where_Clause" /> |
||||
<if test="fileId != null"> |
</if> |
||||
file_id = #{fileId,jdbcType=BIGINT}, |
</update> |
||||
</if> |
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLog"> |
||||
<if test="userId != null"> |
update t_pro_task_deliver_post_log |
||||
user_id = #{userId,jdbcType=BIGINT}, |
<set> |
||||
</if> |
<if test="deliverId != null"> |
||||
<if test="version != null"> |
deliver_id = #{deliverId,jdbcType=BIGINT}, |
||||
version = #{version,jdbcType=VARCHAR}, |
</if> |
||||
</if> |
<if test="taskSubTimeId != null"> |
||||
<if test="description != null"> |
task_sub_time_id = #{taskSubTimeId,jdbcType=BIGINT}, |
||||
description = #{description,jdbcType=VARCHAR}, |
</if> |
||||
</if> |
<if test="fileId != null"> |
||||
<if test="time != null"> |
file_id = #{fileId,jdbcType=BIGINT}, |
||||
time = #{time,jdbcType=BIGINT}, |
</if> |
||||
</if> |
<if test="userId != null"> |
||||
<if test="isHistory != null"> |
user_id = #{userId,jdbcType=BIGINT}, |
||||
is_history = #{isHistory,jdbcType=INTEGER}, |
</if> |
||||
</if> |
<if test="version != null"> |
||||
<if test="createdAt != null"> |
version = #{version,jdbcType=VARCHAR}, |
||||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
</if> |
||||
</if> |
<if test="description != null"> |
||||
<if test="updatedAt != null"> |
description = #{description,jdbcType=VARCHAR}, |
||||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
</if> |
||||
</if> |
<if test="time != null"> |
||||
<if test="recStatus != null"> |
time = #{time,jdbcType=BIGINT}, |
||||
rec_status = #{recStatus,jdbcType=TINYINT}, |
</if> |
||||
</if> |
<if test="isHistory != null"> |
||||
</set> |
is_history = #{isHistory,jdbcType=INTEGER}, |
||||
where id = #{id,jdbcType=BIGINT} |
</if> |
||||
</update> |
<if test="createdAt != null"> |
||||
<update id="updateByPrimaryKey" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLog"> |
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
||||
update t_pro_task_deliver_post_log |
</if> |
||||
set deliver_id = #{deliverId,jdbcType=BIGINT}, |
<if test="updatedAt != null"> |
||||
task_sub_time_id = #{taskSubTimeId,jdbcType=BIGINT}, |
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
||||
file_id = #{fileId,jdbcType=BIGINT}, |
</if> |
||||
user_id = #{userId,jdbcType=BIGINT}, |
<if test="recStatus != null"> |
||||
version = #{version,jdbcType=VARCHAR}, |
rec_status = #{recStatus,jdbcType=TINYINT}, |
||||
description = #{description,jdbcType=VARCHAR}, |
</if> |
||||
time = #{time,jdbcType=BIGINT}, |
<if test="filesId != null"> |
||||
is_history = #{isHistory,jdbcType=INTEGER}, |
files_id = #{filesId,jdbcType=VARCHAR}, |
||||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
</if> |
||||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
</set> |
||||
rec_status = #{recStatus,jdbcType=TINYINT} |
where id = #{id,jdbcType=BIGINT} |
||||
where id = #{id,jdbcType=BIGINT} |
</update> |
||||
</update> |
<update id="updateByPrimaryKey" parameterType="com.ccsens.tall.bean.po.ProTaskDeliverPostLog"> |
||||
|
update t_pro_task_deliver_post_log |
||||
|
set deliver_id = #{deliverId,jdbcType=BIGINT}, |
||||
|
task_sub_time_id = #{taskSubTimeId,jdbcType=BIGINT}, |
||||
|
file_id = #{fileId,jdbcType=BIGINT}, |
||||
|
user_id = #{userId,jdbcType=BIGINT}, |
||||
|
version = #{version,jdbcType=VARCHAR}, |
||||
|
description = #{description,jdbcType=VARCHAR}, |
||||
|
time = #{time,jdbcType=BIGINT}, |
||||
|
is_history = #{isHistory,jdbcType=INTEGER}, |
||||
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
||||
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
||||
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
||||
|
files_id = #{filesId,jdbcType=VARCHAR} |
||||
|
where id = #{id,jdbcType=BIGINT} |
||||
|
</update> |
||||
</mapper> |
</mapper> |
Loading…
Reference in new issue