insert into hc_gov_translate(
tran_id,code,service_code,sign,update_time,remark,req_time,send_count,ext_community_id,obj_id,state,community_id,gov_topic
) values (
#{tranId},#{code},#{serviceCode},#{sign},#{updateTime},#{remark},#{reqTime},#{sendCount},#{extCommunityId},#{objId},#{state},#{communityId},#{govTopic}
)
update hc_gov_translate t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.code= #{code}
, t.service_code= #{serviceCode}
, t.sign= #{sign}
, t.update_time= #{updateTime}
, t.remark= #{remark}
, t.req_time= #{reqTime}
, t.send_count= #{sendCount}
, t.ext_community_id= #{extCommunityId}
, t.create_time= #{createTime}
, t.obj_id= #{objId}
, t.state= #{state}
, t.community_id= #{communityId}
, t.gov_topic= #{govTopic}
where 1=1
and t.tran_id= #{tranId}