insert into inspection_route( inspection_route_id,remark,community_id,seq,route_name ) values ( #{inspectionRouteId},#{remark},#{communityId},#{seq},#{routeName} ) update inspection_route t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.remark= #{remark} , t.community_id= #{communityId} , t.seq= #{seq} , t.route_name= #{routeName} where 1=1 and t.inspection_route_id= #{inspectionRouteId}