plan_id
, cus_id, plan_type, follow_id, follow_user, next_follow_plan, next_follow_time,
call_status, remarks, flg_valid, cp_id, op_create_time, op_create_user_id, op_update_time,
op_update_user_id, op_app_code, op_timestamp, op_db_user,xxl_job_id
AND cus_id = #{cusId}
AND plan_type = #{planType}
AND follow_id = #{followId}
AND follow_user = #{followUser}
AND next_follow_plan = #{nextFollowPlan}
AND next_follow_time = #{nextFollowTime}
AND call_status = #{callStatus}
AND remarks = #{remarks}
AND flg_valid = #{flgValid}
AND cp_id = #{cpId}
AND op_create_time = #{opCreateTime}
AND op_create_user_id = #{opCreateUserId}
AND op_update_time = #{opUpdateTime}
AND op_update_user_id = #{opUpdateUserId}
AND op_app_code = #{opAppCode}
AND op_timestamp = #{opTimestamp}
AND op_db_user = #{opDbUser}
WHERE plan_id in
#{item}
insert into dkic_b.t_csm_follow_plan
(
cus_id,
plan_type,
follow_id,
follow_user,
next_follow_plan,
next_follow_time,
call_status,
remarks,
cp_id,
op_app_code,
)
values
(
#{item.cusId}::uuid,
#{item.planType},
#{item.followId}::uuid,
#{item.followUser}::uuid,
#{item.nextFollowPlan},
#{item.nextFollowTime},
#{item.callStatus},
#{item.remarks},
#{item.cpId},
#{item.opAppCode},
)