insert into pay_fee_batch( msg,create_user_id,create_user_name,remark,state,batch_id,community_id ) values ( #{msg},#{createUserId},#{createUserName},#{remark},#{state},#{batchId},#{communityId} ) update pay_fee_batch t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.msg= #{msg} , t.create_user_id= #{createUserId} , t.create_user_name= #{createUserName} , t.remark= #{remark} , t.state= #{state} where 1=1 and t.batch_id= #{batchId} and t.community_id= #{communityId}