insert into inspection_item(
item_id,item_name,remark,community_id
) values (
#{itemId},#{itemName},#{remark},#{communityId}
)
update inspection_item t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.item_name= #{itemName}
, t.remark= #{remark}
, t.community_id= #{communityId}
where 1=1
and t.item_id= #{itemId}