insert into examine_staff(
es_id,staff_name,community_id,staff_id,post
) values (
#{esId},#{staffName},#{communityId},#{staffId},#{post}
)
update examine_staff t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.staff_name= #{staffName}
, t.post= #{post}
where 1=1
and t.es_id= #{esId}
and t.community_id= #{communityId}
and t.staff_id= #{staffId}