润乾report:html传递查询参数,润乾报表参数传递

准备环境MySql数据库,表跟数据如下,1表示男,0表示女

drop table test_report;

create table test_report(

id int(10),

name varchar(20),

sex int(1),

classes varchar(20),

age int(3),

primary key(id));

insert into test_report values(1,"张三", 1,"高一(1)班", 16); insert into test_report values(2,"张三2", 1,"高一(2)班", 16); insert into test_report values(3,"张三3", 1,"高一(3)班", 16); insert into test_report values(4,"张三4", 1,"高一(4)班", 16); insert into test_report values(5,"张三5", 1,"高一(5)班", 16); insert into test_report values(6,"张三6", 1,"高一(1)班", 16); insert into test_report values(7,"张三7", 1,"高一(2)班", 16); insert into test_report values(8,"张三8", 1,"高一(3)班", 16); insert into test_report values(9,"张三9", 1,"高一(4)班", 16); insert into test_report values(10,"张三10", 1,"高一(5)班", 16); insert into test_report values(11,"张三11", 1,"高一(1)班", 16); insert into test_report values(12,"张三12", 1,"高一(2)班", 16); insert into test_report values(13,"张三13", 0,"高一(3)班", 16); insert into test_report values(14,"张三14", 0,"高一(4)班", 16); insert into test_report values(15,"张三15", 1,"高一(5)班", 16); insert into test_report values(16,"张三16", 1,"高一(1)班", 16); insert into test_report values(17,"张三17", 1,"高一(2)班", 16); insert into test_report values(18,"张三18", 1,"高一(1)班", 16);

insert into test_report values(19,"李四", 1,"高一(1)班", 17);

在设计表的时候

第一张为传递参数表

第二张为根据参数查询出来的结果表

092d8f9a078f39e737686d9a4ba5a5e2.png

新建

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值