id, plan_id, plan_name, plan_user_id, user_id, plan_date, plan_start_date, plan_end_date,
task_content, task_area_shape, task_area_name, task_type, plan_status, tenant_id,
process_instance_id, process_def_id, current_task_id, current_users, current_task_name,
create_by, date_create, update_by, date_update, company_org_id, department_org_id,
task_checked
delete from sc_plan_manage
where id = #{id,jdbcType=INTEGER}
insert into sc_plan_manage
id,
plan_id,
plan_name,
plan_user_id,
user_id,
plan_date,
plan_start_date,
plan_end_date,
task_content,
task_area_shape,
task_area_name,
task_type,
plan_status,
tenant_id,
process_instance_id,
process_def_id,
current_task_id,
current_users,
current_task_name,
create_by,
date_create,
update_by,
date_update,
company_org_id,
department_org_id,
task_checked,
#{id,jdbcType=INTEGER},
#{planId,jdbcType=VARCHAR},
#{planName,jdbcType=VARCHAR},
#{planUserId,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR},
#{planDate,jdbcType=TIMESTAMP},
#{planStartDate,jdbcType=DATE},
#{planEndDate,jdbcType=DATE},
#{taskContent,jdbcType=VARCHAR},
#{taskAreaShape,jdbcType=VARCHAR},
#{taskAreaName,jdbcType=VARCHAR},
#{taskType,jdbcType=INTEGER},
#{planStatus,jdbcType=INTEGER},
#{tenantId,jdbcType=VARCHAR},
#{processInstanceId,jdbcType=VARCHAR},
#{processDefId,jdbcType=VARCHAR},
#{currentTaskId,jdbcType=VARCHAR},
#{currentUsers,jdbcType=VARCHAR},
#{currentTaskName,jdbcType=VARCHAR},
#{createBy,jdbcType=VARCHAR},
#{dateCreate,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=VARCHAR},
#{dateUpdate,jdbcType=TIMESTAMP},
#{companyOrgId,jdbcType=VARCHAR},
#{departmentOrgId,jdbcType=VARCHAR},
#{taskChecked,jdbcType=VARCHAR},
update sc_plan_manage
plan_id = #{planId,jdbcType=VARCHAR},
plan_name = #{planName,jdbcType=VARCHAR},
plan_user_id = #{planUserId,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
plan_date = #{planDate,jdbcType=TIMESTAMP},
plan_start_date = #{planStartDate,jdbcType=TIMESTAMP},
plan_end_date = #{planEndDate,jdbcType=TIMESTAMP},
task_content = #{taskContent,jdbcType=VARCHAR},
task_area_shape = #{taskAreaShape,jdbcType=VARCHAR},
task_area_name = #{taskAreaName,jdbcType=VARCHAR},
task_type = #{taskType,jdbcType=INTEGER},
plan_status = #{planStatus,jdbcType=INTEGER},
tenant_id = #{tenantId,jdbcType=VARCHAR},
process_instance_id = #{processInstanceId,jdbcType=VARCHAR},
process_def_id = #{processDefId,jdbcType=VARCHAR},
current_task_id = #{currentTaskId,jdbcType=VARCHAR},
current_users = #{currentUsers,jdbcType=VARCHAR},
current_task_name = #{currentTaskName,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
date_create = #{dateCreate,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
date_update = #{dateUpdate,jdbcType=TIMESTAMP},
company_org_id = #{companyOrgId,jdbcType=VARCHAR},
department_org_id = #{departmentOrgId,jdbcType=VARCHAR},
task_checked = #{taskChecked,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update sc_plan_manage
set plan_id = #{planId,jdbcType=VARCHAR},
plan_name = #{planName,jdbcType=VARCHAR},
plan_user_id = #{planUserId,jdbcType=VARCHAR},
user_id = #{userId,jdbcType=VARCHAR},
plan_date = #{planDate,jdbcType=TIMESTAMP},
plan_start_date = #{planStartDate,jdbcType=TIMESTAMP},
plan_end_date = #{planEndDate,jdbcType=TIMESTAMP},
task_content = #{taskContent,jdbcType=VARCHAR},
task_area_shape = #{taskAreaShape,jdbcType=VARCHAR},
task_area_name = #{taskAreaName,jdbcType=VARCHAR},
task_type = #{taskType,jdbcType=INTEGER},
plan_status = #{planStatus,jdbcType=INTEGER},
tenant_id = #{tenantId,jdbcType=VARCHAR},
process_instance_id = #{processInstanceId,jdbcType=VARCHAR},
process_def_id = #{processDefId,jdbcType=VARCHAR},
current_task_id = #{currentTaskId,jdbcType=VARCHAR},
current_users = #{currentUsers,jdbcType=VARCHAR},
current_task_name = #{currentTaskName,jdbcType=VARCHAR},
create_by = #{createBy,jdbcType=VARCHAR},
date_create = #{dateCreate,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=VARCHAR},
date_update = #{dateUpdate,jdbcType=TIMESTAMP},
company_org_id = #{companyOrgId,jdbcType=VARCHAR},
department_org_id = #{departmentOrgId,jdbcType=VARCHAR},
task_checked = #{taskChecked,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
delete from sc_plan_manage
where plan_status = 0
and id in
#{item}