insert into r_repair_type_user( type_user_id,repair_type,staff_name,remark,state,community_id,staff_id ) values ( #{typeUserId},#{repairType},#{staffName},#{remark},#{state},#{communityId},#{staffId} ) update r_repair_type_user t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.repair_type= #{repairType} , t.staff_name= #{staffName} , t.remark= #{remark} , t.state= #{state} , t.community_id= #{communityId} , t.staff_id= #{staffId} where 1=1 and t.type_user_id= #{typeUserId}