|
@ -14,6 +14,8 @@ |
|
|
<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" /> |
|
|
|
|
|
<result column="sequence" jdbcType="INTEGER" property="sequence" /> |
|
|
|
|
|
<result column="checker" jdbcType="VARCHAR" property="checker" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<sql id="Example_Where_Clause"> |
|
|
<where> |
|
|
<where> |
|
@ -75,7 +77,7 @@ |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Base_Column_List"> |
|
|
<sql id="Base_Column_List"> |
|
|
id, cooperation, task_name, deliver_name, deadline, duration, deliver_link, remark, |
|
|
id, cooperation, task_name, deliver_name, deadline, duration, deliver_link, remark, |
|
|
operator, created_at, updated_at, rec_status |
|
|
operator, created_at, updated_at, rec_status, sequence, checker |
|
|
</sql> |
|
|
</sql> |
|
|
<select id="selectByExample" parameterType="com.ccsens.ptccsens.bean.po.PluDailyAccountTaskExample" resultMap="BaseResultMap"> |
|
|
<select id="selectByExample" parameterType="com.ccsens.ptccsens.bean.po.PluDailyAccountTaskExample" resultMap="BaseResultMap"> |
|
|
select |
|
|
select |
|
@ -111,13 +113,13 @@ |
|
|
insert into t_plu_daily_account_task (id, cooperation, task_name, |
|
|
insert into t_plu_daily_account_task (id, cooperation, task_name, |
|
|
deliver_name, deadline, duration, |
|
|
deliver_name, deadline, duration, |
|
|
deliver_link, remark, operator, |
|
|
deliver_link, remark, operator, |
|
|
created_at, updated_at, rec_status |
|
|
created_at, updated_at, rec_status, |
|
|
) |
|
|
sequence, checker) |
|
|
values (#{id,jdbcType=BIGINT}, #{cooperation,jdbcType=TINYINT}, #{taskName,jdbcType=VARCHAR}, |
|
|
values (#{id,jdbcType=BIGINT}, #{cooperation,jdbcType=TINYINT}, #{taskName,jdbcType=VARCHAR}, |
|
|
#{deliverName,jdbcType=VARCHAR}, #{deadline,jdbcType=BIGINT}, #{duration,jdbcType=BIGINT}, |
|
|
#{deliverName,jdbcType=VARCHAR}, #{deadline,jdbcType=BIGINT}, #{duration,jdbcType=BIGINT}, |
|
|
#{deliverLink,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{operator,jdbcType=BIGINT}, |
|
|
#{deliverLink,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{operator,jdbcType=BIGINT}, |
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} |
|
|
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}, |
|
|
) |
|
|
#{sequence,jdbcType=INTEGER}, #{checker,jdbcType=VARCHAR}) |
|
|
</insert> |
|
|
</insert> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.ptccsens.bean.po.PluDailyAccountTask"> |
|
|
<insert id="insertSelective" parameterType="com.ccsens.ptccsens.bean.po.PluDailyAccountTask"> |
|
|
insert into t_plu_daily_account_task |
|
|
insert into t_plu_daily_account_task |
|
@ -158,6 +160,12 @@ |
|
|
<if test="recStatus != null"> |
|
|
<if test="recStatus != null"> |
|
|
rec_status, |
|
|
rec_status, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="sequence != null"> |
|
|
|
|
|
sequence, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="checker != null"> |
|
|
|
|
|
checker, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
@ -196,6 +204,12 @@ |
|
|
<if test="recStatus != null"> |
|
|
<if test="recStatus != null"> |
|
|
#{recStatus,jdbcType=TINYINT}, |
|
|
#{recStatus,jdbcType=TINYINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="sequence != null"> |
|
|
|
|
|
#{sequence,jdbcType=INTEGER}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="checker != null"> |
|
|
|
|
|
#{checker,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
<select id="countByExample" parameterType="com.ccsens.ptccsens.bean.po.PluDailyAccountTaskExample" resultType="java.lang.Long"> |
|
|
<select id="countByExample" parameterType="com.ccsens.ptccsens.bean.po.PluDailyAccountTaskExample" resultType="java.lang.Long"> |
|
@ -243,6 +257,12 @@ |
|
|
<if test="record.recStatus != null"> |
|
|
<if test="record.recStatus != null"> |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="record.sequence != null"> |
|
|
|
|
|
sequence = #{record.sequence,jdbcType=INTEGER}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="record.checker != null"> |
|
|
|
|
|
checker = #{record.checker,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
@ -261,7 +281,9 @@ |
|
|
operator = #{record.operator,jdbcType=BIGINT}, |
|
|
operator = #{record.operator,jdbcType=BIGINT}, |
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
|
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|
|
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT} |
|
|
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|
|
|
|
|
sequence = #{record.sequence,jdbcType=INTEGER}, |
|
|
|
|
|
checker = #{record.checker,jdbcType=VARCHAR} |
|
|
<if test="_parameter != null"> |
|
|
<if test="_parameter != null"> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
<include refid="Update_By_Example_Where_Clause" /> |
|
|
</if> |
|
|
</if> |
|
@ -302,6 +324,12 @@ |
|
|
<if test="recStatus != null"> |
|
|
<if test="recStatus != null"> |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="sequence != null"> |
|
|
|
|
|
sequence = #{sequence,jdbcType=INTEGER}, |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="checker != null"> |
|
|
|
|
|
checker = #{checker,jdbcType=VARCHAR}, |
|
|
|
|
|
</if> |
|
|
</set> |
|
|
</set> |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
@ -317,7 +345,9 @@ |
|
|
operator = #{operator,jdbcType=BIGINT}, |
|
|
operator = #{operator,jdbcType=BIGINT}, |
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
rec_status = #{recStatus,jdbcType=TINYINT} |
|
|
rec_status = #{recStatus,jdbcType=TINYINT}, |
|
|
|
|
|
sequence = #{sequence,jdbcType=INTEGER}, |
|
|
|
|
|
checker = #{checker,jdbcType=VARCHAR} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
where id = #{id,jdbcType=BIGINT} |
|
|
</update> |
|
|
</update> |
|
|
</mapper> |
|
|
</mapper> |