insert into equipment_operating_log( operating_code,machine_id,operating_id,remark,community_id,operating_descriptor,user_name,user_id,use_tel ) values ( #{operatingCode},#{machineId},#{operatingId},#{remark},#{communityId},#{operatingDescriptor},#{userName},#{userId},#{useTel} ) update equipment_operating_log t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.operating_code= #{operatingCode} , t.machine_id= #{machineId} , t.create_time= #{createTime} , t.remark= #{remark} , t.community_id= #{communityId} , t.operating_descriptor= #{operatingDescriptor} , t.user_name= #{userName} , t.user_id= #{userId} , t.use_tel= #{useTel} where 1=1 and t.operating_id= #{operatingId}