insert into report_custom_group( group_id,name,remark,url ) values ( #{groupId},#{name},#{remark},#{url} ) update report_custom_group t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.name= #{name} , t.remark= #{remark} , t.url= #{url} where 1=1 and t.group_id= #{groupId}