insert into inspection_plan_staff( ip_staff_id,staff_name,start_time,inspection_plan_id,end_time,community_id,staff_id ) values ( #{ipStaffId},#{staffName},#{startTime},#{inspectionPlanId},#{endTime},#{communityId},#{staffId} ) update inspection_plan_staff t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.staff_name= #{staffName} , t.start_time= #{startTime} , t.end_time= #{endTime} , t.staff_id= #{staffId} where 1=1 and t.ip_staff_id= #{ipStaffId} and t.inspection_plan_id= #{inspectionPlanId} and t.community_id= #{communityId}