insert into inspection_point(
point_obj_name,item_id,inspection_id,point_obj_id,nfc_code,point_obj_type,remark,inspection_name,community_id
) values (
#{pointObjName},#{itemId},#{inspectionId},#{pointObjId},#{nfcCode},#{pointObjType},#{remark},#{inspectionName},#{communityId}
)
update inspection_point t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.point_obj_name= #{pointObjName}
, t.item_id= #{itemId}
, t.point_obj_id= #{pointObjId}
, t.nfc_code= #{nfcCode}
, t.point_obj_type= #{pointObjType}
, t.remark= #{remark}
, t.inspection_name= #{inspectionName}
, t.community_id= #{communityId}
where 1=1
and t.inspection_id= #{inspectionId}