insert into work_pool_content(
content_id,community_id,store_id,work_id,content
) values (
#{contentId},#{communityId},#{storeId},#{workId},#{content}
)
update work_pool_content t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.content= #{content}
where 1=1
and t.content_id= #{contentId}
and t.work_id= #{workId}
and t.community_id= #{communityId}
and t.store_id= #{storeId}