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, org_id, plan_id, duty_type, group_id, group_name, group_start_time, group_end_time,
data_status, create_time, create_op, modify_time, modify_op
delete from duty_roster_group
where id = #{id,jdbcType=BIGINT}
delete from duty_roster_group
SELECT LAST_INSERT_ID()
insert into duty_roster_group (org_id, plan_id, duty_type,
group_id, group_name, group_start_time,
group_end_time, data_status, create_time,
create_op, modify_time, modify_op
)
values (#{orgId,jdbcType=BIGINT}, #{planId,jdbcType=BIGINT}, #{dutyType,jdbcType=INTEGER},
#{groupId,jdbcType=BIGINT}, #{groupName,jdbcType=VARCHAR}, #{groupStartTime,jdbcType=TIME},
#{groupEndTime,jdbcType=TIME}, #{dataStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{createOp,jdbcType=BIGINT}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=BIGINT}
)
SELECT LAST_INSERT_ID()
insert into duty_roster_group
org_id,
plan_id,
duty_type,
group_id,
group_name,
group_start_time,
group_end_time,
data_status,
create_time,
create_op,
modify_time,
modify_op,
#{orgId,jdbcType=BIGINT},
#{planId,jdbcType=BIGINT},
#{dutyType,jdbcType=INTEGER},
#{groupId,jdbcType=BIGINT},
#{groupName,jdbcType=VARCHAR},
#{groupStartTime,jdbcType=TIME},
#{groupEndTime,jdbcType=TIME},
#{dataStatus,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP},
#{createOp,jdbcType=BIGINT},
#{modifyTime,jdbcType=TIMESTAMP},
#{modifyOp,jdbcType=BIGINT},
update duty_roster_group
id = #{record.id,jdbcType=BIGINT},
org_id = #{record.orgId,jdbcType=BIGINT},
plan_id = #{record.planId,jdbcType=BIGINT},
duty_type = #{record.dutyType,jdbcType=INTEGER},
group_id = #{record.groupId,jdbcType=BIGINT},
group_name = #{record.groupName,jdbcType=VARCHAR},
group_start_time = #{record.groupStartTime,jdbcType=TIME},
group_end_time = #{record.groupEndTime,jdbcType=TIME},
data_status = #{record.dataStatus,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
create_op = #{record.createOp,jdbcType=BIGINT},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
modify_op = #{record.modifyOp,jdbcType=BIGINT},
update duty_roster_group
set id = #{record.id,jdbcType=BIGINT},
org_id = #{record.orgId,jdbcType=BIGINT},
plan_id = #{record.planId,jdbcType=BIGINT},
duty_type = #{record.dutyType,jdbcType=INTEGER},
group_id = #{record.groupId,jdbcType=BIGINT},
group_name = #{record.groupName,jdbcType=VARCHAR},
group_start_time = #{record.groupStartTime,jdbcType=TIME},
group_end_time = #{record.groupEndTime,jdbcType=TIME},
data_status = #{record.dataStatus,jdbcType=INTEGER},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
create_op = #{record.createOp,jdbcType=BIGINT},
modify_time = #{record.modifyTime,jdbcType=TIMESTAMP},
modify_op = #{record.modifyOp,jdbcType=BIGINT}
update duty_roster_group
org_id = #{orgId,jdbcType=BIGINT},
plan_id = #{planId,jdbcType=BIGINT},
duty_type = #{dutyType,jdbcType=INTEGER},
group_id = #{groupId,jdbcType=BIGINT},
group_name = #{groupName,jdbcType=VARCHAR},
group_start_time = #{groupStartTime,jdbcType=TIME},
group_end_time = #{groupEndTime,jdbcType=TIME},
data_status = #{dataStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_op = #{createOp,jdbcType=BIGINT},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_op = #{modifyOp,jdbcType=BIGINT},
where id = #{id,jdbcType=BIGINT}
update duty_roster_group
set org_id = #{orgId,jdbcType=BIGINT},
plan_id = #{planId,jdbcType=BIGINT},
duty_type = #{dutyType,jdbcType=INTEGER},
group_id = #{groupId,jdbcType=BIGINT},
group_name = #{groupName,jdbcType=VARCHAR},
group_start_time = #{groupStartTime,jdbcType=TIME},
group_end_time = #{groupEndTime,jdbcType=TIME},
data_status = #{dataStatus,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
create_op = #{createOp,jdbcType=BIGINT},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_op = #{modifyOp,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}