insert into pay_fee_qrcode(
create_staff_name,query_way,create_staff_id,pre_fee,custom_fee,pfq_id,qrcode_name,community_id,sms_validate,content,state,fee_type
) values (
#{createStaffName},#{queryWay},#{createStaffId},#{preFee},#{customFee},#{pfqId},#{qrcodeName},#{communityId},#{smsValidate},#{content},#{state},#{feeType}
)
update pay_fee_qrcode t set t.status_cd = #{statusCd}
,t.b_id = #{newBId}
, t.create_staff_name= #{createStaffName}
, t.query_way= #{queryWay}
, t.create_staff_id= #{createStaffId}
, t.state= #{state}
, t.pre_fee= #{preFee}
, t.custom_fee= #{customFee}
, t.qrcode_name= #{qrcodeName}
, t.sms_validate= #{smsValidate}
, t.content= #{content}
, t.fee_type= #{feeType}
where 1=1
and t.pfq_id= #{pfqId}
and t.community_id= #{communityId}