insert into fee_print_page( page_url,state,page_id,community_id,page_name ) values ( #{pageUrl},#{state},#{pageId},#{communityId},#{pageName} ) update fee_print_page t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.page_url= #{pageUrl} , t.state= #{state} , t.page_name= #{pageName} where 1=1 and t.status_cd= #{queryStatusCd} and t.page_id= #{pageId} and t.community_id= #{communityId}