insert into r_repair_setting(price_scope, pay_fee_flag, return_visit_flag, repair_type_name, repair_type,
remark, community_id, public_area, repair_way, repair_setting_type, setting_id,
is_show,notify_way,do_time,warning_time)
values (#{priceScope}, #{payFeeFlag}, #{returnVisitFlag}, #{repairTypeName}, #{repairType}, #{remark},
#{communityId}, #{publicArea}, #{repairWay}, #{repairSettingType}, #{settingId}, #{isShow},#{notifyWay}
, #{doTime},#{warningTime}
)
update r_repair_setting t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.price_scope= #{priceScope}
, t.pay_fee_flag= #{payFeeFlag}
, t.return_visit_flag= #{returnVisitFlag}
, t.repair_type_name= #{repairTypeName}
, t.repair_type= #{repairType}
, t.remark= #{remark}
, t.public_area= #{publicArea}
, t.repair_way= #{repairWay}
, t.repair_setting_type= #{repairSettingType}
, t.is_show= #{isShow}
, t.notify_way= #{notifyWay}
, t.do_time= #{doTime}
, t.warning_time= #{warningTime}
where 1=1
and t.setting_id= #{settingId}
and t.community_id= #{communityId}