insert into work_pool_file( path_url,community_id,store_id,work_id,file_id ) values ( #{pathUrl},#{communityId},#{storeId},#{workId},#{fileId} ) update work_pool_file t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.path_url= #{pathUrl} , t.work_id= #{workId} where 1=1 and t.file_id= #{fileId} and t.community_id= #{communityId} and t.store_id= #{storeId}