and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, tid, aid, hours, create_time
delete from task_hours_count
where id = #{id,jdbcType=INTEGER}
delete from task_hours_count
insert into task_hours_count (id, tid, aid,
hours, create_time)
values (#{id,jdbcType=INTEGER}, #{tid,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR},
#{hours,jdbcType=DOUBLE}, #{createTime,jdbcType=TIMESTAMP})
insert into task_hours_count
id,
tid,
aid,
hours,
create_time,
#{id,jdbcType=INTEGER},
#{tid,jdbcType=INTEGER},
#{aid,jdbcType=VARCHAR},
#{hours,jdbcType=DOUBLE},
#{createTime,jdbcType=TIMESTAMP},
update task_hours_count
id = #{record.id,jdbcType=INTEGER},
tid = #{record.tid,jdbcType=INTEGER},
aid = #{record.aid,jdbcType=VARCHAR},
hours = #{record.hours,jdbcType=DOUBLE},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update task_hours_count
set id = #{record.id,jdbcType=INTEGER},
tid = #{record.tid,jdbcType=INTEGER},
aid = #{record.aid,jdbcType=VARCHAR},
hours = #{record.hours,jdbcType=DOUBLE},
create_time = #{record.createTime,jdbcType=TIMESTAMP}
update task_hours_count
tid = #{tid,jdbcType=INTEGER},
aid = #{aid,jdbcType=VARCHAR},
hours = #{hours,jdbcType=DOUBLE},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update task_hours_count
set tid = #{tid,jdbcType=INTEGER},
aid = #{aid,jdbcType=VARCHAR},
hours = #{hours,jdbcType=DOUBLE},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
update task_hours_count set hours =hours + #{hours,jdbcType=DOUBLE}
where tid = #{tid,jdbcType=INTEGER} and aid = #{aid,jdbcType=VARCHAR}