<%@ page language="java" contentType="text/html; charset=GB18030" pageEncoding="GB18030" import="java.sql.*"%> Insert title here
 
支付方式 支付次数
刷卡 <% String sqlo1="select * from feiyong where zhifu_type='刷卡'"; ResultSet rs31=gg.GetRs(sqlo1); int i1=0; while(rs31.next()){ i1=i1+1; } %> <% out.println (i1); %>
现金 <% String sqlo2="select * from feiyong where zhifu_type='现金'"; ResultSet rs32=gg.GetRs(sqlo2); int i2=0; while(rs32.next()){ i2=i2+1; } %> <% out.println (i2); %>
支付宝 <% String sqlo3="select * from feiyong where zhifu_type='支付宝'"; ResultSet rs33=gg.GetRs(sqlo3); int i3=0; while(rs33.next()){ i3=i3+1; } %> <% out.println (i3); %>