insert into hc_gov_translate_detail(
tran_id,res_body,req_body,detail_id,community_id
) values (
#{tranId},#{resBody},#{reqBody},#{detailId},#{communityId}
)
update hc_gov_translate_detail t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.create_time= #{createTime}
, t.res_body= #{resBody}
, t.req_body= #{reqBody}
where 1=1
and t.detail_id= #{detailId}
and t.tran_id= #{tranId}
and t.community_id= #{communityId}